@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@100;200;300;400;500;600;700;800;900&display=swap');

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
  scroll-behavior: smooth;
  /* cursor: none; */
}

/* SCROLLBAR */
::-webkit-scrollbar {
  display: none;
}
/* END SCROLLBAR */

/* BODY */
body {
  overflow-x: hidden;
  /* width: fit-content; */
  height: fit-content;
  background-color: #fff;
}
/* END BODY */

/* CURSOR */
.cursor {
  position: fixed;
  width: 0;
  height: 0;
  border-radius: 50%;
  background-color: #fff;
  transform: translate(-50%, -50%);
  transition: .1s;
  pointer-events: none;
  mix-blend-mode: difference;
  z-index: 99999;
}

.cursor.active {
  width: 10px;
  height: 10px;
  transform: scale(7);
  /* border-radius: 0%; */
}

.cursor-inner {
  /* width: 30px; */
  /* height: 30px; */
  border-radius: 50%;
  transform: translate(-35%, -35%);
  border: 1px solid #fff;
  transition-delay: .1s;
  opacity: 0;
}

.cursor-inner.active {
  border: none;
  animation: fadeIn 1s ease-in-out;
  transform: scale(0);
}
/* END CURSOR */

/* HEADER */
.logo {
  cursor: pointer;
}

header {
  background: url(../assets/images/bg-home-new.png);
  width: 100%;
  height: 90vh;
  color: white;
  background-repeat: no-repeat;
  background-size: cover;
  /* backdrop-filter: brightness(-100%); */
}

.hero-text {
  height: 90%;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

.hero-text h1{
  font-size: 4em;
  text-align: center;
  line-height: 1;
  margin-bottom: .5em;
}

.hero-text p{
  /* width: 50%; */
  text-align: center;
  font-size: 20px;
  /* margin: 0 auto; */
}

.search {
  display: none;
  transform: scale(0);
}

.search.active {
  display: flex;
  justify-content: center;
  align-items: center;
  animation: scaleIn .5s forwards;
}

.search input {
  width: 50%;
  height: 40px;
  border: none;
  padding: 0 2rem;
  font-size: 16px;
  outline: none;
  transition: .5s;
}

.search input:focus {
  width: 70%;
}

.search #search-close {
  width: 40px;
  height: 40px;
  background-color: #fff;
  border: none;
  outline: none;
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
}

.scroll-container {
  position: relative;
  width: fit-content;
  height: fit-content;
  /* background-color: pink; */
  display: flex;
  justify-content: center;
  align-items: center; 
  flex-direction: column;
  bottom: 10vh;
  margin: 0 auto;
  background-color: transparent;
}

.scroll-container p {
  font-size: 15px;
  font-weight: 300;
  margin-bottom: 5px;
  cursor: pointer;
}

.scroll-container .arrow {
  animation: animate 2s infinite;
  cursor: pointer;
}

.scroll-container .arrow img {
  width: 15px;
  height: 15px;
  filter: invert(100%);
}

.scroll-container .scroll-bg {
  width: 40px;
  height: 80px;
  border: 2px solid #fff;
  border-radius: 40px;
  padding: 15px 0;
  cursor: pointer;
}

.scroll-bg .circle {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: #fff;
  margin: 0 auto;
  /* transform: translateY(20px); */
  transition: .5s;
}

.navbar {
  display: flex;
  justify-content: space-between;
  max-width: 100%;
  padding: 2rem 3rem 0 3rem;
  position: fixed;
  /* margin: 0 auto; */
  left:0;
  right:0;
  /* margin-left:auto;
  margin-right:auto; */
  z-index: 999;
  transition: all .5s ease-in-out;
  border-bottom: none;
}

.navbar.sticky{
  border-bottom: 1px solid rgba(0, 0, 0, 0.2);
  background-color: white;
  color: black;
  padding: 1rem 3rem;
}

.logo img:nth-child(1) {
  display: none;
}

.navbar-text {
  display: flex;
  align-items: center;
  overflow: hidden;
  margin-right: 4rem;
}

.navbar-text li {
  list-style: none;
  float: left;
  margin: 0 2rem;
  font-size: 16px;
  text-align: center;
  text-decoration: none;
  color: white;
  transition: color .5s ease-in-out;
}

