@import url('https://fonts.googleapis.com/css2?family=Stack+Sans+Text:wght@200..700&display=swap');

:root {
    --cinza-claro: #dfe0e3;
    --amarelo-claro: #ffd60a;
    --amarelo-claro: #ffc300;
    --azul-medio: #003566;
    --azul-escuro: #001d3d;
    --grafite: #000814;
 
    --fonte: "Stack Sans Text", sans-serif;
}

html {
    scroll-behavior: smooth;
    font-family: var(--fonte);
    font-size: 14px;
}

body {
    background-color: var(--grafite);
    color: var(--cinza-claro);
    max-width: 100vw;
    margin: 0 auto;
    height: 100vh;
}

.menu {
    padding: 1rem;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 60px;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: #001d3d;
    z-index: 1000;
    box-shadow: 2px 2px 10px 2px var(--grafite);
}

.menu li a:hover {
    color: var(--amarelo-claro);
    transition: 0.5s ease;
}

.hero {
    width: 60%;
    margin: 0 auto;
}

h1 {
    padding: 3rem 0;
    font-family: var(--fonte);
    font-weight: 700;
    font-size: 2.5rem;
    text-align: left;
}

h1 span {
    color: var(--amarelo-claro);
}

h1 span::after {
    content: 'estudante de ADS';
    animation: words 4s infinite;

} 


@keyframes words {
    0%, 33% {
        content: 'estudante de ADS';
    }
    34%, 66% {

        content: 'desenvolvedor web';
    }
    67%, 100% {
   
        content: 'desenvolvedor front-end';
    }
}

.hero_container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 100px;
    margin-bottom: 50px;
}

.hero img {
    width: 300px;
    border-radius: 50%;
    filter: drop-shadow(12px 12px 0 var(--amarelo-claro));
}

.hero_text {
    font-size: 1.125rem;
    font-weight: 300;
    margin-bottom: 10px;
    line-height: 1.75rem;
}

strong {
    color: var(--amarelo-claro);
    font-weight: 800;
}

div img{
    max-width: 300px;
    width: 100%;
    display: block;
    margin-inline: auto;
}

section {
    padding: 50px 20px 0 20px;

}

h2 {
    color: var(--amarelo-claro);
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 30px;
    text-align: center;
}

h3 {
    font-size: 1.75rem;
    font-weight: 600;
}

.formacoes {
    background: linear-gradient(180deg, var(--grafite), var(--azul-medio));
    text-align: center;
    padding-bottom: 70px;
}

.formacao {
    font-size: 1.125rem;
    font-weight: 600;
    margin-top: 1rem;
}

/*animação de loading 1*/
.loader {
    position: relative;
    width: 48px;
    height: 48px;
    margin: 0 auto;
}

.bar {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 2px;
    height: 12px;
    background: var(--cinza-claro);
    border-radius: 2px;
    transform-origin: center -10px;
    opacity: 0;
    animation: fade 1.2s linear infinite;
}

@keyframes fade {
    0% {
        opacity: 0;
    }

    20% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}

.bar1 {
    transform: rotate(0deg);
    animation-delay: 0s;
}

.bar2 {
    transform: rotate(30deg);
    animation-delay: 0.1s;
}

.bar3 {
    transform: rotate(60deg);
    animation-delay: 0.2s;
}

.bar4 {
    transform: rotate(90deg);
    animation-delay: 0.3s;
}

.bar5 {
    transform: rotate(120deg);
    animation-delay: 0.4s;
}

.bar6 {
    transform: rotate(150deg);
    animation-delay: 0.5s;
}

.bar7 {
    transform: rotate(180deg);
    animation-delay: 0.6s;
}

.bar8 {
    transform: rotate(210deg);
    animation-delay: 0.7s;
}

.bar9 {
    transform: rotate(240deg);
    animation-delay: 0.8s;
}

.bar10 {
    transform: rotate(270deg);
    animation-delay: 0.9s;
}

.bar11 {
    transform: rotate(300deg);
    animation-delay: 1.0s;
}

