.link {
  text-decoration: none;
}

.insta-logo-mobile {
  display: none;
}

.highlight-bold {
  color: #f0c040;
  font-family: "Zapf Humanist 601", sans-serif;
}

.list-container {
  display: flex;
  flex-direction: column; /* Stack items vertically */
  align-items: center;
  justify-content: center;
  gap: 20px; /* Space between items */
}

.list-item {
  font-size: 1.2rem;
  color: white;
  text-align: center;
  animation: fadeIn 0.5s ease-in-out;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.page-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
  font-family: "Montserrat", sans-serif;

}

/* Title Section */
.title-section {
  text-align: center;
  padding: 50px 20px;
  padding-top: 0px;
  padding-bottom: 0px;
}

.title-section h1 {
  font-size: clamp(3rem, 5vw, 4rem);
  font-weight: 700;
  animation: fadeIn 1s ease-in-out;
  margin-top: 0px;
}

.title-section h1 span {
  color: #ffd700;
}

/* Grid Container */
.grid-container {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
  padding: 20px;
}

@media (max-width: 768px) {
}

/* Cards */
.card {
  background-color: #000000;
  padding: 20px;
  border-radius: 10px;
  text-align: center;
  transition: all 0.3s ease-in-out;
}

.card:hover {
}

.icon img {
  width: 50px;
  height: 50px;
}

@media (max-width: 768px) {
}

.card h2 {
  font-size: 1.5rem;
  font-weight: 700;
  margin: 15px 0;
}

.card p {
  font-size: 1rem;
  line-height: 1.6;
  max-width: 400px;
  margin: 0 auto;
}

@media (max-width: 768px) {
}

/* CTA Section */
.cta-section {
  text-align: center;
  padding: 30px 20px;
}

.cta-button {
  background-color: #ffd700;
  color: black;
  border: none;
  padding: 15px 30px;
  font-size: 1.2rem;
  font-weight: 700;
  border-radius: 5px;
  cursor: pointer;
  transition: all 0.3s ease-in-out;
}

.cta-button:hover {
  box-shadow: 0 0 15px rgba(255, 215, 0, 0.8);
  transform: translateY(-2px);
}

@media (max-width: 768px) {
}

/* Animations */
@keyframes fadeIn {
}

.promo-container {
  margin-top: 100px;
  margin-left: auto;
  margin-right: auto;
  max-height: 600px;
  font-family: "Montserrat", sans-serif;
  color: white;
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1400px;
  padding: 20px;
  border: 1px solid white;
  border-radius: 10px;
  background-color: black;
}

.text-content {
  max-width: 50%;
  text-align: center;
  margin-left: 80px;
}

.text-content h1 {
  font-size: 3rem;
  color: white;
  margin: 10px 0;
}

.text-content h2 {
  font-size: 1.5rem;
  text-transform: uppercase;
  color: #bbbbbb;
  margin: 5px 0;
}

.text-content h3 {
  font-size: 2rem;
  color: #ffd700;
  margin: 5px 0;
}

.text-content p {
  font-size: 1rem;
  margin: 10px 0 20px;
  line-height: 1.5;
  color: #dddddd;
}

.cta-button {
  background-color: #ffd700;
  color: black;
  border: none;
  border-radius: 5px;
  padding: 10px 20px;
  font-size: 1rem;
  cursor: pointer;
  text-transform: uppercase;
}

.cta-button:hover {
  background-color: #f8c600;
}

.image-content::before {
  content: "";
  position: absolute;
  width: 80%;
  height: 80%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 215, 0, 0.8), transparent 70%);
  z-index: 0;
  filter: blur(30px);
}

