@import url('https://fonts.googleapis.com/css2?family=Lora:ital,wght@0,400..700;1,400..700&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

/* Resetando margens e preenchimento */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-margin-top: 80px;
    font-family: "Lora", serif;
}

/* Estilos gerais */
body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f4f4f4;
}

/* Header */
header {
    background-color: #333;
    color: #fff;
    padding: 1rem;
    position: fixed;
    height: 90px;
    top: 0;
    right: 0;
    left: 0;
    z-index: 10;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-links {
    list-style-type: none;
    display: flex;
}

.nav-links li {
    margin-left: 20px;
    margin-right: 12px;
}

.nav-links a {
    text-decoration: none;
    color: #fff;
    font-weight: bold;
}

.nav-links a:hover{
    color: #777575;
}

#menuIcon {
    display: none;
    cursor: pointer;
}

.language-selector2{
    display: none;
}

/* Home Section */

.hero {
    background-color: #ccc;
    padding: 50px 20px;
    text-align: center;
    margin-top: 60px;
}

#profileImg{
    max-height: 300px;
    max-width: 300px;
    border-radius: 50%;
}

.hero h1 {
    font-size: 3rem;
    font-family: "Poppins", sans-serif;
}

.hero #description{
    color: #008000;
}

/* About Section */

.about, .contact {
    padding: 50px 20px;
    text-align: center;
}

#AboutText{
    border: 1px solid #777575;
    border-radius: 20px;
    max-width: 1000px;
    padding: 10px;
    margin: auto;
}

#aboutButtons{
    margin-top: 20px;
}

/* Contact Section */

#contact-form{
    max-width: 1200px;
    margin: auto;
}

/* Projects section */
.projects {
    padding: 40px 0;
    background-color: #fff;
}

.projects h2 {
    text-align: center;
    font-size: 2em;
    margin-bottom: 30px;
}

.project-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
}

.project {
    background-color: #fff;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    padding: 20px;
    border-radius: 8px;
    text-align: center;
    transition: transform 0.3s;
}

.project img {
    width: 100%;
    height: auto;
    border-radius: 8px;
}

.project h3 {
    font-size: 1.5em;
    margin: 15px 0;
}

.project p {
    font-size: 1em;
    color: #555;
    margin-bottom: 15px;
}

.project a {
    text-decoration: none;
    color: #3498db;
    font-weight: bold;
}

.project a:hover {
    text-decoration: underline;
    color: #2980b9;
}

/* Contact Section */

#contactTitle{
    margin-bottom: 30px;
}

form input, form textarea {
    width: 100%;
    padding: 10px;
    margin-bottom: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

form button {
    padding: 10px 20px;
    background-color: #333;
    color: white;
    border: none;
    cursor: pointer;
    border-radius: 5px;
}

footer {
    background-color: #333;
    color: white;
    text-align: center;
    padding: 1rem;
}

/* Responsividade */
@media screen and (max-width: 768px) {
    .nav-links {
        display: none;
        flex-direction: column;
        align-items: center;
    }
    
    .language-selector2{
        display: flex;
        margin-bottom: 30px;
    }

    #menuIcon {
        display: block;
        margin-bottom: 30px;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .about, .contact {
        padding: 30px 20px;
    }
}

@media screen and (max-width: 414px) {
    #email{
        font-size: 14px;
    }
}

@media screen and (max-width: 379px) {
    #email{
        font-size: 10px;
    }
}