html {
    height: 100%;
    
    
}

body {
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
    background: linear-gradient(to bottom, #518fa2, white) no-repeat center center;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    

}

.logo-container-marca {
    text-align: center;
    width: 100%;
    position: relative;
    margin-top: 20%;
    margin-bottom: 3%;
}

.logo-marca img {
    width: 100px;
    max-width: 100%;
    height: auto;
}

.login-box {
    position: relative;
    margin-top: 20px;
    left: 50%;
    width: 400px;
    padding: 40px;
    transform: translate(-50%, 0);
    box-sizing: border-box;
    box-shadow: 0 15px 25px rgba(0, 0, 0, 0.6);
    border-radius: 10px;
    background: whitesmoke;
    zoom: 90%;
}

.login-box h2 {
    margin: 0 0 30px;
    color: #25D366;
    text-align: center;
}

.login-box .user-box {
    position: relative;
}

.login-box .user-box input {
    width: 100%;
    padding: 10px 0;
    font-size: 16px;
    color: black;
    margin-bottom: 30px;
    border: none;
    border-bottom: 1px solid black;
    outline: none;
    background: transparent;
    border-radius: 5px;
}

.user-box input::placeholder {
    text-align: center;
    color: rgba(255, 255, 255, 0.5);
}

.login-box .user-box input:focus,
.login-box .user-box input:valid {
    background: #fff;
    border-bottom: 1px solid black;
    color: black;
}

.login-box .user-box label {
    position: absolute;
    top: 0;
    left: 0;
    padding: 10px 0;
    font-size: 16px;
    color: black;
    pointer-events: none;
    transition: 0.5s;
}

.login-box .user-box input:focus ~ label,
.login-box .user-box input:valid ~ label {
    top: -25px;
    color: white;
    font-size: 10px;
}


/* Estilos para o botão "Entrar" */
.login-box form a,
.login-button {
    display: inline-block;
    padding: 10px 20px;
    color: white;
    background: #518fa2;
    border-radius: 5px;
    font-size: inherit;
    text-align: center;
    text-decoration: none;
    transition: 0.5s;
    margin-top: 2px;
    margin-bottom: 5px;
    letter-spacing: 2px;
    width: 100%;
}

small {
    font-family: inherit, "Times New Roman", serif;
    font-size: 14px;
}

.login-box a:hover,
.login-button:hover {
    background: #1a260d;
    color: #fff;
    border-radius: 10px;
    box-shadow: none;
}

.recover-password {
    display: inline-block;
    margin-top: 10px;
    font-size: 14px;
    color: #007bff;
    text-decoration: underline;
    transition: color 0.3s ease;
}

.recover-password:hover {
    color: #0056b3;
}

.login-container {
    text-align: center;
    margin-top: 20px;
}

#whatsapp-button {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
    transition: transform 0.3s ease;
}

#whatsapp-button:hover {
    transform: scale(1.5);
}

#whatsapp-button img {
    width: 80px;
    height: auto;
}

.modal {
    text-align: center;
}

.modal-body {
    width: 100%;
    padding: 20px;
}

.modal-header {
    justify-content: flex-end;
}

.btn-primary,
.btn-secondary {
    background-color: #85c14a;
    font-size: 12px;
    margin-bottom: 10px;
    color: white;
    transition: background 0.3s ease;
}

.btn-primary:hover,
.btn-secondary:hover {
    background-color: #1a260d;
    color: white;
}

#exampleModal {
    position: fixed;
    margin-top: 5%;
}


/* Carrossel */
.carousel-wrapper {
    display: flex;
    justify-content: space-between;
    margin: 20px 0;
    gap: 10px;
}

.carousel-container {
    flex: 1;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    max-width: 100%;
}

.carousel-inner {
    position: relative;
    width: 100%;
    height: 300px;
}

.carousel-item {
    display: none;
    height: 100%;
}

.carousel-item.active {
    display: block;
}

.carousel-item img {
    width: 100%;
    height: 100%;
}



/* Responsividade *******************************************************************************/

/* Para telas menores que 800px */
@media (max-width: 800px) {
    .login-box {
        width: 99%; /* Aumenta um pouco a largura */
        padding: 20px; /* Reduz o padding */
        margin: 0 auto; /* Centraliza horizontalmente */
        margin-bottom: 70px;
    }

    .logo img {
        width: 99%; /* Ajusta proporcionalmente a logo */
        height: auto;
    }

    #whatsapp-button img {
        width: 60px; /* Ajusta o tamanho do ícone do WhatsApp */
    }

    #exampleModal {
        margin-top: 15%;
        margin-left: -2%;
    }

    .carousel-wrapper {
        display: flex;
        justify-content: space-between;
        margin: 20px 0;
        gap: 10px;
    }

    .carousel-container {
        flex: 1;
        overflow: hidden;
        border-radius: 10px;
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
        max-width: 100%;
    }

    .carousel-inner {
        position: relative;
        width: 100%;
        height: 150px;
    }
}

/* Para telas menores que 500px */
@media (max-width: 500px) {
    .login-box {
        width: 99%; /* Largura maior para telas menores */
        aspect-ratio: 0.99; /* Proporção mais retangular em telas pequenas */
        margin: 0 auto; /* Centraliza a caixa de login */
    }

    .logo img {
        width: 99%; /* Ajusta proporcionalmente a logo */
        height: auto;
    }

    .modal-content {
        width: 99%; /* Ajusta a largura do conteúdo do modal */
    }

    #exampleModal {
        margin-top: 20%;
        margin-left: auto;
        margin-right: auto; /* Centraliza o modal */
    }

    .carousel-wrapper {
        display: flex;
        justify-content: space-between;
        margin: 20px 0;
        gap: 10px;
    }

    .carousel-container {
        flex: 1;
        overflow: hidden;
        border-radius: 10px;
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
        max-width: 100%;
    }

    .carousel-inner {
        position: relative;
        width: 100%;
        height: 150px;
    }

    #whatsapp-button img {
        width: 50px; /* Ajuste do tamanho do ícone do WhatsApp */
    }
}

/* Para telas muito pequenas, abaixo de 400px */
@media (max-width: 400px) {
    .login-box {
        width: 99%; /* Largura maior para telas menores */
        aspect-ratio: 0.99; /* Proporção mais retangular em telas muito pequenas */
        
    }

    .logo img {
        width: 99%; /* Ajusta proporcionalmente a logo */
        height: auto;
    }

    .modal-content {
        width: 99%; /* Ajusta a largura do conteúdo do modal */
    }

    #exampleModal {
        margin-top: 20%;
        margin-left: auto;
        margin-right: auto; /* Centraliza o modal */
    }

    .carousel-wrapper {
        display: flex;
        justify-content: space-between;
        margin: 20px 0;
        gap: 10px;
    }

    .carousel-container {
        flex: 1;
        overflow: hidden;
        border-radius: 10px;
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
        max-width: 100%;
    }

    .carousel-inner {
        position: relative;
        width: 100%;
        height: 150px;
    }

    #whatsapp-button img {
        width: 40px; /* Ajuste do tamanho do ícone do WhatsApp */
    }
}


