@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    min-height: 100dvh;
    background-color: #ffe6d0;
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: "Poppins", sans-serif;
    font-weight: 900;
    margin: 0 10%;
}
    
h1 {
    /* color: #eaeaea; */
    color: white;
    font-size: 5rem;
    text-shadow: 5px 4px 8px rgb(165, 0, 0);
}

.mascot {
  position: fixed;
  right: 10px;
  bottom: 10px;
  z-index: 9999;
}

.open-mascot {
  position: fixed;
  right: 20px;
  bottom: 20px;

  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: none;

  background: #ffb36b;
  font-size: 24px;
  cursor: pointer;

  box-shadow: 0 4px 10px rgba(0,0,0,0.3);
  display: none;
  z-index: 9999;

  transition: all 0.15s ease;
}

.open-mascot:hover {
  transform: scale(1.1);
}

.mascot.hide {
  opacity: 0;
  transform: scale(0.8);
  pointer-events: none;
  transition: all 0.25s ease;
}

.close-btn {
  position: absolute;
  top: 0px;
  right: 0px;

  width: 26px;
  height: 26px;
  border-radius: 50%;

  border: none;
  cursor: pointer;

  background: transparent;
  color: rgb(48, 48, 48);
  font-weight: bold;
  font-size: 16px;

  transition: transform 0.15s ease, background 0.15s ease;
  z-index: 10000;
}

.close-btn:hover {
  background: #ffffff;
  color: black;
  transform: scale(1.1);
}

.float {
  animation: float 2.5s ease-in-out infinite;
}

.float img {
  width: 200px;
  image-rendering: pixelated;
  image-rendering: crisp-edges;
  transition: transform 0.2s ease;
}

.float img:hover {
  transform: rotate(2deg) scale(1.1);
}

@keyframes float {
  0%   { transform: translateY(0); }
  50%  { transform: translateY(-6px); }
  100% { transform: translateY(0); }
}

@media screen and (max-width: 680px) {
  .float img {
    width: 150px;
  }
}