.navbar-text #home {
  padding: 0 0;
  /* border-bottom: 3px solid #000; */
  text-decoration: underline;
  font-weight: bold;
  line-height: 1;
}

.navbar-text li.sticky {
    color: black;
  }

.dropdown {
  float: left;
  overflow: hidden;
}

.dropdown .dropbtn {
  color: white;
  font-size: 16px;
  border: none;
  outline: none;
  background-color: inherit;
  font-family: inherit;
  margin: 0;
  transition: color ease-in-out .5s;
  cursor: pointer;
}

.dropbtn.sticky{
    color:#000
}

.dropbtn {
  display: flex;
  align-items: center;
}

.arrow-down {
  transition: all .5s ease-in-out;
  margin-left: 1rem;
  filter: invert(100%);
  height: 15px;
  width: 15px;
}

.arrow-down.sticky{
  filter: invert(0);
}

.arrow-down.active {
  transform: rotate(180deg);
}

.dropdown-content {
  visibility: collapse;
  transform: translateY(25%);
  position: absolute;
  background-color: #f9f9f9;
  min-width: 160px;
  box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
  z-index: 1;
  transition: all 0.2s ease-in-out;
  opacity: 0.2;
  border-radius: 0.2rem;
}

.dropdown-content a {
  float: none;
  color: black;
  padding: 12px 16px;
  text-decoration: none;
  display: block;
  text-align: left;
}

.dropdown-content a:hover {
  background-color: #ddd;
}

.dropdown-content.active {
  transform: translateY(0);
  display: block;
  visibility: visible;
  opacity: 1;
}

.navbar-right {
  display: flex;
  align-items: center;
  position: relative;
}

.navbar-right ul li {
  cursor: pointer;
}

.hamburger-logo {
  cursor: pointer;
  opacity: 0;
  display: none;
  margin-left: 1rem;
  transition: ease-in-out transform 0.2s;
  transform: scale(1);
}

.hamburger-logo.active {
  transform: scale(0);
  opacity: 0;
  padding: 1rem 1rem 0 0;
}

.search-logo {
  display: none;
}

.search-logo img {
  width: 20px;
  height: 20px;
  filter: invert(100%);
  transition: all .5s ease-in-out;
}

.search-logo img.sticky{
  filter: invert(0);
}

.close-logo {
  cursor: pointer;
  opacity: 0;
  width: 0;
  height: 0;
  transform: scale(0);
  transition: transform 0.2s ease-in-out;
}

.navbar-text-mobile {
  display: none;
  height: 100vh;
  width: 100vw;
  background-color: #000;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  color: white;
  z-index: -1;
  position: absolute;
  transform: translateY(-150%);
  transition: transform 0.8s ease-in-out;
}
/* END HEADER */

/* EXPLANATION */
.explanation {
  position: relative;
  padding: 0 100px;
  margin-top: 100px;
  width: 100%;
  height: 590px;
  display: flex;
  flex-direction: row;
  border-bottom: 1px solid rgba(0, 0, 0, 0.2);
}

.explanatory-text {
  width: 100%;
}

.explanatory-text > h1 {
  margin: 50px 0;
  max-width: 592px;
  font-size: 64px;
  text-transform: uppercase;
  font-weight: 900;
  line-height: 1;
}

.explanatory-text > p {
  max-width: 592px;
  font-size: 24px;
  font-weight: 500;
  text-align: justify;
}

.explanation-picture {
  display: flex;
  justify-content: center;
  align-items: center;
}

.explanation-picture > .picture {
  width: 590px;
  height: 390px;
}

.picture > img {
  width: 100%;
  height: 100%;
}
/* END EXPLANATION */

