@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@100;200;300;400;500;600;700;800;900&display=swap");

:root {
  --cursor-main: #264653;
  --timing-function: cubic-bezier(0.52, -0.91, 0.2, 1.6);
  --white-pure: #ffffff;
  --clr-white: #e4e4e4;
  --light-blue: #7b9fcf;
  --dark-blue: #3a5987;
  --dark-dark-blue: #4e4b56;
  --clr-shadow: rgba(0, 0, 0, 0.1);
  --light2-blue: #d5deef;
  --transition-linear: 0.3s linear;
  --transition-cubic: 0.3s var(--timing-function);
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
}
html {
  overflow-x: hidden;
  scroll-behavior: smooth;
}

ol,
li {
  font-size: 14px;
}
/* intro */
.intro {
  position: fixed;
  z-index: 10000;
}
.intro .slide {
  position: fixed;
  width: 100vw;
  height: 100vh;
}
.intro .slide-one {
  background-color: var(--white-pure);
  z-index: 1;

  display: flex;
  justify-content: center;
  align-items: center;
  animation: slide-top 0.5s 1.5s ease-in-out forwards;
}
.intro .slide-two {
  z-index: -1;
  background-color: var(--light-blue);
  animation: slide-top 0.5s 1.7s ease-in-out forwards;
}

.intro .box {
  display: flex;
  gap: 0.5rem;
}

.intro .box .rect {
  background-color: var(--dark-blue);
  border-radius: 1rem;
  width: 15px;
  height: 40px;
  animation: slide-rect 2s ease-in-out forwards;
}

.intro .box .rect-two {
  opacity: 0;
  animation-delay: 0.1s;
}

@keyframes slide-rect {
  0% {
    height: 15px;
    opacity: 0;
    transform: translateY(500px);
  }

  50% {
    height: 40px;
    opacity: 1;
    transform: translateY(0);
  }
  100% {
    height: 50px;
    opacity: 0;
    transform: translateY(-500px);
  }
}

@keyframes slide-top {
  100% {
    transform: translateY(-100vh);
  }
}

#page {
  width: 100vw;
  overflow-x: hidden;
}
/* nav start */
/* nav ppdb custom */
#nav-ppdb {
  display: flex;
  padding: 0.5em 5%;
  justify-content: space-between;
  align-items: center;
  position: fixed;
  z-index: 100;
  width: 100vw;
  background-color: #2c91ff;
}
#nav-ppdb.navbar-fixed {
  padding: 0.7rem 5%;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(5px);
  box-shadow: 0 5px 10px var(--clr-shadow);
}
#nav-ppdb .logo {
  display: flex;
  align-items: center;
  padding-right: 20px;
}

/* end nav ppdb custom */
nav {
  display: flex;
  padding: 1em 5%;
  justify-content: space-between;
  align-items: center;
  position: fixed;
  z-index: 100;
  width: 100vw;
}
nav.navbar-fixed {
  padding: 0.7rem 5%;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(5px);
  box-shadow: 0 5px 10px var(--clr-shadow);
}
nav .logo {
  display: flex;
  align-items: center;
  padding-right: 20px;
}

.logo img {
  width: 3rem;
  height: 3rem;
  object-fit: contain;
}
.logo h3 {
  font-weight: 600;
  margin-left: 0.9rem;
  font-size: 1.3rem;
  color: var(--clr-white);
  margin-top: -1px;
  letter-spacing: 0.4px;
}

nav.navbar-fixed .logo h3 {
  color: var(--dark-blue);
}

nav .nav-links {
  display: flex;
  gap: 12px;
  list-style: none;
  text-transform: uppercase;
  align-items: center;
}

nav .nav-links li {
  position: relative;
}

nav .nav-links li::before {
  content: "";
  width: 80%;
  height: 2.5px;
  position: absolute;
  bottom: -0.3rem;
  left: 0;
  transform: scaleX(0);
  transform-origin: right center;
  transition: transform 0.3s linear;
  border-radius: 1000px;
  background: var(--white-pure);
}

nav.navbar-fixed .nav-links li::before {
  background: var(--dark-blue);
}

nav .nav-links li:hover::before {
  transform: scaleX(1);
  transform-origin: left center;
}

nav .nav-links li.inNavigate::before {
  transform-origin: left center;
  transform: scaleX(1);
}

