* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, Helvetica, sans-serif;
}

body {
    background: #020617;
    color: white;
    line-height: 1.6;
}

header {
    text-align: center;
    padding: 40px 20px;
    background: #0f172a;
}

header h1 {
    color: #38bdf8;
}

section {
    padding: 30px 20px;
    max-width: 800px;
    margin: auto;
}

h2 {
    color: #38bdf8;
    margin-bottom: 10px;
}

.skills ul {
    list-style: none;
}

.skills li {
    background: #1e293b;
    padding: 8px;
    margin: 5px 0;
    border-radius: 5px;
}

.projeto {
    background: #1e293b;
    padding: 15px;
    margin: 15px 0;
    border-radius: 8px;
}

.projeto a {
    color: #38bdf8;
    text-decoration: none;
    font-weight: bold;
}

.projeto a:hover {
    text-decoration: underline;
}

.contato p {
    margin: 5px 0;
}

footer {
    text-align: center;
    padding: 15px;
    background: #0f172a;
    margin-top: 30px;
}

.foto{
    width: 90px;
    height: 130px;
    border-radius: 10px;
    border: 1.5px solid #38bdf8 ;
}
/* ===== RESPONSIVIDADE ===== */

/* Tablets */
@media (max-width: 768px) {
    header {
        padding: 30px 15px;
    }

    header h1 {
        font-size: 1.8rem;
    }

    section {
        padding: 25px 15px;
    }

    h2 {
        font-size: 1.4rem;
    }

    .foto {
        width: 80px;
        height: 120px;
    }
}

/* Telemóveis */
@media (max-width: 480px) {
    body {
        font-size: 14px;
    }

    header {
        padding: 25px 10px;
    }

    header h1 {
        font-size: 1.5rem;
    }

    section {
        padding: 20px 10px;
    }

    .skills li,
    .projeto {
        padding: 10px;
        font-size: 0.9rem;
    }

    .foto {
        width: 70px;
        height: 105px;
    }

    footer {
        font-size: 0.85rem;
    }
}