@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;0,700;1,300;1,400;1,500;1,600;1,700&family=PT+Serif:ital,wght@0,400;0,700;1,400;1,700&family=Space+Grotesk:wght@300..700&display=swap');


/* body, config padrão */
/* Cormorant e Space Grotesk */
:root {
    --cinza: #fcf8f8;
    --amarelo: #d4af37;
    --verde: #6CC959;
    --azul: #26daf1;
    /* 5733F5  40ce8c  EEEDF2 */
    --verm: #f54f57;
    --preto: #22252A;
    /* 1C1C1C */
    --roxo1: rgb(73, 70, 92);

}

body {
    font-family: "PT Serif", sans-serif;
    font-weight: 900;
    color: var(--preto);
    margin: 0px;
    background-color: white;
}

/* marca texto */
#amarelo {
    background: #f4cf546e;
}

#verde {
    background: #6cc95956;
}

#azul {
    background: #13dadd59;
}

#verm {
    background: #ff000d23;
}

#underli {
    text-decoration: underline;
}

a {
    color: var(--verm, );
    font-size: 20px;
    text-decoration: none;
    font-family: "Space Grotesk";
    display: inline;
    width: 150px;
    box-shadow: inset 0 0 0 0 var(--azul);
    overflow: visible;
    -webkit-transition: all ease 0.5s;
    -moz-transition: all ease 0.5s;
    transition: all ease 0.5s;
}

a:hover {
    background: var(--azul);
    color: var(--preto);
    font-weight: 900;
    box-shadow: inset 0 50px 0 0 var(--azul);
    color: black;
}

/* barra de navegação, logo */
.logo-alinhamento {
    display: flex;

}

.logo-code {
    width: 65px;
    height: 60px;
    padding-right: 10px;
}

header {
    background-color: var(--preto);
    display: flex;
    align-items: center;
    padding: 10px 20px;
    height: 70px;
    font-family: "Space Grotesk", sans-serif;
}

/*menu*/


/* começo do site */
.imagem {
    background: linear-gradient(to left, var(--azul), #dda743, var(--verm));
    height: 380px;
}

.texto-sobre {
    font-family: "Space Grotesk", sans-serif;
    font-size: 25px;
    text-align: center;
    padding: 20px;
    height: 200px;
    width: 550px;

    color: var(--cinza);
    background-color: #22252A;
    display: grid;
    /* Define o contêiner como um grid */
    place-items: center;
    border-radius: 30px;
    margin: 0 auto;

    position: relative;
    top: 68px;
}

#print {
    color: var(--verm);
}

#parenteses {
    color: var(--verde);
}

#aspas {
    color: var(--amarelo)
}


/*conteudo, section-2*/
.container {
    display: flex;
    /* Define um contêiner flexível */
}

.box-conteudo-1,
.box-conteudo-2 {
    height: 350px;
    /* Define a altura das caixas */
    background-color: var(--cinza);
    color: var(--marrom);
    padding: 80px;
    flex: 1;
}

.box-conteudo-2 {
    background-image: url('https://www.lightsregionalinnovation.com/wp-content/uploads/2021/03/704318ee9be94acabf28919a734951b8-scaled.jpg');
    background-position: 15% 62%;
    background-size: 150%;
}

.box-conteudo-1 h1 {
    font-size: 70px;
    font-weight: 900;
    margin: 40px;
    margin-top: 0px;
    font-family: "Cormorant Garamond";
}

.box-conteudo-1 h2 {
    font-size: 33px;
    font-family: "PT Serif";
    font-weight: 400;
}

.box-conteudo-1 p {
    font-size: 23px;
    font-family: "PT Serif";
    font-weight: 400;
}

.pergunta {
    display: flex;
}

.pergunta img {
    width: 15%;
    height: 100%;
    margin: 80px;
    margin-left: 100px;
    margin-right: 0px;
}

#definicao {
    text-decoration: underline;
    font-size: 30px;
}