.nav-links li a {
  color: var(--clr-white);
  letter-spacing: 0.6px;
  font-weight: 400;
  font-size: 1rem;
  text-decoration: none;
}
nav.navbar-fixed .nav-links li a {
  color: var(--dark-blue);
}
nav .nav-links li.inNavigate a {
  font-weight: 500;
}

.burger {
  display: none;
  cursor: pointer;
  position: relative;
  z-index: 100;
}

.burger span {
  display: block;
  width: 40px;
  height: 4px;
  border-radius: 1000px;
  background: var(--white-pure);
  transition: 0.5s;
  transition-timing-function: var(--timing-function);
}
nav.navbar-fixed .burger span {
  background: var(--dark-blue);
}

.burger span:first-child {
  transform-origin: bottom left;
}
.burger span:nth-child(2) {
  transform: translateX(0);
  width: 30px;
}

.burger span:last-child {
  transform-origin: top left;
}

.burger span + span {
  margin-top: 10px;
}
.burger.active span {
  background: var(--dark-blue);
}

.burger.active span:first-child {
  transform: rotate(45deg);
}

.burger.active span:nth-child(2) {
  transform: translateX(1000px);
}

.burger.active span:last-child {
  transform: rotate(-45deg);
}

.burger.active + .nav-links {
  clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
}
/* nav end */

/* home start */
#section1 {
  width: 100vw;
  height: 100vh;
  background-image: url("../img/ppdb/page/bg-section1.svg");
  background-size: cover;
  background-position: center;
  padding: 0;
  margin: 0;
  margin-top: 70px;
  position: relative;
}
#timeline {
  background-color: #00509d;
  width: 100%;
  position: absolute;
  border-radius: 12px;
  left: 0;
  bottom: 0;
  padding: 18px;
}
#col-teks {
  padding-top: 82px;
}
#section2 {
  width: 100vw;
  height: 100vh;
  background-image: url("../img/ppdb/page/bg-section2.svg");
  background-size: cover;
  background-position: center;
  padding-top: 80px;
  margin: 0;
}

#syarat {
  width: 90%;
  border-radius: 8px;
  background-color: #00509d;
  color: white;
  padding: 8px;
}
#btn-daftar {
  background-color: #00509d;
}
.heading {
  text-align: center;
  margin-bottom: 2rem;
}

.heading h2 {
  font-size: 2rem;
  color: var(--dark-blue);
}

@media (max-width: 1024px) {
  nav .burger {
    display: inline-block;
  }
  nav .nav-links {
    background: white;
    width: 80%;
    box-shadow: -10px 0 10px rgba(0, 0, 0, 0.1);
    position: absolute;
    top: 0;
    right: 0;
    height: 100vh;
    transition: 0.5s ease-in-out;
    transform: translateX(110%);

    /* display: flex */
    justify-content: center;
    /* align-items: center; */
    flex-direction: column;
  }

  nav .nav-links li + li {
    margin-top: 10px;
  }

  nav .nav-links li a {
    font-size: 20px !important;
    color: var(--dark-blue);
  }

  nav .nav-links.active {
    transform: translateX(0%);
  }
  nav .nav-links.active li::before {
    background: var(--dark-blue);
  }
  #btn-daftar {
    background-color: #00509d;
    left: 110px;
    bottom: 100px;
  }
}
@media (max-width: 400px) {
  nav .nav-links li a {
    font-size: 16px !important;
  }
  #section1 {
    width: 100%;
    height: 90vh;
    margin-top: 65px;
    padding-top: 12px;
    background-size: contain;
    background-position: top;
    background-repeat: no-repeat;
  }
  #btn-daftar {
    background-color: #00509d;
    width: 100%;
  }
  #timeline {
    border-radius: 12px;
    bottom: 50px;
  }
  .kontak {
    background-color: #00509d;
  }
  #col-teks {
    padding-top: 0;
  }
  #section2 {
    width: 100%;
    background-image: url("../img/ppdb/page/section3.svg");
    background-size: contain;
    background-position: top;
    background-repeat: no-repeat;
    padding-top: 14px;
  }
  #syarat {
    width: 90%;
    border-radius: 8px;
    background-color: #00509d;
    color: white;
    padding: 8px;
  }
}
@media (max-width: 300px) {
  .nav .logo h3 {
    font-size: 0.9rem;
  }
  #btn-daftar {
    background-color: #00509d;
    left: 110px;
    bottom: 100px;
  }
}
