@import url("https://fonts.googleapis.com/css2?family=Jost:wght@100;200;300;400;500;600;700;800;900&family=Kanit:wght@100;200;300;400;500;600;700&display=swap");
:root {
  --color: rgba(30, 30, 30);
  --bgColor: rgba(245, 245, 245);
}

* {
  margin: 0px;
  padding: 0px;
  box-sizing: border-box;
  font-family: "Jost", sans-serif;
  scroll-behavior: smooth;
  scroll-padding-top: 110px;
}

/* Navbar start */

nav {
  position: fixed;
  top: 0;
  width: 100%;
  display: flex;
  justify-content: space-around;
  align-items: center;
  min-height: 10vh;
  background-color: #ffffff9b;
  font-family: "Kanit", sans-serif;
  z-index: 100;
}

.logo img {
  width: 70px;
}

.nav-links {
  display: flex;
  justify-content: space-around;
  width: 35%;
}

.nav-links li {
  list-style: none;
}
.nav-links a {
  color: #000;
  text-decoration: none;
  letter-spacing: 3px;
  font-weight: bold;
  font-size: 14px;
}

.burger {
  display: none;
  cursor: pointer;
}

.burger div {
  width: 25px;
  height: 3px;
  background-color: #000;
  margin: 5px;
  transition: all 0.3s ease;
}

@media screen and (max-width: 1024px) {
  .nav-links {
    width: 60%;
  }
}

@media screen and (max-width: 768px) {
  body {
    overflow-x: hidden;
  }
  .nav-links {
    position: absolute;
    right: 0px;
    height: 92vh;
    top: 8vh;
    background-color: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 50%;
    transform: translateX(100%);
    transition: transform 0.5s ease-in;
  }
  .nav-links li {
    opacity: 0;
  }
  .burger {
    display: block;
  }
}

.nav-active {
  transform: translateX(0%);
}

@keyframes navLinkFade {
  from {
    opacity: 0;
    transform: translateX(50px);
  }
  to {
    opacity: 1;
    transform: translateX(0px);
  }
}

.toggle .line1 {
  transform: rotate(-40deg) translate(-5px, 6px);
}

.toggle .line2 {
  transform: rotate(90deg) translate(0px, 0px);
}

.toggle .line3 {
  transform: rotate(35deg) translate(-5px, -6px);
}

/* Navbar ends  */
/* Header Start  */
#header {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  flex-wrap: wrap-reverse;
  min-height: 60vh;
  gap: 2rem;
  padding-top: 100px;
}

.header-img {
  width: 400px;
}

.content {
  height: 300px;
  width: 500px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 0.5rem;
}
.content h1 {
  font-size: 4rem;
}
.content h1 span {
  color: #ff6f00;
}
.content .time-text {
  font-size: 1.4rem;
  font-weight: 500;
}
.content .tag-text {
  font-size: 1.2rem;
  width: 80%;
  font-weight: 500;
}
.content .tag-text span {
  color: #890789;
  font-weight: 600;
}
.btn{
  display: flex;
  flex-wrap: wrap ;
  justify-content: flex-start;
  gap: 1.6rem;
}
.content .register-btn {
  width: 200px;
  height: 50px;
  border-radius: 10px;
  border: 1px solid #ff6f00;
  background: transparent;
  margin-top: 10px;
}
.content .register-btn a {
  text-decoration: none;
  color: #ff6f00;
  width: 100%;
  font-size: 1.1rem;
  font-weight: 600;
}
.content .register-btn:hover {
  background: #ff6f00;
  cursor: pointer;
}
.content .register-btn:hover a {
  color: #fff;
}

@media screen and (max-width: 900px) {
  #header {
    display: flex;
    justify-content: center;
    align-items: flex-end;
    flex-wrap: wrap-reverse;
    min-height: 80vh;
    gap: 2rem;
    padding-top: 100px;
  }

  .header-img {
    width: 400px;
  }

  .content {
    height: 300px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;
  }
  .content h1 {
    text-align: center;
    font-size: 2.6rem;
  }
  .content h1 span {
    color: #ff6f00;
  }
  .content .time-text {
    text-align: center;
    font-size: 1.3rem;
  }
  .content .tag-text {
    text-align: center;
  }
}

@media screen and (max-width: 400px) {
  .header-img {
    width: 320px;
  }

  .content {
    height: 300px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
  }
  .content h1 {
    font-size: 2.7rem;
  }
}
@media screen and (max-width: 350px) {
  .header-img {
    width: 200px;
  }
  .content h1 {
    font-size: 2rem;
  }
}
/* Header End  */
#video{
  min-height: 10vh;
  width: 100%;
}
#video video{
  min-height: 100%;
  width: 100%;
}



#timeline {
  --color: rgba(30, 30, 30);
  --bgColor: rgba(245, 245, 245);
  min-height: 100vh;
  display: grid;
  align-content: center;
  gap: 2rem;
  padding: 2rem;
  font-family: "Poppins", sans-serif;
  color: var(--color);
  background: var(--bgColor);
}

.timeline-head {
  text-align: center;
  font-size: 2.5rem;
}

