html, body {
    height: 100%;
  }
/* 
html {
    scroll-behavior: smooth;
} */

p {
    margin-block-start: 1em;
    margin-block-end: 1em;
    margin-inline-start: 0px;
    margin-inline-end: 0px;
    text-align: justify;
}

strong {
    color: #ff6543;
}

.main-bg:before {
    content: ' ';
    display: block;
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-image: url(/assets/main-bg.png);
    background-repeat: no-repeat;
    background-position: right;
    background-size: inherit;
} 

.bg-bulan:before{
    content: ' ';
    display: block;
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    opacity: 0.4;
    height: 100%;
    background-image: url(/assets/bulan.webp);
    background-repeat: no-repeat;
    background-position: top;
    background-size: 100% auto;
    z-index: -1;
}

@keyframes floating {
    0% {
        transform: translate(0, 0) rotate(0);
    }
    50% {
        transform: translate(3px, 5px) rotate(2deg);
    }

    100% {
        transform: translate(0, 0) rotate(0);
        }
}

.mainmenu:hover .sidelogo {
    display: block!important;
    opacity: 1;
}

.mainmenu:hover .menutitle {
    display: block!important;
    opacity: 1;
}

.mainmenu:hover .sidesocmed {
    display: block!important;
    opacity: 1;

}

  .image-floating {
    animation: floating 5s ease-in-out infinite;
  }

@keyframes gradient-animation {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}
  
.gradient-button {
    background: linear-gradient(45deg, darkblue, red, yellow, pink,darkblue);
    background-size: 200% 200%;
    animation: gradient-animation 4s linear infinite;
    cursor: pointer;
}

.gradient-button:hover {
    background:none;
}

.login-button:hover{
    background: linear-gradient(45deg, darkblue,red, yellow, pink,darkblue);
    background-size: 200% 200%;
    animation: gradient-animation 4s linear infinite;
}

@media (min-width: 640px) { 

}

@media (min-width: 768px) { 
    .main-bg::before{
        background-position: top;
        background-size: 100% auto;
    }    
}

@media (min-width: 1024px) { }

@media (min-width: 1280px) { }

@media (min-width: 1536px) { }

@media (max-width: 640px) {
    #hero {
      flex-direction: column;
    }
  }


  /* custom non-Tailwind CSS */

@media (max-width: 576px) {
    .content {
        padding-top: 51px;
    }
}

@media (min-width: 577px) {
  .pt-scroll {
    padding-top: 51px;
  }

  .nav-sticky {
    position: fixed!important;
    min-width: 100%;
    top: 0;
    box-shadow: 0 2px 4px 0 rgba(0, 0, 0, .1);
    transition: all .25s ease-in;
    z-index: 1;
  }
}

/* HAMBURGER MENU */

.hamburger {
  cursor: pointer;
  width: 48px;
  height: 48px;
  transition: all 0.25s;
}

.hamburger__top-bun,
.hamburger__bottom-bun {
  content: '';
  position: absolute;
  width: 24px;
  height: 2px;
  background: white;
  transform: rotate(0);
  transition: all 0.5s;
}

.hamburger:hover [class*="-bun"] {
  background: white;
}

.hamburger__top-bun {
  transform: translateY(-5px);
}

.hamburger__bottom-bun {
  transform: translateY(3px);
}

.open {
  transform: rotate(90deg);
  transform: translateY(-1px);
}

.open .hamburger__top-bun {
  transform:
    rotate(45deg)
    translateY(0px);
}

.open .hamburger__bottom-bun {
  transform:
    rotate(-45deg)
    translateY(0px);
}

.mainmenu a.active {
    font-weight: bold;
    color: #e528ed; 
  }

/* .error {
  background-color: red !important;
}

.correct {
  background-color: green !important;
} */

/* .correct::before {
  content: "\2713";
  color: white;
  font-weight: bold;
  background-color: green;
  border-radius: 50%;
  width: 23px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
}


.error::before {
  content: "X";
  color: white;
  font-weight: bold;
  background-color: red;
  border-radius: 50%;
  width: 23px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
} */


.group::before {
  content: "ss";
  color: white;
  font-weight: bold;
  border-radius: 50%;
  width: 23px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  opacity: 0; 
  transition: all 1s ease; 
}

.correct::before {
  content: "\2713";
  background-color: green;
  opacity: 1; 
}

.error::before {
  content: "X";
  background-color: red;
  opacity: 1; 
}

.select-group::before{
  display: none;
}


/* shake form when error  */

@keyframes shake {
  0%, 100% {
    transform: translateX(0);
  }
  10%, 30%, 50%, 70%, 90% {
    transform: translateX(-10px);
  }
  20%, 40%, 60%, 80% {
    transform: translateX(10px);
  }
}

.shake {
  animation: shake 0.5s ease-in-out;
}

[multiple]:focus, [type=date]:focus, [type=datetime-local]:focus, [type=email]:focus, [type=month]:focus, [type=number]:focus, [type=password]:focus, [type=search]:focus, [type=tel]:focus, [type=text]:focus, [type=time]:focus, [type=url]:focus, [type=week]:focus, select:focus, textarea:focus{
  border-color:orange !important;
}

.correct label {
  color : #717171  
}

.peer:focus~.peer-focus\:scale-75 {
  color:orange;
}

.error label  {
  color: red !important;
}

