* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body {
    background-color: #0a192f;
    color: #ccd6f6;
    text-align: center;
    overflow-x: hidden;
    line-height: 1.6;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 50px;
    background: rgba(10, 25, 47, 0.95);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
    transition: all 0.3s ease;
}

.navbar:hover {
    background: rgba(10, 25, 47, 1);
}

.nav-links {
    list-style: none;
    display: flex;
}

.nav-links li {
    margin: 0 25px;
}

.nav-links a {
    text-decoration: none;
    color: #64ffda;
    transition: 0.3s;
    padding: 12px 20px;
    font-size: 1.2rem;
    border-radius: 5px;
}

.nav-links a:hover {
    background: rgba(100, 255, 218, 0.2);
    color: #fff;
}

.hero {
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: row;
    padding: 40px;
    background: url('background-animation.gif') center/cover;
    animation: fadeIn 2s ease-in;
    gap: 80px;
    text-align: left;
    animation-delay: 0.3s;
    opacity: 0;
    animation-fill-mode: forwards; /* Garante que a animação não se repita */
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.hero .hero-text {
    max-width: 650px;
    color: white;
    animation: slideInLeft 1.5s ease-in-out;
    animation-fill-mode: forwards; /* Garante que a animação não se repita */
}

@keyframes slideInLeft {
    from { transform: translateX(-100%); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

.hero h1 {
    font-size: 4rem;
    margin-bottom: 20px;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.6);
}

.hero h2 {
    font-size: 2.2rem;
    margin-bottom: 15px;
    color: #64ffda;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.6);
}

.hero p {
    font-size: 1.4rem;
    margin-bottom: 30px;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.6);
}

.hero img {
    width: 350px;
    height: 350px;
    border-radius: 50%;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease-in-out;
    animation: scaleIn 1.5s ease-in-out;
    animation-fill-mode: forwards; /* Garante que a animação não se repita */
}

@keyframes scaleIn {
    from { transform: scale(0.5); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

.hero img:hover {
    transform: scale(1.1);
}

.botao {
    display: inline-block;
    padding: 15px 30px;
    background: #64ffda;
    color: #0a192f;
    text-decoration: none;
    border-radius: 10px;
    transition: 0.3s;
    font-weight: bold;
    font-size: 1.2rem;
    box-shadow: 2px 2px 10px rgba(100, 255, 218, 0.4);
    margin-top: 20px;
    position: relative;
    overflow: hidden;
}

.botao:hover {
    background: #52e0c4;
    transform: scale(1.1);
}

.botao:before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 300%;
    height: 300%;
    background: rgba(100, 255, 218, 0.3);
    transition: all 0.5s;
    border-radius: 50%;
    transform: translate(-50%, -50%);
}

.botao:hover:before {
    width: 0;
    height: 0;
}

.section {
    padding: 80px 20px;
    margin: 30px auto;
    max-width: 900px;
    background: rgba(17, 34, 64, 0.9);
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s;
    text-align: left;
    opacity: 0;
    animation: fadeInSection 1s ease-in-out forwards;
}

@keyframes fadeInSection {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

.section:hover {
    transform: scale(1.02);
}

.section h2 {
    font-size: 2.5rem;
    color: #64ffda;
    margin-bottom: 20px;
}

.section p {
    font-size: 1.3rem;
}

.skills-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    cursor: grab;
    margin-top: 20px;
}

.skill-item {
    background: rgba(255, 255, 255, 0.1);
    padding: 20px;
    border-radius: 8px;
    cursor: grab;
    transition: transform 0.2s;
    font-size: 1.2rem;
    width: 200px;
    text-align: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.skill-item .emoji {
    font-size: 3rem;
    margin-bottom: 15px;
}

.skill-item:hover {
    transform: scale(1.05);
}

.skill-item:active {
    cursor: grabbing;
    transform: scale(1.1);
}

.contact-icons {
    display: flex;
    justify-content: center;
    gap: 30px; /* Aumentei o espaçamento entre os ícones */
    margin-top: 30px;
}

.contact-icons a {
    display: inline-block;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-icon {
    width: 65px;  /* Tamanho maior para destaque */
    height: 65px;
    padding: 12px;
    background: rgba(100, 255, 218, 0.1);
    border-radius: 15px;
    box-shadow: 0 4px 10px rgba(100, 255, 218, 0.3);
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}

.contact-icons a:hover .contact-icon {
    transform: scale(1.15); 
    box-shadow: 0 6px 15px rgba(100, 255, 218, 0.5);
}

footer {
    padding: 30px;
    background: #112240;
    margin-top: 20px;
    font-size: 1.1rem;
    text-align: center;
}

footer p {
    color: #ccd6f6;
}

footer a {
    text-decoration: none;
    color: #64ffda;
}

footer a:hover {
    color: #fff;
}