html {
   background: url(webback.gif) no-repeat center center fixed;
    background-size: cover;
  min-height: 100%;
  
}



/* Fonts */
@font-face {
    font-family: multi;
    src: url("multi.otf") format("opentype");
}

@font-face {
    font-family: drop;
    src: url("drop.otf") format("opentype");
}


/* Text styles */
h1 {
    color: #a6c47c;
    font-family: multi;
     font-size: 1.5rem;
}

h2 {
    color: #a6c47c;
    font-family: multi;
    font-size: 1.1rem;
}
h3 {
  color: #a6c47c;
    font-family: multi;
    font-size: 1.6rem;
}    

p {
    color: #be7cc4;
    letter-spacing: 4px;
     font-size: 1.3rem;
    text-shadow: 0 0 14px #ffffff80;
}
h1, h2, h3 {
  font-family: multi, Arial, sans-serif;
}

body {
  font-family: drop, Arial, sans-serif;
}
body {
  font-family: drop, Arial, sans-serif; /* desktop */
}

h1, h2, h3 {
  font-family: multi, Arial, sans-serif; /* desktop */
}

@media (max-width: 600px) {
  body {
    font-family: Arial, sans-serif; /* cleaner on mobile */
  }

  h1, h2, h3 {
    font-family: Arial, sans-serif;
  }
}



/* Optional sections */
.divider {
    margin: 20px 0;
    letter-spacing: 5px;
}

/* normal link */
a {
    color: #27F5F5;
    text-decoration: none;
}

/* when you hover over it */
a:hover {
    color: #FF70CF;
}

/* visited links */
a:visited {
    color: #FF70CF;
}

/* when clicking */
a:active {
    color: #1F6799;
}

body {
    font-family: drop;
    color: #a6c47c;
    text-align: center;
    font-size: 14px;
    margin: 0;
}


/* Layout */
.side-gif {
    position: fixed;
    left: 40px;   /* change to left: 20px if you want left side */
    top: 25%;
    transform: translateY(-50%);

    /* adjust size */
    height: auto;
      width: 22vw;
max-width: 300px;
  

    z-index: 999;
    pointer-events: none; /* prevents blocking clicks */
}
.side-pic {
   position: fixed;
    right: 40px;   /* change to left: 20px if you want left side */
    top: 25%;
    transform: translateY(-50%);

      /* adjust size */
    height: auto;
      width: 22vw;
max-width: 300px;

    z-index: 999;
    pointer-events: none; /* prevents blocking clicks */
}
.side-gif,
.side-pic {
  position: fixed;
  top: 80px; /* keeps clear of your home button */

  width: 22vw;
max-width: 300px;  /* don’t get too big */
  min-width: 120px;  /* don’t get too tiny */

  height: auto;
  z-index: 999;
  pointer-events: none;
  opacity: 0.9;      /* slightly softer look */
    filter: drop-shadow(0 0 10px #ffffff80);
    
}
@keyframes floaty {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-8px); }
  100% { transform: translateY(0px); }
}

.side-gif,
.side-pic {
  animation: floaty 4s ease-in-out infinite;}

.side-gif {
  left: 30px;
}

.side-pic {
  right: 30px;
}
@media (max-width: 600px) {
  .side-gif,
  .side-pic {
    display: none;
  }
}
@media (max-width: 900px) {
  .side-gif,
  .side-pic {
    display: none;
  }
}
@media (max-width: 600px) {
  body {
    font-size: 14px;
  }

  h1 {
    font-size: 1.5rem;
  }

  h2 {
    font-size: 1.1rem;
  }

  h3 {
    font-size: 1.6rem;
  }

  p {
    font-size: 1.3rem;
    letter-spacing: 2px; /* reduce spacing for small screens */
  }
}  

.box {
    border-radius: 30px;
    background-color: #9a7cc450;
    border: 0.5vh solid #ffffff50;
    padding: 20px;
    max-width: 800px;
    width: 90%;
    margin: 2vh 0;
}
.box.large {
    margin: 2vh 0;
}
.container {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    min-height: 100vh;
    padding: 20px;
     gap: 2vh;
}


.home-btn {
    position: fixed;
    top: 20px;
    left: 20px;

    font-family: multi;
    font-size: 2vh;
    color: #27F5F5;

    background-color: #9a7cc450;
    border: 0.4vh solid #ffffff50;
    border-radius: 20px;

    padding: 8px 14px;
    text-decoration: none;

    transition: all 0.3s ease;
}

.home-btn:hover {
    color: #ffffff;
    background-color: #be7cc450;
    box-shadow: 0 0 10px #ffffff80;
}

.wrap {
  width: 100%;
  height: 100%;
  position: absolute;
  margin: 0 auto;
  perspective: 360px;
  perspective-origin: 50% 50%;
}

.top-plane, .bottom-plane {
  width: 200%;
  height: 130%;
  position: absolute;
  bottom: -30%;
  left: -50%;
  background-image: -webkit-linear-gradient(#a2cef4 2px, transparent 2px), -webkit-linear-gradient(left, #a2cef4 2px, transparent 2px);
  background-size: 100px 100px,100px 100px;
  background-position: -1px -1px,-1px -1px;
  transform: rotateX(85deg);
  animation: planeMoveTop 2s infinite linear;
}

.bottom-plane {
  transform: rotateX(-85deg);
  top: -30%;
  animation: planeMoveBot 2s infinite linear;
}

@keyframes planeMoveTop {
  from {
    background-position: 0px -100px,0px 0px;
  }
  to {
    background-position: 0px 0px, 100px 0px;
  }
}
@keyframes planeMoveBot {
  from {
    background-position: 0px 0px,0px 0px;
  }
  to {
    background-position: 0px -100px, 100px 0px;
  }
}
@media (max-height: 350px) {
  .wrap {
    perspective: 210px;
  }
}