.timeline-container {
  --col-gap: 2rem;
  --row-gap: 2rem;
  --line-w: 0.25rem;
  display: grid;
  grid-template-columns: var(--line-w) 1fr;
  grid-auto-columns: max-content;
  column-gap: var(--col-gap);
  list-style: none;
  width: min(60rem, 90%);
  margin-inline: auto;
}

/* line */
.timeline-container::before {
  content: "";
  grid-column: 1;
  grid-row: 1 / span 20;
  background: rgb(225, 225, 225);
  border-radius: calc(var(--line-w) / 2);
}

/* columns*/

/* row gaps */
.timeline-container li:not(:last-child) {
  margin-bottom: var(--row-gap);
}

/* card */
.timeline-container li {
  grid-column: 2;
  --inlineP: 1.5rem;
  margin-inline: var(--inlineP);
  grid-row: span 2;
  display: grid;
  grid-template-rows: min-content min-content min-content;
}

/* date */
.timeline-container li .date {
  --dateH: 3rem;
  height: var(--dateH);
  margin-inline: calc(var(--inlineP) * -1);

  text-align: center;
  background-color: var(--accent-color);

  color: white;
  font-size: 1.25rem;
  font-weight: 700;

  display: grid;
  place-content: center;
  position: relative;

  border-radius: calc(var(--dateH) / 2) 0 0 calc(var(--dateH) / 2);
}

/* date flap */
.timeline-container li .date::before {
  content: "";
  width: var(--inlineP);
  aspect-ratio: 1;
  background: var(--accent-color);
  background-image: linear-gradient(rgba(0, 0, 0, 0.2) 100%, transparent);
  position: absolute;
  top: 100%;

  clip-path: polygon(0 0, 100% 0, 0 100%);
  right: 0;
}

/* circle */
.timeline-container li .date::after {
  content: "";
  position: absolute;
  width: 2rem;
  aspect-ratio: 1;
  background: var(--bgColor);
  border: 0.3rem solid var(--accent-color);
  border-radius: 50%;
  top: 50%;

  transform: translate(50%, -50%);
  right: calc(100% + var(--col-gap) + var(--line-w) / 2);
}

/* title descr */
.timeline-container li .title,
.timeline-container li .descr {
  background: var(--bgColor);
  position: relative;
  padding-inline: 1.5rem;
}
.timeline-container li .title {
  overflow: hidden;
  padding-block-start: 1.5rem;
  padding-block-end: 1rem;
  font-weight: 500;
}
.timeline-container li .descr {
  padding-block-end: 1.5rem;
  font-weight: 300;
}

/* shadows */
.timeline-container li .title::before,
.timeline-container li .descr::before {
  content: "";
  position: absolute;
  width: 90%;
  height: 0.5rem;
  background: rgba(0, 0, 0, 0.5);
  left: 50%;
  border-radius: 50%;
  filter: blur(4px);
  transform: translate(-50%, 50%);
}
.timeline-container li .title::before {
  bottom: calc(100% + 0.125rem);
}

.timeline-container li .descr::before {
  z-index: -1;
  bottom: 0.25rem;
}

@media (min-width: 40rem) {
  .timeline-container {
    grid-template-columns: 1fr var(--line-w) 1fr;
  }
  .timeline-container::before {
    grid-column: 2;
  }
  .timeline-container li:nth-child(odd) {
    grid-column: 1;
  }
  .timeline-container li:nth-child(even) {
    grid-column: 3;
  }

  /* start second card */
  .timeline-container li:nth-child(2) {
    grid-row: 2/4;
  }

  .timeline-container li:nth-child(odd) .date::before {
    clip-path: polygon(0 0, 100% 0, 100% 100%);
    left: 0;
  }

  .timeline-container li:nth-child(odd) .date::after {
    transform: translate(-50%, -50%);
    left: calc(100% + var(--col-gap) + var(--line-w) / 2);
  }
  .timeline-container li:nth-child(odd) .date {
    border-radius: 0 calc(var(--dateH) / 2) calc(var(--dateH) / 2) 0;
  }
}

#theam {
  min-height: 100vh;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.4rem;
}
.theam_head {
  font-size: 2.6rem;
}
.row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}
.column {
  width: 100%;
  padding: 0 1em 1em 1em;
  text-align: center;
}
.theam-card {
  width: 100%;
  height: 100%;
  padding: 2em 1.5em;
  background: linear-gradient(#ffffff 50%, #ff6f00 50%);
  background-size: 100% 200%;
  background-position: 0 2.5%;
  border-radius: 5px;
  box-shadow: 0 0 35px rgba(0, 0, 0, 0.12);
  cursor: pointer;
  transition: 0.5s;
}
.theam-head {
  font-size: 20px;
  font-weight: 600;
  color: #1f194c;
  margin: 1em 0;
}
.theam-details {
  color: #575a7b;
  font-size: 15px;
  line-height: 1.6;
  letter-spacing: 0.03em;
}
.icon-wrapper {
  background-color: #ff6f00;
  position: relative;
  margin: auto;
  font-size: 30px;
  height: 2.5em;
  width: 2.5em;
  color: #ffffff;
  border-radius: 50%;
  display: grid;
  place-items: center;
  transition: 0.5s;
}
.theam-card:hover {
  background-position: 0 100%;
}
.theam-card:hover .icon-wrapper {
  background-color: #ffffff;
  color: #ff6f00;
}
.theam-card:hover h3 {
  color: #ffffff;
}
.theam-card:hover p {
  color: #f0f0f0;
}
@media screen and (min-width: 768px) {
  #theam {
    padding: 0 2em;
  }
  .column {
    flex: 0 50%;
    max-width: 50%;
  }
}
@media screen and (min-width: 992px) {
  #theam {
    padding: 1em 3em;
  }
  .column {
    flex: 0 0 33.33%;
    max-width: 33.33%;
  }
}

