@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');
@import url('https://fonts.googleapis.com/css2?family=Kode+Mono:wght@400..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);
    
}
/* marca texto */
#amarelo {
    background: #f4cf546e;
}
#verde {
    background: #6cc95956;
}
#azul {
    background: #13dadd44;
}
#verm {
    background: #ff000d23;
}
#under-ama {
    text-decoration: underline #fcc40f;
}
#under-verd {
    text-decoration: underline var(--verde);
}
#under-azu {
    text-decoration: underline var(--azul);
}
#under-verm {
    text-decoration: underline var(--verm);
}
#verm-color {
    color: var(--verm);
}
#ama-color {
    color: var(--amarelo);
}
#azu-color {
    color: var(--azul);
}
body {
    font-family: "Space Grotesk", sans-serif;
    font-weight: 900;
    color: var(--preto);
    margin: 0px;
    background-color: #e1f7dd;
}

/* barra de navegação, logo */
.logo-alinhamento {
    display: flex;

}
.logo-code {
    width: 65px;
    height: 60px;
    padding-right: 10px;
    padding-left: 0px;
}
header {
    background-color: var(--preto);
    display: flex;
    align-items: center;
    padding: 10px 20px;
    height: 70px;
    width: auto;
    font-family: "Space Grotesk", sans-serif;
}

.card {
    width: auto;
    height: 100%;
    background: #f8f8f8;
    margin: 0px 100px;
    padding: 60px 150px;
    border: 1px solid var(--roxo1);
}

h1 {
    margin: 20px;
    font-size: 20px;
    color: #f7737a;;
    font-style: italic;
    font-weight: 500;
  
    font-family: "Kode Mono", monospace;
    font-size: 40px;
    text-align: center;
    background-color: var(--verm);
    border-radius: 5px;
    border: 1px solid var(--preto);
    font-weight: 500;
    color: var(--cinza);
    padding: 5px;
    margin: 90px;
    margin-bottom: 0px;
    margin-right: 150px;
    margin-left: 150px;
}
.card h2 {
    font-size: 25px;
    font-weight: 500;
    text-indent: 50px;
}
.card {
    background-color: var(--cinza);
    border-radius: 5px;
    border: 1px solid var(--preto);
    font-weight: 500;
    font-size: 21px;
    color: var(--preto);
    padding: 20px;
    padding-right: 50px;
    padding-left: 50px;
    margin: 90px;
    margin-top: 20px;
    margin-bottom: 30px;
    margin-right: 150px;
    margin-left: 150px;
    text-indent: 50px;
    line-height: 1.4;
}
img {
    width:30%;
    height: auto;
    object-fit: contain;
    padding: 40px;
}
#alinhar, #alinhar-e{
    display: flex;
}
.title-card {
    font-size: 40px;
    padding-right: 5px;
    font-family: "Kode Mono", monospace;
}

.polaroid-D {
    background-color: white;
    padding: 15px;
    padding-bottom: 70px;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
    height: fit-content;
    margin: 40px;
    margin-left: 100px;
    margin-right: 0px;
    margin-top: 70px;
    transform: rotate(-5deg);
}
.polaroid-E {
    background-color: white;
    padding: 15px;
    padding-bottom: 70px;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
    height: fit-content;
    margin: 40px;
    margin-left: 0px;
    margin-right: 100px;
    margin-top: 70px;
    transform: rotate(5deg);
}

#computador {
    width: 25%;
}
#direita-text {
    margin-left: 0px;
}
#esquerda-text {
    margin-right: 0px;
}
#curiosidade {
    background-color: #ebebeb;
    padding: 15px;
    border-radius: 5px;
}
h4{
    margin-bottom: 0px;
}
#text-fixed {
    margin-top: 12px;
}

/* botão */
.botao {
    display: flex;
    justify-content: center;
    margin-top: 60px;
    margin-bottom: 30px;
  }
  .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, h1 {
        padding: 20px;
        width: 85%;
        margin: auto;
    }
    h1 {
        margin-top: 10px;
        margin-bottom: 10px;
    }
    .card h2{
        font-size: 17px;
    }
    #alinhar {
        flex-direction: column;
    }
    #alinhar-e {
        flex-direction: column-reverse;
    }
    .polaroid-E, .polaroid-D {
        padding: 10px;
        padding-bottom: 60px;
        margin: -20px;
        margin: auto;
        height: auto;
    }
    .polaroid-D {
    transform: rotate(-5deg);
    }
    #computador {
        width: 400px;
    }
    #esquerda-text, #direita-text {
        font-size: 20px;
        width: 85%;
        margin: auto;
    }
    .card-code2 {
        margin: auto;
        width: 100%;
        padding: 0px;
    }
    .logo-code {
        width: auto;
        height: 50px;
    }
    
    header {
        height: 45px;
    }

  }
