* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background-image: url("/public/image/background.webp");
  background-repeat: no-repeat;
  background-attachment: fixed;
  background-size: cover;
}
#clouds {
  margin: 45px;
  height: 300px;
  position: absolute;
}
@keyframes moveLeftToRight {
  0% {
    transform: translateX(-50%);
  }
  100% {
    transform: translateX(50%);
  }
}

#clouds {
  height: 300px;

  position: absolute;
  top: 165px;
  animation: moveLeftToRight 40s linear infinite;
}
h1 {
  color: white;
  font-size: 150px;
  margin-top: 50px;
  height: 300px;
  position: absolute;
}
span {
  color: blueviolet;
}
#container {
  height: 400px;
  display: flex;
  justify-content: center;
}
#start {
  height: 150px;
  display: flex;
  justify-content: center;
  align-items: center;
}

@keyframes float {
  0% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
  100% {
    transform: translateY(0);
  }
}

#buttonss {
  margin-top: 40px;
  height: 80px;
  width: 250px;
  border-bottom: none;
  border-left: 15px solid white;
  border-top: none;
  border-right: none;
  border-radius: 50px;
  font-size: 30px;
  cursor: pointer;
  transition: transform 0.5s ease;
  background-color: rgb(17, 16, 21);
  color: white;
  text-align: center;
  position: relative;
  overflow: hidden;
  animation: float 5s ease-in-out infinite;
}

#buttonss::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, white);
  transition: left 0.5s ease;
  z-index: 0;
}

#buttonss:hover::before {
  left: 60%;
}

#buttonss:hover {
  color: white;
}

#buttonss span {
  position: relative;
  z-index: 1;
}

a {
  text-decoration: none;
  color: white;
}

@media (max-width: 1200px) {
  #clouds {
    position: absolute;
    top: 120px;
    height: 220px;
  }
}

@media (max-width: 1000px) {
  h1 {
    font-size: 110px;
    margin-top: 70px;
  }

  #clouds {
    position: absolute;
    top: 100px;
    height: 220px;
  }

  #buttonss {
    top: -70px;
    height: 70px;
  }
}

@media (max-width: 642px) {
  h1 {
    font-size: 80px;
    margin-top: 90px;
  }

  #clouds {
    margin: 0;
    position: absolute;
    top: 150px;
    height: 150px;
    animation: moveLeftToRight 30s linear infinite;
  }

  #buttonss {
    top: -140px;
    height: 50px;
    width: 200px;
    font-size: 20px;
  }
}

@media (max-width: 502px) {
  h1 {
    font-size: 50px;
    margin-top: 100px;
  }

  #clouds {
    position: absolute;
    top: 130px;
    height: 100px;
    animation: moveLeftToRight 20s linear infinite;
  }

  #buttonss {
    top: -230px;
    height: 40px;
    width: 160px;
    font-size: 20px;
  }
}

@media (max-width: 307px) {
  h1 {
    font-size: 35px;
    margin-top: 100px;
  }

  #clouds {
    position: absolute;
    top: 130px;
    height: 75px;
    animation: moveLeftToRight 20s linear infinite;
  }

  #buttonss {
    top: -258px;
    height: 30px;
    width: 130px;
    font-size: 15px;
  }
}

.snowfall {
  left: 0;
  top: 4rem;
  width: 100%;
  height: 92%;
  z-index: 999;
  overflow: hidden;
  position: absolute;
  pointer-events: none;
}

.snowflake {
  top: -10px;
  opacity: 0.8;
  border-radius: 50%;
  position: absolute;
  background-color: white;
  animation: fall linear infinite;
}

@keyframes fall {
  to {
    transform: translateY(100vh);
  }
}
