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

    font-family: "Poppins", sans-serif;
}

body {
    width: 100vw;
    min-height: 100vh;
}

/* Tirando o list das ul */
ul {
    list-style: none;
}

/* PARTE HEADER DA PÁGINA FORMAÇÃO */
header {
    width: 100%;
    height: 4rem;
    box-shadow: 0px 5px 10px rgba(0, 0, 0, 0.1);
}

header nav {
    display: flex;
    justify-content: center;
    height: 100%;
}

header .list-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4rem;
}

.list-nav a {
    text-decoration: none;
    color: #000000;
    font-size: 0.9rem;
}

.list-nav a:hover {
    color: blueviolet;

    transition: color 1s;
}

/* PARTE MAIN DA PÁGINA ONDE CONTÉM MEUS CURSOS E TRABALHOS */

main {
    width: 100%;
    min-height: calc(100vh - 7rem);

    padding: 4rem 4rem 2rem;

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.container {
    display: grid;

    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

section {
    display: flex;
    gap: 20px;
}

h2 span {
    color: #6753c0;
}

.containerCards {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

h3 span {
    color: #6753c0;
}

article {
    padding: 1rem;
    background-color: #6753c038;
    border-radius: 10px;
    box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.1);
}

/* Seleciona a primeira tag P dentro da tag article */
article p:first-of-type {
    font-size: 12px;
}

/* Seleciona o segundo P dentro da tag article */
article p:nth-of-type(2) {
    font-size: 14px;
}

footer {
    font-size: 13px;

    width: 100%;
    height: 2rem;
    
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

@media (max-width: 900px) {
    body {
        width: 100%;
    }

    header {
        height: auto;
        padding: 1rem 0;
    }

    header .list-nav {
        gap: 1.5rem;
        flex-wrap: wrap;
    }

    main {
        padding: 2rem;
    }

    .container {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    section {
        flex-direction: column;
        width: 100%;
        padding: 0 1rem;
    }
}

@media (max-width: 600px) {
    header .list-nav {
        gap: 1rem;
        padding: 0 1rem;
    }

    .list-nav a {
        font-size: 0.8rem;
    }

    main {
        padding: 1.5rem 1rem;
    }

    h2 {
        font-size: 1.4rem;
    }

    article {
        padding: 1rem;
    }

    article p:nth-of-type(2) {
        font-size: 13px;
    }

    footer {
        height: auto;
        padding: 1rem;
        text-align: center;
        gap: 0.3rem;
    }
}