/* START TEST */
.start-test {
  width: 100%;
  height: 300px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.start-test .start {
  position: relative;
  display: flex;
  flex-direction: row;
  height: 40px;
  justify-content: space-between;
  align-items: center;
  margin-top: 30px;
  overflow: hidden;
  transition: 0.5s;
  z-index: 0;
  cursor: pointer;
}

.start .block {
  position: absolute;
  width: 100%;
  height: 100%;
  background-color: #000;
  transition: 0.5s;
  transform: translateX(100%);
  z-index: -1;
}

.start:hover .block {
  transform: translateX(0);
}

.start:hover > p {
  color: #fff;
}

.test-text > h1 {
  max-width: 400px;
  text-align: center;
  font-size: 40px;
  line-height: 1;
  font-weight: 900;
  text-transform: uppercase;
}

.start > p {
  font-size: 20px;
  width: 100%;
  font-weight: 500;
  text-transform: capitalize;
  margin-left: 10px;
  mix-blend-mode: difference;
  transition: 0.5s;
}

.start > button {
  width: 50px;
  height: 40px;
  background-color: #000;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  overflow: hidden;
  z-index: 99;
}

.start > button .arrow-right {
  display: flex;
  flex-direction: row;
  transform: translateX(-20px);
  transition: 0.5s;
}

.start > button .arrow-right:hover {
  transform: translateX(20px);
}

.arrow-right > img {
  margin: 0 5px;
}
/* END START TEST */

/* POPUP TEST */
.pop-up-container {
  position: fixed;
  transform: scale(0);
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 9999;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: all 0.5s ease-in-out;
}

.pop-up {
  position: relative;
  width: 70%;
  height: 60%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background-color: #fff;
  padding: 20px;
  transition: all 0.5s ease-in-out;
  opacity: 0;
  transform: scale(0);
}

.pop-up .close img {
  position: absolute;
  top: 0;
  right: 0;
  width: 80px;
  height: 80px;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  overflow: hidden;
  transition: .5s;
  z-index: 99;
}

.pop-up .close img:hover {
  transform: scale(0.8);
}

.pop-up-container .content {
  display: flex;
  flex-direction: row;
  width: 100%;
  height: 100%;
  justify-content: center;
  align-items: center;
}

.content .tes {
  width: 350px;
  height: auto;
  background-color: #fff;
  border: solid 2px rgba(0, 0, 0, 0.3);
  box-shadow: 5px 5px 5px 0px rgba(0, 0, 0, 0.2);
  margin: 0 50px;
  padding: 30px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  transition: .5s;
}

.tes:hover {
  box-shadow: 0px 0px 0px 0px rgba(0, 0, 0, 0.25);
}

.tes .image {
  width: 100px;
  height: 100px;
  background-color: rgba(0, 0, 0, 0.04);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 10px;
}

.tes .image img {
  width: 100%;
  height: 100%;
}

.rabun .image img {
  width: 80%;
  height: 80%;
}

.tes > h1 {
  margin: 10px 0;
  font-size: 24px;
  font-weight: 800;
  text-transform: uppercase;
  line-height: 1;
}

.tes .mulai-tes {
  position: relative;
  width: auto;
  height: auto;
  padding: 5px 20px;
  background-color: #000;
  color: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  cursor: pointer;
  transition: 0.5s;
  z-index: 1;
  border-right: 1px solid #000;
}

.mulai-tes .block {
  position: absolute;
  width: 100%;
  height: 100%;
  background-color: #fff;
  border-top: 1px solid #000;
  border-bottom: 1px solid #000;
  border-left: 1px solid #000;
  transition: 0.5s;
  transform: translateX(100%);
  z-index: -1;
  transition: 0.5s;
}

.mulai-tes:hover .block {
  transform: translateX(0);
}

.mulai-tes:hover {
  color: #000;
  font-weight: 500;
}
/* END POPUP TEST */

/* BLOG */
.blog {
  padding: 0 3rem;
  max-width: 1300px;
  margin: 100px auto;
}

.blog h1 {
  font-size: 4em;
  font-weight: 900;
}

.wrap-card {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 3rem;
}

.card {
  display: flex;
  justify-content: center;
  flex-direction: column;
  width: 350px;
  height: 500px;
  /* padding: 2rem 2rem; */
  padding: 0 20px;
  border: solid 2px rgba(0, 0, 0, 0.3);
  box-shadow: 10px 10px 10px 0px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease-in-out;
  margin-bottom: 5rem;
  position: relative;
  overflow-y: hidden;
  cursor: pointer;
}

.card:hover {
  box-shadow: 0px 0px 0px 0px rgba(0, 0, 0, 0.25);
}

.card .wrap-img-card {
  display: flex;
  justify-content: center;
  width: 200px;
  height: 200px;
  border: solid 1px rgba(0, 0, 0, 0.2);
  border-radius: 50%;
  margin: 0 auto;
  overflow: hidden;
}

.card .wrap-img-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: .8s;
}

