@import url("https://fonts.googleapis.com/css2?family=Sarabun:wght@400;500;600&display=swap");

:root {
  --primary-red: #de1738;
  --primary-red-dark: #CD1735;
  --secondary-red: #fadce1;
}
*{
    box-sizing: border-box;
}
html,
body {
  width: 100%;
  height: 100%;
  margin: 0;
  font-family: "Sarabun", sans-serif;
  overflow-x: hidden;
  position: relative;

}

a {
  text-decoration: none;
  outline: none;
}
/*xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx*/

/*-------------------CHNAGE STRIP-------------------*/
.change-strip {
    width: 100%;
    height: 50px;
    background-color: var(--secondary-red);
  }
  /*xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx*/

/*-------------------NAVBAR-------------------*/
.navbar {
  display: flex;
  margin: 0 auto;
  width: min(97%, 1400px);
  justify-content: space-between;
  align-items: center;
  padding: 18px 0px;
}
.navbar .logo .text {
  font-weight: 600;
  font-size: 36px;
  color: var(--primary-red);
  display: flex;
  align-items: center;
}
.navbar .logo .text img {
    height: 55px;
    width: auto;
}
.navbar .buttons {
  display: flex;
}
.navbar .buttons .secondary-btn {
  border: 3px solid var(--primary-red);
  color: var(--primary-red);
  background-color: transparent;
  border-radius: 5px;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 53px;
  width: 142px;
  font-weight: 600;
  font-size: 24px;
  margin-right: 20px;
  box-shadow: 0px 4px 20px 5px rgba(250, 220, 225, 0.2);
  cursor: pointer;
}

.navbar .buttons .primary-btn {
  border: 3px solid var(--primary-red);
  background-color: var(--primary-red);
  color: white;
  border-radius: 5px;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 53px;
  width: 142px;
  font-weight: 600;
  font-size: 24px;
  box-shadow: 0px 4px 20px 5px rgba(250, 220, 225, 0.2);
  cursor: pointer;
}
@media only screen and (max-width: 998px) {
  .navbar .logo .text {
    font-size: 24px;
  }
  .navbar .buttons .secondary-btn,
  .navbar .buttons .primary-btn {
    height: 43px;
    width: 112px;
    font-size: 18px;
  }
}
@media only screen and (max-width: 754px) {
  .navbar .buttons .secondary-btn {
    border: 3px solid var(--primary-red);
    color: var(--primary-red);
  }
  .navbar .buttons .primary-btn {
    border: 3px solid var(--primary-red);
    color: white;
    background-color: var(--primary-red);
  }
}
@media only screen and (max-width: 500px) {
  .navbar .buttons .secondary-btn {
    display: none;
  }
}
/*xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx*/

/*-------------------COURSEWORK SECTION------------------*/
.course-section {
    display: flex;
  margin: 0 auto;
  width: min(97%, 1400px);
  flex-direction: column;
  align-items: center;
  margin-top: 100px;
}
.course-section .head {
    font-size: 72px;
    font-weight: 600;
    color: black;
    text-align: center;
}
.course-section .head span {
    color: var(--primary-red);
}



.course-section .descp {
    font-size: 18px;
    font-weight: 400;
    color: black;
    margin: 20px auto;
    width: 70%;
    text-align: center;
}

.course-section .tabs {
    display: flex;
    justify-content: center;
    align-items: center;
    max-height: 35px;
    width: 100%;
    overflow-x: scroll;
    overflow-y: hidden;
    margin: 20px auto;
    -ms-overflow-style: none;  /* IE and Edge */
    scrollbar-width: none;  /* Firefox */
    cursor: pointer;
}

.course-section .tabs::-webkit-scrollbar {
    display: none;
  }

.course-section .tabs .tab {
    font-size: 28px;
    font-weight: 600;
    color: black;
    margin: 0px 30px;
    white-space: nowrap;
}
.course-section .tabs .tab-selected {
    font-weight: 700;
    background-color: var(--primary-red) !important;
    color: white !important;
    border-radius: 5px;
    display: flex;
    width: auto;
    justify-content: center;
    align-items: center;
}

.course-section .cards {
    display: flex;
    justify-content: space-around;
    align-items: flex-start;
    flex-wrap: wrap;
    
}
.course-section .cards .card {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px;
    width: 260px;
    max-width: 260px;
    border: 2px solid var(--secondary-red);
    border-radius: 10px;
    margin: 10px;
    
}
.course-section .cards .card img {
   width: 90px;
   height: 90px;
}
.course-section .cards .card .head {
    font-size: 24px;
    font-weight: 600;
    color: var(--primary-red);
    text-align: center;
    margin-top: 20px;
    margin-bottom: 10px;
}
.course-section .cards .card .points {
    font-size: 18px;
    font-weight: 400;
    color: black;
    text-align: center;
}

@media only screen and (max-width: 1180px) {
    .course-section .head {
        font-size: 60px;
    }
    .course-section .descp {
        font-size: 16px;
        width: 80%;
    }
    .course-section .tabs .tab {
        font-size: 24px;
    }
    .course-section .cards .card img {
        width: 70px;
        height: 70px;
     }
     .course-section .cards .card .head {
         font-size: 22px;
     }
     .course-section .cards .card .points {
         font-size: 16px;
     }
}

@media only screen and (max-width: 998px) {
    .course-section .head {
        font-size: 48px;
    }
    .course-section .descp {
        font-size: 16px;
        width: 90%;
    }
    .course-section .cards .card img {
        width: 65px;
        height: 65px;
     }
     .course-section .tabs {
         justify-content: flex-start;
     }
}

