@import url('https://fonts.googleapis.com/css2?family=Press+Start+2P&family=Roboto:wght@300;400;700&display=swap');

:root {
    --color1: #ff6f61;  /* Rosa vibrante */
    --color2: #66bb6a;  /* Verde suave */
    --color3: #ffcc00;  /* Amarelo */
    --color4: #1f1f1f;  /* Preto */
    --color5: #005e0a;  /* Azul claro */
    --background: #f0f4f8;
    --anime-dark-green: #388e3c;
    --anime-olive-green: #6d8f6d;
}

.red{color: red;}
.dark-green{color: darkgreen;}

* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Roboto', sans-serif;
    background: linear-gradient(5deg, rgb(228, 218, 218), #fff);
    margin: 0;
    padding: 0;
    min-height: 100vh;
    overflow-x: hidden;
}

.wind-effect {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
}

.wind-particle {
    position: absolute;
    background-color: rgba(87, 197, 182, 0.05);
    border-radius: 50%;
    filter: blur(3px);
    animation: windFlow 20s infinite ease-in-out;
}

@keyframes windFlow {
    0%, 100% {
        transform: translateX(-100vw) translateY(0) scale(0.8);
        opacity: 0;
    }
    50% {
        transform: translateX(100vw) translateY(20px) scale(1.2);
        opacity: 0.8;
    }
}

#content {
    position: relative;
    z-index: 1;
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
}

header {
    background-color: var(--color1);
    color: white;
    text-align: center;
    padding: 20px;
    font-size: 2.5rem;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

#content {
    position: relative;
    z-index: 1;
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
}

@keyframes bounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

.titulo {
    font-family: 'Press Start 2P', cursive;
    text-align: center;
    background: linear-gradient(45deg,#307138, #1b3e1f, #307138);
    color: white;
    border-radius: 15px;
    padding: 30px;
    margin-bottom: 40px;
    border: 4px solid white;
    box-shadow: 0 0 20px rgba(56, 142, 60, 0.3);
    position: relative;
    overflow: hidden;
}

.titulo::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255,255,255,0.1), transparent);
    transform: rotate(45deg);
    animation: shine 5s infinite;
}

@keyframes shine {
    0% {
        transform: translateX(-100%) rotate(45deg);
    }
    100% {
        transform: translateX(100%) rotate(45deg);
    }
}

.imagem-esquerda {
    position: absolute; 
    top: 0; 
    left: 0; 
    height: 3em; 
    object-fit: contain; 
    margin: 10px; 
    z-index: 1000; 
    padding-bottom: 10px;
}

.imagem-direita {
    position: absolute; 
    top: 0; 
    right: 0; 
    height: 3em; 
    object-fit: contain; 
    margin: 10px; 
    z-index: 1000; 
    padding-bottom: 10px;
}

#loginSection {
    text-align: center;
    background: rgba(255, 255, 255, 0.9);
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
}

#loginSection:hover {
    transform: translateY(-5px);
}

#username, #password {
    padding: 15px;
    border: 2px solid var(--color4);
    border-radius: 8px;
    font-size: 16px;
    width: 300px;
    margin-bottom: 20px;
    transition: all 0.3s ease;
    border-color: #005e0a;
}

#username:focus, #password:focus {
    border-color: var(--color2);
    box-shadow: 0 0 15px rgba(102, 187, 106, 0.3);
    outline: none;
}

button {
    background: linear-gradient(45deg, var(--anime-dark-green), #005e0a);
    color: white;
    width: 120px;
    padding: 15px 30px;
    border: none;
    border-radius: 6px;
    font-size: 18px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    background: linear-gradient(45deg, var(--anime-dark-green), #018827);
}

table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    margin: 40px 0;
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

th, td {
    padding: 15px;
    text-align: left;
    border-bottom: 1px solid #e0e0e0;
}

th {
    background-color: #307138;
    color: white;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

tr:last-child td {
    border-bottom: none;
}

tr:nth-child(even) {
    background-color: #f9f9f9;
}

tr:hover {
    background-color: rgba(102, 187, 106, 0.1);
}

input[type="number"] {
    padding: 10px;
    border: 2px solid var(--color4);
    border-color: #005e0a;
    border-radius: 8px; 
    font-size: 16px;
    width: 100px; 
    transition: all 0.3s ease;
}

input[type="number"]:focus {
    border-color: var(--color2); 
    background-color: rgba(206, 242, 208, 0.3);
    outline: none; 
}

footer {
    background: linear-gradient(45deg,#1b3e1f, #307138, #1b3e1f);
    color: white;
    text-align: center;
    padding: 20px;
    position: relative;
    margin-top: 50px;
}