#definicao-resp {
    font-style: italic;
    font-size: 27px;
}

.balao {
    background: #24233b;
    color: #fcf8f8;
    padding: 50px;
    border-radius: 30px;
    margin: 100px;
    margin-top: 120px;
    font-family: "Space Grotesk";
    font-size: 30px;
    font-weight: 400;
    width: 100%;
    height: 100%;
    position: relative;

}

.balao:before {
    content: '';
    position: absolute;
    width: 60px;
    height: 60px;
    left: -10px;
    background: #24233b;
    -webkit-transform: rotate(45deg);
}

#explore {
    font-size: 25px;
    font-style: italic;
    font-weight: 200;
    color: var(--amarelo);
}



/* botão */
.botao {
    display: flex;
    justify-content: center;
    margin-top: 5%;
    margin-bottom: 5%;
}

.btn {
    display: block;
    padding: 0.7em 1em;
    background: transparent;
    outline: none;
    border: 0;
    color: #d4af37;
    letter-spacing: 0.1em;
    font-family: monospace;
    font-size: 17px;
    font-weight: bold;
    cursor: pointer;
    z-index: 1;
}

.cube {
    position: relative;
    margin: 0;
    transition: all 0.5s;
}

.cube .bg-top {
    position: absolute;
    height: 10px;
    background: #d4af37;
    bottom: 100%;
    left: 5px;
    right: -5px;
    transform: skew(-45deg, 0);
    margin: 0;
    transition: all 0.4s;
}

.cube .bg-top .bg-inner {
    bottom: 0;
}

.cube .bg {
    position: absolute;
    left: 0;
    bottom: 0;
    top: 0;
    right: 0;
    background: #d4af37;
    transition: all 0.4s;
}

.cube .bg-right {
    position: absolute;
    background: #d4af37;
    top: -5px;
    z-index: 0;
    bottom: 5px;
    width: 10px;
    left: 100%;
    transform: skew(0, -45deg);
    transition: all 0.4s;
}

.cube .bg-right .bg-inner {
    left: 0;
}

.cube .bg-inner {
    background: var(--preto);
    position: absolute;
    left: 2px;
    right: 2px;
    top: 2px;
    bottom: 2px;
}

.cube .text {
    position: relative;
    transition: all 0.4s;
}

.cube:hover .bg-inner {
    background: #d4af37;
    transition: all 0.4s;
}

.cube:hover .text {
    color: var(--preto);
    transition: all 0.4s;
}

.cube:hover .bg-right,
.cube:hover .bg,
.cube:hover .bg-top {
    background: var(--preto);
}

.cube:active {
    z-index: 9999;
    animation: bounce 0.1s linear;
}

@keyframes bounce {
    50% {
        transform: scale(0.9);
    }
}

@media screen and (max-width: 1020px) {
    .card-code2 {
        margin: auto;
        width: 100%;
        padding: 0px;
    }
    .logo-code {
        width: auto;
        height: 50px;
    }
    
    header {
        height: 45px;
    }

    .texto-sobre {
        width: 80%;
        height: 40%;
        font-size: 100%;
        padding-top: 12px;
        padding-bottom: 12px;
    }

    .imagem {
        height: 270px;
    }

    .container {
        flex-direction: column;
    }

    .box-conteudo-1 {
        padding: 25px;
    }

    .box-conteudo-1 h1 {
        font-size: 50px;
        text-align: center;
    }

    #definicao-resp {
        font-size: 23px;
    }

    .pergunta {
        flex-direction: column;
    }
    .pergunta p {
        font-size: 20px;
    }

    .pergunta img {
        width: 30%;
        margin: 0px;
        position: relative;
        top: -30px;
    }
    #explore {
        font-size: 15px;
    }

    .balao{
        margin: auto;
        margin-bottom: 30px;
        padding: 20px;
        width: 85%;
    }

    .balao:before {
        width: 30px;
        height: 30px;
        left: 40px;
        top: -10px;
    }
}
