/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background: url("media/kseniya-lapteva.jpg")
      no-repeat center center fixed;
  background-size: cover;
  font-family: Arial, sans-serif;
  color: #000000;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
      text-shadow: 
    -1px -1px 0 #000,  
     1px -1px 0 #000,  
    -1px  1px 0 #000,  
     1px  1px 0 #000;
}

.hero {
  text-align: center;
  backdrop-filter: blur(3px); /* optional subtle glassy effect */
  padding: 3rem 2rem;
      opacity: 0;
  animation: fadeIn 3s ease forwards;
    transform: scale(.75);
}

.hero h1 a {
  font-family: 'Eagle Lake', cursive;
  font-size: 4rem;
  text-decoration: none;
  display: inline-block;
  color: white;

  /* Black outline/stroke */
  -webkit-text-stroke: 1.5px black;

  /* Optional subtle shadow for depth */
  text-shadow: 1px 1px 2px rgba(0,0,0,0.5);

  /* Fade-in animation */
  opacity: 0;
  animation: fadeIn 4s ease forwards, breathe 6s ease-in-out infinite; /* breathe added */
}

/* Breathing animation */
@keyframes breathe {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.1); /* slightly larger */
  }
}

/* Fade-in animation */
@keyframes fadeIn {
  to {
    opacity: 1;
  }
}



.hero p {
  font-size: 1.75rem;
  margin-top: 1rem;
  opacity: 0;
  animation: fadeIn 4s ease forwards 1s;
  font-family: 'Eagle Lake', cursive;
  color: #ffffff;




}


@keyframes fadeIn {
  to { opacity: 1; }
}

/* Responsive */
@media (max-width: 768px) {
  .hero h1 {
    font-size: 2.5rem;
  }
  .hero p {
    font-size: 1rem;
  }
}


.frame {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 400px;
  height: 400px;
  margin-top: -200px;
  margin-left: -200px;
  border-radius: 2px;

  background: transparent;
}
.frame2 {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 400px;
  height: 400px;
  border-radius: 2px;
  background: transparent;


}
.blub1 {
  position: absolute;
  top: 15%;
  left: 0%;
  transform: translate(-50%, -50%);
     opacity: 0;
  animation: fadeIn 2.5s ease forwards;
}
.blub2 {
  position: absolute;
  top: 95%;
  left: 100%;
  transform: translate(-50%, -50%);
     opacity: 0;
  animation: fadeIn 2.5s ease forwards;
}

.ball {
  position: relative;
  width: 90px;
  height: 90px;
  background: #000;
  border-radius: 50%;
          filter: blur(15px);
}

.blubb-1 {
  position: absolute;
  top: 20px;
  left: 20px;
  width: 50px;
  height: 50px;
          transform: rotate(150deg);
}
.blubb-1:after {
  position: absolute;
  display: block;
  content: '';
  width: 50px;
  height: 50px;
  background: #000;
  border-radius: 50%;
          transform-origin: 37px 37px;
          animation: rotate 2.7s ease-in-out 0.2s infinite;
          filter: blur(5px);
}

.blubb-2 {
  position: absolute;
  top: 20px;
  left: 20px;
  width: 50px;
  height: 50px;
          transform: rotate(276deg);
}
.blubb-2:after {
  position: absolute;
  display: block;
  content: '';
  width: 50px;
  height: 50px;
  background: #000;
  border-radius: 50%;
          transform-origin: 34px 34px;
          animation: rotate 2.9s ease-in-out 0.4s infinite;
          filter: blur(5px);
}

.blubb-3 {
  position: absolute;
  top: 20px;
  left: 20px;
  width: 50px;
          transform: rotate(76deg);
}
.blubb-3:after {
  position: absolute;
  display: block;
  content: '';
  width: 50px;
  height: 50px;
  background: #000;
  border-radius: 50%;
          transform-origin: 31px 31px;
          animation: rotate 3.1s ease-in-out 0.6s infinite;
          filter: blur(5px);
}

.blubb-4 {
  position: absolute;
  top: 20px;
  left: 20px;
  width: 50px;
  height: 50px;
          transform: rotate(295deg);
}
.blubb-4:after {
  position: absolute;
  display: block;
  content: '';
  width: 50px;
  height: 50px;
  background: #000;
  border-radius: 50%;
          transform-origin: 28px 28px;
          animation: rotate 3.3s ease-in-out 0.8s infinite;
          filter: blur(5px);
}

.blubb-5 {
  position: absolute;
  top: 20px;
  left: 20px;
  width: 50px;
  height: 50px;
          transform: rotate(92deg);
}
.blubb-5:after {
  position: absolute;
  display: block;
  content: '';
  width: 50px;
  height: 50px;
  background: #000;
  border-radius: 50%;
          transform-origin: 25px 25px;
          animation: rotate 3.5s ease-in-out 1s infinite;
          filter: blur(5px);
}

.blubb-6 {
  position: absolute;
  top: 20px;
  left: 20px;
  width: 50px;
  height: 50px;
          transform: rotate(83deg);
}
.blubb-6:after {
  position: absolute;
  display: block;
  content: '';
  width: 50px;
  height: 50px;
  background: #000;
  border-radius: 50%;
          transform-origin: 22px 22px;
          animation: rotate 3.7s ease-in-out 1.2s infinite;
          filter: blur(5px);
}

.blubb-7 {
  position: absolute;
  top: 20px;
  left: 20px;
  width: 50px;
  height: 50px;
          transform: rotate(215deg);
}
.blubb-7:after {
  position: absolute;
  display: block;
  content: '';
  width: 50px;
  height: 50px;
  background: #000;
  border-radius: 50%;
          transform-origin: 19px 19px;
          animation: rotate 3.9s ease-in-out 1.4s infinite;
          filter: blur(5px);
}