.card:hover img {
  transform: scale(1.1);
}

.card p:nth-child(2) {
  margin: 3rem 0;
  font-weight: 700;
  font-size: 1.125em;
  text-align: center;
}

.card .detail-blog, .card .hover-detail-blog {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  font-weight: 700;
  font-size: 1.25em;
  width: 100%;
  padding: 2.25rem;
}

.card .hover-detail-blog{
  display: flex;
  justify-content: center;
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: rgba(0, 0, 0, 0.1);
  transform: translateY(100%);
  transition: all .5s ease-in-out;
  backdrop-filter: blur(15px);
}

.card .hover-detail-blog img{
  margin: 0 1rem;
}

.card .hover-detail-blog:hover{
  transform: translateY(0);
}
.card .detail-blog:hover + .hover-detail-blog{
  transform: translateY(0);
}

.hover-detail-blog .icon-facebook {
  transition: .5s;
}

.hover-detail-blog .icon-facebook:hover {
  transform: scale(1.5);
}

.hover-detail-blog .icon-twitter {
  transition: .5s;
}

.hover-detail-blog .icon-twitter:hover {
  transform: scale(1.5);
}

.hover-detail-blog .icon-instagram {
  transition: .5s;
}

.hover-detail-blog .icon-instagram:hover {
  transform: scale(1.5);
}

.card .detail-blog div {
  display: flex;
}

.card .detail-blog div p {
  margin-right: 1.5rem;
  text-transform: uppercase;
}
/* END BLOG */

/* FOOTER */
footer {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  width: 100%;
  height: 200px;
  background-color: #fff;
  color: #000;
  border-top: 1px solid rgba(0, 0, 0, 0.2);
}

.footer-text {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  width: 100%;
  height: 100%;
}

.footer-text > img {
  margin-bottom: 20px;
}

.footer-text > p {
  font-weight: 400;
  color: rgba(0, 0, 0, 0.6);
}
/* END FOOTER */

