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

footer {
    width: 100%;
    height: 3vh;
    color: #fff;
    background-color: #071e3c;
    padding-left: 2rem;
}

body {
    height: auto;
    background-color: #071e3c;
}

@font-face {
    font-family: Belleza;
    src: url(./fonts/Belleza/Belleza-Regular.ttf);
}

.links_area { display: none;}

#menu{
    display: block;
}

.main-container {
    width: 100%;
    height: auto;
    background-color: #071e3c;
    color: #fff;
    padding: 1rem;
    font-family: Belleza, Arial, Helvetica, sans-serif;
}

#menu_icon {
    width: 40px;
}

.cabecalho {
    margin-bottom: 40px;
    height: 10%;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

.principal {
    display: flex;
    align-items: center;
    margin-bottom: 4px;
    height: 60%;

}

.rodape {
    height: 30%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    margin-top: 40px;
}

#title {
    border-left: 4px solid #fecf07;
    padding-left: 6px;
}

#botao_comprar {
    border: 1px solid white;
    background-color: #0e4da1;
    font-weight: 700;
    color: white;
    padding: 8px 16px;
    border-radius: 8px;
    margin-top: 30px;
}

#botao_comprar:hover {
    cursor: pointer;
    background-color: #fecf07;
    color: #071e3c;
}

#imagem_livraria {
    width: 140px;
    margin-top: 30px;
}

/* CARROSSEL CSS */

.container {
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: auto;
    gap: 10px;

    >div {
        flex: 0 0 70px;
        border-radius: 0.5rem;
        transition: 0.5s ease-in-out;
        cursor: pointer;
        box-shadow: 1px 5px 15px #1e0e3e;
        position: relative;
        overflow: hidden;

        &:nth-of-type(1) {
            background: url("./images/Casamentoemversos.jpg") no-repeat 50% / cover;
        }

        &:nth-of-type(2) {
            background: url("./images/adoecontextualizandoSalmos.jpg") no-repeat 50% / cover;
        }

        &:nth-of-type(3) {
            background: url("./images/Enfimnos.jpg") no-repeat 50% / cover;
        }

        &:nth-of-type(4) {
            background: url("./images/Diretoaoponto.jpg") no-repeat 50% / cover;
        }

        &:nth-of-type(5) {
            background: url("./images/Discipuladoparacasais.jpg") no-repeat 50% / cover;
        }

        &:nth-of-type(6) {
            background: url("./images/Discipuladotransformador.jpg") no-repeat 50% / cover;
        }

        &:nth-of-type(7) {
            background: url("./images/LivrodeRute_.jpg") no-repeat 50% / cover;
        }

        .content {
            font-size: 1.5rem;
            color: #fff;
            display: flex;
            align-items: center;
            padding: 15px;
            opacity: 0;
            flex-direction: column;
            height: 100%;
            justify-content: flex-end;
            background: rgb(2, 2, 46);
            background: linear-gradient(0deg,
                    rgba(2, 2, 46, 0.6755077030812324) 0%,
                    rgba(255, 255, 255, 0) 100%);
            transform: translatey(100%);
            transition: opacity 0.5s ease-in-out, transform 0.5s 0.2s;
            visibility: hidden;

            span {
                display: block;
                margin-top: 5px;
                font-size: 1.2rem;
            }
        }

        &:hover {
            flex: 0 0 250px;
            box-shadow: 1px 3px 15px #7645d8;
            transform: translatey(-30px);
        }

        &:hover .content {
            opacity: 1;
            transform: translatey(0%);
            visibility: visible;
        }
    }
}

/*DIALOGS*/

#construindo {
    display: none;
    position: absolute;
    width: 300px;
    top: 50%;
    left: 10%;
    border-radius: 8px;
    -webkit-box-shadow: 6px 6px 46px -1px rgba(194, 192, 194, 1);
    -moz-box-shadow: 6px 6px 46px -1px rgba(194, 192, 194, 1);
    box-shadow: 6px 6px 46px -1px rgba(194, 192, 194, 1);
}

