@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap');

* {
    margin: 0;
    padding: 0;
    gap: 0;
}

html {
    width: 100%;
    max-height: 100%;
    box-sizing: border-box;
}

body {
    width: 100%;
    height: 100%;
    box-sizing: border-box;
    background-color: #EAEAEA;
    font-family: "Roboto", sans-serif;
}

form {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin-bottom: 50px;
    gap: 20px;
    box-sizing: border-box;
}

.fundo {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1; 
    opacity: 1; 
}

.titulo {
    font-size: 1.0em;
    text-align: center;
}

.container {
    justify-content: center;
    align-items: center;
    margin-top: 10%;
    margin-left: 70%;
    margin-right: 10%;
    box-sizing: border-box;
    position: relative;
}

.login-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 20px;
}

.container-img {
    max-width: 100%;
    max-height: 30%;    
}

.botoes {
    gap: 20px;
    display: flex;
    flex-direction: column;
    width: auto;
}

.esqueci-btn {
    width: auto;
}

.formulario {
    max-width: 300px;
    margin: 0 auto;
    padding: 20px;
    background-color: #f9f9f952;
    border-radius: 20px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
}

.text-input {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.text-input input {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 10px;
    font-size: 14px;
}

.entrar-btn {
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    background-color: grey;
    color: #fff;
    font-size: 14px;
    cursor: pointer;
}

.esqueci-btn {
    color: grey;
    text-decoration: none;
    font-size: 14px;
    font-weight: bold;
    text-align: center;
}

.esqueci-btn:hover {
    text-decoration: underline;
}


@media (max-width: 768px) {
    .container {
        margin-left: 0%;
        margin-right: 0%;
    }

    .titulo {
        font-size: 1.0em;
        text-align: center;
    }

    .entrar-btn {
        font-size: 12px;
    }

    .esqueci-btn {
        font-size: 12px;
    }

    .text-input input {
        font-size: 12px;
    }

    .formulario {
        width: 100%;
    }
}
