*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  
  body {
    height: 100vh;
    width: 100vw;
    overflow: hidden;
  }
  
  #background {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
  }
  
  #sky {
    position: absolute;
    top: 0;
    width: 100%;
    height: 60%;
    background: linear-gradient(to top, #ffb3d7, #ffa07a, #ffcc99, #a8d0f0);
    z-index: -2;
  }
  
  
  .cloud {
    position: absolute;
    width: 120px;
    height: 60px;
    background: #fff;
    border-radius: 60px;
    box-shadow: 
      30px 10px 0 0 #fff,
      60px 0px 0 0 #fff,
      90px 10px 0 0 #fff,
      45px -10px 0 0 #fff;
    opacity: 0.9;
    z-index: 1;
  }
  
  .cloud1 {
    top: 80px;
    left: -200px;
    animation: cloud-move 60s linear infinite;
  }
  
  .cloud2 {
    top: 140px;
    left: -300px;
    transform: scale(0.8);
    opacity: 0.7;
    animation: cloud-move 90s linear infinite;
  }
  
  .cloud3 {
    top: 50px;
    left: -250px;
    transform: scale(1.2);
    opacity: 0.6;
    animation: cloud-move 75s linear infinite;
  }
  
  @keyframes cloud-move {
    0%   { left: -200px; transform: translateY(0); }
    50%  { transform: translateY(-5px); }
    100% { left: 110%; transform: translateY(0); }
  }
  
  
  .sun {
    position: absolute;
    top: 40px;
    right: 80px;
    width: 100px;
    height: 100px;
    background: radial-gradient(circle, #fff176, #fbc02d);
    border-radius: 50%;
    animation: pulse 6s ease-in-out infinite;
  }
  
  @keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.05); opacity: 0.9; }
  }
  
  
  
  
  #grass {
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 40%;
    background: linear-gradient(to top, #145214, #4caf50, #bfff80);
    border-top: 1px solid #333;
    z-index: -2;
    overflow: hidden;
  }
  
  #grass-blades {
    position: absolute;
    width: 100%;
    height: 100%;
    pointer-events: none;
  }
  
  .blade {
    position: absolute;
    bottom: 0;
    width: 3px;
    height: 30px;
    background-color: #145214;
    border-radius: 2px;
    transform-origin: bottom;
    animation: bladeWave 3s ease-in-out infinite;
  }
  
  @keyframes bladeWave {
    0%, 100% { transform: rotate(0deg); }
    50% { transform: rotate(8deg); }
  }
  
  
  
  #house{
    position: relative;
    background-color: #D8BFD8;
    width: 500px;
    height: 400px;
    border: 4px solid #737373;
    flex: 0 0 auto;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
  } 
  
  #chimney, #roof, #window-1, #window-2, #door, #smoke{
    position: absolute;
  }
  
  #roof{
    width: 100%;
    height: 100px;
    border: 2px;
    top: 0;
    background: repeating-linear-gradient(45deg, #D8BFD8, #aa537a 2%, transparent 2%, transparent 5%), repeating-linear-gradient(-45deg, #ff80bb, #aa537a 2%, #be68bd 2%, #bfff80 5%);
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  }
  
  #chimney{
    background-color: #938e90;
    width: 80px;
    height: 80px;
    border: 2px solid #737373;
    top: -80px;
    left: 75%;
    z-index: -1;
    border-radius: 2px;
  }
  
  .smoke {
    position: absolute;
    bottom: 100px; /* justo sobre la chimenea */
    left: 50%;
    width: 40px;
    height: 40px;
    background-color: rgba(200, 200, 200, 0.32);
    border-radius: 50%;
    transform: translateX(-50%);
    animation: rise 4s infinite ease-in-out;
    box-shadow: 0 -10px 20px rgba(0, 0, 0, 0.334);
  }
  
  .puff1 {
    animation-delay: 0s;
  }
  
  .puff2 {
    animation-delay: 1.5s;
    width: 30px;
    height: 30px;
    left: 55%;
  }
  
  .puff3 {
    animation-delay: 3s;
    width: 35px;
    height: 35px;
    left: 45%;
  }
  
  @keyframes rise {
    0% {
      transform: translate(-50%, 0) scale(1);
      opacity: 0.4;
    }
    100% {
      transform: translate(-50%, -120px) scale(1.5);
      opacity: 0;
    }
  }
  
  #window-1{
    background: linear-gradient(to right, #ffb3d7, #bfff80 48%, #bfff80 48%, #bfff80 52%, #bfff80 52%, #ffb3d7 100%);
    width: 125px;
    height: 100px;
    border: 4px solid #737373;
    left: 7.5%;
    top: 37%;
  }
  
  #window-2{
    background: linear-gradient(to right, #ffb3d7, #bfff80 48%, #bfff80 48%, #bfff80 52%, #bfff80 52%, #ffb3d7 100%);
    width: 125px;
    height: 100px;
    border: 4px solid #737373;
    right: 7.5%;
    top: 37%;
  }
  
  /*marco*/
  #window-1::before,
  #window-1::after,
  #window-2::before,
  #window-2::after {
    content: '';
    position: absolute;
    background-color: #737373; 
  }
  
  #window-1::before,
  #window-2::before {
    width: 4px;
    height: 100%;
    left: 50%;
    top: 0;
    transform: translateX(-50%);
  }
  
  #window-1::after,
  #window-2::after {
    height: 4px;
    width: 100%;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
  }
  
  
  #door{
    background-color: #dd93b6;
    width: 120px;
    height: 170px;
    border: 4px solid #737373;
    bottom: 0%;
    left: 186px;
    transform: translateY(6px);
  }
  
  
  #door-knob{
    width: 15px;
    height: 15px;
    background-color: #bfff80;
    border-radius: 50%;
    border: 1px solid #737373;
    position: absolute;
    top: 50%;
    right: 5%;
  }
  
  #welcome {
      font-family: Arial, sans-serif;
      font-weight: bold;
      width: 160px;
      height: 55px;
      position: absolute;
      bottom: -57px;
      left: calc(50% - 85px);
      background-color: #bfff80;
      border: 2px solid #737373;
      transform: skewX(-15deg);
      display: flex;
      align-items: center;
      justify-content: center;
      color: #DB7093;
  }
  
  
  .tree {
    position: absolute;
    bottom: 0;
    width: 40px;
    height: 200px; /* altura del tronco */
    background-color: #8B4513;
    z-index: 0;
  }
  
  /* Posición izquierda y derecha */
  .tree1 {
    left: 5%;
  }
  
  .tree2 {
    right: 5%;
  }
  
  /* Follaje */
  .foliage {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    background-color: #2e8b57;
    border-radius: 50%;
    box-shadow: 0 5px 10px rgba(0,0,0,0.2);
    animation: sway 6s ease-in-out infinite;
  }
  
  /* Copas más grandes */
  .foliage.bottom {
    width: 180px;
    height: 180px;
    bottom: 200px;
  }
  
  .foliage.middle {
    width: 150px;
    height: 150px;
    bottom: 300px;
  }
  
  .foliage.top {
    width: 120px;
    height: 120px;
    bottom: 380px;
  }
  
  /* Animación de viento */
  @keyframes sway {
    0%, 100% { transform: translateX(-50%) rotate(0deg); }
    50% { transform: translateX(-50%) rotate(3deg); }
  }
  