html,
body {
  font-family: "Lato", sans-serif;
  font-optical-sizing: auto;
  font-size: 16px;
  line-height: 24px;
  color: #000;
  background: #f8f9fa;
}

h1,
h2,
h3,
h4,
h5 {
  font-family: "Playfair Display", sans-serif;
  font-optical-sizing: auto;
  font-weight: bold;
}

.navbar-toggler {
  color: #fff;
}

.header {
  background: #0d6efd;
  position: fixed;
  width: 100%;
  left: 0;
  top: 0;
  z-index: 1030;

  a {
    color: #fff;
    display: block;
    text-decoration: none;
    font-size: 14px;
    line-height: 14px;
    text-transform: uppercase;

    &:hover {
      color: #000;
    }
  }
}

.main {
  background-color: #f0f2f5;
}

.main-photo {
  width: 500px;
  height: 500px;
  align-self: flex-end;
  object-fit: contain;
}

.main h1 {
  font-size: 76px;
  line-height: 80px;
}
.main h2 {
  font-size: 24px;
  line-height: 32px;
}

.main .main-buttons {
  display: flex;
  gap: 15px;
}

video {
  width: 100%;
  max-width: 100%;
}

.videos-box {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.videos-box > div  {
  width: min(100%, 50% - 10px);
  height: 100%;
}

.photos-box {
  /*display: grid;
  grid-template-columns: repeat(2, 1fr);*/
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  font-size: 14px;
  line-height: 20px;

  div {
    width: min(100%, 50% - 10px);
    height: 100%;
  }

  img {
    max-width: 100%;
    width: 100%;
    height: 100%;
    object-fit: cover;
    aspect-ratio: 1/1;
  }
}

.contacts a {
  text-decoration: none;
  font-weight: bold;
  color: #000;
}

li {
  margin-bottom: 10px;

  &:last-of-type {
    margin-bottom: 0;
  }

  a {
    text-decoration: none;

    &:hover {
      text-decoration: underline;
    }
  }
}

*:not(.main) h2 {
  margin-bottom: 20px;
}

@media (min-width: 992px) {
  .navbar button {
    display: none;
  }
}

@media (max-width: 992px) {
  .navbar-nav {
    margin: 10px 0 0 0;
  }
}
@media (max-width: 1100px) {
  .main h1 {
    font-size: 60px;
    line-height: 68px;
  }
  .main h2 {
    font-size: 20px;
    line-height: 28px;
    margin: 16px 0 !important;
  }
  .main .main-buttons {
    flex-wrap: wrap;

    button {
      min-width: 200px;
    }
  }
}
@media (max-width: 1024px) {
  .main-box {
    flex-direction: column;
  }
  .main h1 {
    font-size: 52px;
    line-height: 60px;
  }
  .main h2 {
  }
}

@media (max-width: 768px) {
  .photos-box div {
    width: 100%;
  }
}

@media (max-width: 520px) {
  .main-photo {
    max-width: 100%;
    height: auto;
  }
}
