:root {
    --cor-de-fundo: #EBECEE;
    --cor-header: #171717;
    --cor-texto: #444444;
    --cor-button: #FF5B00;
    --cor-card: #005061;
}

body {
    background-color: var(--cor-de-fundo);
}

.cabecalho {
    padding: 10px 0;
    width: 100%;
    background-color: var(--cor-header);
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

.container {
    display: flex;
    align-items: center;
    padding-left: 1rem;
}

.img__books {
    width: 24px;
    height: 24px;
    display: flex;
    padding-right: 1rem;
}

.img__books__fav {
    width: 24px;
    height: 24px;
    display: flex;
    padding-right: 1rem;
    justify-content: space-between;
}

.img__logo {
    width: 24px;
    height: 24px;
}

.cabecalho__menu {
    width: 24px;
    height: 24px;
    background-image: url('menu.png');
    display: inline-block;
}

.lista__menu {
    display: none;
    position: absolute;
    top: 68%;
    width: 30vh;
    margin-left: -20px;
}

.container__botao:checked~.lista__menu {
    display: block;
}

.lista__titulo,
.lista__item {
    padding: 1em;
    background-color: var(--cor-header);
    list-style-type: none;
}

.lista__titulo {
    color: darkcyan;
    font-weight: 800;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.lista__link {
    color: var(--cor-de-fundo);
    text-transform: uppercase;
    font-weight: 300;
    font-size: 1rem;
    text-decoration: none;
}

.container__botao {
    display: none;
}

.banner {
    padding: 2.5em 2em;
    text-align: center;
    background: rgb(23, 23, 23);
    background: linear-gradient(180deg, rgba(23, 23, 23, 1) 0%, rgba(23, 23, 23, 1) 28%, rgba(0, 80, 97, 1) 100%);
    color: var(--cor-de-fundo);
}

.banner__titulo {
    font-size: 18px;
    font-weight: 500;
}

.banner__texto {
    font-size: 16px;
    font-weight: 300;
    margin: 1em 0;
}

.banner__pesquisa {
    padding: 1em;
    background-color: transparent;
    border: 1px solid var(--cor-de-fundo);
    border-radius: 24px;
    color: var(--cor-de-fundo);
    height: 40px;
    width: 100%;
}

.banner__pesquisa::placeholder {
    font-weight: 300;
    font-size: 14px;
    text-align: center;
    color: var(--cor-de-fundo);
    background-image: url('search.png');
    background-repeat: no-repeat;
    background-position: 2em;

}

.carrossel__titulo {
    color: var(--cor-button);
    background-color: var(--cor-de-fundo);
    text-align: center;
    text-transform: uppercase;
    font-size: 18px;
    font-weight: 700;
    padding: 1em 0 0.5em 0;
}

.swiper-slide img {
    width: 100%;
}

.swiper-pagination {
    position: initial;
    margin: 0.5em 0;
}

.swiper-pagination-bullet-active {
    background-color: var(--cor-button);
}

.swiper-button-prev, .swiper-button-next{
    display: none;
}

.card {
    background-color: var(--cor-card);
    box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
    border-radius: 10px;
    margin: 1em;
    padding: 1em;
}

.descricao__titulo {
    color: var(--cor-button);
    font-weight: 700;
}

.card__descricao {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.5em;
}

.descricao__nome {
    color: var(--cor-de-fundo);
    padding-top: 10px;
    font-size: 20px;
    font-weight: 700;
    text-transform: uppercase;
}

.descricao__livro {
    color: var(--cor-de-fundo);
    font-size: 14px;
    font-weight: 300;
    margin: 0.5rem 0;
}

.descricao__img {
    width: 200px;
    height: 200px;
}

.card__botoes {
    display: flex;
    justify-content: space-between;
}

.botoes {
    display: flex;
}

.botoes__item {
    width: 24px;
    height: 24px;
    display: flex;
    padding-right: 1rem;
    justify-content: space-between;
}

.botoes__a {
    background-color: var(--cor-button);
    padding: 1em 1.8em;
    border-radius: 10px;
    color: var(--cor-de-fundo);
    font-weight: 700;
    text-decoration: none;
}

.topicos {
    background-color: var(--cor-header);
    text-align: center;
    padding: 1em 0;
}

.topicos__titulo {
    color: var(--cor-de-fundo);
    font-weight: 500;
    font-size: 16px;
}

.topicos__lista {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.topicos__item {
    margin: 1.5em 0.2em;
    list-style: none;
}

.topicos__link {
    color: var(--cor-de-fundo);
    padding: 1em;
    background-color: var(--cor-button);
    border-radius: 5px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 700;
}

.contato {
    background-color: var(--cor-de-fundo);
    padding: 1em;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.contato__titulo {
    color: var(--cor-header);
    font-size: 18px;
    font-weight: 500;
}

.contato__texto {
    color: var(--cor-header);
    font-weight: 300;
}

.contato__email {
    padding: 0.5em;
    background-color: transparent;
    border: 1px solid var(--cor-header);
    border-radius: 24px;
    width: 90%;
}

.contato__email::placeholder {
    font-weight: 300;
    font-size: 14px;
    text-align: center;
    color: var(--cor-header);
    background-image: url('envelope.png');
    background-repeat: no-repeat;
    background-position: 2em;
}

hr {
    margin: 0;
}

.rodape {
    background-color: var(--cor-de-fundo);
    padding: 1em;
}

.rodape__titulo {
    font-size: 16px;
    font-weight: 700;
}

.container__titulo{
    display: none;
}

.opcoes, .opcoes__item, .opcoes__link{
    display: none;
}

.contato__texto {
    display: none;
}

@media screen and (min-width: 810px) {

       .container__titulo {
        margin-left: -40%;
        font-family: 'Berkshire Swash', cursive;
        font-size: 40px;
        color: var(--cor-de-fundo);
        display: block;
    }

    .img__logo {
        display: none;
    }

    .opcoes {
        display: flex;
    }

    .opcoes__item {
        padding: 0 1em;
        text-transform: uppercase;
        list-style: none;
        color: var(--cor-de-fundo);
        display: block;
    }

    .opcoes__link {
        text-decoration: none;
        color: var(--cor-de-fundo);
        display: block;
    }

    .img__books__fav{
        display: none;
    }

    .cabecalho__menu {
        display: none;
    }

    .opcoes__botao:checked~.lista__menu {
        display: block;
        width: auto;
    }

    .opcoes__botao {
        display: none;
    }

    .banner {
        padding: 4em 2em;
        text-align: center;
        background: rgb(23, 23, 23);
        background: linear-gradient(180deg, rgba(23, 23, 23, 1) 0%, rgba(23, 23, 23, 1) 28%, rgba(0, 80, 97, 1) 100%);
        color: var(--cor-de-fundo);
    }

    .banner__titulo {
        font-size: 36px;
        font-weight: 500;
    }
    
    .banner__texto {
        font-size: 20px;
        font-weight: 300;
        margin: 1em 0;
    }
    
    .banner__pesquisa {
        padding: 1em;
        background-color: transparent;
        border: 1px solid var(--cor-de-fundo);
        border-radius: 24px;
        color: var(--cor-de-fundo);
        height: 40px;
        width: 50%;
    }
    
    .banner__pesquisa::placeholder {
        font-weight: 300;
        font-size: 14px;
        text-align: center;
        color: var(--cor-de-fundo);
        background-image: url('search.png');
        background-repeat: no-repeat;
        background-position: 2em;
    }

    .carrossel__titulo {
        color: var(--cor-button);
        background-color: var(--cor-de-fundo);
        text-align: center;
        text-transform: uppercase;
        font-size: 26px;
        font-weight: 700;
        padding: 1em 0 0.5em 0;
    }
    
    .swiper {
        width: 60%;
    }
    
    .swiper-pagination {
        margin: 2em 0 3em 0;
    }

    .swiper-button-prev, .swiper-button-next{
        display: block;
        top: 60%;
        color: var(--cor-button);
    }

    .card {
        width: 40%;
        margin: 2em auto;
    }

    .topicos__titulo {
        font-size: 24px;
    }

    .topicos__link {
        font-size: 20px;
    }

    .contato {
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .contato__texto {
        padding: 1em;
    }

    .contato__email {
        width: 30%;
    }
}

@media screen and (min-width: 1420px){

    .container__titulo {
        margin-left: 10%;
        font-family: 'Berkshire Swash', cursive;
        font-size: 40px;
        color: var(--cor-de-fundo);
        display: block;
    }

    .container__link {
        display: flex;
        align-items: center;
        text-decoration: none;
        color: var(--cor-de-fundo);
        padding-right: 2em;
    }
    .contato__texto {
        display: block;
    }

    .opcoes {
        margin-right: auto;
        padding-left: 30px;
    }

    .banner__pesquisa {
        padding: 1em;
        background-color: transparent;
        border: 1px solid var(--cor-de-fundo);
        border-radius: 24px;
        color: var(--cor-de-fundo);
        height: 40px;
        width: 30%;
    }
    
    .banner__pesquisa::placeholder {
        font-weight: 300;
        font-size: 14px;
        text-align: center;
        color: var(--cor-de-fundo);
        background-image: url('search.png');
        background-repeat: no-repeat;
        background-position: 2em;
    }

    .carrossel__container {
        display: flex;
        margin: 0 20vw 3em 20vw;
        align-items: center;
    }

    .swiper-pagination {
        margin: 1em 0;
    }

    .swiper {
        width: 50%;
    }

    .descricao__titulo {
        font-size: 16px;
    }
    
    .descricao__nome {
        font-size: 25px;
    }

    .descricao__livro {
        font-size: 16px;
    }

    .contato {
        padding: 2.2em 20vw;
    }
}