/* Extra small devices */
@media (max-width: 576px) {
  .nav-title {
    font-weight: bolder;
    font-size: 30px;
  }
  .overlay_container {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding-top: 100px;
    padding-bottom: 100px;
  }

  .overlay_right {
    margin-top: 80px;
    margin-bottom: 50px;
    padding-bottom: 50px;
  }
  .overlay_right > div > p {
    font-size: 24px;
    text-align: right;
  }

  .landing {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    row-gap: 20px;
  }
  .landing_h1 {
    font-size: 32px !important;
    font-weight: 900;
    white-space: nowrap;
    text-align: center;
  }

  .landing_gradient {
    font-size: 38px !important;
    font-weight: 900;
    text-align: center;
  }

  .landing_p {
    font-size: 18px !important;
    text-align: center;
  }
  .container {
    padding-left: 25px;
    padding-right: 25px;
  }
  .section_title {
    font-size: 30px;
    font-weight: 800;
  }

  .contact_btn {
    width: 100px;
    font-size: 0.7rem;
    margin-right: 50px;
  }
  .close-btn {
    right: 3px;
  }
  /* about */
  .about_container {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    gap: 40px;
  }
  .about_left,
  .about_right {
    width: 100%;
  }

  .about_video iframe {
    height: 100%;
    width: 100%;
  }

  /* YOUTUBE GRID */
  .yt_container {
    grid-template-columns: repeat(1, 1fr);
  }

  .youtube > p {
    font-size: 28px;
  }

  /* CEO */
  .ceo_container {
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }
  .ceo_img {
    width: 60%;
  }
  .ceo_info {
    width: 90%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    /* background-color: green; */
    row-gap: 5px;
  }
  .ceo_info > h2 {
    font-size: 34px;
  }
  .ceo_info > h5 {
    font-size: 19px;
    white-space: nowrap;
  }
  .ceo_info > p {
    font-size: 16px;
    margin-top: 20px;
    max-width: 90%;
    text-align: center;
  }
}

/* Small devices/mobile and up */
@media (min-width: 577px) and (max-width: 767px) {
  .overlay_container {
    display: flex;
    flex-direction: column;
    align-items: end;
    justify-content: space-between;
    padding-top: 100px;
    padding-bottom: 100px;
    column-gap: 60px;
  }
  .overlay_right {
    margin-top: 50px;
  }
  .overlay_right > div > p {
    font-size: 24px;
    text-align: right;
  }
  .landing {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    row-gap: 20px;
  }
  .landing_h1 {
    font-size: 32px !important;
    font-weight: 900;
    white-space: nowrap;
    text-align: center;
  }

  .landing_gradient {
    font-size: 38px !important;
    font-weight: 900;
    text-align: center;
  }

  .landing_p {
    font-size: 18px !important;
    text-align: center;
    width: 70%;
  }
  .contact_btn {
    margin-right: 60px;
  }

  .about_container {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    gap: 40px;
    padding: 20px;
  }
  .about_left {
    display: flex;
    justify-content: center;
    align-items: center;
  }
  .about_left,
  .about_right {
    width: 100%;
  }

  .about_video {
    width: 80%;
  }
  .about_video iframe {
    height: 100%;
    width: 100%;
  }
  /* success */
  .success_grid {
    grid-template-columns: 1fr 1fr 1fr;
  }

  /* YOUTUBE GRID */
  .yt_container {
    grid-template-columns: repeat(2, 1fr);
    padding: 20px;
  }
  .youtube > p {
    font-size: 33px;
  }

  /* CEO */
  .ceo_container {
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }
  .ceo_info {
    width: 90%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    /* background-color: green; */
    row-gap: 5px;
  }
  .ceo_info > h2 {
    font-size: 34px;
  }
  .ceo_info > h5 {
    font-size: 19px;
    white-space: nowrap;
  }
  .ceo_info > p {
    font-size: 16px;
    margin-top: 20px;
    max-width: 90%;
    text-align: center;
  }
}

/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) {
  nav {
    padding-left: 50px;
    padding-right: 50px;
  }
  .overlay_container {
    padding-right: 60px;
    padding-left: 60px;
  }
  .overlay_right {
    display: flex;
    flex-direction: column;
    height: 100%;
    justify-content: end;
    align-items: start;
  }
  .overlay_right > div > p {
    font-size: 32px;
  }
  .close-btn {
    right: 10px;
  }
  .nav_right {
    column-gap: 50px;
  }

  /* modal */
  .modal-content {
    bottom: 7%;
  }

  .container {
    padding-left: 50px;
    padding-right: 50px;
  }

  .landing {
    height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: start !important;
    justify-content: center;
    row-gap: 20px;
  }
  .landing_h1 {
    font-size: 60px !important;
    font-weight: 900;
    white-space: nowrap;
    text-align: left;
  }

  .landing_gradient {
    background: linear-gradient(45deg, var(--purple), var(--yellow));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-size: 70px !important;
    font-weight: 900;
  }

  .landing_p {
    font-size: 20px !important;
    font-weight: 600;
    color: rgb(232, 232, 232);
    text-align: left;
    width: 70%;
  }

  .contact_btn {
    margin-right: 70px;
  }
  .hamburger {
    right: 50px;
  }

  /* ABOUT SECTION */
  .about_container {
    display: flex;
    justify-content: center;
    flex-direction: row;
    align-items: center;
    gap: 40px;
  }
  .about_card {
    width: 80%;
    margin-right: 30px;
  }

  .about_video iframe {
    height: 100%;
    width: 100%;
  }

  .about_left,
  .about_right {
    width: 100%;
  }

  .about_right {
    font-size: 1.1rem;
  }

  .about_video iframe {
    height: 100%;
    width: 100%;
  }
  /* success */
  .success_grid {
    grid-template-columns: 1fr 1fr 1fr 1fr;
  }
  .contact__container {
    flex-direction: row;
  }
  .contact_left h1 {
    text-align: left;
  }
  .contact_left h4 {
    text-align: left;
  }
}

/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) {
  nav {
    padding-left: 100px;
    padding-right: 100px;
  }
  .overlay_container {
    padding-right: 100px;
    padding-left: 200px;
  }
  .close-btn {
    right: 32px;
  }
  .container {
    padding-left: 100px;
    padding-right: 100px;
  }
  .hamburger {
    right: 80px;
  }
  .about_container {
    gap: 80px;
  }
  .about_card {
    width: 70%;
    margin-right: 100px;
  }

  .about_video_new iframe {
    height: 100%;
    width: 100%;
  }
  /* success */
  .success_grid {
    grid-template-columns: 1fr 1fr 1fr 1fr 1fr;
  }
}
