@import url('https://fonts.googleapis.com/css2?family=Merienda:wght@300..900&family=Quicksand:wght@300..700&display=swap');


/* =========================================================
   ANIMAÇÕES
========================================================= */

@keyframes spin {
    from {
        --angle: 0deg;
    }

    to {
        --angle: 360deg;
    }
}

@keyframes scroll {
    0% {
        transform: translateY(0);
        opacity: 0.6;
    }

    50% {
        transform: translateY(5px);
        opacity: 1;
    }

    100% {
        transform: translateY(0);
        opacity: 0.6;
    }
}

@keyframes aparecer {
    from {
        opacity: 0;
        transform: translateX(15px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes esconder {
    from {
        opacity: 1;
        transform: translateX(0);
    }

    to {
        opacity: 0;
        transform: translateX(-15px);
    }
}

@keyframes aparecer-baixo {
    from {
      opacity: 0;
      transform: translateY(30px);
    }
  
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

@keyframes aparecer-cima {
    from {
      opacity: 0;
      transform: translateY(-30px);
    }
  
    to {
      opacity: 1;
      transform: translateY(0);
    }
}

@keyframes aparecer-esquerda {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes aparecer-direita {
    from {
      opacity: 0;
      transform: translateX(30px);
    }
  
    to {
      opacity: 1;
      transform: translateX(0);
    }
}

@keyframes aparecer-frente {
    from {
        opacity: 0;
        transform: scale(0.95);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}


/* =========================================================
   PROPRIEDADE PERSONALIZADA
========================================================= */

@property --angle {
    syntax: "<angle>";
    initial-value: 0deg;
    inherits: false;
}


/* =========================================================
   VARIÁVEIS
========================================================= */

:root {

    /* CORES PRINCIPAIS */

    --cor-principal: #d60000;
    --cor-principal-hover: #ff1a1a;

    --cor-principal-transparente:
        rgba(214, 0, 0, 0.5);

    --cor-principal-transparente-hover:
        rgba(214, 0, 0, 0.7);


    /* FUNDOS */

    --bg-principal: rgb(5, 5, 5);

    --bg-principal-hover: rgb(10, 10, 10);

    --bg-principal-transparente:
        rgba(255, 255, 255, 0.1);

    --bg-card:
        rgba(12, 12, 12, 0.92);

    --bg-card-hover:
        rgba(20, 20, 20, 0.95);

    --bg-nav:
        linear-gradient(
            to bottom,
            rgba(0, 0, 0, 1),
            rgba(0, 0, 0, 0.5),
            rgba(0, 0, 0, 0)
        );


    /* TEXTOS */

    --texto-principal: #111;

    --texto-secundario: #666;

    --texto-claro: #fff;

    --texto-cinza: #aaa;


    /* BORDAS */

    --borda:
        1px solid rgba(255, 255, 255, 0.08);

    --borda-clara:
        1px solid rgba(255, 255, 255, 0.2);

    --borda-principal:
        1px solid var(--cor-principal);


    /* BORDAS ARREDONDADAS */

    --radius-grande: 24px;

    --radius-media: 14px;

    --radius-pequena: 8px;


    /* SOMBRAS */

    --sombra:
        0 0 30px rgba(0, 0, 0, 0.5);

    --sombra-card:
        0 5px 20px rgba(0, 0, 0, 0.35);

    --sombra-vermelha:
        0 0 25px rgba(214, 0, 0, 0.35);


    /* TRANSIÇÃO */

    --transicao: 0.3s;


    /* FONTES */

    --fonte-texto: 'Quicksand', sans-serif;

    --fonte-titulo: 'Merienda', cursive;
}


/* =========================================================
   RESET
========================================================= */

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

*::before,
*::after {
    box-sizing: border-box;
}


/* =========================================================
   HTML
========================================================= */

html {
    scroll-behavior: smooth;

    scrollbar-width: none;
}

html::-webkit-scrollbar {
    display: none;
}


/* =========================================================
   BODY
========================================================= */

body {
    min-height: 100vh;

    font-family: var(--fonte-texto);

    background-color: var(--bg-principal);

    color: var(--texto-principal);

    overflow-x: hidden;
}


/* =========================================================
   ELEMENTOS GERAIS
========================================================= */
  
main {
    min-height: 100vh;
    animation-fill-mode: both;
}

input,
button,
textarea,
select {
    font-family: var(--fonte-texto);
}

button {
    border: none;
    background: none;
    cursor: pointer;
}

a {
    color: inherit;
    text-decoration: none;
    font-variant: small-caps;
}

p {
    line-height: 1.6;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    line-height: 1.2;
}

img {
    max-width: 100%;
    display: block;
}

hr {
    border: none;
}

::selection {
    background: var(--cor-principal);
    color: white;
}


/* =========================================================
   WEBKITS
========================================================= */

::-webkit-scrollbar,
::-webkit-inner-spin-button,
::-webkit-outer-spin-button {
    width: 0;
    height: 0;
}


/* =========================================================
   TEXTOS
========================================================= */

span {
    color: var(--cor-principal);

    font-family: var(--fonte-titulo);
}


/* =========================================================
   ÍCONE DE PERFIL
========================================================= */

.icon {
    width: clamp(90px, 10vw, 150px);
    aspect-ratio: 1 / 1;

    object-fit: cover;

    border-radius: 50%;

    border: 3px solid var(--cor-principal);

    box-shadow:
        0 0 15px rgba(214, 0, 0, 0.5),
        0 0 35px rgba(214, 0, 0, 0.25);

    transition:
        transform var(--transicao),
        box-shadow var(--transicao);
}

.icon:hover {
    transform: scale(1.03);

    box-shadow:
        0 0 20px rgba(214, 0, 0, 0.7),
        0 0 45px rgba(214, 0, 0, 0.35);
}


/* =========================================================
   LOGO
========================================================= */

.logo {
    width: 150px;
    height: 75px;

    object-fit: cover;

    border-radius: var(--radius-pequena);

    animation: aparecer-frente 2s ease-in-out;
}


/* =========================================================
   HEADER
========================================================= */

header {
    position: relative;
    z-index: 10;
}


/* =========================================================
   BOTÕES GERAIS
========================================================= */

button {
    transition:
        background-color var(--transicao),
        color var(--transicao),
        border-color var(--transicao),
        transform var(--transicao),
        box-shadow var(--transicao);
}


/* =========================================================
   LINK COM EFEITO
========================================================= */

a {
    transition:
        color var(--transicao),
        background-color var(--transicao),
        transform var(--transicao);
}


/* =========================================================
   FOOTER
========================================================= */

footer {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;

    gap: 40px;

    width: 100%;
    min-height: 40vh;

    padding: 40px 30px;

    background: black;

    color: white;
}


/* =========================================================
   UTILITÁRIOS
========================================================= */

.oculto {
    display: none !important;
}

.visivel {
    display: block !important;
}


/* =========================================================
   RESPONSIVIDADE BÁSICA
========================================================= */

@media (max-width: 900px) {

    body {
        overflow-x: hidden;
    }

    .icon {
        width: 100px;
    }

    footer {
        flex-direction: column;
    }
}


@media (max-width: 600px) {

    p {
        line-height: 1.4;
    }

    .icon {
        width: 85px;
    }
}