@charset "UTF-8";
@import url('https://fonts.googleapis.com/css2?family=Kalam:wght@300;400;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Cabin+Sketch:wght@400;700&display=swap');

@font-face {
    font-family: 'fonth2';
    src: url(../fontes/Games.ttf);
}

* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

:root {
    --link-color: #00f;
    --h2-color: yellow;
    --h3-color: rgb(0, 255, 0);
    --mark-color: #0ff;
    --lista-livros-color: #ccc;
    --lista-livros-color-hover: #ddd;
}

@media screen and (orientation:portrait) {
    ::-webkit-scrollbar {
        display: none;
    }

    h2 {
        font-size: 1.25em;
    }

    h3 {
        font-size: 1.15em;
    }
}

::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background-color: lightgray;
}

::-webkit-scrollbar-thumb {
    background-color: #555;
    border-radius: 50px;
}

html,
body {
    min-height: 100vh;
    max-width: 100vw;
}

html {
    -webkit-tap-highlight-color: transparent;
    scroll-behavior: smooth;
}

body {
    overflow-x: hidden;
    text-align: justify;
    font-family: 'Kalam', cursive;
}

body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    backdrop-filter: blur(10px);
    z-index: -1;
}

#conteudo {
    display: none;
}

#carregando {
    position: absolute;
    top: 50vh;
    left: 50vw;
    transform: translate(-50%, -50%);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: white;
    min-width: 200px;
    width: 25vw;
    height: 30vh;
    overflow: hidden;
}

#carregar {
    background-color: transparent;
    border-top: 10px solid transparent;
    border-bottom: 10px solid black;
    border-right: 10px solid black;
    border-left: 10px solid black;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    animation: preload .5s linear infinite;
}

#pcarregar {
    font-family: Arial, Helvetica, sans-serif;
    font-weight: bolder;
    background-color: white;
    color: black;
    margin: 0;
}

@keyframes preload {
    to {
        transform: rotate(360deg);
    }
}

#fundo-pretot {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 40;
    display: none;
}

a {
    text-decoration: none;
    color: var(--link-color);
}

a:hover {
    text-decoration: underline;
}

a:active {
    color: var(--link-color);
}

a:visited {
    color: var(--link-color);
}

header {
    background-image: transparent;
    backdrop-filter: none;
    box-shadow: none;
    padding: 0px 5px;
    position: sticky;
    top: 0;
    width: 100vw;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 45px;
    display: flex;
    align-items: center;
    z-index: 50;
    transition-duration: .5s;
}

header ul {
    position: relative;
}

header ul li {
    color: black;
    position: relative;
    list-style: none;
    float: left;
    margin: 0;
}

header ul li a,
header ul li a:visited,
header ul li a:active {
    color: #000;
    font-size: 1.1em;
    padding: 20px 15px;
    transition: transform .25s;
    text-decoration: none;
    display: flex;
    justify-content: space-between;
}

header ul li a:hover {
    transform: scale(1.05);
    background-color: rgb(0, 0, 0, .15);
    text-decoration: none;
}

header>nav>ul>li>a,
header.header-scroll>nav>ul>li>a {
    border-radius: 15px;
}

header.header-scroll ul li a:hover {
    backdrop-filter: brightness(.9);
    text-decoration: none;
}

#menu-div ul li:nth-child(1) {
    margin-top: 0px;
}

#h1-header {
    color: black;
    padding: 0;
    border-radius: none;
    background-color: transparent;
    font-family: 'Cabin Sketch', cursive;
    transition-duration: .5s;
    opacity: 0;
}

header.header-scroll #h1-header {
    opacity: 1;
}

header.header-scroll {
    backdrop-filter: blur(10px);
    box-shadow: 0px 5px 10px 0px rgba(0, 0, 0, .5);
    background-image: linear-gradient(135deg, var(--cor-header));
}

header.header-scroll nav ul li {
    background-image: linear-gradient(135deg, var(--cor-header));
}

header.header-scroll .img-livro {
    display: none !important;
}

#divImg {
    width: 100vw;
    height: 80vh;
    display: flex;
    justify-content: center;
    align-items: center;
    transition-duration: .5s;
}

.img-livro {
    width: 65vw;
    transition-duration: .5s;
}

.img-livro.img-scroll {
    opacity: 0;
}

header.header-scroll ~ #progresso-circle #btn-menu, header.header-scroll ~ #progresso-bar #btn-menu {
    background-image: linear-gradient(135deg, var(--cor-header));
    box-shadow: none;
}

#progresso-bar {
    position: absolute;
    top: 0;
    left: 0;
    height: 5px;
    max-width: 100vw;
    background-color: var(--cor-progresso);
    display: none;
}

#progresso-circle {
    width: 75px;
    height: 75px;
    display: flex;
    justify-content: center;
    align-items: center;
    position: fixed;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 50%;
    z-index: 9999;
}

#circular-chart {
    position: absolute;
    display: block;
    max-width: 75px;
    max-height: 75px;
}

#circle {
    fill: none;
    stroke: var(--cor-progresso);
    stroke-width: 3.8;
    stroke-dasharray: 0, 100;
}

