@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap');

* {
  box-sizing: border-box;
}

:root {
  --photo-gap: 13px;
}

body {
  margin: 0;
  font-family: "Inter", sans-serif;
  color: black;
  font-weight: 350;
  font-size: 26px;
  line-height: 100%;
  letter-spacing: 0px;
  background-color: white;
}

a {
  color: inherit;
  text-decoration: none;
  transition: opacity 0.3s;
}

a:hover {
  opacity: 0.5;
}

.container {
  margin: 0 auto 100px;
  padding: 15px;
  padding-left: 0px;
  max-width: 1200px;
  margin-bottom: 85px;
}

.logo {
  font-size: 26px;
  letter-spacing: 0px;
}

img,
video {
  display: block;
  width: 100%;
  height: auto;
}

.page {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}

.intro {
  padding: 0;
  margin-bottom: 30px;
}

.project-title {
  font-family: 'Inter', sans-serif;
  font-size: 60px;
  font-weight: 850;
  letter-spacing: -1px;
  line-height: 1.1;
  margin: 0 0 15px;
}

.project-task {
  font-size: 30px;
  font-weight: 350;
  letter-spacing: 0px;
  line-height: 1.2;
  max-width: 760px;
  margin: 0 0 50px;
}

.intro-rule {
  width: 100%;
  height: 2px;
  background: #000;
  margin: 0 0 25px;
}

.intro-meta {
  display: flex;
  gap: 80px;
}

.intro-meta__block {
  font-size: 18px;
  font-weight: 400;
  letter-spacing: 0px;
  line-height: 1.4;
}

.intro-meta__block:last-child {
  flex: 1;
  max-width: 560px;
}

.intro-meta__value {
  min-height: 1.4em;
}

.media-block {
  margin-bottom: var(--photo-gap);
}

.mid-text {
  font-size: 14px;
  line-height: 1.5;
  margin: 80px 150px;
}

.mid-text a {
  text-decoration: underline;
}

.vtb-end-row {
  display: flex;
  gap: var(--photo-gap);
  align-items: stretch;
  width: 100%;
}

.vtb-end-row img,
.vtb-end-row video {
  min-width: 0;
  display: block;
}

.vtb-end-row > :last-child {
  flex: 0 0 auto;
  width: auto;
  height: auto;
  max-width: 40%;
}

.vtb-end-row > :not(:last-child) {
  flex: 1 1 0;
  width: auto;
  height: auto;
  object-fit: cover;
  align-self: stretch;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 70px 0 40px;
}

.site-footer__link {
  font-family: "Inter", sans-serif;
  font-size: 26px;
  font-weight: 400;
  letter-spacing: 0;
  color: inherit;
  text-decoration: none;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  transition: opacity 0.3s;
}

.site-footer__link:hover {
  opacity: 0.5;
}

@media (max-width: 900px) {
  .page {
    padding: 0 15px;
  }

  .container {
    padding-left: 15px;
    padding-right: 15px;
  }

  .project-title {
    font-size: 34px;
  }

  .project-task {
    font-size: 18px;
    max-width: none;
    margin-bottom: 25px;
  }

  .intro-meta {
    flex-direction: column;
    gap: 12px;
  }

  .intro-meta__block {
    font-size: 18px;
  }

  .intro-meta__block:last-child {
    max-width: none;
  }

  .mid-text {
    margin: 30px 0;
  }

  .media-block {
    margin-bottom: 10px;
  }

  .vtb-end-row {
    gap: 10px;
  }

  .site-footer {
    padding-left: 0;
    padding-right: 0;
  }
}
