body { box-shadow: none !important; background-color: #89978C !important; }

.playball-regular {
    font-family: "Playball", cursive;
    font-weight: 400;
    font-style: normal;
    color: #334047;
    font-size: 40px;
    margin-bottom: 25px;
    text-shadow: 1px 1px #afafaf;
    line-height: 35px;
}

.desktop-layout {
    width: 100%; 
    height: 100%;
    margin: 0;
    padding: 0;
    overflow: hidden;
}  

.mobile-layout {
    width: 100%; 
    background-size: contain;
    background-position: top;
    background-repeat: no-repeat;
    background-image: url('/imagens/fundo_topo_mobile-2.png'); 
    background-color: #96a296 !important;
}

.linkcontato, .linkcontato:visited { 
    color: #000; text-decoration: none;
}

.linkcontato:hover { 
    color: #105a97; text-decoration: none;
}

.responsive-video { 
    margin-top: 28vh;
    margin-right: 30px;
    position: relative; 
    padding-bottom: 56.25%;   
    padding-top: 25px; 
    height: 0; 
}

.responsive-video iframe { 
    position: absolute; 
    top: 0; 
    left: 0;
    width: 100%; 
    height: 100%; 
}

.resp-video-box-mob {
    border: 0px solid red;
}

.responsive-video-mob {
    position: relative; 
    padding-bottom: 56.25%;   
    padding-top: 25px; 
    height: 0; 
    margin-bottom: 30px;
}

.responsive-video-mob iframe { 
    position: absolute; 
    top: 0; 
    left: 0;
    width: 100%; 
    height: 100%; 
}

/* mobile */
@media  screen and (max-width: 999px) {
    .desktop-layout {
        display: none;
    }

    .mobile-layout {
        display: block;
    }  

    .offcanvas {
        width: 300px !important;
    }

    .mobile-container {
        margin-top: 42vw;
        padding: 0px 30px 30px 30px;
        max-width: 478px;
    }

    .mob-menu { color: #fff !important; }

    .mobile-rodape {
        background-color: #784B1D;
        border-radius: 10px;
        color: #fff;
        padding: 15px;
        margin-top: 45px;
    }

    .contato {
        display: flex;
        flex-direction: column;
        gap: 2px;
        font-size: 14px;
        margin-top: 15px;
    }

    .linha {
        display: flex;
        align-items: center;
    }

    .linha svg {
        width: 16px;
        height: 16px;
        margin-right: 10px;
        flex-shrink: 0;
    }

    .whatsapp svg {
        fill: #ffffff;
    }

    .email svg {
        fill: none;
        stroke: #ffffff;
        stroke-width: 2;
    }     
    
    .mobile-linha-br {
        width: 50%;
        margin: 0px auto;
        height: 2px;
        border-radius: 20px;
        border: 2px solid #a7b6a7;
        margin-top: 22px;
    }

    /* livros */
    .livros-flex-container {
        /* display: flex;
        flex-wrap: wrap;    */
        flex-flow: row wrap;
        display: flex;
        justify-content:last baseline;
        align-items:flex-start;
        border: 0px solid red;    
    }

    .livros-flex-item {
        width: 100%;
        max-width: 200px;
        margin: 0px 5px 15px 0px;
        line-height: 25px;
        font-size: 13px;       
        border: 0px solid blue; 
    }

    .livros-flex-item > a > img {
        border: 3px solid #919191;
        width: 100%;
        max-width: 190px; 
        margin: 15px 0px 4px 0px;
        border-radius: 7px; 
    }    
}

/* desktop */
@media screen and (min-width: 1000px) {

    .desktop-layout {
        display: block;
    }

    .mobile-layout {
        display: none;
    }        

    .img-fundo-desktop {
        background-size: cover;
        background-position:right;
    }
    #box-esquerdo {
        width: 60%; 
        height: 100vh; float: left; z-index: 1;
        background-size: cover;
        background-position:right;
        background-image: url('/imagens/fundo-rasgado-2.png'); 
    }   
    
    #logo-home-pc {
        width: 40vw; height: 30vh;   
        z-index: 15; position: absolute; left: 4vw; top: 5vh;
        background-size:contain;
        background-repeat: no-repeat;
        background-position: center;            
        background-image: url('/imagens/logo-palavra-poeta.png'); 
    }   
    
    #conteudo-pagina {
        width: 35vw;
        height: 50vh;
        overflow-x:hidden;
        overflow-y: auto;
        z-index: 16; position: absolute; left: 4vw; top: 40vh;
        text-align: left;
        padding: 10px;
        scrollbar-width: thin;
        scrollbar-color: #9D9E9C #747773;
        line-height: 28px;
    }

    #menup-pc {
        z-index: 10; width: 100%; 
        position: absolute; 
        padding-right: 20px;
    }

    #box-direito {
        width: 40%; 
        height: 100vh; float: right; z-index: 1;
    }

    #box-rodape {
        position: fixed;
        bottom: 0;
        left: 0;
        width: 100%;
        color: white;
        text-align: center;
        padding: 10px;
        z-index: 20; 
    }

    
    /* menu pc */
    ul.menup {
        list-style: none;
        margin: 0;
        padding: 8px;
        display: flex;
        float: right;
    }

    ul.menup > li {
        position: relative;
    }

    ul.menup > li > a {
        display: block;
        padding: 7px 15px;
        margin-right: 12px;
        color: white;
        font-size: 0.8rem;
        text-decoration: none;
        transition: background 0.3s;
    }

    /* Background image on hover */
    ul.menup > li:hover > a {
        background: linear-gradient(to right, #0c81a5, #29343c);
        border-radius: 5px;
    }

    .urbanist-400 {
        font-family: "Urbanist", sans-serif;
        font-optical-sizing: auto;
        font-weight: 400;
        font-style: normal;
    }    
    
    .nav-link:focus, .nav-link:hover {
        color: #fff !important;
    }

    /* livros */
    .livros-flex-container {
        display: flex;
        flex-wrap: wrap;        
    }

    .livros-flex-item {
        width: 140px;
        margin: 0px 15px 15px 0px;
        line-height: 25px;
        font-size: 13px;        
    }

    .livros-flex-item > a > img {
        border: 3px solid #919191;
        max-width: 120px; 
        margin: 15px 0px 4px 0px;
        border-radius: 7px; 
    }

    /* rodape */
    #box-rodape {
        padding-left: 10vw;
    }
    .box-rodape-frase {
        color: #523305;
        font-weight: 500;
        font-size: 12px;
        padding-top: 5px;
        text-shadow: none;
        float:left;
        margin-left: 30px;
    }
    .box-rodape-rede {
        width: 30px;
        height: 25px;
        float:left;
    }
    .box-rodape-rede > a > img {
        width: 20px;
    }

}

@media screen and (min-width: 1300px) {
    #conteudo-pagina { width: 39vw; }
}

/* mobile */
@media screen and (max-width: 491px) {
    .livros-flex-item {
        max-width: 40vw;
    }
    .livros-flex-item > a > img {
        max-width: 39vw;
    }
}

@media screen and (max-width: 360px) {
    .livros-flex-item {
        max-width: 38vw;
    }
    .livros-flex-item > a > img {
        max-width: 37vw;
    }
}