@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');

body {
    padding: 0;
    font-family: 'Roboto', sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    background: url('componentes/fundo.jpg') no-repeat center center fixed;
    background-size: cover;
}

.background {
    display: flex;
    justify-content: left;
    align-items: center;
    overflow: hidden;
    width: 100%;
    height: 100%;
}

.bkg-img {
    width: 100%;
    height: 100%;
    background: url(../componentes/fundo.png);
    background-size: cover;
}

.login-box {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: white;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.2);
    padding: 20px;
    width: 100%;
    max-width: 100%;
    height: 100%;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
    animation: fadeInUp 0.6s ease forwards;
}

.login-form {
    width: 70%;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.title {
    font-size: 1.5em;
    color: #333;
    margin-bottom: 20px;
    text-align: center;
}

.input-group {
    margin-bottom: 15px;
}

.input-field {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1em;
    box-sizing: border-box;
}

.submit-btn {
    width: 100%;
    padding: 10px;
    border: none;
    border-radius: 5px;
    background: #2cc3ac;
    color: white;
    font-size: 1em;
    cursor: pointer;
    transition: background 0.3s ease;
}

.submit-btn:hover {
    background: #208f7e;
}

.link-btn {
    display: block;
    text-align: center;
    color: rgb(98, 144, 243);
    text-decoration: none;
    margin-top: 10px;
    font-size: 0.9em;
    transition: color 0.3s ease;
}

.link-btn:hover {
    color: rgb(76, 119, 189);
}

.alert {
    margin-top: 15px;
    padding: 10px;
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
    border-radius: 5px;
    text-align: center;
}

.fundo-ilustracao {
    width: 100%;
    height: 100%;
    
}

@media only screen and (max-width: 768px) {
    .login-box {
        padding: 2%;
    }

    .title {
        font-size: 1.2em;
    }
}

@media only screen and (max-width: 1180px) {
    .bkg-img {
        display: none;
    }

}