#construindo img {
    width: 100%;
    border-radius: 8px;
}

.sidenav {
    height: 15vh;
    width: 0;
    position: fixed;
    z-index: 11;
    top: 0;
    left: 0;
    background-color: #111111e5;
    overflow-x: hidden;
    transition: 0.5s;
    padding-top: 20px;
    display: flex;
    align-items: center;
}

.sidenav a {
    padding: 16px;
    text-decoration: none;
    font-size: 1.5rem;
    color: #c7c6c6;
    display: block;
    transition: 0.3s;
}

.sidenav a:hover {
    color: #f1f1f1;
}

.sidenav .closebtn {
    position: absolute;
    top: 0;
    right: 8px;
    font-size: 36px;
    margin-left: 50px;
}


@media screen and (min-width: 950px) {

    a{
        text-decoration: none;
        color: #fff;
    }

    .links_area {
        display: block;
        flex-direction: inherit;
        align-items: inherit;
        position: inherit;
        top: inherit;
        left: inherit;
        font-size: 1.8rem;
        margin: 0 10px;
        text-wrap: wrap;
        width: 100%;
        text-align: center
    }

    .links_area span {
        margin: 5px 15px;
        width: inherit;
        background-color: transparent;
        border: inherit;
        border-radius: inherit;
        font-weight: 600;
        text-align: left;
        padding: 6px;
        cursor: pointer
    }

    .text_header span:hover {
        cursor: pointer
    }

    #menu{
        display: none;
    }

    .main-container {
        height: 97vh;

    }

    #construindo {
        top:50%;
        left:42%
    }

    .container {
        width: 100%;
        display: flex;
        flex-direction: row;
        justify-content: center;
        height: 330px;
        gap: 10px;

        >div {
            flex: 0 0 110px;
            border-radius: 0.5rem;
            transition: 0.5s ease-in-out;
            cursor: pointer;
            box-shadow: 1px 5px 15px #1e0e3e;
            position: relative;
            overflow: hidden;

            &:nth-of-type(1) {
                background: url("./images/Casamentoemversos.jpg") no-repeat 50% / cover;
            }

            &:nth-of-type(2) {
                background: url("./images/adoecontextualizandoSalmos.jpg") no-repeat 50% / cover;
            }

            &:nth-of-type(3) {
                background: url("./images/Enfimnos.jpg") no-repeat 50% / cover;
            }

            &:nth-of-type(4) {
                background: url("./images/Diretoaoponto.jpg") no-repeat 50% / cover;
            }

            &:nth-of-type(5) {
                background: url("./images/Discipuladoparacasais.jpg") no-repeat 50% / cover;
            }

            &:nth-of-type(6) {
                background: url("./images/Discipuladotransformador.jpg") no-repeat 50% / cover;
            }

            &:nth-of-type(7) {
                background: url("./images/LivrodeRute_.jpg") no-repeat 50% / cover;
            }

            .content {
                font-size: 1.5rem;
                color: #fff;
                display: flex;
                align-items: center;
                padding: 15px;
                opacity: 0;
                flex-direction: column;
                height: 100%;
                justify-content: flex-end;
                background: rgb(2, 2, 46);
                background: linear-gradient(0deg,
                        rgba(2, 2, 46, 0.6755077030812324) 0%,
                        rgba(255, 255, 255, 0) 100%);
                transform: translatey(100%);
                transition: opacity 0.5s ease-in-out, transform 0.5s 0.2s;
                visibility: hidden;

                span {
                    display: block;
                    margin-top: 5px;
                    font-size: 1.2rem;
                }
            }

            &:hover {
                flex: 0 0 250px;
                box-shadow: 1px 3px 15px #7645d8;
                transform: translatey(-30px);
            }

            &:hover .content {
                opacity: 1;
                transform: translatey(0%);
                visibility: visible;
            }
        }
    }

    .rodape {
        margin-top: 0;
    }


}