html, body {
    height: 100%;
    margin: auto;
    scroll-behavior: smooth;
}

body {
    display: flex;
    flex-direction: column;
    font-family: "Georgia", serif;
    background-image: url("/images/ilustracao_completa.png");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    color: #ebe7e7;
}

.subtitulo {
    font-size: 22px;
    margin-top: 10px;
    color: #fff;
}

.autor {
    font-size: 22px;
}

.inicio-info p,
.inicio-info li {
    font-size: 20px;
    line-height: 1.5;
    text-align: justify;
}

.lista-temas li {
    margin-bottom: 6px;
    padding-left: 20px;
}
/*NAV*/
nav {
    background: rgba(16, 16, 16, 0.485);
    backdrop-filter: blur(10px);
    padding: 10px 0;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
}

nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    gap: 30px;
}

nav a {
    text-decoration: none;
    color: #fff;
    font-size: 20px;
    font-weight: bold;
}

nav a.ativo {
    background-color: rgba(255, 255, 255, 0.25);
    padding: 6px 12px;
    border-radius: 8px;
}

.slide {
    padding-top: 50px;
    margin-bottom: 5px;
    min-height: auto;
}

.box {
    max-width: 900px;
    margin: auto;
    padding: 40px;
    border-radius: 20px;
    background: rgba(16, 16, 16, 0.485);
    backdrop-filter: blur(10px);
    color: #fff;
    text-align: center;
    line-height: 1.4;
    box-shadow: 0 0 40px rgba(0, 0, 0, 0.3);
}

/*INDEX*/
#index .box {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    background: rgba(0, 0, 0, 0.45);
    padding: 40px;
    border-radius: 20px;
    backdrop-filter: blur(8px);
    box-shadow: 0 0 25px rgba(0, 0, 0, 0.4);
}

#index .foto {
    width: 350px;
    height: auto;
    border-radius: 16px;
    box-shadow: 0 0 25px rgba(0, 0, 0, 0.5);
    transition: transform 0.3s ease;
}

#index .foto:hover {
    transform: scale(1.03);
}

/*SINOPSE*/
#sinopse p{
    text-align: justify;
    font-size: 20px;
    text-indent: 40px;
}

/*PERSONAGENS*/

.right .foto {
    float: inline-start;
    width: 250px;
    height: 250px;
    object-fit: cover;
    border-radius: 50%;
    object-position: 50% 50%;
    margin-top: -20px;
}
.left .foto{
    float: inline-end;
    width: 250px;
    height: 250px;
    object-fit: cover;
    border-radius: 50%;
    object-position: 50% 30%;
    margin-top: -40px; 
}
#personagens h2 {
    margin-top: 50px;
    text-align: center;
    clear: both;
}
.right p{
    text-align: justify;
    max-width: 100%;
    font-size: 20px;
    margin-left: 35%;
    margin-top: 25px;
}
.left p{
    text-align: justify;
    max-width: 100%;
    font-size: 20px;
    margin-right: 35%;
    margin-top: 25px; 
}

/*AUTORA*/
#autora .foto{
    
    width: 250px;
    height: 250px;
    object-fit: cover;
    border-radius: 50%;
    object-position: 50% 0%;
   
}
#autora p{
    text-align: justify;
    font-size: 20px;
    margin-bottom: 10px;
}

/*REVIEW*/
#review-stars {
    font-size: 2rem;
    color: gold;
    margin: 10px 0;
    letter-spacing: 3px;
}
.review-buttons :hover{
    transform: scale(1.03);
}
.review-buttons button {
    background: rgba(255, 255, 255, 0.15);
    border: none;
    font-size: 1.8rem;
    padding: 10px 18px;
    border-radius: 12px;
    cursor: pointer;
    backdrop-filter: blur(4px);
    color: #fff;
    transition: 0.2s;
}

/*ONDECOMPRAR*/
#ondecomprar .box h2 {
    font-size: 36px;
    margin-bottom: 10px;
}

#ondecomprar .box p {
    text-align: center;
    font-size: 22px;
    margin-bottom: 25px;
}

/* Cards */
.cards-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin-top: 10px;
}

.cards-container .card,
.cards-container .card1 {
    padding: 25px 20px;
    width: 200px;
    min-height: 80px;
    border-radius: 18px;
    text-align: center;
    backdrop-filter: blur(6px);
    transition: 0.25s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Logos */


.card1 {
    filter: brightness(0) invert(1);
}
.card2{
    width: 130px ;
    
}
/* Botão */
.btn-comprar:hover {
    transform: scale(1.03);
}
.btn-comprar {
    text-decoration: none;
    background: rgba(255, 255, 255, 0.15);
    padding: 10px 20px;
    font-size: 18px;
    border-radius: 10px;
    color: #fff;
    transition: 0.2s;
}
/* ==== FOOTER ==== */
.footer{
    margin: 0 10px;
    background-image: linear-gradient(to left,white); 
    color: transparent; 
    background-clip: text;
    font-size: 50px;
}
footer {
    font-family: "Georgia", serif;
    font-size: 24px;
    color: #fff;
    padding: 20px;
    text-align: center;
    margin-top: auto;
}
/*RESPONSIVIDADE*/
/*tablet*/
@media (max-width: 1024px) {
    #index .box {
        flex-direction: column;
        text-align: center;
    }

    .right p,
    .left p {
        margin: 0;
        margin-top: 20px;
    }

    .right .foto,
    .left .foto {
        float: none;
        margin: 0 auto;
        display: block;
    }
}
/*celular grande*/
@media (max-width: 768px) {

    nav ul {
        gap: 10px;
        font-size: 16px;
    }

    .box {
        max-width: 95%;
        padding: 20px;
    }

    #index .foto {
        width: 250px;
    }

    .right p,
    .left p {
        font-size: 18px;
    }
}
/*celular*/
@media (max-width: 480px) {

    nav a {
        font-size: 16px;
    }

    .box {
        padding: 15px;
    }

    #index .foto {
        width: 180px;
    }

    .right .foto,
    .left .foto {
        width: 180px;
        height: 180px;
    }

    p {
        font-size: 18px !important;
    }
}

