@import url('https://fonts.googleapis.com/css2?family=Press+Start+2P&family=Roboto:wght@300;400;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');

:root {
    --anime-light-green: #b2e0b2; 
    --anime-dark-green: #367e3e; 
    --anime-olive-green: #6d8f6d; 
    --anime-lime-green: #c6ff00; 
    --anime-shadow: rgba(0, 0, 0, 0.2);
}

* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Montserrat', sans-serif;
    background: linear-gradient(5deg, rgb(228, 218, 218), #fff);
    min-height: 100vh;
    overflow-x: hidden;
}

.sakura {
    position: fixed;
    pointer-events: none;
    z-index: -1;
}

.petal {
    position: absolute;
    background: #005e0a;
    border-radius: 50%;
    opacity: 0.8;
    animation: fall linear infinite;
}

@keyframes fall {
    0% {
        transform: translateY(-10vh) rotate(0deg);
        opacity: 1;
    }
    100% {
        transform: translateY(100vh) rotate(360deg);
        opacity: 0;
    }
}

header {
    background: linear-gradient(45deg, #25582b, #3b8b44);
    color: white;
    text-align: center;
    padding: 20px;
    font-size: 2.5rem;
    box-shadow: 0 4px 15px var(--anime-shadow);
    position: relative;
    overflow: hidden;
}

header::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transform: translateX(-100%);
    animation: shimmer 3s infinite;
}

@keyframes shimmer {
    100% {
        transform: translateX(100%);
    }
}


.titulo {
    font-family: 'Montserrat', 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);
    backdrop-filter: blur(10px);
    transition: transform 0.3s;
}

#loginSection:hover {
    transform: translateY(-5px);
}

input,
select {
    padding: 15px;
    border: 2px solid var(--anime-dark-green);
    border-radius: 10px;
    font-size: 16px;
    width: 300px;
    margin: 10px 0;
    transition: all 0.3s ease;
    background: white;
}

input:focus,
select:focus {
    border-color: #5cd76a;
    box-shadow: 0 0 15px rgba(109, 143, 109, 0.3);
    outline: none;
    transform: scale(1.02);
}

.adicionar {
    display: flex;          
    align-items: center;         
    justify-content: flex-start; 
}

#person {
    margin-left: auto;            
    font-size: 20px;  
    color: #005e0a;           
}


#lock{
    color: #005e0a;
}

#person_add{
    padding-top: 0px;
    font-size: 20px;
    text-align: center;
    color: #005e0a;
}


#entrar {
    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);
}

#entrar:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    background: linear-gradient(45deg, var(--anime-dark-green), #018827);
}

#addButton {
    background: linear-gradient(45deg, var(--anime-dark-green), #005e0a);
    color: white;
    width: 200px;
    height: 51.33px;
    padding: 15px 10px;
    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);
}

#addButton:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    background: linear-gradient(45deg, var(--anime-dark-green), #018827);
}

.edit-button {
    background: white;
    color: green;
    border: 2px solid green;
    padding: 10px 20px;
    font-size: 16px;
    border-radius: 20px;
}

.edit-button:hover {
    background: linear-gradient(45deg, green, var(--anime-dark-green));
    color: white;
    border: none;
}

.remove-button {
    background: white;
    color: red;
    border: 2px solid red;
    padding: 10px 20px;
    font-size: 16px;
    border-radius: 20px;
}

.remove-button:hover {
    background: red;
    color: white;
    border: none;
}

li {
    background: white;
    border-radius: 10px;
    padding: 15px;
    margin: 10px 0;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
    border: 2px solid var(--anime-dark-green);
    width: 50%;
    font-weight: bold;
}

li:hover {
    transform: translateX(10px);
}

footer {
    background: linear-gradient(45deg,#1b3e1f, #307138, #1b3e1f);
    color: white;
    text-align: center;
    padding: 20px;
    position: relative;
    margin-top: 50px;
}
