:root {
    --cor-fundo: #E8E3ED;
    --cor-primaria: #3e0084;
    --cor-secundaria: #fffd5e;
    --cor-branca: #f0f0f0;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
.navbar {
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 15px;
    background: transparent;
    box-shadow: 10px 10px 42px 10px var(--cor-fundo);
    height: 50px;
    background: linear-gradient(rgba(0, 0, 0, 0), #dfd5ea69);
    border-bottom: 1px solid #3e00843b;
    width: 100%;
  
    font-weight: 400;
    font-style: normal;
  }
.sobre-livro {
    background-image: url('../img/thebest5.jpg');
    padding-bottom: 50px;
    border-bottom: 1px solid rgba(162, 0, 255, 0.192);
}

header {
    color: var(--cor-primaria);
    color: transparent;
    padding: 40px 0px;
    text-align: center;
}

header h1,
header p {
    color: var(--cor-primaria);
    font-size: 3rem;
}

main {

    display: flex;
    justify-content: center;
}

.content {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    background: linear-gradient(135deg, #fbf4ff, #ffffff);
    box-shadow: 0 0 10px 0 #3e00842f;
    border: 1px solid #A978D9;
    border-radius: 20px;
}

.book-info {
    display: flex;
    align-items: center;
    gap: 30px;
    flex-direction: column;

    padding: 30px;
    max-width: 1750px;
    box-shadow: 0 0 10px 0 #3e00842f;
    background-color: transparent;
    border-radius: 10px;
    border: 1px solid #3e00842c;
}

.book-image {
    max-width: 400px;
    height: 400px;
    border-radius: 10px;
    box-shadow: 0 0 10px 0 #3e00842f;
    border: 1px solid #3e00842c;
    object-fit: cover;
}

.text-container {
    max-width: 900px;
    font-size: 20px;
    text-align: justify;
    word-spacing: 6px;
    padding: 20px;
    color: #333;

}

.text-container h2 {
    margin-bottom: 15px;
    font-size: 2rem;
    color: var(--cor-primaria);
}

.ajuste {
    display: flex;
    justify-content: center;
}

.opoia {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
}

.opoia a img {
    width: 400px;
    height: 400px;
    cursor: pointer;
}

.audio-options {
    text-align: center;
}

.audio-options h2 {
    font-size: 1.8rem;
}

.buttons {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
    padding: 15px;
    border: 1px solid #3e008410;
    border-radius: 20px;
}

.buttons a i,
svg {
    font-size: 50px;
    color: var(--cor-primaria);
}

a svg {
    width: 100px;
    height: 100px;
    transition: fill 0.3s ease;
}

i:hover,
svg:hover {
    color: #7320d1;

}

.midias {
    display: flex;
    align-items: center;
    gap: 30px;
    padding: 30px 60px;
    box-shadow: 0 0 10px 0 #3e00842f;
    justify-content: center;
    background-color: transparent;

}

.left {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 30px;
    border-right: 1px solid var(--cor-primaria);

}

.right {
    display: flex;
    flex-direction: column;
    padding: 30px;
    width: 60%;
}

.midias img {
    width: 100px;
    height: 100px;
}

.midias h1 {
    color: var(--cor-primaria);
    font-size: 18px;
}


.footer {
    background-color: #2b0063;
    /* Cor de fundo */
    color: var(--cor-branca);
    /* Cor do texto */
    padding: 20px 0;
    text-align: center;
}

.footer-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.footer-logo h2 {
    font-size: 24px;
    font-weight: bold;
    margin: 0;
}

.footer-links {
    display: flex;
    gap: 20px;
}

.footer-links a {
    text-decoration: none;
    color: #ffffff;
    font-weight: 500;
}

.footer-links a:hover {
    color: #ffd700;
    /* Cor de destaque ao passar o mouse */
}

.footer-social {
    display: flex;
    gap: 15px;
}

.footer-social a {
    color: #ffffff;
    font-size: 20px;
    text-decoration: none;
}

.footer-social a:hover {
    color: #ffd700;
    /* Cor de destaque ao passar o mouse */
}

.footer-bottom {
    margin-top: 20px;
    font-size: 14px;
    color: #ddd;
}

.footer-bottom p {
    margin: 0;
}

.btn-voltar {
    display: flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, #7b1fa2, #ba68c8);
    color: white;
    font-size: 15px;
    font-weight: bold;
    padding: 10px 25px;
    border-radius: 50px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-voltar:hover {
    background: linear-gradient(135deg, #6a1b9a, #9c27b0);
    transform: scale(1.05);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
}

.btn-voltar svg {
    width: 20px;
    height: 20px;
    fill: white;
}

@media(max-width:500px){
    .book-image{
        width: 200px;
        height: 200px;
        margin-top: 15px;

    }
    .book-info{
        
        padding: 5px;
    }
    .text-container{
        padding: 20px;
        width: 375px;
        font-size: 18px;

    }
}
@media(max-width:400px){
    content{
        padding: 0 50px;
    }
    header h1{
        font-size: 28px;
    }
    .content{
        border-radius: 0;
    }
    .book-image{
        width: 180px;
        height: 180px;
        margin-top: 15px;

    }
    .text-container{
        padding: 0px 20px;
        width: 100%;
        font-size: 14px;

    }
}