/* MOBILE RESPONSIVE */
@media (max-width: 768px) {
  /* HEADER MOBILE */
  header {
    background: url(../assets/images/bg-home-new.png);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
  }

  .hero-text h1,
  .hero-text p {
    font-size: 1.5rem;
    text-align: center;
    width: 75%;
  }

  .hero-text p {
    font-size: 0.9rem;
  }

  .navbar {
    padding: 0;
    z-index: 999;
  }

  .navbar.sticky {
    padding: 0;
    z-index: 1;
  }

  .hamburger-logo {
    display: initial;
  }

  .logo {
    padding: 1rem 0 0 1rem;
  }

  .logo img:nth-child(2).active {
    display: initial;
  }

  .logo img:nth-child(1).active {
    display: none;
  }

  .navbar-right {
    padding: 1rem 1rem 0 0;
  }

  .search-logo {
    opacity: 1;
    transform: scale(1);
    transition: all 0.2s ease-in-out;
  }

  .search-logo.active {
    position: absolute;
    opacity: 1;
    transform: scale(0);
  }

  .hamburger-logo {
    opacity: 1;
  }

  .close-logo.active {
    opacity: 1;
    visibility: visible;
    transform: scale(1);
    width: fit-content;
    height: fit-content;
  }

  .navbar-text {
    display: none;
  }

  .navbar-text li {
    cursor: pointer;
  }

  .navbar-text-mobile {
    display: flex;
  }

  .navbar-text-mobile.active {
    transform: translateY(0);
  }

  .navbar-text-mobile li {
    list-style: none;
    margin: 0.5rem;
    cursor: pointer;
  }

  .navbar-text-mobile li a {
    color: white;
    text-decoration: none;
  }
  /* END HEADER MOBILE */

  /* EXPLANATION MOBILE */
  .explanation {
    padding: 0 25px;
    height: auto;
    flex-direction: column;
  }

  .explanatory-text {
    width: 100%;
  }

  .explanatory-text > h1 {
    margin: 30px 0;
    max-width: 100%;
    font-size: 40px;
  }

  .explanatory-text > p {
    max-width: 100%;
    font-size: 18px;
  }

  .explanation-picture {
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .explanation-picture > .picture {
    width: 100%;
    height: 250px;
  }

  .picture {
    margin: 40px 0;
  }

  .picture > img {
    width: 100%;
    height: 100%;
  }
  /* END EXPLANATION MOBILE */

  /* POPUP TEST MOBILE */
  .pop-up {
    width: 90%;
    height: 90%;
  }

  .pop-up .content {
    flex-direction: column;
  }

  .content .tes {
    width: 90%;
    height: auto;
    margin: 20px 0;
    z-index: 999;
    box-shadow: none;
  }
  /* END POPUP TEST MOBILE */

  /* BLOG MOBILE */
  .blog {
    margin: 0;
  }

  .blog h1 {
    font-size: 40px;
    margin-bottom: 20px;
  }

  .card {
    margin-bottom: 2rem;
    padding: 0;
  }

  .card .detail-blog p{
    font-size: .9em;
  }

  .card .detail-blog{
    padding: 0 1rem;
  }
  /* END BLOG MOBILE */

  /* CUROSR MOBILE*/
  .cursor {
    display: none;
  }
  
  .cursor-inner {
    display: none;
  }
  
  /* END CURSOR MOBILE */
  
  /* FOOTER MOBILE */
  footer {
    height: 100px;
  }

  .footer-text > img {
    margin-bottom: 5px;
    width: 80px;
  }
  /* END FOOTER MOBILE */
}
/* END MOBILE RESPONSIVE */

/* TABLET RESPONSIVE */
@media (min-width: 760px) and (max-width: 1450px) {
  /* EXPLANATION TABLET */
  .explanation {
    padding: 0 25px;
    height: auto;
    flex-direction: column;
  }

  .explanatory-text {
    width: 100%;
  }

  .explanatory-text > h1 {
    margin: 30px 0;
    max-width: 100%;
    font-size: 40px;
  }

  .explanatory-text > p {
    max-width: 100%;
    font-size: 18px;
  }

  .explanation-picture {
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .explanation-picture > .picture {
    width: 590px;
    height: auto;
  }

  .picture {
    margin: 40px 0;
  }

  .picture > img {
    width: 100%;
    height: 100%;
  }
  /* END EXPLANATION TABLET */

  /* POPUP TEST TABLET */
  .pop-up {
    width: 90%;
    height: 70%;
  }

  .pop-up .content {
    flex-direction: column;
  }

  .content .tes {
    width: 90%;
    height: auto;
    margin: 20px 0;
    z-index: 999;
    box-shadow: none;
  }
  /* END POPUP TEST TABLET */

  /* BLOG TABLET */
  .blog h1 {
    font-size: 40px;
    margin-bottom: 20px;
  }

  .card {
    margin-bottom: 2rem;
  }
  /* END BLOG TABLET */
}
/* END TABLET RESPONSIVE */

/* ANIMATION SCALE IN */
@keyframes scaleIn {
  0% {
    opacity: 0;
    transform: scale(0);
  }
  80% {
    opacity: 1;
    transform: scale(1);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}
/* END ANIMATION SCALE IN */

/* ANIMATION SCALE OUT */
@keyframes scaleOut {
  0% {
    opacity: 1;
    transform: scale(1);
  }
  80% {
    opacity: 1;
    transform: scale(1);
  }
  80% {
    opacity: 0;
    transform: scale(0);
  }
  100% {
    opacity: 0;
    transform: scale(0);
  }
}
/* END ANIMATION SCALE OUT */

/* ANIMATION FADE IN */
@keyframes fadeIn {
  0%{
    background-color: rgba(0, 0, 0, 0);
  }
  100% {
    background-color: rgba(0, 0, 0, 0.5);
  }
}
/* END ANIMATION FADE IN */

/* ANIMATION FADE OUT */
@keyframes fadeOut {
  0%{
    background-color: rgba(0, 0, 0, 0.5);
  }
  100% {
    background-color: rgba(0, 0, 0, 0);
  }
}
/* END ANIMATION FADE OUT */

/* ANIMATION ANIMATE */
@keyframes animate {
  0% {
    transform: translateY(0);
  }
  50% {
  transform: translateY(5px);
  }
  100% {
    transform: translateY(0);
  }
}
/* END ANIMATION ANIMATE */