/* ESTILO GERAL */
body {
    margin: 0;
    font-family: "Courier New", monospace;
    background-color: #fff;
    color: #000;
}

/* HEADER */
header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: #000;
    color: #fff;
    padding: 10px 40px;
    flex-wrap: wrap;
}

header img:first-child {
    width: 250px;
}

#me-header {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background-color: #fff;
    object-fit: cover;
}

#links_nav {
    list-style: none;
    display: flex;
    gap: 25px;
    flex-wrap: wrap;
}

#links_nav li {
    cursor: pointer;
}

/* MAIN */
main {
    display: flex;
    flex-direction: column;
    gap: 80px;
    margin: 60px auto;
    width: 90%;
}

/* SEÇÕES */
section {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 40px;
}

.texto {
    display: flex;
    flex-direction: column;
    max-width: 500px;
}

.texto h2 {
    font-family: "Georgia", serif;
    font-size: 1.3rem;
    font-weight: bold;
    margin-bottom: 20px;
}

.texto p, .texto ul {
    font-size: 1rem;
    line-height: 1.6;
}

.texto ul {
    padding-left: 20px;
}

section img {
    max-width: 100%;
    height: auto;
}

/* POSICIONAMENTO */
#informatio {
    flex-direction: row-reverse;
}

#informatio .texto {
    text-align: left;
}

#interesses {
    flex-direction: row;
    text-align: left;
}

/* SKILLS */
#skills {
    display: block; 
    text-align: center;
    margin: 120px auto;
}

#skills h2 {
    font-family: "Georgia", serif;
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 50px;
}

.skills-container {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 60px;
}

.skill-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    font-size: 1rem;
}

.skill-item img {
    width: 80px;
    height: 80px;
    transition: transform 0.3s ease;
}

.skill-item img:hover {
    transform: scale(1.2);
}

#hardskills {
    text-align: center;
    margin: 60px 0;
}

#hardskills h2 {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 25px;
    color: #222;
}

#hardskills .skills {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
    flex-wrap: wrap;
}

#hardskills img {
    width: 100px;
    transition: transform 0.3s ease;
}

#hardskills img:hover {
    transform: scale(1.1);
}

/* CONTACT */
.section.contact {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 50px;
    flex-wrap: wrap;
    padding: 40px;
    max-width: 1000px;
    margin: 0 auto;
}

.contact-form {
    background: #000;
    color: #fff;
    padding: 20px;
    border-radius: 15px;
    width: 100%;
    max-width: 350px;
    gap:20px;
    margin-bottom: 40px;
}

.contact-form h3 {
    margin-bottom: 15px;
}

.contact-form input,
.contact-form textarea {
    width: 200px;
    padding: 10px;
    margin: 8px 0;
    border: none;
    border-radius: 8px;
}

.contact-form button {
    width: 100%;
    padding: 10px;
    background: #2b2b2b;
    border: none;
    border-radius: 8px;
    color: white;
    cursor: pointer;
    transition: 0.3s;
}

.contact-form button:hover {
    background: #fff;
    color: black;
}

.contact-info h3 {
    margin-bottom: 10px;
}

#Contacts ul {
    list-style: none;
    padding: 0;
    text-align: center;
}

#Contacts ul li {
    margin: 10px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

#Contacts a {
    color: rgb(0, 0, 0);
    text-decoration: none;
}

#Contacts a:hover {
    text-decoration: underline;
}

/* FOOTER */
footer {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #000;
    color: #fff;
    height: auto;
    padding: 15px;
    text-align: center;
}

/* RESPONSIVIDADE */
@media (max-width: 1024px) {
    header {
        flex-wrap: wrap;
        justify-content: center;
        text-align: center;
    }

    #me-header {
        width: 150px;
        height: 150px;
        margin-top: 10px;
    }

    #links_nav {
        flex-wrap: wrap;
        gap: 15px;
    }

    section img {
        width: 300px;
    }

    .skills-container {
        gap: 40px;
    }

    .section.contact {
        gap: 80px;
    }
}

@media (max-width: 768px) {
    header {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 15px;
    }

    #links_nav {
        flex-direction: column;
        gap: 10px;
        padding: 0;
    }

    main {
        width: 90%;
        margin: 60px auto;
        gap: 80px;
    }

    section {
        flex-direction: column;
        text-align: center;
    }

    .texto {
        max-width: 100%;
        align-items: center;
    }

    section img {
        width: 250px;
    }

    .skills-container {
        gap: 30px;
    }

    #skills h2 {
        font-size: 1.6rem;
    }

    .section.contact {
        flex-direction: column;
        align-items: center;
        gap: 40px;
    }

    .contact-form {
        width: 90%;
    }
}

@media (max-width: 480px) {
    header img:first-child {
        width: 180px;
    }

    #me-header {
        width: 120px;
        height: 120px;
    }

    h2, h3 {
        font-size: 1.2rem;
    }

    p, li {
        font-size: 0.9rem;
    }

    .skills-container {
        gap: 20px;
    }

    .skill-item img {
        width: 60px;
        height: 60px;
    }

    footer {
        font-size: 0.8rem;
        padding: 15px;
    }
}