#btn-menu {
    justify-content: center;
    align-items: center;
    background-color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    box-shadow: 5px 5px 10px 0px rgba(0, 0, 0, .5);
    cursor: pointer;
    transition: .5s;
    z-index: 2;
    display: none;
}

#btn-home {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    box-shadow: 5px 5px 10px 0px rgba(0, 0, 0, .5);
    cursor: pointer;
    transition: .5s;
    float: right;
    z-index: 2;
}

header.header-scroll #btn-home {
    transform: translateY(70px);
}

#btn-home {
    position: absolute;
    top: 10px;
    left: 10px;
    transform: translateY(0);
    display: flex;
    justify-content: center;
    align-items: center;
    left: 5px;
    right: 0;
    float: left;
    transition-duration: .1s;
}

#btn-home-cell {
    position: fixed;
    bottom: 10px;
    left: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    box-shadow: 5px 5px 10px 0px rgba(0, 0, 0, .5);
    cursor: pointer;
    transition: .5s;
    z-index: 2;
}

#btn-home a {
    color: black;
}

#btn-menu,
#btn-home-cell {
    display: none;
}

header.header-scroll #btn-menu,
header.header-scroll #btn-home-cell {
    background-color: transparent;
    box-shadow: none;
    border-radius: none;
}

@media screen and (max-width:1050px) {

    header ul li a:hover span,
    header ul li a:not(:hover) span,
    header ul li a:hover {
        transform: none;
    }

    #btn-menu {
        display: flex;
    }

    #btn-home {
        display: none;
    }

    #btn-home-cell {
        display: flex;
    }

    #menu-div {
        display: none;
    }

    header nav {
        position: absolute;
        width: 100vw;
        top: 0px;
        left: 0;
    }

    header.header-scroll nav {
        top: 45px;
    }

    header nav ul li {
        width: 100%;
        background-color: white;
    }

    header ul li a {
        padding: 10px 26px;
    }

    header ul li a:hover {
        padding: 10px 26px;
        backdrop-filter: brightness(1);
    }

    header.header-scroll #btn-menu,
    header.header-scroll #btn-home-cell {
        box-shadow: none !important;
    }
}

@media screen and (max-width:400px) {
    #h1-header {
        font-size: 1.5em;
    }
}

#btn-home:hover,
#btn-home-cell:hover {
    transform: scale(1.05);
}

nav ul li:nth-child(1) {
    margin-top: 20px;
}

#trecho {
    display: inline-block;
    padding: 10px;
    border-radius: 20px;
    margin: 0;
    position: relative;
    top: 0;
    left: 50%;
    transform: translate(-50%, 0);
    background-color: #eee;
}

h1, h2, h3, h4, h5, h6 {
    text-transform: capitalize;
}

h2 {
    text-shadow:
        -2px -2px 0px #000,
        -2px 2px 0px #000,
        2px -2px 0px #000,
        2px 2px 0px #000;
    text-align: center;
    margin: 40px 0px;
    color: var(--h2-color);
    font-size: 1.5em;
    font-family: 'fonth2', cursive;
    font-weight: bolder;
    text-transform: uppercase;
    font-style: italic;
}

h3 {
    display: inline-block;
    background-image: linear-gradient(to right, #f5f5f5, transparent);
    color: var(--h3-color);
    border-left: 2.5px solid var(--h3-color);
    margin: 10px 0px;
    padding: 0 0 0 10px;
}

h4 {
    display: inline-block;
    padding: 2px;
    color: #f00;
    border-bottom: 2px dashed #f00;
}

mark {
    background-color: transparent;
    font-weight: bolder;
    border: 2px solid var(--mark-color);
    box-shadow:
        inset 0px 0px 20px 0px var(--mark-color);
    padding: 0 5px;
}

main {
    width: 95vw;
    background-color: white;
    margin: 20px auto;
    border-radius: 25px;
    padding: 20px 30px;
    box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.5);
}

section {
    margin-bottom: 25px;
}

li {
    margin: 20px 0;
}

li::marker {
    font-size: 15px;
    color: rgb(119, 119, 119);
}

p {
    margin: 20px 0px;
}

.down-link {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

.down-icon {
    background-color: white;
    color: var(--link-color);
    width: 50px;
    height: 50px;
    border-radius: 5px;
    box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition-duration: .5s;
}

.down-icon:hover {
    transform: scale(1.05);
}

.down-icon:hover~a {
    text-decoration: underline;
}

footer {
    padding: 30px 0 100px 0;
    background-color: transparent;
    display: flex;
    justify-content: center;
    align-items: center;
}

#logodiv {
    padding: 20px;
    border-radius: 30px;
    background-color: white;
    box-shadow: 5px 5px 10px 0px rgba(0, 0, 0, 0.5);
    transition-duration: .5s;
    animation: animaLogo 1s linear infinite;
    transform: scale(1);
    cursor: pointer;
}

#logo {
    background-color: transparent;
    max-width: 150px;
    border-radius: 20px;
    transition-duration: .5s;
}

#logodiv:hover {
    transform: scale(1.1);
}