@import url(novelas-estilos.css);
li::selection,
h2::selection,
span::selection,
b::selection,
ins::selection,
p::selection{
    background: transparent;
    color: unset;
}

body{
    width: auto;
    aspect-ratio: 1/0.73;
    background: var(--img-background);
    background-size: contain!important;
    background-repeat: no-repeat!important;
    background-position: center!important;
    color: var(--cor-fonte);
    overflow: hidden;
    position: relative;
    margin: 0;
    font-size: 2.3vw;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: "Oswald", sans-serif;
    line-height: 3.4vw;
}

ins{
    text-decoration: none;
}

#playlist{
    display: none;
}

video{
    width: 110%;
    height: 110%;
    position: absolute;
    top: -5%;
    left: -5%;
    z-index: 99;
}

.diminuir{
    animation: diminuir;
    animation-duration: 2s;
    animation-fill-mode: forwards;
}

.wrap{
    width: 90%;
    height: 90%;
    display: flex;
    flex-wrap: wrap;
}

.tela-preta{
    background: black;
    width: 110%;
    height: 110%;
    position: absolute;
    top: -5%;
    left: -5%;
}

.inline{
    width: 100%;
    height: 65%;
    display: grid;
    grid-template-columns: 50% 50%;
}

.apresentacao{
    width: 86%;
    height: 82%;
    padding: 7%;
    display: flex;
    flex-wrap: wrap;
    overflow-y: scroll;
    border-top-left-radius: 60px;
}

.apresentacao::-webkit-scrollbar, .descrip::-webkit-scrollbar {
    width: 10px;
}

.apresentacao::-webkit-scrollbar-track, .descrip::-webkit-scrollbar-track {
    background-color: var(--cor--list-scrollbar);
    opacity: 1;
    background-image: var(--grad-bg-scrollbar);
    background-size: 7px 100%;
}

.apresentacao::-webkit-scrollbar-thumb, .descrip::-webkit-scrollbar-thumb {
    background-color: var(--cor-thumb-scrollbar);
    border-radius: 50px;
}

.abertura{
    width: 100%;
    height: 100%;
    display: flex;
    align-items: flex-end;
    justify-content: center;
}

.logo{
    width: 55%;
    aspect-ratio: 1/0.6;
    background: var(--img-logo);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.inline-apr{
    display: grid;
    width: 100%;
    grid-template-columns: 38.5% 58.5%;
    gap: 5%;
}

.capa{
    width: 100%;
    height: 100%;
    background: var(--img-capa);
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
}

.descricao{
    width: 100%;
    height: 100%;
}

.descricao span{
    display: block;
    width: 100%;
    margin: 3px;
}

.sinopse{
    width: 100%;
    height: fit-content;
    text-align: justify;
}

.options{
    width: 100%;
    height: 35%;
    display: grid;
    grid-template-columns: 33% 33% 33%;
}

.opt{
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
    justify-items: center;
    align-items: center;
    justify-content: space-evenly;
    width: 100%;
    height: 100%;
}

.opt:hover{
    color: var(--cor-fonte-over);
}

#enredo{
    background: var(--img-enredo-capa);
}

#personagens{
    background: var(--img-personagens-capa);
}

#extra{
    background: var(--img-extra-capa);
}

.opt-cpa {
    position: relative;
    height: 60%;
    width: 80%;
    display: block;
    background-repeat: no-repeat!important;
    background-size: cover!important;
    background-position: center!important;
    cursor: pointer;
}

.opt-cpa:hover{
    -webkit-box-shadow:0px 0px 22px 1px var(--cor-opt-glow);
    -moz-box-shadow: 0px 0px 22px 1px var(--cor-opt-glow);
    box-shadow: 0px 0px 22px 1px var(--cor-opt-glow);
}

.glowing::before{
    content: '';
    position: absolute;
    left: -4px;
    top: -4px;
    background: var(--grad-opt-borda);
    background-size: 400%;
    width: calc(100% + 7.5px);
    height: calc(100% + 7.5px);
    z-index: -1;
    animation: glower 20s linear infinite;
    }

    @keyframes glower {
    0% {
        background-position: 0 0;
    }
    
    50% {
        background-position: 400% 0;
    }
    
    100% {
        background-position: 0 0;
    }
}


.opt-dcp{
    width: 80%;
    height: 20%;
    text-align: center;
}

.grid-pg{
    width: 100%;
    height: 100%;
    display: grid;
    grid-template-columns: 70% 30%;
    grid-template-rows: auto;
    align-items: center;
    justify-content: center;
    justify-items: center;
}

.lado{
    width: 100%;
    min-height: 100%;
    max-height: 100%;
    display: grid;
    grid-template-rows: 25% 75%;
}

.options-pg{
    width: 100%;
    height: 70%;
    list-style: none;
    padding: 0;
    align-self: center;
}

.options-pg li{
    font-size: 2.3vw;
    text-align: center;
    padding: 10px 0;
    cursor: pointer;
    text-transform: uppercase;
}

.options-pg li:hover{
    color: var(--cor-fonte-over);
}

.opt-menu{
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    height: 60%;
    align-items: flex-start;
    align-content: center;
}

.v-menu{
    width: 80%;
    height: unset;
    aspect-ratio: 1/1;
    margin-bottom: 10%;
    background: var(--img-menu-capa);
}

.opt-menu:hover{
    color: var(--cor-fonte-over);
}

.titulo{
    width: 70%;
    aspect-ratio: 2/.5;
    background-size: cover!important;
    background-repeat: no-repeat!important;
    background-position: center!important;
    position: relative;
    top: -6%;
}

#enredo-pg .titulo{
    background: var(--img-enredo-titulo);
}

#personagens-pg .titulo{
    background: var(--img-personagens-titulo);
}

#extra-pg .titulo{
    background: var(--img-extra-titulo);
}

h2{
    font-size: 3.5vw;
    grid-column: span 3;
    margin: 0.7% 0;
    color: var(--cor-h2);
    text-transform: uppercase;
    font-weight: 400;
}

h3{
    font-size: 3vw;
}

.descrip{
    overflow-y: scroll;
    height: 100%;
    border-bottom-left-radius: 20%;
    padding: 0 5%;
    text-align: justify;
}

.descrip iframe{
    width: 100%;
    aspect-ratio: 16 / 9;
}

.descrip p{
    font-family: Arial, Helvetica, sans-serif;
    font-size: 2.3vw;
    font-weight: 300;
    overflow-wrap: break-word;
}

.descrip img{
    width: 50%;
    aspect-ratio: 2/1.5;
    object-fit: cover;
    float: left;
    margin: 0 5% 5% 0;
}

.descrip a{
    color: var(--cor-fonte);
}

.momento{
    width: 100%!important;
    margin: 10px 0!important;
}

.invisivel{
    display: none;
}

.selected{
    color: var(--cor-fonte-selected);
}

.bg-pages{
    background: var(--img-background-pages);
}

.diminuido{
    transform: scale(0.3); 
    top: -28%;
    left: 18%;
}

@keyframes diminuir {
    from {
        transform: scale(1);
        top: 0;
        left: 0;
    }
    to {
        transform: scale(0.3); 
        top: -28%;
        left: 18%;
    }
}