/* Importing Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Abril+Fatface&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Lato:ital,wght@0,100;0,300;0,400;0,700;0,900;1,100;1,300;1,400;1,700;1,900&display=swap');

/* CSS Variables for Color Scheme */
:root {

  --light-grey: #DADDD8;
  --light-green: #C7D59F;
  --mint-green: #B7CE63;
  --green: #8FB339;
  --dark-grey: #4B5842;
  --mint: #3AB795;
  --celadon: #A0E8AF;
  --cambridge-blue: #86BAA1;
  --beige: #EDEAD0;
  --sunglow: #FFCF56;
  --columbia-blue: #CAE5FF;
  --jordy-blue: #89BBFE;
  --non-photo-blue: #ACEDFF;
  --white: #FFFFFF;
  --text-dark: #2c2c2c;
  --cream: #FFFDD0;
}

.first {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 25px;
  height: 100%;
  position: relative;
  z-index: 1; 
}

.title {
  font-size: 150px;
  text-align: center;
  font-family: "Abril Fatface", serif;
  font-weight: 400;
  font-style: normal;
  background-image: linear-gradient(to right, var(--green), var(--cambridge-blue), var(--mint), var(--mint-green), var(--celadon));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

body {
  margin: 0;
  height: 100vh;
  background: linear-gradient(-45deg, var(--cambridge-blue), var(--cream));
  background-size: 400% 400%;
  animation: gradient 30s ease infinite;
}

.gif1 {
  width: 150px;
  height: auto;
}

.btn-start {
  background: linear-gradient(135deg, var(--celadon), var(--non-photo-blue));
  border: none;
  padding: 12px 30px;
  font-size: 1.2rem;
  font-weight: bold;
  border-radius: 50px;
  cursor: pointer;
  box-shadow: 0px 5px 10px rgba(0,0,0,0.15);
  transition: all 0.3s ease;
}

.btn-start:hover {
  transform: translateY(-3px);
  box-shadow: 0px 8px 15px rgba(0,0,0,0.2);
}

.subtitle {
    font-family: "Lato", sans-serif;
    font-weight: 700;
    font-style: italic;
    font-size: 25px;
    color: var(--mint);
    line-height: 1.5;
    padding: 0 10px;
}


.leaves {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none; 
  overflow: hidden;
  z-index: 0; 
}

.leaf {
  position: absolute;
  top: -10%;
  width: 80px;
  opacity: 0.5;
  animation: fall 20s linear infinite;
}

@keyframes fall {
  0% { transform: translate(0, -10%) rotate(0deg); opacity: 0.8; }
  50% { transform: translate(20px, 50vh) rotate(180deg); opacity: 0.6; }
  100% { transform: translate(-20px, 110vh) rotate(360deg); opacity: 0; }
}

.image-cluster {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
  margin: auto;
}

.img1 {
  top: 10%;
  left: 20%;
  transform: rotate(-12deg);
}

.img2 {
  top: 12%;
  right: 80%;
  transform: rotate(-8deg);
}

.img3 {
  top: 30%;
  left: 5%;
  transform: rotate(6deg);
}

.img4 {
  top: 20%;
  right: 15%;
  transform: rotate(-8deg);
}

.img5 {
  bottom: 10%;
  left: 7%;
  transform: rotate(15deg);
}

.img6 {
  bottom: 12%;
  right: 5%;
  transform: rotate(-10deg);
}

.img7 {
  bottom: 25%;
  left: 20%;
  transform: rotate(8deg)
}

.img8 {
  bottom: 20%;
  right: 15%;
  transform: rotate(5deg);
}

.img9 {
  top: 30%;
  right: 3%;
  transform: rotate(-6deg);
}

.img10 {
  bottom: 70%;
  right: 25%;
  transform: rotate(10deg);
}

.img11 {
  top: 5%;
  left: 80%;
  transform: rotate(-8deg);
}

.img12 {
  bottom: 75%;
  left: 13%;
  transform: rotate(5deg);
}

.image-cluster img:hover {
  transform: scale(1.1) rotate(0deg);
  z-index: 10;
  opacity: 0.9;
}

@keyframes floaty {
  0%, 100% {
    transform: translateY(0) rotate(var(--angle));
  }
  50% {
    transform: translateY(-10px) rotate(calc(var(--angle) + 3deg));
  }
}

.image-cluster img {
  position: absolute;
  width: 245px;
  height: auto;
  padding: 50px;
  opacity: 0.9;
  transition: transform 0.6s ease;
  filter: drop-shadow(0 4px 6px rgba(0,0,0,0.1));
  animation: floaty 5s ease-in-out infinite;
}

.img1 { --angle: -12deg; }
.img2 { --angle: -8deg; }
.img3 { --angle: 6deg; }
.img4 { --angle: -8deg; }
.img5 { --angle: 15deg; }
.img6 { --angle: -10deg; }
.img7 { --angle: 8deg; }
.img8 { --angle: 5deg; }
.img9 { --angle: -6deg; }
.img10 { --angle: 10deg; }
.img11 { --angle: -8deg; }
.img12 { --angle: 5deg; }