@media only screen and (max-width: 754px) {
    .course-section .head {
        font-size: 36px;
    }
    .course-section .descp {
        font-size: 14px;
        width: 90%;
    }
    .course-section .tabs .tab {
        font-size: 24px;
        margin: 0px 20px;
    }

    .course-section .cards .card {
        padding: 15px;
        width: 160px;
        max-width: 160px;
    }
    .course-section .cards .card img {
        width: 60px;
        height: 60px;
     }
     .course-section .cards .card .head {
         font-size: 20px;
     }
     .course-section .cards .card .points {
         font-size: 14px;
     }
}

@media only screen and (max-width: 500px) {
    .course-section {
      margin-top: 50px;
    }
}
/*xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx*/

/*-------------------TimeLine SECTION------------------*/
.timeline-section {
    display: flex;
  margin: 0 auto;
  width: min(95%, 1300px);
  flex-direction: column;
  align-items: center;
  margin: 150px auto;
}
.timeline-section .head {
    font-size: 72px;
    font-weight: 600;
    color: black;
    text-align: center;
}
.timeline-section .head span {
    color: var(--primary-red);
}

.timeline-section .descp {
    font-size: 18px;
    font-weight: 400;
    color: black;
    margin: 20px auto;
    width: 70%;
    text-align: center;
}

.timeline-section .row {
    display: flex;
    margin-top: 40px;
}

.timeline-section .row:nth-of-type(even) {
    flex-direction: row-reverse;
}

.timeline-section .row .col-1 {
    text-align: left;
    width: 30%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    padding: 0px 20px;
}

.timeline-section .row:nth-of-type(even) .col-1 {
    justify-content: flex-start;
    align-items: flex-end;
    text-align: right;
}

.timeline-section .row .col-1 .head {
    font-size: 68px;
    font-weight: 700;
    color: black;
    text-align: left;
}

.timeline-section .row:nth-of-type(even) .col-1 .head {
    text-align: right;
}

.timeline-section .row .col-1 .head span {
    color: var(--primary-red);
}

.timeline-section .row .col-1 .topic {
    font-size: 28px;
    font-weight: 600;
    color: var(--primary-red);
    text-align: left;
}

.timeline-section .row .col-1 .descp {
    font-size: 18px;
    font-weight: 400;
    color: black;
    text-align: left;
    margin: 0px;
    width: 100%;
}

.timeline-section .row:nth-of-type(even) .col-1 .descp {
    text-align: right;
}

.timeline-section .row .col-2 {
    width: 70%;
    display: flex;
    flex-direction: column;
}
.timeline-section .row .col-2 .point {
    width: 100%;
    border:3px solid var(--primary-red);
    border-radius: 10px;
    padding: 20px;
    margin: 20px auto;
}
.timeline-section .row .col-2 .point .heading {
    font-size: 30px;
    font-weight: 800;
    color: var(--primary-red);
    text-align: left;
    display: flex;
    justify-content: space-between;align-items: center;
}

.timeline-section .row .col-2 .point .text {
    font-size: 21px;
    font-weight: 400;
    color: black;
    text-align: left;

    display: flex;
    width: 100%;
    flex-wrap: wrap;
}
.timeline-section .row .col-2 .point .text .dsa-head {
    width: 100%;
}
.timeline-section .row .col-2 .point .text .dsa-col {
    width: 32%;
    margin: 0px;
}

.timeline-section .row .col-2 .point .text .dsa-col li {
    color: var(--primary-red);
}
.timeline-section .row .col-2 .point .text .dsa-col li b {
    color: black;
}

@media only screen and (max-width: 1180px) {
    .timeline-section .head {
        font-size: 60px;
    }
    .timeline-section .descp {
        font-size: 16px;
        width: 80%;
    }

    .timeline-section .row .col-1 .head {
        font-size: 60px;
    }
    .timeline-section .row .col-1 .descp {
        font-size: 16px;
    }
}

@media only screen and (max-width: 998px) {
    .timeline-section .head {
        font-size: 48px;
    }
    .timeline-section .descp {
        font-size: 16px;
        width: 90%;
    }

    .timeline-section .row {
        flex-wrap: wrap;
        margin: 0 auto;
        max-width: 750px;
        margin-top: 40px;
    }

    .timeline-section .row .col-1, .timeline-section .row .col-2 {
        width: 100%;
    }

    .timeline-section .row .col-1 {
        align-items: center !important;
    }

    .timeline-section .row .col-1 .head {
        font-size: 48px;
        text-align: center !important;
    }
    .timeline-section .row .col-1 .topic {
        font-size: 22px;
        text-align: center;
    }
    .timeline-section .row .col-1 .descp {
        font-size: 14px;
        text-align: center !important;
        padding: 20px;
    }
    .timeline-section .row .col-2  {
        padding-top: 10px;
    }

    .timeline-section .row .col-2 .point .heading {
        font-size: 24px;
    }
    
    .timeline-section .row .col-2 .point .text {
        font-size: 16px;
    }
    .timeline-section .row .col-2 .point {
        padding: 15px;
        margin: 10px auto;
    }
}

@media only screen and (max-width: 754px) {
    .timeline-section .head {
        font-size: 36px;
    }
    .timeline-section .descp {
        font-size: 14px;
        width: 90%;
    }

    .timeline-section .row .col-1 .head {
        font-size: 36px;
    }
    .timeline-section .row .col-1 .descp {
        font-size: 14px;
    }

    .timeline-section .row .col-2 .point .text .dsa-col {
        width: 100%;
    }
    
}

@media only screen and (max-width: 500px) {
    .timeline-section {
      margin-top: 50px;
    }

    .timeline-section .row .col-2 .point .heading {
        font-size: 22px;
    }
    
    .timeline-section .row .col-2 .point .text {
        font-size: 16px;
    }
}

.div-hidden {
    display: none !important;
}
/*xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx*/