html, body {
  height: 100%;
}

body {
  background: #000;
  position: relative;
  min-height: 100%;
  font-family: Inter, sans-serif;
  color: #0D0C22;

  --screenSizeS: 800px;
  --screenSizeM: 1200px;
  --screenSizeL: 1600px;
  --screenSizeXL: 1920px;

  --projectCardWidth: 570px;
  --contentContainerPadding: 65px;

  --fontTitle: "Zen Antique Soft", serif;
}

.page {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  background-image: url("/assets/bg-bd49d4e1.webp");
  background-size: 100% auto;
  background-repeat: no-repeat;
  max-width: var(--screenSizeXL);
  width: 100%;
  height: 100%;
  overflow: auto;
  scrollbar-width: none;

  &::before {
    --shadowSize: 100px;

    content: '';
    display: block;
    position: absolute;
    inset: calc(var(--shadowSize) * -1) 0 calc(var(--shadowSize) * -1);
    box-shadow: inset 0 0 var(--shadowSize) calc(var(--shadowSize) / 2) #000;
    pointer-events: none;
  }
}

.content-container {
  padding: 0 var(--contentContainerPadding);
  position: relative;
  z-index: 1;
}

.header {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1;
  width: 100%;
  height: 118px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  flex-wrap: wrap;
  transition: background-color 0.3s;
}

.header_untransparent {
  background-color: #000;
}

.header__side {
  display: flex;
  align-items: center;
  gap: 24px;
}

.header__logo {
  height: 38px;
}

.header__logo-divider {
  height: 32px;
}

.main-menu {
  display: flex;
  align-items: center;
  gap: 56px;
  color: #81828D;
  font-size: 18px;
  line-height: 100%;
  font-weight: 500;
  white-space: nowrap;
}

.main-menu_type_side {
  flex-direction: column;
  color: #81828D;
}

.menu-button {
  display: none;
  cursor: pointer;
}

.menu-icon {
  height: 24px;
  color: #fff;
}

.close-icon {
  height: 24px;
  color: #fff;
}

.sidebar {
  display: none;
  z-index: 1;
  width: 100%;
  max-width: 450px;
  height: 100%;
  background: #000;
  color: #81828D;
  position: fixed;
  right: 0;
  top: 0;
  bottom: 0;
  transform: translateX(100%);
  transition: transform 0.3s;
  padding: 100px 32px;
}

.sidebar_open {
  transform: translateX(0);
}

.sidebar__close-button {
  position: absolute;
  top: 40px;
  right: 40px;
  cursor: pointer;
}

.content {
  padding-top: 50vh;
  padding-bottom: 60px;
}

.content__headline {
  width: 100%;
  display: flex;
  align-items: flex-end;
  gap: 24px;
}

.content__headline-side {
  display: flex;
  align-items: flex-end;
  gap: 24px;
  flex-grow: 1;
}

.content__title {
  color: #fff;
  font-size: 0;
  line-height: 0;
  flex-shrink: 0;
}

.content__title-svg {
  height: 250px;
}

.content__subtitle {
  color: #fff;
  font-size: 16px;
  line-height: 22px;
  font-weight: 400;
  width: 414px;
}

.application-button {
  height: 50px;
  display: flex;
  align-items: center;
  color: #fff;
  font-size: 16px;
  line-height: 22px;
  font-weight: 400;
  padding-left: 40px;
  padding-right: 40px;
  background-color: #E94D23;
  border-radius: 50px;
  margin-left: auto;
  white-space: nowrap;
}

.projects {
  margin-top: 160px;
}

.projects__title-svg {
  width: 489px;
  color: #fff;
}

.projects__list {
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
  margin-top: 40px;
  width: 100%;
  overflow: auto;
  scrollbar-color: #2E85EC #000;
  padding-bottom: 20px;
  margin-left: calc(var(--contentContainerPadding) * -1);
  padding-left: var(--contentContainerPadding);
  padding-right: var(--contentContainerPadding);
  width: calc(100% + var(--contentContainerPadding) * 2);
}

.project-card {
  --borderRadius: 32px;

  width: var(--projectCardWidth);
  height: 718px;
  max-width: 100%;
  border-radius: var(--borderRadius);
  position: relative;
  overflow: hidden;
  background-color: #fff;
  padding: 240px 44px 65px;
  flex-shrink: 0;
}

.project-card__image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 222px;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  border-radius: var(--borderRadius) var(--borderRadius) 0 0;
}

