.main-section {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 9;
  width: 100%;
  padding: 19px;
  background: var(--gray-100-background);
  border-bottom: 1px solid var(--gray-70-divider);
}

.header-logo {
  display: none;
}

.page-nav {
  display: none;
}

.page-nav-list {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 100px;
}

.page-nav-link {
  font-family: "Roboto", sans-serif;
  font-weight: 500;
  font-size: 14px;
  line-height: 100%;
  text-transform: uppercase;
  color: var(--gray-100-background);
  transition: color 0.3s ease;
}

.menu-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-left: auto;
}

.menu-open-svg {
  stroke: #fff;
}

.menu-close-svg {
  stroke: #fff;
}

@media screen and (min-width: 1436px) {
  .main-section {
    padding: 20px;
  }

  .page-nav {
    display: block;
  }

  .page-nav-link {
    color: var(--primary-text);
  }

  .menu-btn {
    display: none;
  }
}

/* modal  */

.menu {
  position: fixed;
  top: 0;
  right: 0;
  z-index: 8;
  width: 100%;
  height: 100%;
  padding: 40px 20px;
  padding-top: 100px;
  transform: translateX(100%);
  transition: transform 1s ease;
  background-color: var(--primary-text);
}

.menu-nav-list {
  flex-direction: column;
  align-items: center;
  gap: 34px;
}

/* popup */

.page-popup {
  position: fixed;
  z-index: 10;
  width: 96%;
  bottom: 15px;
  left: 50%;
  transform: translateX(-50%);
  transition: transform 0.4s ease;
  padding: 24px 16px;
  background: var(--gray-0-backgroun, -primary-text);
}

.popup-title {
  font-family: "Bebas Neue", sans-serif;
  font-weight: 400;
  font-size: 18px;
  line-height: 110%;
  margin-bottom: 8px;
  color: var(--gray-100-background, -primary-text);
}

.popup-text {
  font-family: "Roboto", sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 142%;
  margin-bottom: 32px;
  color: var(--gray-100-background, -primary-text);
}

.popup-btn {
  border: 1px solid var(--gray-100-background, -primary-text);
  border-radius: 4px;
  padding: 16px;

  font-family: "Roboto", sans-serif;
  font-weight: 500;
  font-size: 14px;
  line-height: 100%;
  text-transform: uppercase;
  color: var(--gray-100-background, -primary-text);
  transition: color 0.2s ease, background-color 0.2s ease;
}

.popup-btn:hover {
  background: var(--gray-100-background, -primary-text);
  color: var(--primary-text);
}

.popup-wrap {
  display: flex;
  gap: 16px;
}

@media screen and (min-width: 1436px) {
  .page-popup {
    padding: 40px;
    display: flex;
    align-items: center;
    gap: 133px;
  }

  .popup-text {
    margin: 0;
  }

  .popup-wrap {
    flex-shrink: 0;
  }
}

/* hero  */

.dashboard {
  padding-top: 82px;
}

.image-wrap {
  max-width: 100%;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 54px;
  margin-bottom: 40px;
}

.hero-title {
  font-family: "Bebas Neue", sans-serif;
  font-weight: 400;
  font-size: 64px;
  line-height: 120%;
  text-align: center;
  color: var(--primary-text);
  margin-bottom: 7px;

  span {
    color: var(--primary-green);
  }
}

.page-hero-text {
  font-family: "Roboto", sans-serif;
  font-weight: 500;
  font-size: 16px;
  line-height: 142%;
  text-align: center;
  color: var(--gray-70-divider);
  margin-bottom: 40px;
}

.image-wrap2 {
  gap: 120px;
}

.image1 {
  width: 141px;
}

.image2 {
  width: 180px;
}

.image3 {
  width: 106px;
}

.image4 {
  width: 138px;
}

.image5 {
  display: none;
}

.image6 {
  display: none;
}

