body {
    font-family: 'Segoe UI', Arial, sans-serif;
    line-height: 1.6;
    margin: 0;
    padding: 0;
    background: #0f0f0f;
    color: #e0e0e0; 
}

.container {
    width: 80%;
    margin: auto;
    margin-top: 20px;
    overflow: hidden;
    padding: 20px 0px;
}

header {
    color: #fff;
    padding-top: 30px;
    border-bottom: 5px solid #00d4ff;
    text-align: center;
    min-height: 70%;
}

header h1 {
    margin: 0;
    padding-bottom: 5px;
    color: #00d4ff;
}

header p {
    font-size: 1.1em;
    margin-top: 0;
    color: #888;
}

header nav ul {
    padding: 0;
    list-style: none;
}

header nav a {
    color: #fff;
    text-decoration: none;
    text-transform: uppercase;
    font-size: 16px;
    transition: 0.3s;
}

header nav ul li {
    display: inline;
    padding: 0 15px;
}

header nav a:hover {
    color: #00d4ff;
    text-shadow: 0 0 10px rgba(0, 212, 255, 0.7);
}

.profile-photo {
    display: flex;
    justify-content: center;
    margin-bottom: 10px;
}

.profile-photo img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    border: 3px solid #00d4ff;
    object-fit: cover;
    box-shadow: 0 0 20px rgba(0, 212, 255, 0.3);
}

section {
    padding: 30px 0;
    margin-bottom: 25px;
    background: #1a1a1a;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

section:hover {
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.8);
}

section h2 {
    text-align: center;
    color: #00d4ff;
    margin-bottom: 25px;
    font-size: 2em;
    font-weight: 600;
    border-bottom: 3px solid #00d4ff;
    display: inline-block;
    width: 100%;
}

#sobre p {
    font-size: 1.1em;
    line-height: 1.7;
    margin: 0 20px 15px 20px;
    padding: 20px;
    background-color: #252525;
    border-radius: 10px;
    border-left: 5px solid #00d4ff;
    color: #ccc;
    transition: 0.3s;
}

#sobre p:hover {
    background-color: #2a2a2a;
    color: #fff;
}

.habilidades-lista {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    padding: 0 20px;
}

.habilidade-item {
    background: #252525;
    border: 1px solid #333;
    padding: 20px;
    border-radius: 10px;
    flex: 1;
    min-width: 250px;
    max-width: 30%;
    text-align: center;
    transition: all 0.4s ease;
}

.habilidade-item:hover {
    transform: scale(1.05);
    border-color: #00d4ff;
    background: #2a2a2a;
    box-shadow: 0 0 20px rgba(0, 212, 255, 0.2);
}

.habilidade-item h3 {
    color: #00d4ff;
    margin-top: 0;
    font-size: 1.3em;
    margin-bottom: 10px;
}

.habilidade-item p {
    color: #aaa;
}

.projeto-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    padding: 0 20px;
}

.projeto-item {
    background: #252525;
    border: 1px solid #333;
    padding: 25px;
    border-radius: 10px;
    text-align: center;
    transition: all 0.4s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 280px;
}


.projeto-item:hover {
    transform: translateY(-10px) rotate(1deg);
    border-color: #00d4ff;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.6);
}

.projeto-item h3 {
    color: #fff;
    margin-top: 0;
    font-size: 1.4em;
    margin-bottom: 15px;
}

.projeto-item p {
    color: #aaa;
}

.projeto-item a {
    text-decoration: none;
    background: transparent;
    color: #00d4ff;
    border: 2px solid #00d4ff;
    display: inline-block;
    padding: 10px 15px;
    border-radius: 20px;
    font-weight: 600;
    transition: all 0.3s ease;
    margin-top: auto;
    align-self: center;
}

.projeto-item a:hover {
    background: #00d4ff;
    color: #1a1a1a;
    box-shadow: 0 0 15px rgba(0, 212, 255, 0.5);
}

#contato {
    width: 77%;
    margin: auto;
    margin-top: 20px;
    padding: 20px;
    background: #1a1a1a;
    border: 1px solid #333;
    border-radius: 10px;
    text-align: center;
}

#contato h2 {
    color: #00d4ff;
    border-bottom: none;
}

#contato p {
    color: #ccc;
}

#contato a {
    color: #00d4ff;
    font-weight: bold;
    transition: 0.3s;
}

#contato a:hover {
    text-shadow: 0 0 8px #00d4ff;
}

footer {
    text-align: center;
    padding: 30px 20px;
    background-color: #0a0a0a;
    color: #555;
    margin-top: 30px;
    border-top: 3px solid #00d4ff;
}