@font-face {
  font-family: Coustard;
  src: url(coustard.ttf);
}

@font-face {
  font-family: Nunito;
  src: url(nunito.ttf);
}

@-webkit-keyframes scroll {
  from { background-position: 0 0, 50px 50px, 50px 0; }
  to { background-position: -100px -100px, -50px -50px, -50px -100px; }
}

@keyframes blob {
  from {
    transform: rotate(0.3deg) scale(1);
  }
  to {
    transform: rotate(-0.3deg) scale(0.99);
  }
}

@keyframes background-slide {
  0% {
    background-position: -400px 0;
  }
  100% {
    background-position: 400px 0;
  }
}
    
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --background: #E5FFB3;
  --background-accent: #d9fa9d;
  --background-accent-2: #e6ffbe;
  --light: #96df3e;
  --dark: #69BC22;
  --text: #025600;
}

body {
  cursor: url("cursor.png"), auto;
  font-family: Nunito;
  line-height: 1.6;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: var(--background);
  background-image:
  linear-gradient(45deg, var(--background-accent) 25%, transparent 25%, transparent 75%, var(--background-accent) 75%, var(--background-accent)), 
  linear-gradient(45deg, var(--background-accent) 25%, transparent 25%, transparent 75%, var(--background-accent) 75%, var(--background-accent)),
  linear-gradient(45deg, transparent, transparent 50%, var(--background-accent-2) 50%, var(--background-accent-2));
  background-size: 100px 100px;
  background-position: 0 0, 50px 50px, 50px 0px;
  -webkit-animation: scroll 5s linear infinite;
}

.layout {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
}

.sprite1 {
  bottom: 70px;
  right: 100px;
  width: 450px;
  height: auto;
  position: absolute;
  z-index: 1;
}

.sprite2 {
  top: 100px;
  width: 360px;
  height: auto;
  position: absolute;
  z-index: 1;
}

.sprite3 {
  top: -100px;
  left: -100px;
  width: 650px;
  position: absolute;
  z-index: 1;
}

.sprite4 {
  bottom: 0;
  right: 0;
  width: 850px;
  position: absolute;
  z-index: 0;
}

.bubble {
  padding: 64px 24px;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 760px;
  color: #7A694F;
  font-size: 32px;
  text-align: center;
  line-height: 150%;
}
.bubble .content {
  width: 590px;
}
.bubble .bg {
  z-index: -1;
  position: absolute;
  left: 0;
  top: 0;
  right: 0;
  bottom: 0;
  animation: blob 1s infinite alternate cubic-bezier(0.37, 0, 0.63, 1);
}

.blue {
  color: #01B7D4;
}

.pink {
  color: #FF7DC8;
}

.content {
  margin-bottom: 24px;
}

.enter-button {
  cursor: url("cursor.png"), auto;
  outline: 12px solid #FFFAE4;
  border: none;
  background-color: var(--light);
  width: 250px;
  padding: 20px 75px 20px 75px;
  border-radius: 30px;
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--text);
  box-shadow: 0 0 0 7px var(--light) inset;
  margin-bottom: 15px;
  overflow: hidden;
  transition: all 0.3s ease;
}
        
.enter-button:hover {
  background-image: linear-gradient(
    145deg,
    transparent 10%,
    var(--dark) 10% 20%,
    transparent 20% 30%,
    var(--dark) 30% 40%,
    transparent 40% 50%,
    var(--dark) 50% 60%,
    transparent 60% 70%,
    var(--dark) 70% 80%,
    transparent 80% 90%,
    var(--dark) 90% 100%
  );
  background-size: 400px 100%;
  animation: background-slide 7s linear infinite;
}

.enter-button:hover {
  transform: scale(1.05);
}

.enter-button:active {
  transform: scale(0.98);
}

@media (max-width: 1440px), (max-height: 920px) {
  .sprite1 {
    display: none;
  }

  .sprite2 {
    display: none;
  }

  .sprite3 {
    display: none;
  }

  .sprite4 {
    display: none;
  }


}