@media screen and (max-width: 1360px) {

  .navigation li {
    margin: 0 12px;
    font-size: 15px;
  }

  .navigation li:first-child {
    display: none;
  }
  
}



@media screen and (max-width: 1199px) {

  .container {
      margin-left: 40px;
      margin-right: 40px;
  }

  .hidden {
    display: flex;
  }

  .navigation li:first-child {
    display: block;
  }

  nav {
    display: none;
    background: rgba(0, 0, 0, 0.9);
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    position: fixed;
    z-index: 999;
    backdrop-filter: blur(5px);
    text-align: center;
  }

  nav ul{
    display: flex;
    flex-direction: column;
    position: absolute;
    gap: 20px;
    align-items: center;
    margin: 0 auto;
    background: var(--bg);
    padding: 80px;
    text-align: center;
    margin-top: 5%;
    border-radius: var(--radius);
    max-width: 800px;
  }

  .popup .container {
    padding: 40px;
  }

  .popup-close {
    margin-bottom: 40px;
  }

  .popup-close-menu {
    display: block;
  }

  .why-one {
    width: 45%;
}

.understand-one {
  width: 46%;
}

.me-text {
  width: 50%;
}

.me-img {
  width: 50%;
}

.me-img img{
  width: 100%;
}

.faq-one {
  width: 100%;
  padding: 10px 20px;
}

.faq-bright {
  flex-direction: column;
  align-items: flex-start;
  padding: 20px;
}

.faq-bright h4 {
  margin-top: 0;
}

.faq-all {
  margin-bottom: 80px;
}

.section {
  margin-bottom: 80px;
}

footer {
  flex-direction: column;
  align-items: center;
}

.footer-logo {
  flex-direction: column;
  gap: 5px;
  text-align: center;
}

}

@media screen and (max-width: 800px) {

  .first-screen {
    flex-direction: column;
  }

  .first-screen-left {
    width: 100%;
    padding-top: 10%;
    padding-bottom: 5%;
}

.container {
  margin-left: 20px;
  margin-right: 20px;
}

.about-all {
  flex-direction: column;
  gap: 30px;
}

.about-one {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.about-one-text h4{
  margin: 0;
}

.about-one-text p{
  margin-top: 10px;
}

.whom-all {
  flex-direction: column;
}

.whom-one {
  width: 100%;
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.whom-one h4{
  margin: 0;
}

.whom-one p{
  margin-top: 10px;
}

.whom-one:nth-child(1),
.whom-one:nth-child(2),
.whom-one:nth-child(4),
.whom-one:nth-child(5),
.whom-one:nth-child(7),
.whom-one:nth-child(8)  {
  border-right: none;
  border-bottom: 1px solid var(--divider);
}

.whom-one:nth-child(7),
.whom-one:nth-child(8)  {
  border-bottom: 1px solid var(--divider);
}

.sale-block {
  flex-direction: column;
}

.sale-block-img {
  width: 100%;
}



.why-one {
  width: 100%;
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.why-one h4{
  margin: 0;
}

.why-one p{
  margin-top: 10px;
}

.why-all:after {
  height: 200px;
  width: 200px;
  background-size: 200px;
  right: -100px;
  bottom: -200px;
}

.program {
  flex-direction: column;
  gap: 30px;
}

.program-list-all {
  margin-left: 40px;
}

.program-list-all:before {
  left: -31px;
}

.program-day::before {
  left: -40px;
}

.program-list-one:last-child:before {
  left: -50px;
}

.program-list-one {
  margin-bottom: 40px;
}

.program-list-one h4{
  margin-top: 15px;
}

.program-cta {
  position: relative;
  top: 0;
  max-width: 100%;
  height: auto;
}

.me-all {
  flex-direction: column-reverse;
  gap: 30px;
}

.me-text {
  width: 100%;
}

.me-img {
  width: 100%;
}

footer {
  width: 80%;
}

.footer-link {
  flex-direction: column;
  gap: 10px;
}

header {
  min-width: 100%;
  margin: 0;
  border-radius: 0px;
  box-sizing: border-box;
}
  
  }

@media screen and (max-width: 560px) {


  .navigation .btn-outline {
    display: none;
  }

  .popup form {
    flex-direction: column;
    width: 100%;
    box-sizing: border-box;
    margin-top: 40px;
  }

  .popup input {
    width: 100%;
  }

  .popup .btn-bright {
    max-width: 100%;
    width: 100%;
  }

  .understand-all {
    gap: 20px;
}

  .understand-one {
    width: 100%;
    padding: 30px 20px;
  }

  section {
    margin-bottom: 60px;
}

p {
  font-size: 17px;
}

.navigation li {
  font-size: 17px;
}

.first-screen {
  margin-top: 100px;
  height: 100%;
  margin-bottom: 60px;
}

.first-screen-right {
  display: none;
}

.me .h2-description {
  margin-bottom: 30px;
}

.me hr {
  display: none;
}

.develompent p{
  font-size: 15px;
}

  
}


@media screen and (max-width: 479px) {

  .about, .why, .me {
      padding: 30px;
  }

  .popup .container {
    padding: 24px;
  }

  .sale-block {
    padding: 24px;
  }
  
  }