@media screen and (min-width: 1436px) {
  .dashboard {
    padding-top: 200px;
    padding-bottom: 299px;
    position: relative;
  }

  .image1 {
    position: absolute;
    width: auto;
    top: 230px;
    left: 50%;
    transform: translateX(-400px);
  }

  .image2 {
    position: absolute;
    width: auto;
    left: 50%;
    bottom: 150px;
    transform: translateX(-400px);
  }

  .image1 {
    position: absolute;
    width: auto;
    top: 230px;
    left: 50%;
    transform: translateX(-400px);
  }

  .image2 {
    position: absolute;
    width: auto;
    left: 50%;
    bottom: 150px;
    transform: translateX(-400px);
  }

  .image3 {
    position: absolute;
    width: auto;
    top: 230px;
    left: 50%;
    transform: translateX(200px);
  }

  .image4 {
    position: absolute;
    width: auto;
    left: 50%;
    bottom: 387px;
    transform: translateX(400px);
  }

  .image5 {
    display: block;
    position: absolute;
    width: auto;
    left: 50%;
    bottom: 387px;
    transform: translateX(-700px);
  }

  .image6 {
    display: block;
    position: absolute;
    width: auto;
    bottom: 150px;
    left: 50%;
    transform: translateX(200px);
  }

  .hero-title {
    font-size: 120px;
    max-width: 520px;
    margin: 0 auto;
    margin-bottom: 7px;
  }

  .page-hero-text {
    font-size: 16px;
    max-width: 520px;
    margin: 0 auto;
  }
}

/* about  */

.about-img {
  width: 343px;
  margin: 0 auto;
  margin-bottom: 24px;
}

.about-text {
  font-family: "Bebas Neue", sans-serif;
  font-weight: 400;
  font-size: 32px;
  line-height: 110%;
  color: var(--gray-100-background);
}

@media screen and (min-width: 1436px) {
  .about-wrap {
    display: flex;
    align-items: flex-start;
    gap: 24px;
  }

  .about-img {
    width: auto;
    margin: 0;
    flex-shrink: 0;
  }
}

/* reviews */

.reviews-item {
  padding: 32px 0;
  border-bottom: 1px solid var(--gray-70-divider);
}

.reviews-list {
  display: flex;
  flex-direction: column;
  gap: 32px;

  img {
    margin-bottom: 40px;
  }

  h4 {
    font-family: "Bebas Neue", sans-serif;
    font-weight: 400;
    font-size: 40px;
    line-height: 110%;
    color: var(--primary-text);
    margin-bottom: 8px;
  }

  p {
    font-family: "Roboto", sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 142%;
    color: var(--primary-text);
    margin-bottom: 8px;
  }

  ul {
    display: flex;
    flex-direction: column;
    gap: 12px;

    font-family: "Roboto", sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 142%;
    color: var(--gray-70-divider);
  }

  li {
    display: flex;
    gap: 10px;
  }

  span {
    font-family: "Roboto", sans-serif;
    font-weight: 400;
    font-size: 14px;
    line-height: 140%;
    color: var(--primary-text);
    border: 1px solid var(--gray-70-divider);
    padding: 3px;
  }
}

@media screen and (min-width: 1436px) {
  .reviews-list {
    width: 795px;
    margin-left: auto;

    img {
      width: 234px;
      flex-shrink: 0;
      margin: 0;
    }
  }

  .reviews-item {
    display: flex;
    gap: 40px;
  }
}

/* news */

.news-text {
  font-family: "Roboto", sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 142%;
  margin-bottom: 40px;
  color: var(--gray-100-background, -primary-text);
}

.news-list {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;

  li {
    width: 332px;
    max-width: 100%;
    padding: 32px 24px;
    background: var(--primary-text);
  }

  p {
    font-family: "Bebas Neue", sans-serif;
    font-weight: 400;
    font-size: 18px;
    line-height: 110%;
    color: var(--gray-100-background, -primary-text);
    margin-top: 24px;
    margin-bottom: 8px;
  }

  span {
    font-family: "Roboto", sans-serif;
    font-weight: 400;
    font-size: 14px;
    line-height: 140%;
    color: var(--gray-80-secondary-text);
  }
}

