@import url('https://fonts.googleapis.com/css2?family=Josefin+Sans:ital,wght@0,100..700;1,100..700&family=Nunito+Sans:ital,opsz,wght@0,6..12,200..1000;1,6..12,200..1000&display=swap');

/* Reset do CSS */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    display: flex;
    flex-direction: column;
    min-width: 100vh;
    font-family: "Nunito Sans";
}

/* Header */
header {
    background-image: linear-gradient(175deg, #5d139b 0%, #0f009b 100%);
    color: white;
    padding: 60px;
    text-align: center;
}

header h1 {
    font-size: 48px;
}

header p {
    font-size: 20px;
}

/* Main */
main {
    background-color: rgb(44, 44, 44);
    flex: 1;
    padding: 48px;
    padding-bottom: 0px;
    padding-left: 38px;
    padding-right: 38px;
}   

about-section,
hobbies,
contact {
    display: block;
    background-color: white;
    width: 80%;
    margin: 0 auto;
    padding: 40px;
    border-radius: 10px;
    margin-bottom: 50px;
}

#titulo-sobre-mim,
#titulo-hobbies {
    color: black;
    font-size: 42px;
    width: 80%; 
    background-color: white;
    border-bottom: 2px solid #0f009b;
    margin-top: 5px;
    margin-bottom: 5px;
}

.texto-sobre-mim,
.texto-hobbies {
    font-size: 34px;
    width: 80%;
    background-color: white;
    color: black;
}

ul {
    list-style: none;
    padding: 0;
    display: flex;
    gap: 12px;
    flex-wrap: wrap; /* Garante que os itens fiquem em várias linhas */
}

li {
    background-image: linear-gradient(175deg, #5d139b 0%, #0f009b 100%);
    padding: 12px;
    border-left: 4px solid #ff7b00;
    font-size: 18px;
    min-width: 250px;
    color: white;
}

li:hover {
    background-color: #080053;
    transform: translateX(5px);
    transition: all 0.3s ease;
}

/* Contact Section */
contact h2 {
    margin-bottom: 8px;
    font-size: 30px;
    text-align: center;
}

contact p {
    text-align: center;
    font-size: 22px;
}

contact a {
    color: #ff7b00;
    text-decoration: none;
    font-weight: bold;
    padding: 0.5rem;
    margin: 0 0.5rem;
    border: 2px solid #ff7b00;
    border-radius: 25px;
    display: inline-block;
    transition: all 0.3s ease;
}

contact a:hover {
    background-color: #5d139b;
    color: #ff7b00;
    transform: translateY(-2px);
}

/* Footer */
footer {
    background-image: linear-gradient(175deg, #5d139b 0%, #0f009b 100%);
    color: white;
    padding: 60px;
    text-align: center;
}

footer p {
    font-size: 2rem;
}

/* Responsividade para telas menores */
@media (max-width: 768px) {
    body {
        padding: 10px;
    }

    header {
        padding: 30px;
    }

    header h1 {
        font-size: 36px;
    }

    header p {
        font-size: 18px;
    }

    main {
        padding: 24px;
    }

    about-section, hobbies, contact {
        width: 90%;
        padding: 20px;
        margin-bottom: 30px;
    }

    #titulo-sobre-mim,
    #titulo-hobbies {
        font-size: 30px;
    }

    .texto-sobre-mim,
    .texto-hobbies {
        font-size: 24px;
    }

    ul {
        flex-direction: column;
        align-items: center;
    }

    li {
        width: 80%;
        font-size: 16px;
        margin-bottom: 12px;
        text-align: center;
    }

    footer {
        padding: 40px 0;
        font-size: 18px;
    }
}

/* Responsividade para telas de smartphones (máximo 480px) */
@media (max-width: 480px) {
    header {
        padding: 20px;
    }

    header h1 {
        font-size: 28px;
    }

    header p {
        font-size: 16px;
    }

    main {
        padding: 16px;
    }

    about-section, hobbies, contact {
        width: 95%;
        padding: 15px;
        margin-bottom: 20px;
    }

    #titulo-sobre-mim,
    #titulo-hobbies {
        font-size: 24px;
    }

    .texto-sobre-mim,
    .texto-hobbies {
        font-size: 18px;
    }

    ul {
        flex-direction: column;
        padding-left: 0;
    }

    li {
        width: 100%;
        font-size: 14px;
        margin-bottom: 8px;
    }

    footer {
        padding: 20px 0;
        font-size: 16px;
    }
}
