/*------------------------------------------
  Responsive Grid Media Queries - 1280, 1024, 768, 480
   1280-1024   - desktop (default grid)
   1024-768    - tablet landscape
   768-480     - tablet 
   480-less    - phone landscape & smaller
--------------------------------------------*/
@media all and (min-width: 1070px) and (max-width: 1980px) {
  .roadmap .container {
    width: 95%;
    max-width: 85%;
  }
  .timeline {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
  }
  .timeline-container {
    margin: 0 1rem 2.5rem 1rem;
  }
}
@media all and (min-width: 768px) and (max-width: 1055px) {
  .navbar {
    width: 95%;
  }
  .navbar .max-width .sl .os {
    height: 40px;
    width: 40px;
    margin-right: 2rem;
    cursor: pointer;
  }
  .navbar .max-width .sl .tw {
    height: 40px;
    width: 40px;
    cursor: pointer;
    margin-right: 2rem;
  }
  .navbar .max-width .sl .mm {
    height: 40px;
    width: 40px;
    cursor: pointer;
  }
  .navbar .max-width .menu li a {
    font-size: 23px;
  }
  .navbar .max-width .menu li a:hover {
    color: rgb(47, 60, 134);
  }
  .navbar .max-width .menu-btn {
    font-size: 33px;
  }
  header .row {
    width: 90%;
    height: 70vh;
  }
  header .row .col-1 {
    flex-basis: 25%;
    min-width: 300px;
    margin-bottom: 30px;
    margin: 10% 0 0 10%;
    font-weight: 400;
    text-align: start;
    color: rgb(255, 255, 255);
  }
  header .row .col-1 h1 {
    font-size: 50px;
  }
  header .row .col-1 p {
    font-size: 20px;
  }
  header .row .col-1 .btn-2 {
    font-size: 25px;
    width: 80%;
    cursor: pointer;
  }
  header .row .col-1 .btn-2 a {
    color: #fff;
    font-family: "kanit";
  }
  header .row .col-2 {
    flex-basis: 44%;
    min-width: 200px;
    margin-bottom: 30px;
    position: relative;
  }
  header .row .col-2 .banner {
    position: absolute;
    left: 0;
    top: 2rem;
    width: 100%;
    animation: move 3s linear infinite;
  }
  @keyframes move {
    0% {
      transform: translate(-8px, 0px);
    }
    50% {
      transform: translate(0px, -8px);
    }
    100% {
      transform: translate(-8px, 0px);
    }
  }
  .heading {
    font-size: 3rem;
    padding: 3rem;
  }
  .heading2 {
    font-size: 3rem;
    padding: 3rem;
  }
  .main {
    width: 100%;
  }
  .main .child {
    flex-basis: 40%;
  }
  .main .child img:hover {
    opacity: 0.9;
  }
  .main .child-2 {
    flex-basis: 50%;
  }
  .main .child-2 .btn {
    margin-top: 1rem;
    font-size: 24px;
    letter-spacing: 3px;
    border-radius: 5px;
    font-family: "kanit";
    width: 60%;
    color: #fff;
    cursor: pointer;
    transition: all 0.3s ease;
  }
  .main .child-2 .btn:hover {
    background: linear-gradient(22deg, rgba(255, 137, 235, 0.534) 31%, rgba(103, 0, 108, 0.473) 100%);
  }
  .roadmap .container {
    width: 95%;
    max-width: 85%;
  }
  .timeline {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
  }
  .timeline-container {
    margin: 0 1rem 2.5rem 1rem;
  }
}
@media all and (min-width: 480px) and (max-width: 768px) {
  .navbar {
    width: 95%;
  }
  .navbar .max-width .sl .os {
    height: 40px;
    width: 40px;
    margin-right: 2rem;
    cursor: pointer;
  }
  .navbar .max-width .sl .tw {
    height: 40px;
    width: 40px;
    cursor: pointer;
    margin-right: 2rem;
  }
  .navbar .max-width .sl .mm {
    height: 40px;
    width: 40px;
    cursor: pointer;
  }
  .navbar .max-width .menu li a {
    font-size: 20px;
    margin: 15px 0;
  }
  .navbar .max-width .menu li a:hover {
    color: rgb(47, 60, 134);
  }
  .navbar .max-width .menu-btn {
    font-size: 33px;
  }
  header {
    min-height: 100vh;
  }
  header .row {
    width: 90%;
    height: 70vh;
  }
  header .row .col-1 {
    z-index: 9999999;
    flex-basis: 25%;
    min-width: 300px;
    margin-bottom: 30px;
    margin: 10% 0 0 4%;
    font-weight: 400;
    text-align: start;
    color: rgb(255, 255, 255);
  }
  header .row .col-1 h1 {
    font-size: 40px;
    width: 70%;
  }
  header .row .col-1 p {
    font-size: 17px;
    width: 80%;
  }
  header .row .col-1 .btn-2 {
    font-size: 20px;
    width: 55%;
    padding: 10px 10px;
    cursor: pointer;
  }
  header .row .col-1 .btn-2 a {
    color: #fff;
    font-family: "kanit";
  }
  header .row .col-2 {
    flex-basis: 44%;
    min-width: 200px;
    margin-bottom: 30px;
    position: relative;
    left: -3rem;
  }
  header .row .col-2 .banner {
    position: absolute;
    left: -2rem;
    top: 2rem;
    width: 135%;
    animation: move 3s linear infinite;
  }
  @keyframes move {
    0% {
      transform: translate(-8px, 0px);
    }
    50% {
      transform: translate(0px, -8px);
    }
    100% {
      transform: translate(-8px, 0px);
    }
  }
  .heading {
    font-size: 3rem;
    padding: 3rem;
  }
  .heading2 {
    font-size: 3rem;
    padding: 3rem;
  }
  .main {
    width: 100%;
    flex-direction: column;
    width: 80%;
    margin-bottom: 5rem;
  }
  .main .child {
    flex-basis: 10%;
    margin-bottom: -3rem;
  }
  .main .child img {
    height: 300px;
    width: 300px;
  }
  .main .child-2 {
    flex-basis: 50%;
  }
  .main .child-2 h1 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    text-align: center;
  }
  .main .child-2 p {
    text-align: center;
    font-size: 19px;
  }
  .main .child-2 .btn {
    font-size: 24px;
    letter-spacing: 3px;
    border-radius: 5px;
    font-family: "kanit";
    color: #fff;
    cursor: pointer;
    margin: auto;
    margin-top: 2rem;
    width: 12rem;
    transition: all 0.3s ease;
  }
  .main .child-2 .btn:hover {
    background: linear-gradient(22deg, rgba(255, 137, 235, 0.534) 31%, rgba(103, 0, 108, 0.473) 100%);
  }
  .roadmap .container {
    width: 85%;
  }
  .swiper {
    padding-bottom: 0rem;
  }
  .swiper .swiper-button-next {
    display: none;
  }
  .swiper .swiper-button-prev {
    display: none;
  }
}
@media all and (min-width: 260px) and (max-width: 480px) {
  .navbar .max-width .menu.active {
    right: 0;
    width: 100%;
  }
  .navbar {
    width: 95%;
  }
  .navbar .max-width .sl .os {
    height: 25px;
    width: 25px;
    margin-right: 1rem;
    cursor: pointer;
  }
  .navbar .max-width .sl .tw {
    height: 25px;
    width: 25px;
    cursor: pointer;
    margin-right: 1rem;
  }
  .navbar .max-width .sl .mm {
    height: 25px;
    width: 25px;
    cursor: pointer;
  }
  .navbar .max-width .menu {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: start;
    justify-items: center;
  }
  .navbar .max-width .menu li a {
    font-size: 14px;
    margin: 20px 0;
  }
  .navbar .max-width .menu li a:hover {
    color: rgb(47, 60, 134);
  }
  .navbar .max-width .menu-btn {
    font-size: 33px;
  }
  header {
    min-height: 100vh;
  }
  header .row {
    width: 90%;
    height: 70vh;
    flex-direction: column-reverse;
    padding-bottom: 3rem;
  }
  header .row .col-1 {
    z-index: 99;
    flex-basis: 25%;
    min-width: 300px;
    margin-bottom: 30px;
    margin: 10% 0 0 4%;
    font-weight: 400;
    text-align: start;
    color: rgb(255, 255, 255);
  }
  header .row .col-1 h1 {
    font-size: 35px;
    width: 60%;
  }
  header .row .col-1 p {
    font-size: 16px;
    width: 80%;
  }
  header .row .col-1 .btn-2 {
    font-size: 18px;
    width: 9rem;
    padding: 10px 10px;
    cursor: pointer;
  }
  header .row .col-1 .btn-2 a {
    color: #fff;
    font-family: "kanit";
  }
  header .row .col-2 {
    flex-basis: 34%;
    min-width: 200px;
    margin-bottom: 30px;
    position: relative;
  }
  header .row .col-2 .banner {
    position: absolute;
    top: 50%;
    left: 30%;
    width: 50%;
    animation: move 3s linear infinite;
  }
  @keyframes move {
    0% {
      transform: translate(-8px, 0px);
    }
    50% {
      transform: translate(0px, -8px);
    }
    100% {
      transform: translate(-8px, 0px);
    }
  }
  .heading {
    font-size: 2rem;
    padding: 8rem 3rem;
  }
  .heading2 {
    font-size: 2rem;
    padding: 8rem;
  }
  .main {
    width: 100%;
    flex-direction: column;
    width: 80%;
    margin-bottom: 5rem;
  }
  .main .child {
    flex-basis: 10%;
    margin-bottom: -3rem;
  }
  .main .child img {
    height: 200px;
    width: 200px;
    margin: 2rem;
  }
  .main .child-2 {
    flex-basis: 50%;
  }
  .main .child-2 h1 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    text-align: center;
  }
  .main .child-2 p {
    text-align: center;
    font-size: 19px;
  }
  .main .child-2 .btn {
    font-size: 20px;
    letter-spacing: 1px;
    border-radius: 5px;
    font-family: "kanit";
    color: #fff;
    cursor: pointer;
    margin: auto;
    margin-top: 2rem;
    width: 10rem;
    padding: 0.5rem 0;
    transition: all 0.3s ease;
  }
  .main .child-2 .btn:hover {
    background: linear-gradient(22deg, rgba(255, 137, 235, 0.534) 31%, rgba(103, 0, 108, 0.473) 100%);
  }
  .swiper {
    padding-bottom: 0rem;
  }
  .swiper .swiper-button-next {
    display: none;
  }
  .swiper .swiper-button-prev {
    display: none;
  }
  .roadmap .container {
    width: 85%;
  }
  footer .bottom_content .cont a .os2 {
    height: 30px;
    width: 30px;
  }
  footer .bottom_content .cont a .mm2 {
    height: 30px;
    width: 30px;
  }
  footer .bottom_content .cont a .tw2 {
    height: 30px;
    width: 30px;
  }
  footer .bottom_content .cont a {
    margin: 0 10px;
  }
}
