* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    list-style: none;
    font-family: "Poppins", sans-serif;
    text-decoration: none;
}

a{
    color: var(--claro);
}

html {
    scroll-behavior: smooth;
}

:root {
    --primaria: #4f46e5;
    --secundaria: #7c3ead;
    --escuro: #0f172a;
    --maisEscuro: #0a0f1c;
    --claro: #e2e8f0;
    --vidro: rgba(225, 225, 225, 0.1);
}

body {
    background-color: var(--escuro);
    color: #fff;
    font-size: 16px;
}

header {
    position: fixed;
    width: 100vw;
    left: 50%;
    padding: 25px;
    transform: translateX(-50%);
    /*Deixa o conteúdo totalmente no meio*/
    display: grid;
    /*Usa grid como display*/
    align-items: center;
    grid-template-columns: 1fr 600px;
    /*Usa o template de colunas, com o 1 item ocupando uma fração da tela e o resto 600px*/
    gap: 5%;
    z-index: 2;
    background: rgba(15, 23, 42, 0.267);
}


header img {
    width: 250px;
}

nav ul {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    /*Função que repete os parâmetros*/
}

nav ul li a {
    color: white;
    text-decoration: none;
    cursor: pointer;
}

nav ul li a:hover {
    color: var(--primaria);
    text-decoration: underline;
}

.main{
    height: 100vh;
    display: flex;
    padding: 0.5rem;
    align-items: start;
    flex-direction: column;
    max-width: 40vw;
    gap: 6rem;
    margin-left: 5vw;
}

.ola{
    margin-top: 30vh;
}

.titulo{
    font-size: 3rem;
}

.sub-titulo{
    font-size: 2rem;
}

.paragrafo-main{
    font-size: 1rem;
    text-align: justify;
}

.main img{
    position: absolute;
    left: 60%;
    top: 27%;
    width: 500px;
    height: 500px;
    box-shadow: 0 0 20px rgba(79, 70, 229, 0.3);
    border: solid var(--vidro);
}

.particulas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
    opacity: 0.5;
    background: radial-gradient(circle at 10% 20%, var(--primaria) 0%, transparent 20%), radial-gradient(circle at 90% 80%, var(--secundaria) 0%, transparent 20%) var(--maisEscuro);
}

.footer{
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    width: 100%;
    margin: 0 auto;
    background-image: radial-gradient(var(--maisEscuro), rgba(225, 225, 225, 0.05));
}

.box2 a{
    display: flex;
    padding: 20px;
    text-align: center;
    justify-content: center;
    align-items: center;
    gap: 1rem;
}

.box2 img{
    width: 50px;
    height: 50px;
}

.paragrafo-footer{
font-size: 1.2rem;
}

@media screen and (max-width: 1500px){
    .titulo{
        font-size: 2.5rem;
    }

.main{
    max-width: 60vw;
    gap: 2rem;
}

    .main img{
        width: 400px;
        height: 400px;
    }

    .paragrafo-main{
        max-width: 45vw;
    }
}