
    body {
      margin: 0;
      font-family: 'Segoe UI', sans-serif;
      background: linear-gradient(to bottom, #f8eaff, #fff8e7);
      color: #4b0082;
      overflow-x: hidden;
    }
    /* Flores no fundo */ 
    body::before {
         content: ""; 
         position: fixed; 
         top: 0;
          left: 0;
         width: 100%;
          height: 100%;
         background-image: url('enrolados.jpg');
            opacity: 0.2; 
            z-index: -1;
    }

    header {
      background: #f3d9fa;
      height: 250px;
      display: flex;
      align-items: center;
      justify-content: center;
      text-align: center;
      position: relative;
    }

    header h1 {
      font-size: 2.5em;
      color: #6a0dad;
      text-shadow: 1px 1px 3px #fff;
    }

    /* Lanternas realistas */
    .lanterna {
      width: 50px;
      height: 70px;
      background: radial-gradient(circle at center, #fffacd 40%, #ffd700 100%);
      border-radius: 12px;
      position: absolute;
      animation: flutuar 10s infinite ease-in-out;
      box-shadow: 0 0 20px rgba(255, 215, 0, 0.8);
      opacity: 0.9;
    }

    .lanterna::after {
      content: "";
      display: block;
      width: 25px;
      height: 25px;
      background: radial-gradient(circle, #fff 30%, transparent 70%);
      border-radius: 50%;
      margin: 10px auto;
    }
    /* Lanternas espalhadas pelo fundo */
    .lanterna {
        width: 50px;
        height: 70px;
        background: radial-gradient(circle at center, #fffacd 40%, #ffd700 100%);
        border-radius: 12px;
        position: absolute;
        animation: flutuar 12s infinite ease-in-out;
        box-shadow: 0 0 25px rgba(255, 215, 0, 0.9);
        opacity: 0.9;
        z-index: 1;
      }
  
      .lanterna::after {
        content: "";
        display: block;
        width: 25px;
        height: 25px;
        background: radial-gradient(circle, #fff 30%, transparent 70%);
        border-radius: 50%;
        margin: 10px auto;
      }

    
    @keyframes flutuar {
       0% { transform: translateY(0) scale(1); opacity: 0.8; }
        50% { transform: translateY(-100px) scale(1.1); opacity: 1; }
        100% { transform: translateY(0) scale(1); opacity: 0.8; }
      }
    nav {
      background: #ffd700;
      padding: 10px;
      text-align: center;
    }

    nav a {
      margin: 0 15px;
      text-decoration: none;
      color: #4b0082;
      font-weight: bold;
    }

    section {
      padding: 40px;
      position: relative;
    }

    .projeto {
      background: #fff;
      border: 2px solid #e6c6ff;
      border-radius: 10px;
      padding: 20px;
      margin-bottom: 20px;
      box-shadow: 2px 2px 5px rgba(0,0,0,0.1);
    }

    .projeto h2 {
      color: #6a0dad;
    }

    footer {
      background: #f3d9fa;
      text-align: center;
      padding: 20px;
      color: #6a0dad;
      position: relative;
    }
    .codigo {
        background: #fff;
        border: 2px solid #e6c6ff;
        border-radius: 10px;
        padding: 20px;
        margin-bottom: 20px;
        box-shadow: 2px 2px 5px rgba(0,0,0,0.1);
        font-family: monospace;
        overflow-x: auto; /* permite rolar se o código for longo */
      }
      
      pre {
        margin: 0;
        white-space: pre-wrap; /* quebra linhas automaticamente */
      }
      
  