@media (min-width: 788px) {
  /* body {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }
  main {
    max-width: 1300px;
  } */

  section {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  @media (min-width: 850px) {

    #decorative-right,
    #decorative-left {
      display: block;
      min-width: 200px;
      max-width: 318px;
    }

    #newsletter>div {
      flex-direction: row;
      justify-content: space-between;
    }
  }

  @media (max-width: 1024px) {
    header nav {
      width: 50%;
    }

    #nav-bar ul {
      display: flex;
      justify-content: space-between;
      align-items: center;
      gap: 50px;
    }
  }

  #mobile-menu {
    display: none;
    /* visibility: hidden; */
  }

  header nav {
    width: 90%;
  }

  #menu {
    display: flex;
    position: initial;
    flex-direction: row;
    height: 70px;
    width: 100%;
  }

  #nav-bar ul {
    display: flex;
    justify-content: space-around;
    align-items: center;
    gap: 50px;
  }

  #nav-bar .nav-bar-list {
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    align-items: center;
    gap: 20px
  }

  .hero .hero-title {
    font-size: 2.5rem;
  }

  .hero .hero-subtitle {
    max-width: 500px;
    font-size: 1.3rem;
  }

  .learn-best-techs {
    display: flex;
    flex-direction: row;
  }

  .chose-a-course h3 {
    font-size: 1.3rem;
  }

  .chose-a-course .courses {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
  }

  .chose-a-course .courses button.btn {
    font-size: 1.5rem;
  }

  .testimonial {
    max-width: 720px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1rem
  }

  .testimonial-description {
    font-size: 1.1rem;
  }

  .testimonial-controller {
    position: relative;
    bottom: 60px;
    cursor: pointer;
  }

  #testimonials {
    padding-bottom: 60px;
  }

  #testimonial-author-photo {
    width: 100%;
    height: 100%;
  }

  #testimonials>.max-w-1236 {
    display: flex;
    gap: 1rem;
    flex-direction: column;
  }

  .profile .img {
    width: 163px;
    height: 163px;
    border-radius: 50%;
    overflow: hidden;
  }

  #testimonials .header h3 {
    font-size: 1.8rem;
    font-weight: 700;
    max-width: 300px;
  }

  #others-testimonials>.other-testimonial {
    display: block;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: red;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    position: relative;
  }

  #others-testimonials>.left-testimonial {
    background-color: black;
    overflow: hidden;
    left: -50px;
  }

  #others-testimonials>.right-testimonial {
    /* background-color: black; */
    overflow: hidden;
    bottom: 2rem;
    right: -60px;
  }

  #others-testimonials {
    display: flex;
    justify-content: space-between;
    position: relative;
    cursor: pointer;
    top: 100px;
  }

  #others-testimonials img {
    width: 100%;
    height: 100%;
  }

  .orange-line {
    height: 15px;
    width: 300px;
  }

  #newsletter {}

  #newsletter>div {
    width: 100%;
    display: flex;
    flex-direction: row;
    gap: 10px;
    justify-content: center;
  }

  #newsletter #form {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 90px;
  }

  #newsletter input {
    width: 287px !important;
  }

  #newsletter-controller {
    flex-direction: row;
    margin-top: 50px;
  }

  #newsletter h3 {
    font-size: 1.5rem;
    text-align: center;
    line-height: 142.5%;
  }

  #newsletter p {
    font-size: 1.2rem;
    text-align: center;
    line-height: 142.5%;
  }

  footer #footer-top {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: start;
    width: 100%;
  }

  .max-w-1236 {
    max-width: 1236px;
  }

  .w-full {
    width: 100%;
  }

  footer {
    font-size: 1.3rem;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  footer #footer-top>div {
    text-align: left;
  }

  footer #footer-bottom {}

  footer .social-icons {}

  #copyright {
    width: 100%;
  }
}

@media (min-width: 1250px) {
  #newsletter h3 {
    font-size: 2rem;
    text-align: center;
    line-height: 142.5%;
  }

  #newsletter p {
    font-size: 1.5rem;
    text-align: center;
    line-height: 142.5%;
  }
}