@media screen and (min-width: 1436px) {
  .news-text {
    max-width: 50%;
  }
  .news-list {
    gap: 24px;
    align-items: normal;
    flex-direction: row;

    li {
      width: calc((100% - 72px) / 4);
    }
  }
}

/* interviews */

.interviews-list {
  display: flex;
  flex-direction: column;
  gap: 8px;

  li {
    padding: 32px 24px;
    background: var(--primary-text);
  }

  p {
    font-family: "Roboto", sans-serif;
    font-weight: 400;
    font-size: 14px;
    line-height: 140%;
    color: var(--gray-100-background);
    margin-bottom: 52px;
  }

  h4 {
    font-family: "Bebas Neue", sans-serif;
    font-weight: 400;
    font-size: 18px;
    line-height: 110%;
    color: var(--gray-100-background);
  }
}

@media screen and (min-width: 1436px) {
  .interviews-list {
    flex-direction: row;
    gap: 24px;

    li {
      width: calc((100% - 48px) / 3);
    }
  }
}

/* faq */

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.faq-item {
  border-bottom: 1px solid var(--gray-70-divider);
  padding: 24px 0px;
}

.faq-btn {
  flex-shrink: 0;
  transition: opacity 0.3s ease, transform 0.4s ease;
}

.faq-svg {
  stroke: var(--gray-80-secondary-text);
  transform: rotate(45deg);
  transition: opacity 0.3s ease, transform 0.4s ease;
}

.faq-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.faq-title {
  font-family: "Barlow", sans-serif;
  font-weight: 600;
  font-size: 26px;
  line-height: 108%;
  color: var(--gray-0-backgroun);
}

.faq-text {
  font-family: "Hind", sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 140%;
  color: var(--gray-70-divider);
  margin-top: 8px;
}

@media screen and (min-width: 1436px) {
  .faq-list {
    width: 1000px;
    margin-left: auto;
  }
}

/* contact */

.contact-list {
  display: flex;
  flex-direction: column;
  gap: 40px;

  li {
    display: flex;
    flex-direction: column;

    font-family: "Bebas Neue", sans-serif;
    font-weight: 400;
    font-size: 18px;
    line-height: 110%;
    color: var(--gray-100-background, -primary-text);
  }

  a {
    font-family: "Roboto", sans-serif;
    font-weight: 500;
    font-size: 16px;
    line-height: 142%;
    color: var(--gray-100-background, -primary-text);
  }
}

@media screen and (min-width: 1436px) {
  .contact-wrap {
    display: flex;
    align-items: center;
    gap: 53px;
  }

  .contact-list {
    flex-direction: row;
  }
}

/* footer */

.footer {
  padding: 16px;
  padding-top: 60px;
}

.footer-list {
  display: flex;
  flex-direction: column;
  gap: 16px;

  font-family: "Roboto", sans-serif;
  font-weight: 500;
  font-size: 14px;
  line-height: 100%;
  text-transform: uppercase;
  color: var(--gray-0-backgroun, -primary-text);
}

.footer-wrap {
  display: flex;
  align-items: flex-start;
  gap: 31px;
  margin-bottom: 32px;
}

.footer-text {
  font-family: "Roboto", sans-serif;
  font-weight: 400;
  font-size: 14px;
  line-height: 140%;
  color: var(--gray-80-secondary-text);
}

@media screen and (min-width: 1436px) {
  .footer {
    padding: 100px 30px;
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

  .footer-wrap {
    margin: 0;
    gap: 581px;
  }
}

/* ********************* */

.hidden {
  display: none;
}

.menu-transform {
  transform: translateY(0);
}

.click {
  transform: rotate(180deg);
}

.popup-click {
  transform: translateY(130%) translateX(-50%);
}

.overflow {
  overflow: hidden;
}