.project-card__founder {
  position: absolute;
  top: 195px;
  right: 40px;
  width: 110px;
  height: 110px;
  border-radius: 50%;
  border: 5px solid #fff;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

.project-card__title {
  font-family: var(--fontTitle);
  font-style: normal;
  font-size: 40px;
  line-height: 140%;
  white-space: nowrap;
  width: 365px;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
}

.project-card__tags {
  display: flex;
  gap: 9px;
  margin-top: 20px;
  overflow: auto;
  scrollbar-width: none;
}

.project-card__tag {
  height: 27px;
  border-radius: 27px;
  font-size: 11px;
  line-height: 140%;
  font-weight: 600;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  white-space: nowrap;
  padding: 0 17px;
  border: 1px solid #DAD9D8;
}

.project-card__tag:first-child {
  background-color: #0D0C22;
  color: #F5F4EF;
}

.project-card__description {
  font-size: 16px;
  line-height: 130%;
  font-weight: 500;
  margin-top: 18px;
  height: 86px;
  overflow: hidden;
}

.project-card__mentor {
  display: flex;
  gap: 16px;
  align-items: center;
  padding-bottom: 22px;
  border-bottom: 1px solid #E1E1E1;
  margin-top: 53px;
}

.project-card__mentor-photo {
  width: 85px;
  height: 85px;
  border-radius: 16px;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  border: 2px solid #2E85EC;
  flex-shrink: 0;
}

.project-card__mentor-data {
  
}

.project-card__mentor-caption {
  color: #696071;
  font-size: 11px;
  line-height: 140%;
  font-weight: 500;
}

.project-card__mentor-name {
  margin-top: 2px;
  font-family: var(--fontTitle);
  font-size: 24px;
  line-height: 120%;
}

.project-card__mentor-application-link {
  color: #2E85EC;
  font-size: 15px;
  line-height: 140%;
  font-weight: 400;
  margin-top: 6px;
  display: block;
}

.project-card__mentor-profession {
  font-size: 15px;
  line-height: 140%;
  font-weight: 400;
  color: #696071;
  margin-top: 6px;
}

.project-card__footer {
  margin-top: 18px;
  display: flex;
  align-items: center;
  height: 65px;
}

.project-card__team-caption {
  font-size: 14px;
  line-height: 140%;
  color: #6E6D7A;
}

.project-card__action {
  font-family: var(--fontTitle);
  font-size: 24px;
  line-height: 100%;
  color: #6E6D7A;
  transition: color 0.2s;
  margin-left: auto;
}

.project-card__action:hover {
  color: #2E85EC;
}


@media (max-width: 1920px) {
  .page::before {
    display: none;
  }

  .projects__list {
    flex-wrap: nowrap;
  }
}

@media (max-width: 1600px) {
  .content-container {
    padding-left: 32px;
    padding-right: 32px;
  }

  .header {
    height: 80px;
  }

  .header__logo {
    height: 24px;
  }

  .main-menu_type_header {
    font-size: 16px;
    gap: 24px;
  }
}

@media (max-width: 1200px) {
  .page {
    background-size: var(--screenSizeM) auto;
    background-position: right 0 top 0;
  }

  .sidebar {
    display: block;
  }

  .header__logo {
    height: 24px;
  }

  .header__logo-divider {
    height: 20px;
  }

  .main-menu_type_header {
    display: none;
  }

  .menu-button {
    display: block;
  }

  .content__headline-side {
    flex-direction: column;
    align-items: flex-start;
  }

  .content__title-svg {
    height: 150px;
  }

  .content__subtitle {
    flex-grow: 1;
    width: auto;
    box-shadow: 0 0 20px 20px rgba(0, 0, 0, 0.5);
    background-color: rgba(0, 0, 0, 0.5);
  }

  .application-button {
    margin-left: 0;
  }

  .projects {
    margin-top: 100px;
  }
}

@media (max-width: 800px) {
  .page {
    background-size: var(--screenSizeS) auto;
  }

  .content-container {
    padding-left: 16px;
    padding-right: 16px;
  }

  .header {
    height: 60px;
  }

  .header__logo {
    height: 20px;
  }

  .header__logo-divider {
    display: none;
  }

  .content__headline {
    flex-direction: column;
    align-items: flex-start;
  }

  .projects {
    margin-top: 70px;
  }

  .projects__title-svg {
    width: 300px;
  }
}

@media (max-width: 570px) {
  .projects__list {
    flex-direction: column;
  }

  .project-card {
    padding-left: 20px;
    padding-right: 20px;
    padding-bottom: 20px;
    height: auto;
  }

  .project-card__title {
    font-size: 30px;
  }

  .project-card__founder {
    top: 160px;
    right: 16px;
    width: 80px;
    height: 80px;
  }

  .project-card__mentor {
    margin-top: 30px;
  }

  .project-card__mentor-name {
    font-size: 20px;
  }

  .project-card__footer {
    height: 40px;
    margin-top: 16px;
  }
}