@keyframes ACAB {
    from {
      opacity: 0;
        translate: 90% 0px;
    }
    to {
        translate: 0px 0px;
        opacity: 100%;
    }
}

/* Topo/Header */
 nav {
    background-color: #17001b;
    padding: 10px;
    margin-bottom: 25px;
    box-shadow: 2px 2px 15px;
    border-radius: 5px;
    /* Adicionado para garantir o alinhamento do botão mobile */
    display: flex;
    justify-content: space-around;
    align-items: center;
    position: relative;
}

.nav-list {
    display: flex;
    list-style: none;
    margin: 0px;
    padding: 0;
    justify-content: space-around;
    width: 100%; 
}

.nav-list a {
    color: white;
    font-family: "Courier New", Courier, monospace;
    text-decoration: none;
    font-size: 16px;
    padding: 4px 8px;
    transition: transform 0.3s ease, background-color 0.3s ease;
    display: inline-block;
}

.nav-list a:hover {
    color: red;
    transform: scale(1.2);
    background-color: #0e0000;
    border-radius: 4px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}
.menu-sandwich {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 28px;
    cursor: pointer;
    padding: 5px 10px;
}
/* --- ADICIONADO: Regras dinâmicas para o Celular --- */
@media (max-width: 768px) {
       .cabecalho2 {
        height: 100px !important;
        margin: 0px;
    }

    
    .logo {
        max-height: 100% !important; 
    }

    nav {
        background-color: transparent !important;
        box-shadow: none !important;
        border-radius: 0 !important;
        padding: 5px 20px; /* Reduzido o padding interno do nav */
        margin-bottom: 10px !important; 
        display: flex;
        justify-content: space-between; 
        align-items: center;
        position: relative;
        width: 100%;
        box-sizing: border-box;
    }

    .logo-container {
        display: block;
        max-height: 40px; 
    }

    
    .menu-sandwich {
               animation-name: ACAB;
        display: block; 
        background-color: #000000;
        border: 1px solid red;
        border-radius: 4px;
        color: red;
        font-size: 24px; /* Diminuído levemente o tamanho do ícone */
        cursor: pointer;
        padding: 4px 10px; /* Botão ligeiramente mais compacto */
        
        position: fixed;
        right: 20px;
        top: 22px; /* Ajustado para alinhar perfeitamente ao centro da nova altura de 80px */
        z-index: 1002; 
    }

    .menu-sandwich:hover {
        background-color: #000000;
    }

    
    .nav-list {
        display: flex; 
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        gap: 30px;
        padding-top: 100px; 
        
        position: fixed;
        top: 0;
        left: -250px; 
        width: 250px; 
        height: 100vh; 
        
        background-color: #17001b; 
        box-shadow: 5px 0px 15px rgba(0, 0, 0, 0.6);
        border-radius: 0;
        z-index: 1000; 
        
        transition: left 0.4s cubic-bezier(0.1, 0.7, 0.1, 1); 
    }

    .nav-list.open {
        left: 0; 
    }

    .nav-list.open ~ .menu-sandwich {
        transform: translateX(-190px); 
    }

    .nav-list li {
        width: 100%;
        text-align: center;
    }

    .nav-list a {
        font-size: 18px; 
        display: block;
        padding: 10px 0;
    }
}

/* Body */

h1, h2, h3 {
  font-family: 'aghato';
  letter-spacing: 5px;
  text-transform: uppercase;
}
html, body{
  min-height: 100%;
  margin: 0;
}



body {
  font-family: 'Courier New', monospace, bold;
  background: linear-gradient(
    180deg,
    #290000 0%,
    #140000 45%,
    #000000 100%
  );
  transition: opacity 1s ease;
           margin: 0px;
}


