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

:root {
    --primary-color: #2ecc71;
    --secondary-color: #3498db;
    --background-color: #ecf0f1;
    --text-color: #2c3e50;
}

body {
    font-family: Arial, sans-serif;
    background-color: var(--background-color);
    color: var(--text-color);
    line-height: 1.6;
}

header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: white;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    display: flex;
    justify-content: space-between;
    padding: 1rem;
    z-index: 1000;
}

nav ul {
    list-style: none;
    display: flex;
}

nav ul li {
    margin-left: 20px;
}

nav ul li a {
    text-decoration: none;
    color: var(--text-color);
}

.hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    padding: 100px 20px;
    height: 100vh;
}

.hero-content {
    padding: 20px;
}

.cta {
    background: var(--primary-color);
    color: white;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 5px;
}

.hero-image {
    display: flex;
    justify-content: center;
}

.avatar {
    border-radius: 50%;
    border: 5px solid;
    border-image: linear-gradient(45deg, #f3ec78, #af4261) 1;
    width: 200px;
    height: 200px;
}

#projetos .grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin: 20px;
}

.card {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

.card:hover {
    transform: translateY(-5px);
}

.tags {
    position: absolute;
    bottom: 10px;
    left: 10px;
}

.tag {
    background: var(--secondary-color);
    color: white;
    padding: 5px;
    border-radius: 5px;
    margin-right: 5px;
}

#contato {
    padding: 20px;
}

form {
    display: flex;
    flex-direction: column;
}

form input, form textarea {
    margin: 10px 0;
    padding: 10px;
    border: 1px solid var(--text-color);
    border-radius: 5px;
}

button {
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 10px;
    border-radius: 5px;
    cursor: pointer;
}

footer {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: white;
    text-align: center;
    padding: 10px;
}

.social-icons {
    display: flex;
    justify-content: center;
}

.social-icons i {
    margin: 0 10px;
}

/* Media Queries */
@media (max-width: 768px) {
    .hero {
        grid-template-columns: 1fr;
        height: auto;
    }
    #projetos .grid {
        grid-template-columns: 1fr;
    }
}
@media (min-width: 768px) and (max-width: 1024px) {
    #projetos .grid {
        grid-template-columns: repeat(2, 1fr);
    }
}