/* header */

.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 9;
  padding: 10px 0;
  background: var(--background);
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.header-logo {
  font-family: var(--second-family);
  font-weight: 700;
  font-size: 32px;
  color: #000;
  transition: color 0.3s ease;
}

.header-logo:hover {
  color: var(--titile);
}

.navigation {
  display: none;
}

.modal-button {
  display: block;
  margin-left: auto;
}

.svg {
  stroke: #000;
}

.navigation-list {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
}

.navigation-item {
  font-family: var(--font-family);
  font-weight: 400;
  font-size: 16px;
  color: var(--1);
  transition: border-color 0.3s ease;
}

.navigation-item:hover {
  color: var(--oliv);
}

.modal {
  position: fixed;
  top: 0;
  left: 50%;
  padding: 31px;
  padding-top: 100px;
  background: var(--background);
  transform: translateY(-100%) translateX(-50%);
  transition: transform 1s ease;
  z-index: 8;
}

.modal-navigation-list {
  flex-direction: column;
  align-items: center;
  gap: 40px;
}

.modal-click {
  transform: translateY(0) translateX(-50%);
}

@media screen and (min-width: 1437px) {
  .header {
    padding: 40px 0;
  }

  .header-logo {
    font-size: 32px;
  }

  .navigation {
    display: block;
  }

  .open-modal {
    display: none;
  }
}

/* home */

#home {
  padding-top: 153px;
  padding-bottom: 100px;
  background-image: url(../images/home.png);
  background-position: center;
  background-size: cover;
}

.home-title {
  font-family: var(--third-family);
  font-weight: 400;
  font-size: 70px;
  letter-spacing: 0.05em;
  color: var(--titile);
}

@media screen and (min-width: 1437px) {
  #home {
    padding-top: 314px;
    padding-bottom: 223px;
  }

  .home-container {
    padding-left: 161px;
  }

  .home-title {
    font-size: 150px;
  }
}

/* feature */

.feature-text {
  font-family: var(--font-family);
  font-weight: 400;
  font-size: 18px;
  text-align: center;
  color: var(--text);
  margin-bottom: 30px;
}

/* distance */

.distance-wrap {
  background-image: url(../images/ellipse.png);
  background-position: center;
  background-size: contain;
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  background-repeat: no-repeat;
  gap: 50px 100px;
}

.distance-item {
  width: 110px;
  height: 110px;
  border-radius: 50%;
  background-color: var(--oliv);
  padding: 15px;

  p {
    font-family: var(--font-family);
    font-weight: 400;
    font-size: 10px;
    text-align: center;
    color: #000;
    margin-bottom: 10px;
  }

  span {
    display: block;
    font-family: var(--font-family);
    font-weight: 400;
    font-size: 10px;
    text-align: center;
    color: #000;
  }
}

.distance-item1 {
  transform: translateY(50px);
}

.distance-item3 {
  transform: translateY(50px) translateX(50px);
}

.distance-item5 {
  transform: translateX(50px);
}

@media screen and (min-width: 768px) {
  .distance-wrap {
    gap: 100px 160px;
  }

  .distance-item {
    width: 130px;
    height: 130px;

    p,
    span {
      font-size: 12px;
    }
  }

  .distance-item1 {
    transform: translateY(50px) translateX(-50px);
  }

  .distance-item3 {
    transform: translateY(50px) translateX(0);
  }

  .distance-item5 {
    transform: translateX(50px) translateY(50px);
  }
}

@media screen and (min-width: 1437px) {
  .distance-wrap {
    gap: 100px 420px;
  }

  .distance-item {
    width: 160px;
    height: 160px;
    padding: 15px;
    padding-top: 20px;

    p,
    span {
      font-size: 16px;
    }
  }

  .distance-item1 {
    transform: translateY(50px) translateX(0);
  }

  .distance-item3 {
    transform: translateY(100px) translateX(100px);
  }

  .distance-item5 {
    transform: translateX(100px) translateY(50px);
  }

  .distance-item4 {
    transform: translateX(-100px);
  }
}

/* knows */

.knows-text {
  font-family: var(--font-family);
  font-weight: 400;
  font-size: 18px;
  text-align: center;
  color: var(--subheadings);
  margin-bottom: 30px;
}

.knows-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px 50px;

  a {
    transition: transform 0.3s ease;
  }

  a:hover {
    transform: scale(1.2);
  }
}

@media screen and (min-width: 1437px) {
  .knows-text {
    max-width: 960px;
    margin: 0 auto;
    margin-bottom: 30px;
  }
}

/* people */