.blubb-8 {
  position: absolute;
  top: 20px;
  left: 20px;
  width: 50px;
  height: 50px;
          transform: rotate(158deg);
}
.blubb-8:after {
  position: absolute;
  display: block;
  content: '';
  width: 50px;
  height: 50px;
  background: #000;
  border-radius: 50%;
          transform-origin: 16px 16px;
          animation: rotate 4.1s ease-in-out 1.6s infinite;
          filter: blur(5px);
}

.sparkle-1 {
  position: absolute;
  top: 38px;
  left: 38px;
  width: 8px;
  height: 8px;
          transform: rotate(292deg);
}
.sparkle-1:after {
  position: absolute;
  display: block;
  content: '';
  width: 15px;
  height: 15px;
  background: #000;
  border-radius: 50%;
          transform-origin: 58px 58px;
          animation: rotate 3.7s ease-in-out 0.2s infinite;
          filter: blur(3px);
}

.sparkle-2 {
  position: absolute;
  top: 38px;
  left: 38px;
  width: 9px;
  height: 9px;
          transform: rotate(215deg);
}
.sparkle-2:after {
  position: absolute;
  display: block;
  content: '';
  width: 9px;
  height: 9px;
  background: #000;
  border-radius: 50%;
          transform-origin: 56px 56px;
          animation: rotate 3.9s ease-in-out 0.4s infinite;
          filter: blur(3px);
}

.sparkle-3 {
  position: absolute;
  top: 38px;
  left: 38px;
  width: 15px;
  height: 15px;
          transform: rotate(127deg);
}
.sparkle-3:after {
  position: absolute;
  display: block;
  content: '';
  width: 10px;
  height: 10px;
  background: #000;
  border-radius: 50%;
          transform-origin: 54px 54px;
          animation: rotate 4.1s ease-in-out 0.6s infinite;
          filter: blur(3px);
}

.sparkle-4 {
  position: absolute;
  top: 38px;
  left: 38px;
  width: 11px;
  height: 11px;
          transform: rotate(49deg);
}
.sparkle-4:after {
  position: absolute;
  display: block;
  content: '';
  width: 11px;
  height: 11px;
  background: #000;
  border-radius: 50%;
          transform-origin: 52px 52px;
          animation: rotate 4.3s ease-in-out 0.8s infinite;
          filter: blur(3px);
}

.sparkle-5 {
  position: absolute;
  top: 38px;
  left: 38px;
  width: 12px;
  height: 12px;
          transform: rotate(286deg);
}
.sparkle-5:after {
  position: absolute;
  display: block;
  content: '';
  width: 12px;
  height: 12px;
  background: #000;
  border-radius: 50%;
          transform-origin: 50px 50px;
          animation: rotate 4.5s ease-in-out 1s infinite;
          filter: blur(3px);
}

.sparkle-6 {
  position: absolute;
  top: 38px;
  left: 38px;
  width: 13px;
  height: 13px;
          transform: rotate(120deg);
}
.sparkle-6:after {
  position: absolute;
  display: block;
  content: '';
  width: 13px;
  height: 13px;
  background: #000;
  border-radius: 50%;
          transform-origin: 48px 48px;
          animation: rotate 4.7s ease-in-out 1.2s infinite;
          filter: blur(3px);
}

.sparkle-7 {
  position: absolute;
  top: 38px;
  left: 38px;
  width: 14px;
  height: 14px;
          transform: rotate(196deg);
}
.sparkle-7:after {
  position: absolute;
  display: block;
  content: '';
  width: 20px;
  height: 20px;
  background: #000;
  border-radius: 50%;
          transform-origin: 46px 46px;
          animation: rotate 4.9s ease-in-out 1.4s infinite;
          filter: blur(3px);
}

.sparkle-8 {
  position: absolute;
  top: 38px;
  left: 38px;
  width: 15px;
  height: 15px;
          transform: rotate(157deg);
}
.sparkle-8:after {
  position: absolute;
  display: block;
  content: '';
  width: 15px;
  height: 15px;
  background: #000;
  border-radius: 50%;
          transform-origin: 44px 44px;
          animation: rotate 5.1s ease-in-out 1.6s infinite;
          filter: blur(3px);
}

.sparkle-9 {
  position: absolute;
  top: 38px;
  left: 38px;
  width: 16px;
  height: 16px;
          transform: rotate(36deg);
}
.sparkle-9:after {
  position: absolute;
  display: block;
  content: '';
  width: 6px;
  height: 6px;
  background: #000;
  border-radius: 50%;
          transform-origin: 42px 42px;
          animation: rotate 5.3s ease-in-out 1.8s infinite;
          filter: blur(3px);
}

.sparkle-10 {
  position: absolute;
  top: 38px;
  left: 38px;
  width: 17px;
  height: 17px;
          transform: rotate(115deg);
}
.sparkle-10:after {
  position: absolute;
  display: block;
  content: '';
  width: 20px;
  height: 20px;
  background: #000;
  border-radius: 50%;
          transform-origin: 40px 40px;
          animation: rotate 5.5s ease-in-out 2s infinite;
          filter: blur(3px);
}

@keyframes rotate {
  from {
            transform: rotate(0deg) translate3d(0, 0, 0);
  }
  to {
            transform: rotate(360deg) translate3d(0, 0, 0);
  }
}

/* Container that holds splatter images */
#splatter-container {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none; /* makes sure splatters don’t block clicks */
}

/* Base style for each splatter image */
.splatter {
  position: absolute;
  opacity: 0; /* start invisible */
  transition: opacity 2s ease-in-out; /* smooth fade in/out */
  max-width: 200px;   /* prevent splatters from being too huge */
  max-height: 200px;
}