.bar12 {
    transform: rotate(330deg);
    animation-delay: 1.1s;
}
/*fim da animação de loading 1*/

/*início da animação de loading 2*/
/* .loading-dots {
    display: flex;
    justify-content: center;
    gap: 4px;
    margin-bottom: 1rem;
}

.dot {
    width: .75rem;
    height: .75rem;
    border-radius: 50%;
    background-color: var(--cinza-claro);
    animation: bounce .6s infinite alternate;
}

@keyframes bounce {
    to {
        transform: translateY(-10px);
    }
}

.dot:nth-child(2) {
    animation-delay: .2s;
}

.dot:nth-child(3) {
    animation-delay: .4s;
} */
/*fim da animação de loading 2*/

.formacao cite {
    color: var(--cinza-escuro);
    font-size: 1rem;
}

.certificados {
    background: linear-gradient(180deg, var(--azul-medio), var(--grafite));
    padding-bottom: 70px;
}

.certificados_box {
    width: 80%;
    margin: 0 auto;
    padding: 0 150px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.certificado {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    text-align: center;
    border: 3px solid var(--cinza-claro);
    border-radius: 0.75rem;
    padding: 10px;
    margin: 10px;
    height: 150px;
    width: 225px;
    transition: 0.3s;
}

.certificado:hover{
    background-color: var(--azul-medio);
    border: 3px solid var(--amarelo-claro);
    transform: scale(1.1);
    & p.escola {
        color: var(--cinza-claro);
    }
}

.certificado h4 {
    font-size: 1.125rem;
    font-weight: 600;
}

.certificado p.escola {
    font-size: 0.75rem;
    color: var(--cinza-escuro);
}

.projetos {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.projetos h3 {
    color: var(--amarelo-claro);
}

.projetos p {
    font-weight: 200;
}

.projeto-esquerdo {
    background-color: var(--azul-escuro);
    display: flex;
    justify-content: space-between;
    gap: 50px;
    box-shadow: 10px 10px 0px var(--amarelo-claro);
    border-radius: 15px;
    padding: 20px 30px;
    margin-bottom: 50px;
    & .tags {
        justify-content: flex-start;
    }
}

.projeto-direito {
    background-color: var(--azul-escuro);
    display: flex;
    flex-direction: row-reverse;
    justify-content: space-between;
    gap: 50px;
    box-shadow: 10px 10px 0px var(--amarelo-claro);
    border-radius: 15px;
    padding: 20px 30px;
    margin-bottom: 50px;
    & .tags {
        justify-content: flex-end;
    }
}

.projeto-texto {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 1.5rem;
    max-width: 330px
}

.text-right {
    align-items: end;
}

.text-left {
    align-items: start;
}

.projeto-mockup {
    width: 50%;
}

.projeto-direito a, .projeto-esquerdo a {
    background-color: var(--azul-escuro);
    color: var(--amarelo-claro);
    border: 2px solid var(--amarelo-claro);
    padding: .5rem 1rem;
    width: fit-content;
    border-radius: 5px;

}

.projeto-direito a:hover , .projeto-esquerdo a:hover {
    background-color: var(--amarelo-claro);
    color: var(--azul-escuro);
}

.projeto-mockup img {
    max-width: 449px;
}

.tags {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    margin-bottom: 10px;
}

.mini-tags {
    width: fit-content;
    font-size: 0.6rem;
    padding: .4rem .8rem;
    border-radius: 5px;
}

.social-icons {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 3rem;
    padding-bottom: 60px;
}

.social-icons i {
    font-size: 30px;
}

.social-icons i:hover {
    color: var(--amarelo-claro);
}

footer {
    background-color: var(--amarelo-claro);
    color: var(--grafite);
    text-align: center;
    padding: 10px 0;
}

.botao-secreto {
    display: none;
    position: absolute;
    background-color: var(--amarelo-claro);
    color: var(--azul-escuro);
    padding: .5rem 1rem;
    border-radius: .75rem;
    margin: 0 auto;
    transition: all 0.3s ease;
}