/* Team section  */
#team {
  background: var(--bgColor);
  display: flex;
  justify-content: flex-start;
  flex-direction: column;
  align-items: center;
  width: 100%;
  gap: 1rem;
  padding: 20px;
}
.faculty-coordinators {
  text-align: center;
  width: 100%;
  min-height: 50vh;
  display: flex;
  flex-direction: column;
  gap: 1.3rem;
}
.faculty-coordinators h1{
  font-size: 2.4rem;
}
.team-container {
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: space-evenly;
  align-items: center;
  flex-wrap: wrap;
  gap: 3rem;
}
.team-container .team-card {
  width: 400px;
  height: 400px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  gap: 0.5rem;
  overflow: hidden;
}
.team-container .team-card .team-img {
  width: 250px;
  height: 250px;
  border-radius: 50%;
  overflow: hidden;
  border: 4px solid #ff6f00;
}
.team-img img {
  height: 100%;
  width: 100%;
}
.team-card .team-text {
  text-align: center;
  width: 100%;
}
.team-card .team-text h1 {
  font-size: 1.7rem;
  color: #ff6f00;
}
.team-card .team-text h2 {
  font-size: 1.2rem;
  color: #575a7b;
}
.links {
  width: 100%;
  height: 50px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2rem;
  transform: translateY(50px);
  transition: 500ms ease-in-out;
}
.links a {
  color: #000;
  font-size: 1.6rem;
}
.team-card:hover .links {
  transform: translateY(0);
}
#footer{
  min-height: 10vh;
  display: grid;
  place-items: center;
  text-align: center;
}
#footer h1{
  font-size: 1.4rem;
}
#footer h1 a{
  text-decoration: none;
  color: #333;
}
#footer h1 a:hover{
  color: #ff6f00;
}

#pptSubmit{
  min-height: 50vh;
  width: 100%;
  background: #f0f0f0;
  display: flex;
  justify-content: space-evenly;
  align-items: center;
  flex-wrap: wrap;
}
.countdown{
  width: 500px;
  height: 200px;
  border-radius: 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-evenly;
  border: 2px solid #ff6f00;
  transition: 200ms ease-in-out;
}

.countdown h1{
  text-align: center;
  font-weight: 400;
  font-size: 1.7rem;
  color: #ff6f00;
}
.countdown:hover{
  background: #ff6f00;
  color: #fff;
}
.countdown:hover h1{
  color: #fff;
}
.timerBox{
  width: 100%;
  height: 100px;
  display: flex;
  justify-content: space-evenly;
  align-items: center;
}
.timerBox div{
  width: 70px;
  height: 70px;
  font-size: 2rem;
  font-weight: 500;
  border: 2px solid #ff6f00;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
}
.countdown:hover .timerBox div{
  border: 2px solid #fff;
}
#pptSubmit button{
  --color: #ff6f00;
 padding: 0.8em 1.7em;
 background-color: transparent;
 border-radius: .3em;
 position: relative;
 overflow: hidden;
 cursor: pointer;
 transition: .5s;
 font-weight: 400;
 font-size: 17px;
 border: 1px solid;
 font-family: inherit;
 text-transform: uppercase;
 color: var(--color);
 z-index: 1;
}

#pptSubmit button::before, #pptSubmit button::after {
  content: '';
  display: block;
  width: 50px;
  height: 50px;
  transform: translate(-50%, -50%);
  position: absolute;
  border-radius: 50%;
  z-index: -1;
  background-color: var(--color);
  transition: 1s ease;
 }
 #pptSubmit button::before {
  top: -1em;
  left: -1em;
 }
 
 #pptSubmit button::after {
  left: calc(100% + 1em);
  top: calc(100% + 1em);
 }
 
 #pptSubmit button:hover::before, #pptSubmit button:hover::after {
  height: 410px;
  width: 410px;
 }
 #pptSubmit button:active {
  filter: brightness(.8);
 }
 #pptSubmit button a {
  text-decoration: none;
  font-size: 1.3rem;
  font-family: 700;
  color: #ff6f00;
 }
 #pptSubmit button:hover {
  color: #ffff;
 }
 
 #gallery{
  min-height: 70vh;
  text-align: center;
  padding: 40px 0;
 }
 #gallery h1{
  font-size: 2.5rem;
 }
 .gallery_container{

 }