@charset "UTF-8";

@import url('https://fonts.googleapis.com/css2?family=Heebo:wght@300;400;500;600;700&family=Inter:wght@100;200;300;400;500;600;700;800;900&display=swap');

* {
    box-sizing: border-box;
    padding: 0;
    margin: 0;
    list-style: none;
    font-family: 'Heebo', sans-serif;
}

a {
    text-decoration: none;
}

:root {
    --zt_claro: #D51E24;
    --zt_escuro: #9a1c1f;
}
/*============================================================================================================*/
body {
    background-color: black;
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    justify-content: center;
    align-items: center;
    height: 100vh;
    overflow-y: hidden;
    position: relative; /* Adicionada para permitir o pseudo-elemento */
}

body::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('../../imgs/background.jpg');
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
    background-attachment: fixed;
    opacity: 0.6; /* 70% de transparência */
    z-index: -1; /* Coloca o pseudo-elemento atrás do conteúdo do body */
}

main {
    background-color: transparent;
    backdrop-filter: blur(5px);

    height: 40%;
    width: 30%;
    min-width: 335px;
}

h1 {
    color: #641113;
    text-align: center;
}

main form {
    background-color: rgba(255, 255, 255, 0.700);
    backdrop-filter: blur(5px);
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    padding: 20px;

    border-radius: 20px;
}

input[type="text"], input[type="password"] {
    height: 20%;
    width: 70%;
    border: none;
    text-align: center;
    background-color: rgba(255, 255, 255, 0.456);
    padding: 3px;
    border-radius: 10px;
}

input[type="submit"] {
    background-color: var(--zt_escuro);

    border: 1px solid var(--zt_escuro);

    color: white;

    border-radius: 10px;

    width:  50%;
    height: 17%;
}


input[type="submit"]:hover {
    transition-duration: 0.5s;
    background-color: #5e1112;
    cursor: pointer;
}

input[type="submit"]:not(:hover) {
    transition-duration: 0.5s;
}

.modal {
    display: none;
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgb(0, 0, 0);
    background-color: rgba(0, 0, 0, 0.4);
    justify-content: center;
    align-items: center;
}

.modal form {
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    align-items: center;
    gap: 15px;
    background-color: rgba(255, 255, 255, 0.700);
    backdrop-filter: blur(5px);
    padding: 15px;
    animation-name: bounceIn;
    animation-duration: 0.8s;
    height: 50%;
    width: 33%;
    border-radius: 20px;
}
 
.close {
    color: #727272;
    float: right;
    font-size: 50px;
    font-weight: bold;
    position: absolute;
    right: 5px;
    top: -15px;
}
 
.close:hover,
.close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

