* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
  scroll-behavior: smooth;
}

:root {
  --bg: #fffffe;
  --btn: #ffd803;
  --p: #2d334a;
  --btnTxt: #272343;
  --headline: #272343;
  --secColr: #e3f6f5;
}

body {
  font-family: "Poppins", sans-serif;
}

nav {
  display: flex;
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
  justify-content: space-around;
  align-items: center;
  background: var(--headline);
  padding: 14px;

  box-shadow: 0 0 24px black;
}

nav a {
  font-size: 2rem;
  font-weight: 900;
  text-decoration: none;
  
  color: var(--btn);
  text-shadow: 0 0 19px rgba(145, 255, 0, 0.567);
}

#head-web {
  padding-top: 5rem;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  justify-content: center;
  position: absolute;
}

#head-web p {
  position: absolute;
  bottom: 3%;
  width: 80%;
}

#head-web::before {
  content: "";
  background: #00000000;
  box-shadow:
    0 0 34px rgba(0, 0, 0, 0.656),
    inset 0 0 59px rgba(0, 0, 0, 0.571);
  backdrop-filter: blur(20px);
  width: 90%;
  height: 74%;
  border-radius: 34px;

  bottom: 2%;
  position: absolute;
  z-index: -1;
}

.ijuy-box img {
  max-width: 200px;
  border-radius: 50%;
  border: 7px solid var(--headline);
  box-shadow: 0 0 24px rgba(0, 0, 0, 0.544);
  transition: 0.3s ease;
  margin-bottom: 1em;
  z-index: 10;
}

.img-box input:checked + img {
  transform: scale(1.1);
  position: relative;
  z-index: 10;
  max-width: 250px;
  background-image: url(/img/miror-1.jpeg);
  border-radius: 34px;
}

.img-box input {
  transform: scale(25);
  z-index: 11;
  left: 9rem;
  bottom: 6rem;
  opacity: 0;
  position: relative;
}

.msg-ijuy {
  padding: 20px;
  display: flex;
  position: relative;
  width: 70%;
  margin: 0 auto;
  color: var(--secColr);
  border-radius: 20px;
  background: var(--headline);
  margin-bottom: 3em;
  box-shadow: 0 0 24px rgba(0, 0, 0, 0.498);
}

.msg-ijuy::before {
  content: "";
  position: absolute;
  top: -13%;
  left: 50%;
  background: var(--btnTxt);
  width: 25px;
  transform: rotate(45deg);
  height: 25px;
}








.btn-home {
  padding: 14px;
  background: var(--btn);
  color: var(--btnTxt);
  text-decoration: none;
  font-weight: 900;
  border-radius: 24px;
 
}


.btn-home::before {
    content: "";
    width: 75.9%;
    border-radius: 34px;
    left: 12.1%;
    bottom:13.1% ;
    height: 7.5%;
    animation: glow .8s infinite linear;

    position: absolute;
    background: #00000000;
}

.btn-home:focus {
  background: #fffffe;
}

.hati {
  z-index: -2;
  font-size: 20rem;
  position: absolute;
  color: red;
  animation: floatUp linear infinite;
  transform: rotate(-45deg);
  animation-duration: 7s;
  animation-delay: 1s;
}

.hati:nth-child(1) {
  top: 20%;
  left: 75%;
  font-size: 23rem;
  animation-duration: 6s;
}
.hati:nth-child(2) {
  top: 60%;
  left: 20%;
  animation-duration: 8s;
  animation-delay: 2s;
}
.hati:nth-child(3) {
  bottom: 10%;
  right: 70%;
  font-size: 15rem;
  animation-duration: 5s;
  animation-delay: 2s;
}

/* Animasi Naik */
@keyframes floatUp {
  0% {
    transform: translateY(0) rotate(0deg);
    opacity: 0;
  }
  5% {
    opacity: 1;
  }

  100% {
    transform: translateY(-100vh) rotate(360deg);
    opacity: 0;
  }
}
/* Animasi Glow */
@keyframes glow {
  0% {
    box-shadow: 0 0 54px yellow;
    opacity: 0;
  }
  15% {
    box-shadow: 0 0 54px yellow;
    opacity: 1;
  }
  50% {
    box-shadow: 0 0 54px yellow;
    opacity: 0;
  }

  85% {
    box-shadow: 0 0 54px rgb(4, 255, 0);
    opacity: 1;
  }

  100% {
    box-shadow: 0 0 14px var(--btn);
    opacity: 0;
  }
}



