/*///*body {
    background-image: url("imagem/cama1.jpg");
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    width: 100%; 
    height: 100vh;
    margin: 0; 
    padding: 0; 
    overflow: hidden; 
    backdrop-filter: blur(9.6px);
}*/

body {
    margin: 0;
    padding: 0;
    width: 100%;
    min-height: 100vh;
    position: relative;
    /*overflow-x: hidden;*/ /* Evita scroll lateral por causa do scale */
}

body::before {
    content: "";
    position: fixed; /* Mantém o fundo parado ao rolar */
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1; /* Coloca a imagem atrás do seu conteúdo */
    
    background-image: url('imagem/cama1.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    
    filter: blur(9.6px); /* O filtro agora é aplicado apenas à imagem */
    transform: scale(1.1); /* Aumenta a imagem para esconder as bordas brancas do blur */
}

::-webkit-input-placeholder {
    color: rgb(255, 255, 255, 0.9);
}

#Box1{

    display: flex;
    flex-direction: column;
    align-items: center; /* Centraliza tudo horizontalmente */
    text-align: center;
    padding: 20px;
    background: linear-gradient(45deg, rgba(37, 56, 88, 0.4));
    backdrop-filter: blur(13.6px);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.24);
    background-size: 200% 200%;
    /*animation: moverGradiente 5s ease infinite;*/
}

@keyframes moverGradiente {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

h1{
    font-size: 40px;
    color: rgb(255, 255, 255);
    text-shadow: #000000 -1px 1px 1px;
    padding: 8px 0 0 0;
    text-align: center;
}

p{
    text-align: center;
    padding: 50px 0 0;
    font-size: 25px;
    color: rgb(255, 255, 255);
    text-shadow: #000000 -1px 1px 1px;
}

form {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

.inputText {
    padding: 6px;
    border-radius: 20px;
    margin-left: 0; /* REMOVA os 44px */
    width: 250px;   /* Ajuste a largura como preferir */
    background: rgb(2, 29, 74, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.24);
    color: white;
    outline: none;
}


#entrar {
    margin-top: 20px;
    width: 180px;     
    height: 38px;
    background: rgb(4, 10, 27, 0.5);
    backdrop-filter: blur(13.6px);
    color: white;
    border-radius: 20px;
    border: 1px solid rgb(29, 123, 185);
    cursor: pointer;
    font-family: Galano, Arial, sans-serif;
    font-size: 13px;
    font-weight: normal;
}

#entrar:hover{
    border: 1px solid rgb(255, 255, 255);
    background: rgb(4, 10, 27, 0.9);
    cursor: pointer;

}

#box {
    position: absolute;
    border-radius: 15px;
    padding: 20px;
    width: 90%;
    max-width: 1200px; 
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}



.links {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    align-items: center;
}


.links a.btn-admin {
    display: flex;
    justify-content: center;
    align-items: center;
    
    width: 180px; 
    height: 38px;
    margin: 20px auto 0;
    font-family: Galano, Arial, sans-serif;
    font-size: 13px;
    font-weight: normal;

    background: rgb(4, 10, 27, 0.5);
    backdrop-filter: blur(13.6px);
    color: white;
    border-radius: 20px;
    border: 1px solid rgb(29, 123, 185);
    
    text-decoration: none;
    transition: 0.3s;
}


.links a.btn-admin:hover, #entrar:hover {
    background: rgb(29, 123, 185, 0.4);
    border: 1px solid white;
    cursor: pointer;
}


a:hover{
    border: 1px solid rgb(255, 255, 255);
    background: rgb(4, 10, 27, 0.9);
    cursor: pointer;
}

#Box2 {
    /*width: 100%;*/
    max-width: 100%;
    height: auto; 
    display: flex;
    justify-content: center;
    align-items: center;
    
}

.slideshow-container {
    position: relative;
    width: 100%;
    height: 100%;
}

#Box2 img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 20px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
    transition: opacity 0.8s ease-in-out;
}

.prev, .next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: auto;
    padding: 16px;
    color: rgba(255, 255, 255, 0.500);
    font-weight: bold;
    font-size: 18px;
    border: none;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 50%;
    transition: 0.3s;
    user-select: none;
}

.prev { left: 10px; }
.next { right: 10px; }

.prev:hover, .next:hover { background: rgba(0, 0, 0, 0.8); }


.fade-out { opacity: 0; }

@media (max-width: 768px) {

    /*body {
        /*height: auto;*//*
        overflow-y: auto;
        background-size: none;
    }*/

    #box {
        position: relative;
        top: auto;
        left: auto;
        transform: none;
        width: 95%;
        padding: 15px;
        margin: 20px auto;
    }

    .links {
        margin: 40px auto 0;
        width: 100%;
        height: 44px;
        max-width: 500px;

        grid-template-columns: 1fr;
        gap: 15px;
    }

    h1 {
        font-size: 28px;
    }

    p {
        font-size: 18px;
        padding: 20px 0;
    }

    .links a {
        margin: 20px auto 0;
        width: 100%;
        max-width: 260px;
        font-size: 20px;
    }

    #Box2 {
        width: 100%;
        height: 250px;
    }

    .slideshow-container {
        height: 100%;
    }

    #Box2 img {
        height:auto;
        margin: 0 0 100px;
    }

    .prev, .next {
        padding: 10px;
        font-size: 16px;
    }
}