.image-content {
  max-width: 45%;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.promo-image {
  max-width: 50%;
  border-radius: 10px;
  position: relative;
  z-index: 1;
}

h1,
h2,
h3 {
  text-transform: uppercase;
  text-align: center;
}

h1 {
  font-size: 36px;
  margin-bottom: 40px;
}

.course-block {
  margin-bottom: 40px;
  padding: 30px 20px;
  border-bottom: 1px solid white;
}

.course-title {
  font-size: 24px;
  font-weight: bold;
  margin-bottom: 10px;
  text-align: center;
}

.course-details {
  font-size: 18px;
  text-align: center;
  margin: 20px 0;
  line-height: 28px;
}

.price {
  font-size: 32px;
  font-weight: bold;
  text-align: center;
  margin: 20px 0;
}

.cta-button {
  display: block;
  width: 200px;
  margin: 0 auto;
  padding: 15px;
  background-color: #ffd700;
  color: black;
  text-align: center;
  text-transform: uppercase;
  font-weight: bold;
  border: 2px solid white;
  border-radius: 5px;
  cursor: pointer;
  transition: 0.6s ease-in-out;
  text-decoration: none;
}

.cta-button:hover {
  background-color: #ffd700;
  color: black;
}

.methodology {
  margin: 60px 0;
  padding: 20px;
  border: 1px solid white;
  text-align: center;
  border-radius: 10px;
}

.methodology h2 {
  margin-bottom: 20px;
}

.methodology p {
  margin-bottom: 20px;
  text-align: center;
}

.methodology li {
  margin-bottom: 20px;
  text-align: center;
  font-size: 18px;
  list-style-type: none;
}

.footer {
  text-align: center;
  padding: 20px;
  background-color: black;
  color: white;
  font-size: 14px;
}

.footer a {
  color: white;
  text-decoration: none;
  margin: 0 10px;
}

.footer a:hover {
  text-decoration: underline;
}

@media (max-width: 768px) {
  .promo-container {
    display: flex;
    flex-direction: column; /* Stack items vertically for mobile */
    align-items: center;
    max-width: 95%; /* Adjust for smaller screens */
    padding: 20px;
    border: 1px solid white;
    border-radius: 10px;
    background-color: black;
    box-sizing: border-box;
  }

  /* Text content for mobile */
  .text-content {
    max-width: 100%; /* Expand text to full width for mobile */
    text-align: center; /* Center-align text */
    margin-left: 0px;
  }

  .text-content h1 {
    font-size: 2rem; /* Reduce font size for smaller screens */
    color: white;
    margin: 10px 0;
  }

  .text-content h2 {
    font-size: 1.2rem; /* Slightly smaller subtitle */
    text-transform: uppercase;
    color: #bbbbbb;
    margin: 5px 0;
  }

  .text-content h3 {
    font-size: 1.5rem; /* Reduce gold text size */
    color: #ffd700;
    margin: 5px 0;
  }

  .text-content p {
    font-size: 0.9rem; /* Adjust paragraph font size */
    margin: 10px 0 20px;
    line-height: 1.4;
    color: #dddddd;
  }

  /* Call-to-action button for mobile */
  .cta-button {
    background-color: #ffd700;
    color: black;
    border: none;
    border-radius: 5px;
    padding: 10px 20px;
    font-size: 1rem;
    cursor: pointer;
    text-transform: uppercase;
    margin-top: 10px;
  }

  .cta-button:hover {
    background-color: #f8c600;
  }

  /* Image content for mobile */
  .image-content {
    display: none;
    max-width: 100%; /* Expand to full width for mobile */
    margin-top: 20px; /* Add spacing between text and image */
  }

  .promo-image {
    max-width: 90%; /* Reduce image size slightly for mobile */
    height: auto;
    border-radius: 10px;
  }

  .grid-container {
    grid-template-columns: 1fr;
  }

  .icon img {
    width: 40px;
    height: 40px;
  }

  .card h2 {
    font-size: 1.25rem;
  }
  .card p {
    font-size: 0.9rem;
  }

  .cta-button {
    width: 100%;
    padding: 15px 20px;
  }

  .menu-body {
    position: fixed;
    top: -100%;
    left: 0;
    z-index: 1;
    width: 100%;
    height: 100%;
    background: #000;
    transition: all 0.5s ease 0s;
  }
  .insta-logo-mobile {
    display: block;
  }
  .menu-list:not(.mobile-exception) {
    background-color: white;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: auto;
    margin-top: 130px;
    padding: 50px;
    padding-top: 40px;
    padding-bottom: 0;
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }

  .menu-body.active {
    top: 0;
  }
  .info-content {
    flex-direction: column;
    align-items: center;
  }

  .left-side {
    width: 100%;
    text-align: center;
  }

  .right-side {
    display: none; /* Hide right-side on mobile */
  }

  h1 {
    font-size: 24px;
  }

  .info-cards {
    gap: 20px; /* Add more space between cards */
  }

  .info-card h2 {
    font-size: 20px;
  }

  .info-card p {
    font-size: 14px;
  }

  img.medium-photo {
    margin: 15px auto;
  }

  .info-section {
    display: flex;
    flex-direction: column;
    align-items: center; /* Center all elements vertically */
    justify-content: center; /* Center all elements horizontally */
  }

  h1 {
    font-size: 28px;
  }

  .course-title {
    font-size: 20px;
  }

  .course-details p {
    font-size: 16px;
  }

  .price {
    font-size: 28px;
  }

  .cta-button {
    width: 100%;
    padding: 12px;
  }
}

body {
  margin: 0;
  font-family: "Montserrat", sans-serif;
  background-color: black;
  color: white;
  font-family: "Montserrat", sans-serif;
}

.experts-text {
  margin-bottom: 20px;
}

.certificte-text {
  margin-bottom: 20px;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
  font-family: "Montserrat", sans-serif;
}

header {
  text-align: center;
  margin-bottom: 40px;
}

header h1 {
  font-size: 36px;
  margin-bottom: 10px;
  text-transform: uppercase;
}

header h2 {
  font-size: 20px;
  color: #f0c040;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
  font-family: "Montserrat", sans-serif;
}

.card {
  background-color: #1a1a1a;
  padding: 20px;
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.card img {
  max-width: 100%;
  border-radius: 10px;
  margin-bottom: 20px;
}

.card h3 {
  font-size: 24px;
  margin-bottom: 10px;
}

.card p {
  font-size: 16px;
  line-height: 1.5;
}

.highlight {
  color: #f0c040;
  font-weight: bold;
}

@media (max-width: 768px) {
  head h1 {
    font-size: 28px;
  }

  head h2 {
    font-size: 16px;
  }

  .card p {
    font-size: 14px;
  }
}

.info-cards {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 20px;
  width: 100%;
  max-width: 400px;
}

.info-card {
  background-color: black;
  color: white;
  border: 3px solid white;
  border-radius: 10px;
  padding: 20px;
  text-align: center;
}

.info-card h2 {
  font-size: 24px;
  margin-bottom: 10px;
}

.info-card p {
  font-size: 16px;
  line-height: 1.5;
}

.info-section {
  background-color: black;
  color: white;
  margin-top: 90px;
  padding: 70px 20px;
  font-family: "Montserrat", sans-serif;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 80vh;
}

.info-content {
  display: flex;
  max-width: 1500px;
  width: 100%;
  gap: 20px;
}

.left-side {
  flex: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.medium-photo {
  width: 100%;
  max-width: 470px;
  margin-bottom: 20px;
  margin-top: 20px;
  border-radius: 8px;
}

.text-content {
  max-width: 400px;
}

.text-content h1 {
  font-size: 36px;
  margin-bottom: 10px;
}

.text-content p {
  font-size: 18px;
  line-height: 1.6;
  margin-bottom: 15px;
}

.right-side {
  vertical-align: middle;
  align-items: center;
  margin-left: 200px;
}

.large-photo {
  width: 70%;
  max-width: 600px;
  border-radius: 8px;
}

.info-section .highlight {
  font-weight: bold;
  color: #f0c040;
}

.cyber-w {
  width: 100px;
  height: 100px;
  padding-top: 13px;
  padding-right: 15px;
  margin-bottom: 10px;
}

.promo-text {
  color: white;
  padding-bottom: 10px;
  padding-left: 31px;
  font-family: "Zapf Humanist 601", sans-serif;
}

.promo-name {
  color: white;
  padding-top: 27px;
  font-size: 30px;
  padding-top: 18px;
  font-family: "Zapf Humanist 601", sans-serif;
}

.logo-image {
  width: 230px;
  margin-right: 30px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Zapf Humanist 601", sans-serif;
  overflow: auto;
}

a {
  font-family: inherit;
}

html {
  scroll-behavior: inherit;
}

@font-face {
  font-family: "Zapf Humanist 601";
  src: url("/font/ZapfHumanist601BT-Roman.otf") format("truetype");
}

.header {
  background: black;
  border-radius: 4px 4px 0 0;
  border-bottom: 3px solid black;
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 9999;
}

.container-header {
  max-width: 1105px;
  margin: 0 auto;
  padding: 0 15px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 90px;
  position: relative;
}

.underline-on-hover {
  position: relative;
  margin-right: 25px;
  display: flex;
}

.underline-on-hover::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 1.5px;
  background-color: #fff;
  transform: scaleX(0);
  transition: transform 0.5s ease-in-out;
}

.underline-on-hover:hover::after {
  transform: scaleX(1);
}

.menu-list {
  display: flex;
}

.menu-item {
  list-style: none;
}

.menu-body {
  display: flex;
}

.insta-logo {
  width: 76px;
  /* double the original size */
  height: 76px;
  /* double the original size */
  margin-left: 20px;
}

.special-button {
  color: white;
  font-family: "Zapf Humanist 601", sans-serif;
  margin-left: 38px;
  font-weight: bold;
  margin-right: 20px;
}

.promo {
  background-color: black;
  height: 730px;
}

.container-promo {
  max-width: 1105px;
  margin: 0 auto;
  padding: 0 15px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.promo__content_image {
  width: 360px;
  height: 715px;
}

.promo__title {
  width: 100%;
  height: 70px;
  font-size: 24px;
  color: #ffffff;
  margin-bottom: 74px;
  padding: 9px;
  background-color: rgba(58, 58, 52, 0.7);
}

.one-hungred-container {
  height: 100%;
}

.best-info {
  width: 100%;
  height: 100%;
  background: black;
}

.best-info {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.top-images {
  display: flex;
  width: 100%;
  height: 100%;
  margin-bottom: 70px;
}

.bottom-images {
  display: flex;
  width: 100%;
  height: 100%;
}

.bottom-images,
.top-images img {
  max-width: 100%;
  /* Установите желаемую ширину изображений */
  height: 100%;
  /* Установите желаемую высоту изображений */
}

.best-price-card1 {
  background: url(../img/price1.png) no-repeat center / cover;
  left: 921px;
  top: 283px;
  width: 440px;
  height: 715px;
  border-radius: 10px;
  overflow: hidden;
  margin: 0 20px;
  margin-right: 40px;
  margin-left: auto;
}

.best-price-card2 {
  background: url(../img/price2.png) no-repeat center / cover;
  left: 921px;
  top: 283px;
  width: 440px;
  height: 715px;
  border-radius: 10px;
  overflow: hidden;
  margin: 0 20px;
  margin-right: auto;
}

.best-price-card3 {
  background: url(../img/price3.png) no-repeat center / cover;
  left: 921px;
  top: 283px;
  width: 440px;
  height: 715px;
  border-radius: 10px;
  overflow: hidden;
  margin: 0 20px;
  margin-right: 40px;
  margin-left: auto;
}

.best-price-card4 {
  background: url(../img/price4.png) no-repeat center / cover;
  left: 921px;
  top: 283px;
  width: 440px;
  height: 715px;
  border-radius: 10px;
  overflow: hidden;
  margin: 0 20px;
  margin-right: auto;
}

.best-logo {
  display: block;
  margin: 0 auto;
  height: 160px;
}

.best-title {
  font-family: "Zapf Humanist 601", sans-serif;
  text-align: center;
  font-size: 48px;
  line-height: 56px;
  color: white;
  font-weight: 400;
  margin-bottom: 30px;
}

.best-title span {
  display: block;
}

.container {
  height: 100%;
  max-width: 1500px;
  margin: 0 auto;
  align-items: center;
  background-color: black;
}

.best {
  background-color: black;
  height: 100%;
}

.container2 {
  margin-top: 900px;
}

.best-info2 {
  display: flex;
  justify-content: space-between;
  padding-bottom: 50px;
}

.best-card2:nth-of-type(1) {
  width: 440px;
  height: 715px;
}

.best-card2 {
  background: url(../img/man-price1.jpg) no-repeat center / cover;
  height: 420px;
  width: 220px;
  left: 921px;
  top: 283px;
  width: 220px;
  height: 300px;
  border-radius: 10px;
  overflow: hidden;
  margin: 0 20px;
  margin-right: 40px;
}

.best-card2:nth-of-type(2) {
  background: url(../img/man-price2.jpg) no-repeat center / cover;
}

.best-card2:nth-of-type(2) {
  width: 440px;
  height: 715px;
}

.best-card2:nth-of-type(3) {
  background: url(../img/man-price3.jpg) no-repeat center / cover;
}

.best-card2:nth-of-type(3) {
  width: 440px;
  height: 715px;
}

.line-container {
  background-color: black;
  padding: 40px 0;
}

.line-container hr {
  border: none;
  height: 1px;
  background-color: #ccc;
}

.info {
  background-color: black;
}

.info-page {
  background-color: black;
  height: 100%;
  display: flex;
  justify-content: space-between;
}

.text-with-info {
  margin-left: 30px;
  margin-right: 200px;
  width: 500px;
  color: white;
  font-size: 20px;
  list-style: none;
  font-family: "Montserrat", sans-serif;
  width: calc(100% - 400px);
}

.text-with-info li {
  margin-bottom: 150px;
}

.text-with-info p {
  margin-bottom: 15px;
}

.text-with-info-clear {
  justify-content: space-between;
}

.photo-of-info-column {
  width: 200px;
}

.image-column {
  height: 100%;
  width: 500px;
  margin-right: 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.image-column img {
  width: 120%;
  margin-bottom: 20px;
  margin-right: 50px;
  border-radius: 5px;
}

.best-info {
  height: 715px;
  border-radius: 50px;
  display: flex;
  justify-content: space-between;
}

.info-text-photo {
  color: white;
  display: flex;
  align-items: center;
  margin-bottom: 50px;
}

.text-info {
  flex: 1;
}

.image-container {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.text-info {
  font-family: "Montserrat", sans-serif;
  width: 800px;
  font-size: 22px;
  margin-left: 60px;
}

.text-info p {
  margin-bottom: 15px;
}

.text-info2 p {
  margin-bottom: 15px;
}

.text-info3 p {
  margin-bottom: 15px;
}

.text-info1 p {
  margin-bottom: 15px;
  font-weight: bold;
}

.text-info1 {
  font-family: "Montserrat", sans-serif;
  width: 800px;
  font-size: 22px;
  margin-left: 60px;
}

.text-info2 {
  font-family: "Montserrat", sans-serif;
  width: 800px;
  font-size: 22px;
  margin-left: 60px;
}

.text-info3 {
  font-family: "Montserrat", sans-serif;
  width: 800px;
  font-size: 22px;
  margin-left: 60px;
}

.info-text-photo2 {
  color: white;
  display: flex;
  align-items: center;
  margin-bottom: 50px;
}

.info-text-photo3 {
  color: white;
  display: flex;
  align-items: center;
  margin-bottom: 50px;
}

.photo {
  display: inline-block;
  background-color: black;
  width: 100%;
  height: 100%;
}

.best-photo-logo {
  display: block;
  margin: 0 auto;
  height: 160px;
}

.best-title2 {
  font-family: "Montserrat", sans-serif;
  text-align: center;
  font-size: 48px;
  line-height: 56px;
  color: white;
  font-weight: 400;
  margin-bottom: 30px;
}

.photo-page {
  background-color: black;
  height: 100%;
  display: flex;
  justify-content: space-between;
}

.best-photo {
  width: 100%;
  height: 100%;
  border-radius: 50px;
  display: flex;
  justify-content: space-between;
}

.best-photo {
  display: flex;
  /* Добавляем flex-контейнер для элементов best-info2 */
  justify-content: space-between;
  /* Распределение элементов с равным пространством между ними */
  margin-bottom: 50px;
  /* Добавляем отступ вниз, если нужно */
}

.best-card3 {
  background: url(../img/IMG_4427.jpeg) no-repeat center / cover;
  height: 420px;
  width: 220px;
  left: 921px;
  top: 283px;
  width: 440px;
  height: 715px;
  border-radius: 10px;
  overflow: hidden;
  margin: 0 20px;
  margin-right: 40px;
}

.best-card3:nth-of-type(2) {
  background: url(../img/photo2.jpg) no-repeat center / cover;
}

.best-card3:nth-of-type(3) {
  background: url(../img/photo3.jpg) no-repeat center / cover;
}

.image-column {
  height: 50%;
  width: 500px;
  margin-right: 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.best-photo-2 {
  display: flex;
  /* Добавляем flex-контейнер для элементов best-info2 */
  justify-content: space-between;
  /* Распределение элементов с равным пространством между ними */
  margin-bottom: 50px;
  /* Добавляем отступ вниз, если нужно */
  width: 100%;
  height: 715px;
  border-radius: 50px;
  display: flex;
}

.best-card4 {
  background: url(../img/IMG_4362.jpeg) no-repeat center / cover;
  left: 921px;
  top: 283px;
  width: 440px;
  height: 715px;
  border-radius: 10px;
  overflow: hidden;
  margin: 0 20px;
  margin-right: 40px;
}

.photo-page-second {
  background-color: black;
  display: flex;
  justify-content: space-between;
}

.best-card4:nth-of-type(2) {
  background: url(../img/IMG_4241.jpeg) no-repeat center / cover;
}

.best-card4:nth-of-type(3) {
  background: url(../img/IMG_3181.jpeg) no-repeat center / cover;
}

.photo4 {
}

.photo5 {
}

.photo6 {
}

.contacts {
  display: block;
  width: 100%;
  background-color: black;
}

.contacts-info {
  margin-left: 0px;
  width: 100%;
  height: 100%;
  display: flex;
  /* change display to flex */
  flex-direction: column;
  /* stack child elements vertically */
  justify-content: center;
  /* center child elements horizontally */
  align-items: center;
  /* center child elements vertically */
  margin-top: 10px;
}

.contacts-logo {
  width: 250px;
  margin-bottom: 30px;
  margin-left: auto;
  margin-right: auto;
}

.phone-number {
  font-size: 30px;
  color: white;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 20px;
  font-family: "Montserrat", sans-serif;
}

.adress {
  box-sizing: border-box;
  color: white;
  font-size: 30px;
  margin-bottom: 30px;
  margin-left: auto;
  margin-right: auto;
  font-family: "Montserrat", sans-serif;
}

.contacts-map {
  width: 98%;
  margin-right: auto;
  margin-left: auto;
}

.map {
  width: 100%;
  margin-left: auto;
  margin-right: auto;
}

.author-name-page {
  text-align: center;
  display: list-item;
  align-items: center;
  gap: 20px;
  padding-bottom: 10px;
  padding-top: 10px;
  font-family: "Montserrat", sans-serif;
}

.promo-text {
  color: white;
  padding-bottom: 10px;
  padding-left: 31px;
  font-family: "Zapf Humanist 601", sans-serif;
}

.promo-name {
  color: white;
  padding-top: 27px;
  font-size: 30px;
  padding-top: 18px;
  font-family: "Zapf Humanist 601", sans-serif;
}

.logo-image {
  width: 230px;
  margin-right: 30px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

main {
  display: block;
}

h1 {
  display: block;
  font-size: 2em;
  margin-block-start: 0.67em;
  margin-block-end: 0.67em;
  margin-inline-start: 0px;
  margin-inline-end: 0px;
  font-weight: bold;
}

body {
  font-family: "Zapf Humanist 601", sans-serif;
  overflow: auto;
}

a {
  font-family: inherit;
}

html {
  scroll-behavior: inherit;
}

@font-face {
  font-family: "Montserrat" sans-serif;
}

.underline-on-hover {
  position: relative;
  margin-right: 25px;
  display: flex;
}

.underline-on-hover::after {
  content: "";
  position: absolute;
  top: 27px;
  left: 0;
  width: 100%;
  height: 1.5px;
  background-color: #fff;
  transform: scaleX(0);
  transition: transform 0.5s ease-in-out;
}

.underline-on-hover:hover::after {
  transform: scaleX(1);
}

.menu-list {
  display: flex;
}

.menu-item {
  list-style: none;
}

.menu-link {
  font-size: 18px;
  line-height: 38px;
  color: white;
  transition: all 0.5s ease 0s;
  text-decoration: none;
}

.menu-body {
  display: flex;
}

.promo span {
  display: inline-block;
}

.container-promo {
  max-width: 1105px;
  margin: 0 auto;
  padding: 0 15px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.promo__title {
  width: 100%;
  height: 70px;
  font-size: 24px;
  line-height: 42px;
  color: #ffffff;
  margin-bottom: 44px;
  padding: 9px;
  background-color: rgba(58, 58, 52, 0.7);
}

.line-container {
  background-color: black;
  padding: 40px 0;
}

.menu-item {
  text-align: center;
}

.promo__title {
  line-height: 52px;
}

.menu-link:hover {
  color: #fff;
}

.promo__title span {
  font-size: 24px;
}

.menu-icon.active span {
  transform: scale(0);
}

.menu-icon.active::before {
  top: 50%;
}

.menu-icon.active::after {
  bottom: 50%;
  transform: translate(0, -50%) rotate(-45deg);
  transform: translate(0, 50%) rotate(45deg);
}

.menu-icon.active span {
  transform: scale(0);
}

.menu-icon.active::before {
  top: 50%;
  transform: translate(0, -50%) rotate(-45deg);
}

.menu-icon.active::after {
  bottom: 50%;
  transform: translate(0, 50%) rotate(45deg);
}

/* Media query for device size 390x844 */
@media screen and (width: 390px) and (height: 844px) {
  .container-header,
  .container-promo,
  .container,
  .container2,
  .line-container,
  .info-page,
  .contacts {
    width: 100%;
    padding: 0;
  }

  body {
    overflow-x: hidden;
  }

  .best-photo,
  .best-photo-2 {
    flex-direction: column;
  }
}

/* Media query for device size 750px */
@media (max-width: 1140px) {
  .insta-logo-mobile {
    display: block;
  }

  .container-header {
    padding-right: 20px;
  }

  .menu-body {
    position: fixed;
    top: -100%;
    left: 0;
    z-index: 1;
    width: 100%;
    height: 100%;
    background: #000;
    transition: all 0.5s ease 0s;
  }

  .menu-body.active {
    top: 0;
  }

  .menu-link:not(.mobile-exception) {
    margin-right: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }

  .menu-list:not(.mobile-exception) {
    background-color: white;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: auto;
    margin-top: 130px;
    padding: 50px;
    padding-top: 40px;
    padding-bottom: 0;
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }

  .underline-on-hover::after {
    display: none;
  }

  .menu-item:not(.mobile-exception) {
    width: 100%;
    text-align: center;
    color: black;
    margin-bottom: 20px;
  }

  .menu-item:not(.mobile-exception) a {
    color: black;
  }

  .menu-item:not(.mobile-exception) p {
    color: white;
  }

  .menu-item:not(.mobile-exception) h3 {
  }

  .special-button {
    background-color: black;
    /* Add this line */
    color: white;
    /* Add this line */
    border-radius: 10px;
    width: 100%;
    margin: 0 0 15px 0;
    margin-right: 15px;
    padding-right: 28px;
    padding-left: 28px;
    margin-bottom: 0;
  }

  .insta-logo {
    display: block;
    margin: 0 auto;
    padding-top: 20px;
  }

  .promo__title {
    width: 300px;
    height: 104px;
  }

  .promo__title {
    line-height: 30px;
  }

  .cyber-w {
    display: none;
  }

  /* Apply flex-direction: column to ensure photos are stacked vertically */
  .container {
    display: flex;
    flex-direction: column;
    background: none;
  }

  .container:not(.mobile-exception) {
    height: 100%;
  }

  .best-info:not(.mobile-exception) {
    display: inline-block;
    background: none;
    width: 390px;
  }

  .top-images {
    display: inline-block;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 0px;
    height: 100%;
  }

  .bottom-images {
    display: inline-block;
    height: 100%;
  }

  .best-price-card1:not(.mobile-exception) {
    width: 360px;
    height: 715px;
    margin-bottom: 20px;
    margin-left: auto;
    margin-right: auto;
  }

  .best-price-card2:not(.mobile-exception) {
    width: 360px;
    height: 715px;
    margin-bottom: 20px;
    margin-left: auto;
    margin-right: auto;
  }

  .best-price-card3:not(.mobile-exception) {
    width: 360px;
    height: 715px;
    margin-bottom: 20px;
    margin-left: auto;
    margin-right: auto;
  }

  .best-price-card4:not(.mobile-exception) {
    width: 360px;
    height: 715px;
    margin-bottom: 20px;
    margin-left: auto;
    margin-right: auto;
  }

  .container2:not(.mobile-exception) {
    display: inline-block;
    margin-top: 0;
    width: 100%;
  }

  .best-card2:nth-of-type(1):not(.mobile-exception) {
    width: 360px;
    height: 715px;
    margin-bottom: 20px;
    margin-left: auto;
    margin-right: auto;
  }

  .best-card2:nth-of-type(2):not(.mobile-exception) {
    width: 360px;
    height: 715px;
    margin-bottom: 20px;
    margin-left: auto;
    margin-right: auto;
  }

  .best-card2:nth-of-type(3):not(.mobile-exception) {
    width: 360px;
    height: 715px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 0px;
  }

  .best-info2:not(.mobile-exception) {
    display: inline-block;
    margin-bottom: 20px;
    width: 100%;
  }

  .best-info:not(.mobile-exception) {
    display: inline-block;
    background: none;
    width: 100%;
    height: 100%;
  }

  .best-card:not(.mobile-exception) {
  }

  .best-card2:not(.mobile-exception) {
  }

  .best-card3:not(.mobile-exception) {
  }

  .best-card4:not(.mobile-exception) {
    width: 360px;
    height: 715px;
    margin-bottom: 20px;
    margin-left: auto;
    margin-right: auto;
  }

  .best-title {
    font-size: 30px;
  }

  .best-card:nth-of-type(1) {
    width: 440px;
    height: 715px;
    margin: 0 10px;
    grid-area: card1;
  }

  .best-card2 {
    margin: 0 10px;
  }

  .best-card:nth-of-type(2):not(.mobile-exception) {
    width: 360px;
    height: 715px;
    margin-bottom: 20px;
    margin-left: 15px;
  }

  .best-card:nth-of-type(3):not(.mobile-exception) {
    width: 360px;
    height: 715px;
    margin-bottom: 20px;
    margin-left: 15px;
  }

  .best-card:nth-of-type(4):not(.mobile-exception) {
    width: 360px;
    height: 715px;
    margin-bottom: 20px;
    margin-left: 15px;
  }

  .best-card:not(.mobile-exception) {
    width: 360px;
    height: 715px;
    margin-bottom: 20px;
    margin-left: 15px;
  }

  .best-card:nth-of-type(2):not(.mobile-exception) {
    background: url(../img/price4.png) no-repeat center / cover;
  }

  .best-card:nth-of-type(3):not(.mobile-exception) {
    background: url(../img/price3.png) no-repeat center / cover;
  }

  .best-card:nth-of-type(4):not(.mobile-exception) {
    background: url(../img/price2.png) no-repeat center / cover;
  }

  .photo-page-second:not(.mobile-exception) {
    display: inline-block;
    background: none;
    width: 100%;
  }

  .best-photo-2 {
    display: inline-block;
  }

  .best-info {
  }

  .image-column {
    display: none;
  }

  .text-with-info:not(.mobile-exception) {
    text-align: center;
    margin-left: 15px;
    margin-right: 10px;
    width: 100%;
  }

  .contacts-map:not(.mobile-exception) {
    width: 100%;
  }

  .info-page {
    height: 100%;
  }

  .photo-page:not(.mobile-exception) {
    height: 100%;
  }

  .best-photo-2:not(.mobile-exception) {
    height: 100%;
  }

  .best-card3:nth-of-type(1) {
    width: 360px;
    height: 715px;
    margin-bottom: 20px;
    margin-left: auto;
    margin-right: auto;
  }

  .best-card3:nth-of-type(2) {
    width: 360px;
    height: 715px;
    margin-bottom: 20px;
    margin-left: auto;
    margin-right: auto;
  }

  .best-card3:nth-of-type(3) {
    width: 360px;
    height: 715px;
    margin-bottom: 20px;
    margin-left: auto;
    margin-right: auto;
  }

  .best-photo:not(.mobile-exception) {
    display: inline-block;
    background: none;
    height: 100%;
  }

  .contacts-logo:not(.mobile-exception) {
  }

  .phone-number {
  }

  .contacts-info {
    margin-top: 0px;
  }

  .best-photo {
    flex-direction: column;
    /* stack photos vertically */
    align-items: center;
    /* center photos horizontally */
    margin-left: auto;
    /* create equal spacing on left side */
    margin-right: 0 20 auto;
    /* create equal spacing on right side */
    height: 100%;
  }

  .contacts {
    display: flex;
    flex-direction: column;
    /* stack child elements vertically */
    width: 100%;
    height: 100%;
    background-color: black;
  }

  .appointment-button {
    background-color: white;
    /* Add this line */
    color: black;
    /* Add this line */
    text-decoration: none;
    border-radius: 10px;
    margin-right: auto;
    margin-left: auto;
    margin-bottom: 50px;
    padding-right: 28px;
    padding-left: 28px;
  }

  .map {
    width: 100%;
    /* decrease the width */
    height: 600px;
    /* decrease the height */
  }

  .contacts-info:not(.mobile-exception) {
    margin-left: 0px;
    width: 100%;
    height: 100%;
    display: flex;
    /* change display to flex */
    flex-direction: column;
    /* stack child elements vertically */
    justify-content: center;
    /* center child elements horizontally */
    align-items: center;
    /* center child elements vertically */
  }

  .adress:not(.mobile-exception) {
    font-size: 24px;
  }

  .contacts-map:not(.mobile-exception) {
    height: 600px;
  }

  .map:not(.mobile-exception) {
    height: 600px;
  }
}

/*IPad Mini*/
@media screen and (width: 768px) {
  .author-name-page {
    display: block;
  }

  .logo-image {
    margin-left: 60px;
  }

  .menu-link:not(.mobile-exception) {
    margin-right: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }

  .menu-list:not(.mobile-exception) {
    background-color: white;
    margin-left: auto;
    margin-right: 650px;
    margin-bottom: auto;
    margin-top: 130px;
    padding: 50px;
    padding-top: 40px;
    padding-bottom: 0;
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }

  .underline-on-hover::after {
    display: none;
  }

  .menu-item:not(.mobile-exception) {
    width: 100%;
    text-align: center;
    color: black;
    margin-bottom: 20px;
  }

  .menu-item:not(.mobile-exception) a {
    color: black;
  }

  .menu-item:not(.mobile-exception) p {
    color: white;
  }

  .special-button {
    background-color: black;
    /* Add this line */
    color: white;
    /* Add this line */
    border-radius: 10px;
    width: 100%;
    margin: 0 0 15px 0;
    margin-right: 15px;
    padding-right: 28px;
    padding-left: 28px;
    margin-bottom: 0;
  }

  .insta-logo {
    display: block;
    margin: 0 auto;
    padding-top: 20px;
  }

  .insta-logo-mobile {
    display: block;
  }

  .menu-body {
    position: fixed;
    top: -100%;
    left: 0;
    z-index: 1;
    width: 100%;
    height: 100%;
    background: #000;
    transition: all 0.5s ease 0s;
  }

  .menu-body.active {
    top: 0;
  }

  .container {
    height: 5700px;
  }

  .best-info {
    display: inline-block;
    background: none;
    width: 390px;
  }

  .best-card {
    margin-left: auto;
    margin-right: auto;
  }

  .image-column {
    display: none;
  }

  .text-with-info {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
    width: 100%;
  }
}

@media (max-width: 950px) {
  .container {
    display: block;
  }
}
/*   height: 180px;
  background: url(../img/games.jpg) no-repeat center / cover;*/
