body {
    height: 100vh;
    margin: 0;
    background-color: #f5f5f5;
}

header {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: linear-gradient(300deg, #2931B3, #2AA9D2, #EFFF9D);
    background-size: 180% 180%;
    animation: gradient-animation 18s ease infinite;
    width: 100%;
}

@keyframes gradient-animation {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

.navbar {
    display: flex;
    justify-items: center;
}
.logo {
    display: flex;
    height: 50px;
    width: 100px;
    flex-shrink: 0;
    justify-content: left;
    align-items: center;
    margin-right: auto;
    padding: 20px;
}

header div img {
    width: 100%;
}

.nav-links {
    display: flex;
    flex-direction: row;
    gap: 10px;
    
}

.nav-links li {
    list-style: none;
    margin: 0px;
    padding: 0px;
}

.container-hero {
    height: 400px;
    display: flex;
    justify-content: center;
    align-items: center;
}
    
.hero-text {
    text-align: center;

}
.hero-text p {
    font-style: italic;
    color: #efff9d;
    font-family: "Libre Baskerville", serif;
    font-weight: 100;
    font-style: normal;
    font-size: small;
    padding: 30px;
}
.hero-text > h1 {
    color: #182131;
    font-family: "Gabarito", sans-serif;
    font-optical-sizing: auto;
    font-weight: 700;
    font-style: normal;
    font-size: xx-large;
    margin: 10px 0;
}
.hero-img-style {
    border: 2px solid #4c5666;
    border-radius: 50%;
    width: 200px;
    height: 200px;
    overflow: hidden;
    margin: 0 auto;
}

.about {
    background-color: #f5f5f5;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 20px;
    border-bottom: solid 1px #ffffff;
}

.about-text {
    text-align: center;
    max-width: 600px;
}

.about-text  h2 {
    color: #2AA9D2;
    font-family: "Archivo", sans-serif;
    font-optical-sizing: auto;
    font-weight: 700;
    font-style: normal;
    font-size: x-large;
}
.about-text p {
    color: #4d5157;
    font-family: "Lexend Deca", sans-serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
    font-size: medium;
    line-height: 1.6;
}

.skills > h3 {
    color: #137a9c;
    font-family: "Archivo", sans-serif;
    font-optical-sizing: auto;
    font-weight: 700;
    font-style: normal;
    font-size: large;
    margin-top: 20px;
}

.skills {
    justify-content: center;
    align-items: center;
    text-align: center;
}
.skills ul {
    list-style: none;
    text-align: center;
    padding: 0;
    font-family: "Lexend Deca", sans-serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
    font-size: medium;
    color: #2a2c2e;
}

.projects {
    background-color: #f5f5f5;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 20px;
    border-radius: 5px;
    color: #1a1313;
    width: 100%;
}

.projects h2 {
    color: #2AA9D2;
    font-family: "Archivo", sans-serif;
    font-optical-sizing: auto;
    font-weight: 700;
    font-style: normal;
    font-size: x-large;
    margin-top: 20px;
}

.project-card {
    text-align: left;
}

.project-card h3 {
    color: #137a9c;
    font-family: "Archivo", sans-serif;
    font-optical-sizing: auto;
    font-weight: 700;
    font-style: normal;
    font-size: large;
    margin-bottom: 10px;
}

.projects p {
    color: #4d5157;
    font-family: "Lexend Deca", sans-serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
    font-size: medium;
    line-height: 1.6;
}

.contact {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.contact h2 {
    color: #e7f9ff;
    font-family: "Caveat", sans-serif;
    font-optical-sizing: auto;
    font-weight: 700;
    font-style: normal;
    font-size: xx-large;
    margin-bottom: 10px;
}

.contact-info {
    text-align: center;
    display: flex;
    flex-direction: row;
    gap: 20px;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    font-size: 18px;
    font-weight: bold;
    color: #4d5157;
    background-color: #e7f9ff;
    border-radius: 5px;
    padding: 5px 4%;

}

.email {
    font-size: 14px;
    font-weight: normal;
    color: #cecfc8; /* Matches your contact-info text color */
    font-family: "Lexend Deca", sans-serif;
}

.contact-info a {
    text-decoration: none;
    color: #0099ff; /* Matches your contact-info text color */
    font-weight: bold;
    transition: color 0.2s;
    font-family: "Lexend Deca", sans-serif;
}

.Copyright {
    color: #e7f9ff;
    font-family: "Lexend Deca", sans-serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
    font-size: small;
    margin-top: 10px;
}

#footer {
    text-align: center;
    padding: 15px;
    text-align: center;
    bottom: 0;
    width: 100%;
    height: auto;
    background: linear-gradient(300deg, #2931B3, #2AA9D2, #EFFF9D);
    background-size: 180% 180%;
    animation: gradient-animation 18s ease infinite;
}

@keyframes gradient-animation {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

@media (max-width: 600px) {
    header {
        padding: 0;
    }
    .navbar, .nav-links {
        flex-direction: column;
        align-items: center;
        gap: 5px;
    }
    .logo {
        height: 40px;
        width: 80px;
        padding: 10px;
        margin-bottom: 10px;
    }
    .container-hero {
        flex-direction: column;
        height: auto;
        padding: 20px 0;
    }
    .hero-img-style {
        width: 120px;
        height: 120px;
    }
    .hero-text > h1 {
        font-size: large;
    }
    .about, .projects, .contact {
        padding: 10px;
    }
    .about-text, .projects, .project-card, .skills ul {
        max-width: 100%;
        font-size: small;
    }
    .contact-info {
        flex-direction: column;
        gap: 10px;
        font-size: 16px;
        padding: 8px 2%;
    }
    .email {
        font-size: 12px;
    }
    #footer {
        padding: 10px 2px;
        font-size: small;
    }
    img, .project-card, .hero-img-style {
        max-width: 100%;
        height: auto;
    }
}










