html {
  scroll-behavior: smooth;
}

* {
  -webkit-tap-highlight-color: rgba(255, 255, 255, 0);
  -webkit-tap-highlight-color: transparent;
}

p,
span,
li,
a,
button,
label,
input,
fieldset,
legend,
td {
  font-family: "PT Sans Caption", sans-serif;
  font-size: 16px;
}

h1,
h2,
h3,
h4,
h6 {
  font-family: "Geologica_Auto", sans-serif;
}

h1 {
  font-size: 100px;
  margin-bottom: 100px;
  text-align: center;
}

h2 {
  font-size: 50px;
  margin-bottom: 50px;
}

h3 {
  font-size: 30px;
  margin-bottom: 30px;
}

h4,
h5 {
  font-size: 25px;
}

.wrapper,
main {
  max-width: 1200px;
  margin: 0 auto;
}


/* HEADER */

header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  height: 80px;
}

.logo {
  position: absolute;
  transform: translateX(-50%);
  left: 50%;
  top: 20px;
  height: 70px;

  img {
    width: 100%;
    height: 100%;
    object-fit: contain;
  }
}

.header__burger {
  display: none;
}

nav {
  position: absolute;
  top: 0;
  right: 20px;
  transform: translateY(-50%);
  top: 50%;

  ul {
    display: flex;
    gap: 40px;
    list-style: none;
    align-items: center;

    li {
      width: fit-content;

      a.nav-item {
        text-decoration: none;
        color: #000;
      }

      a.nav-item::after {
        content: "";
        display: block;
        width: 0;
        height: 1px;
        background-color: #000;
        transition: width 0.2s ease;
      }

      a.nav-item:hover::after {
        width: 100%;
      }

      a.nav-item.nav-item__selected::after {
        content: "";
        display: block;
        width: 100%;
        height: 1px;
        background-color: #000;
      }
    }
  }
}

.button-transparent {
  border: 1px solid #000;
  padding: 10px 20px;
  text-decoration: none;
  color: #000;
  transition: background-color 0.2s ease;

  a {
    text-decoration: none;
    color: #000;
  }
}

.button-transparent:hover {
  background-color: #000;
  color: #fff;

  a.nav-item {
    color: #fff;
  }

  a.nav-item::after {
    width: 0;
  }
}

/* MAIN */

main {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 0 20px;
  margin-top: 50px;
  margin-bottom: 50px;

  h1 {
    margin-top: 60px;
  }

  .actors-list {
    display: grid;
    width: 100%;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
  }

  .actor-card {
    width: 100%;
    text-decoration: none;
    background-color: transparent;

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

    .actor-card__description {
      width: 100%;
      padding: 10px 0;
      color: #000;
    }

    .actor-image {
      position: relative;

      .exclusive {
        position: absolute;
        bottom: 10px;
        right: 10px;
        width: 30px;
        height: 30px;
      }
    }
  }
}

/* FOOTER */

footer {
  background-color: #101010;
  color: #fff;
  padding: 50px 20px 30px 20px;

  .wrapper {

    .text-block {
      display: grid;
      grid-template-columns: repeat(2, 1fr);
      grid-gap: 20px;
      margin-bottom: 30px;

      @media (max-width: 600px) {
        display: flex;
        flex-direction: column;
      }

      .col {
        display: flex;
        flex-direction: column;

        .text-container {
          display: flex;
          flex-direction: column;
          gap: 10px;
        }
      }
    }

    .contacts {
      display: flex;
      flex-direction: column;
      margin-bottom: 30px;

      .contacts-container {
        display: flex;
        flex-wrap: wrap;
        gap: 10px;

        .contact {
          display: flex;
          gap: 10px;
          flex-wrap: nowrap;
          align-items: center;
          padding: 7.5px;
          border: 1px solid #fff;
          text-decoration: none;
          color: #fff;

          .icon-box {
            width: 26px;
            height: 26px;

            img {
              height: 100%;
              width: 100%;
              object-fit: contain;
            }
          }
        }
      }
    }
  }
}

/* COMPONENTS */

.button {
  background-color: #101010;
  color: #fff;
  padding: 10px 0;
  border-radius: 10px;
  width: 100%;
  text-decoration: none;
  transition: background-color 0.2s ease;
  cursor: pointer;
  outline: none;
  border: 1px solid #000;
  display: flex;
  justify-content: center;
  align-items: center;
}

.button:hover {
  background-color: #fff;
  color: #000;
}

.privacy-page {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: start;

  h1 {
    font-size: 50px;
  }

  h3 {
    margin-top: 30px;
    text-align: left;
  }
}

/* ADAPTIVE */

@media (max-width: 900px) {

  .button-transparent {
    background-color: #fafafa;

    a.nav-item {
      color: #000;
    }
  }

  .button-transparent:hover {
    background-color: #000;

    a.nav-item {
      color: #fff;
    }
  }

  nav {
    position: fixed;
    top: -100%;
    right: 10px;
    background-color: #101010;
    color: #fafafa;
    padding: 20px;
    padding-bottom: 30px;
    z-index: 100;
    transition: top 0.5s ease;

    ul {
      display: flex;
      flex-direction: column;
      align-items: flex-end;
      gap: 20px;

      li {
        a.nav-item {
          color: #fafafa;
        }

        a.nav-item::after {
          background-color: #fafafa;
        }

        a.nav-item.nav-item__selected::after {
          background-color: #fafafa;
        }
      }
    }
  }

  .header__burger {
    display: block;
    position: absolute;
    top: 0;
    right: 10px;
    transform: translateY(-50%);
    top: 50%;
  }

  .header__burger.header__burger_close {
    position: static;
    transform: none;
  }

  main {
    padding: 0 10px;

    .actors-list {
      grid-template-columns: repeat(3, 1fr);
      gap: 10px;
    }

    .actor-card {
      .actor-card__hover {
        display: none;
      }
    }
  }
}

@media (max-width: 810px) {

  .privacy-page {
    h1 {
      font-size: 30px;
    }
  }

  h4 {
    font-size: 20px;
  }

  footer {
    .contacts-table {
      grid-template-columns: 1fr;
    }
  }
}

@media (max-width: 600px) {

  .privacy-page {
    h1 {
      font-size: 20px;
    }
  }

  main {
    h1 {
      font-size: 70px;
      margin-bottom: 50px;
      margin-top: 30px;
    }

    .actors-list {
      grid-template-columns: repeat(2, 1fr);
    }
  }

  h2 {
    font-size: 30px;
  }

  h3 {
    font-size: 24px;
  }

  footer {
    .contact-stroke {
      flex-direction: column-reverse;
      align-items: flex-start;

      .contact-splitter {
        display: none;
      }
    }

    .contacts-box {
      display: flex;
      flex-direction: column;
      gap: 20px;
    }
  }
}

@media (max-width: 400px) {
  main {
    h1 {
      font-size: 50px;
    }
  }
}