.people-list {
  display: flex;
  flex-direction: column;
  gap: 10px;

  li {
    border-radius: 24px;
    padding: 39px 33px;
    background: var(--oliv);

    font-family: var(--font-family);
    font-weight: 400;
    font-size: 18px;
    color: var(--subheadings);
  }
}

@media screen and (min-width: 1437px) {
  .people-list {
    flex-direction: row;

    li {
      width: calc((100% - 30px) / 4);
    }
  }
}

/* structure */

.structure-list {
  display: flex;
  flex-direction: column;
  gap: 50px;

  li {
    font-family: var(--font-family);
    font-weight: 400;
    font-size: 18px;
    color: var(--text);
  }
}

@media screen and (min-width: 1437px) {
  .structure-list {
    flex-direction: row;

    li {
      width: calc((100% - 100px) / 3);
    }
  }
}

/* faq */

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 35px;
}

.faq-item {
  width: 100%;
  cursor: pointer;
  padding: 4px;
  border-radius: 10px;
  border: 1px solid transparent;
  transition: border-color 0.3s ease;
}

.faq-item:hover {
  border-color: var(--oliv);
}

.faq-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4px;
  flex-shrink: 0;
  font-family: var(--second-family);
  font-weight: 700;
  font-size: 32px;
  color: #000;
  transition: transform 0.3s ease;
  transform-origin: center;
}

.faq-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.faq-title {
  font-family: var(--second-family);
  font-weight: 700;
  font-size: 24px;
  color: var(--text);
}

.faq-text {
  font-family: var(--font-family);
  font-weight: 400;
  font-size: 18px;
  color: #000;
  margin-top: 20px;
}

@media screen and (min-width: 1437px) {
  .faq-title {
    font-size: 32px;
  }
}

.hidden {
  display: none;
}

.click {
  transform: rotate(135deg);
}

/* start */

.start-text {
  font-family: var(--font-family);
  font-weight: 400;
  font-size: 18px;
  text-align: center;
  color: var(--text);
  margin-bottom: 30px;
}

.start-list {
  padding-left: 20px;
  list-style: disc;

  font-family: var(--font-family);
  font-weight: 400;
  font-size: 18px;
  color: var(--text);

  a:hover {
    text-decoration: underline;
  }
}

.start-link {
  display: block;
  border-radius: 10px;
  width: 343px;
  max-width: 100%;
  padding: 20px;
  background: var(--titile);
  margin: 0 auto;
  margin-top: 60px;

  font-family: var(--font-family);
  font-weight: 400;
  font-size: 18px;
  text-align: center;
  color: #000;
  transition: background-color 0.3s ease;
}

.start-link:hover {
  background: var(--oliv);
}

/* footer */

.footer {
  border-radius: 24px;
  background: rgba(163, 177, 138, 0.5);
  padding: 20px 0;
}

.footer-description {
  font-family: var(--font-family);
  font-weight: 400;
  font-size: 18px;
  text-align: center;
  color: #000;
}

.footer-list {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 4px;
  font-family: var(--font-family);
  font-weight: 400;
  font-size: 18px;
  text-align: center;
  color: #000;
  margin: 30px 0;

  a {
    transition: color 0.3s ease;
  }

  a:hover {
    color: var(--titile);
  }
}

@media screen and (min-width: 1437px) {
  .footer {
    padding: 80px 0;
  }

  .footer-container {
    display: flex;
    justify-content: space-between;
    gap: 70px;
  }

  .footer-list {
    margin: 0;
  }
}

/* cookie popup */

.popup {
  position: fixed;
  z-index: 10;
  bottom: 0;
  left: 0;
  padding: 50px 0;
  width: 100%;
  background: var(--oliv);
  transition: transform 0.5s ease;
}

.popup-text {
  font-family: var(--font3);
  font-weight: 400;
  font-size: 16px;
  color: #000;
  margin-bottom: 38px;
}

.popup-btn {
  border: 1px solid #b08968;
  padding: 20px;
  background: var(--background);
  text-transform: uppercase;
  width: 100%;

  font-family: var(--font3);
  font-weight: 400;
  font-size: 16px;
  color: #000;

  transition: color 0.3s ease, background-color 0.2s ease;
}

.popup-btn:hover {
  background: var(--titile);
}

.popup-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 15px;
}

.popup-click {
  transform: translateY(100%);
}

@media screen and (min-width: 1437px) {
  .popup {
    padding: 45px;
  }

  .popup-container {
    display: flex;
    align-items: center;
    gap: 221px;
  }

  .popup-text {
    margin: 0;
    max-width: 610px;
  }

  .popup-wrap {
    max-width: 195px;
  }
}
