@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600&display=swap');


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

body {
    min-height: 100vh;
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    display: flex;
    flex-direction: column;
}

main {
    flex: 1;
}

h2 {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 10px;
}

h4 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 8px;
}

p {
    font-size: 16px;
    margin-bottom: 10px;
}

.navbar {
    display: flex;
    padding: 10px;
    background-color: #1e293b;
    margin-bottom: 20px;
}

.navbar ul {
    display: flex;
    list-style: none;
    background-color: #1e293b;
}

.navbar li a {
    display: block;
    color: #f8fafc;
    text-decoration: none;
    padding: 14px 20px;
}

.navbar li a:hover {
    background-color: #3b82f6;
    color: #ffffff;
}



.container {
    display: flex;
    justify-content: center;
    align-items: stretch;
    gap: 40px;
    padding: 40px;
}

.photo-section img {
    width: 400px;
    height: auto;
    border-radius: 10px;
}

.about-section {
    padding: 40px;
    color: #1e293b;
}

.tech-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    padding: 20px;
    align-items: start;
}


.tech-grid ul li a {
    color: #0062ff;
    text-decoration: none;
}

.site-footer {
    text-align: center;
    padding: 10px;
    background-color: #0f172a;
    color: #e2e8f0;
}


.porfolio-pessoal {
    text-decoration: none;
    border-radius: 5px;
}


@media (max-width: 1024px) {

    .container {
        flex-direction: column;
        align-items: center;
        gap: 30px;
        padding: 30px;
    }

    .photo-section img {
        width: 300px;
    }

    .about-section {
        padding: 20px;
        text-align: center;
    }

    .tech-grid {
        grid-template-columns: repeat(2, 1fr);
        padding: 10px;
    }

}

@media (max-width: 768px) {

    .navbar {
        justify-content: center;
    }

    .navbar ul {
        justify-content: center;
        width: 100%;
    }

    .container {
        padding: 20px;
        gap: 20px;
    }

    .photo-section img {
        width: 250px;
    }

    .tech-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .about-section {
        padding: 10px;
    }

    h2 {
        font-size: 22px;
    }

    h4 {
        font-size: 16px;
    }

    p {
        font-size: 15px;
    }

}

@media (max-width: 480px) {

    .photo-section img {
        width: 200px;
    }

    .navbar li a {
        padding: 10px 14px;
        font-size: 14px;
    }

    .about-section {
        text-align: left;
    }

}