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

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

body {
    margin: 0;
    padding: 0;
    font-family: 'Poppins', sans-serif;
    background-color: black;
    color: white;
    min-height: 100vh; /* Ensure the body takes the full viewport height */
    overflow-x: hidden; /* Prevent horizontal scrolling */
}

nav {
    width: 100%;
    height: 10vh;
    position: sticky;
    top: 0;
    z-index: 1000; /* Make sure the nav stays on top */
    background-color: black; /* Optional: Give it a background color to distinguish from other sections */
}

section {
    width: 100%;
    min-height: 90vh; /* Ensures that the section is not too short */
    padding-top: 10vh; /* Adjust padding to prevent content from overlapping with the nav */
    /* margin-top: 5rem; */
}

/* nav{
    width: 100%;
    height: 10vh;
    position: sticky;
} */




.nav-container{
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: space-around;
    align-items: center;
}

.logo{
    color: white;
    font-size: 2rem;
    font-weight: bold;
}

.logo span{
    color: #077b32;
    text-shadow: 0 0 10px #077b32;
}

.hamburg,
.cancel{
    cursor: pointer;
    position: absolute;
    right: 15px;
    top: 10px;
    color: white;
    display: none;
    font-size: clamp(2.5rem, 0.5rem + 5vw, 3rem);
}

.nav-container .links{
    display: flex;
}

.nav-container .links a{
    position: relative;
    font-size: 1.2rem;
    color: white;
    margin: 0 20px;
    text-decoration: none;
    font-weight: 550;
    transition: 0.3s linear;
}

.nav-container .links a::before{
    position: absolute;
    content: "";
    bottom: -3px;
    left: 0;
    width: 0%;
    height: 3px;
    background-color: #077b32;
    transition: 0.2s linear;
}

.nav-container .links a:hover::before{
    width: 100%;
}

.nav-container .links a:hover{
    color: #077b32;
}

.dropdown{
    z-index: 100;
    position: absolute;
    top: 0;
    transform: translateY(-500px);
    width: 100%;
    height: auto;
    backdrop-filter: blur(4px) brightness(40%);
    box-shadow:  0 0 20px black;
    transition: 0.2s linear;
}

.dropdown .links a{
    display: flex;
    color: white;
    text-decoration: none;
    justify-content: center;
    padding: 15px 0;
    align-items: center;
    transition: 0.2s linear;
}

.dropdown .links a:hover{
    background-color: #077b32;
}

.main-container{
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: space-evenly;
    align-items: center;
}

.main-container .image{
    width: 500px;
    height: 80vh;
    border-radius: 100%;
    overflow: hidden;
    box-shadow: 0 0 50px #077b32;
}

.main-container .image img{
    width: 100%;
}

.main-container .image:hover{
    animation: animate 1.5s ease-in-out infinite;
}

@keyframes animate {
    0%{
        scale: 1;
    }
    
    50%{
        scale: 1.05;
    }
    
    100%{
        scale: 1;
    }
}

.main-container .content{
    color: white;
    width: 40%;
    min-height: 100px;
}

.content h1{
    font-size: clamp(1rem, 1rem + 5vw, 1.8rem);
}

.content h1 span{
    color: #077b32;
    text-shadow: 0  0 10px #077b32;
}

.content .typewriter{
    font-size: clamp(1rem, 1rem + 5vw, 2.5rem);
    font-weight: 600;
}

.content .typewriter-text{
    color: #077b32;
    text-shadow: 0 0 10px #077b32;
}

.content p{
    font-size: clamp(0.4rem , 0.2rem + 9vw, 1rem);
    margin: 10px 0;
}

.social-links i{
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 3rem;
    height: 3rem;
    background-color: transparent;
    border: 0.2rem solid #077b32;
    border-radius: 50%;
    color: #077b32;
    margin: 5px 15px;
    font-size: 1.5rem;
    transition: 0.2s linear;
}

.social-links i:hover{
    scale: 1.3;
    color: black;
    background-color: #077b32;
    filter: drop-shadow(0 0 10px #077b32);
}

.content button{
    width: 50%;
    height: 6vh;
    margin: 30px;
    background-color: #077b32;
    color: white;
    border: none;
    outline: none;
    font-size: 120%;
    font-weight: 700;
    border-radius: 5px;
    transition: 0.2s linear;
}

.content button:hover{
    scale: 1.1;
    color: #077b32;
    border: 2px solid #077b32;
    background-color: transparent;
    font-weight: 700;
    box-shadow: 0 0 40px #077b32;
}

@media (max-width:884px) {
    nav .logo{
        position: absolute;
        top: 16px;
        left: 15px;
        font-size: 1.5rem;
    }

    .main-container {
        display: flex;
        flex-direction: column;
    }

    .nav-container .links{
        display: none;
    }

    .hamburg,
    .cancel{
        display: block;
    }

    .main-container .content{
        width: 80%;
    }

    .social-links i{
        width: 2.5rem;
        height: 2.5rem;
        font-size: 1.5rem;
    }

    .main-container .image{
        z-index: -1;
        width: 50%;
        height: 60%;
    }
}

@media (max-width:440px){
    .main-container .image{
        width: 50%;
        height: 60%;
        margin-bottom: 0px;
    }

    .main-container .content{
        width: 80%;
    }

    .main-container button{
        margin-top: 15px;
    }
}






.services {
    width: 100%;
    min-height: 80vh;
    background-color: black;
    color: white;
    padding: 50px 0;
    text-align: center;
}

.service-title h1 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: #077b32;
    text-shadow: 0 0 10px #077b32;
}

.service-title p {
    font-size: 1.2rem;
    margin-bottom: 50px;
    color: white;
}

.service-cards {
    display: flex;
    justify-content: space-evenly;
    flex-wrap: wrap;
}

.card {
    background-color: #1a1a1a;
    padding: 20px;
    width: 300px;
    margin: 20px;
    border-radius: 10px;
    box-shadow: 0 0 15px #077b32;
    text-align: center;
    transition: transform 0.3s ease-in-out;
}

.card:hover {
    transform: scale(1.05);
}

.card i {
    font-size: 3rem;
    color: #077b32;
    margin-bottom: 20px;
}

.card h3 {
    margin-bottom: 15px;
    color: #077b32;
    font-size: 1.5rem;
}

.card p {
    font-size: 1rem;
    color: white;
    margin-bottom: 10px;
}


.skills {
    width: 100%;
    min-height: 80vh;
    background-color: black;
    color: white;
    padding: 50px 0;
    text-align: center;
}

.skills-title h1 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: #077b32;
    text-shadow: 0 0 10px #077b32;
}

.skills-title p {
    font-size: 1.2rem;
    margin-bottom: 50px;
    color: white;
}

.skill-grid {
    display: flex;
    justify-content: space-evenly;
    flex-wrap: wrap;
}

.skill-item {
    background-color: #1a1a1a;
    padding: 20px;
    width: 200px;
    margin: 20px;
    border-radius: 10px;
    box-shadow: 0 0 15px #077b32;
    text-align: center;
    transition: transform 0.3s ease-in-out;
}

.skill-item:hover {
    transform: scale(1.05);
}

.skill-item i {
    font-size: 3rem;
    color: #077b32;
    margin-bottom: 20px;
}

.skill-item h3 {
    color: #077b32;
    font-size: 1.5rem;
}


.contact {
    width: 100%;
    min-height: 80vh;
    background-color: black;
    color: white;
    padding: 50px 0;
    text-align: center;
}

.contact-title h1 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: #077b32;
    text-shadow: 0 0 10px #077b32;
}

.contact-title p {
    font-size: 1.2rem;
    margin-bottom: 50px;
    color: white;
}

.contact-form {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.contact-form form {
    width: 100%;
    max-width: 600px;
    background-color: #1a1a1a;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 0 15px #077b32;
}

.input-group {
    display: flex;
    flex-direction: column;
    margin-bottom: 20px;
}

.input-group label {
    color: white;
    margin-bottom: 10px;
}

.input-group input, 
.input-group textarea {
    padding: 10px;
    border-radius: 5px;
    border: none;
    outline: none;
    background-color: #333;
    color: white;
    font-size: 1rem;
    box-shadow: 0 0 5px #077b32;
}

.input-group input:focus, 
.input-group textarea:focus {
    background-color: #222;
    box-shadow: 0 0 10px #077b32;
}

.submit-btn {
    text-align: center;
}

.submit-btn button {
    padding: 10px 20px;
    background-color: #077b32;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1.2rem;
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}

.submit-btn button:hover {
    transform: scale(1.05);
    box-shadow: 0 0 15px #077b32;
}

.submit-btn button:active {
    transform: scale(0.95);
}


.about {
    width: 100%;
    min-height: 80vh;
    background-color: black;
    color: white;
    padding: 50px 0;
    text-align: center;
}

.about-title h1 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: #077b32;
    text-shadow: 0 0 10px #077b32;
}

.about-title p {
    font-size: 1.2rem;
    margin-bottom: 50px;
    color: white;
}

.about-content {
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    padding: 20px;
    flex-wrap: wrap;
}

.about-text {
    width: 60%;
    text-align: left;
}

.about-text h2 {
    font-size: 1.8rem;
    color: #077b32;
    margin-bottom: 15px;
}

.about-text p {
    font-size: 1rem;
    color: white;
    margin-bottom: 20px;
}

.about-text ul {
    list-style: none;
    padding: 0;
    margin-bottom: 30px;
}

.about-text ul li {
    margin-bottom: 15px;
    font-size: 1rem;
}

.about-text a {
    color: #077b32;
    text-decoration: underline;
    transition: 0.2s ease;
}

.about-text a:hover {
    color: white;
}

.about-photo {
    width: 30%;
}

.about-photo img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 0 15px #077b32;
}

@media (max-width: 884px) {
    .about-content {
        flex-direction: column;
    }

    .about-text {
        width: 100%;
        text-align: center;
    }

    .about-photo {
        width: 50%;
        margin-top: 30px;
    }
}


.projects {
    width: 100%;
    min-height: 80vh;
    background-color: black;
    color: white;
    padding: 50px 0;
    text-align: center;
}

.projects-title h1 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: #077b32;
    text-shadow: 0 0 10px #077b32;
    position: sticky;
}

.projects-title p {
    font-size: 1.2rem;
    margin-bottom: 50px;
    color: white;
}

.project-list {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.project-item {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    background-color: #1a1a1a;
    border-radius: 10px;
    box-shadow: 0 0 15px #077b32;
    padding: 20px;
    margin: 20px;
    width: 80%;
    transition: transform 0.3s ease-in-out;
}

.project-item:hover {
    transform: scale(1.05);
}

.project-image img {
    width: 100%;
    max-width: 400px;
    border-radius: 10px;
    box-shadow: 0 0 15px #077b32;
}

.project-details {
    max-width: 600px;
    margin: 20px;
    text-align: left;
}

.project-details h2 {
    font-size: 1.8rem;
    color: #077b32;
    margin-bottom: 15px;
}

.project-details p {
    font-size: 1rem;
    margin-bottom: 15px;
    color: white;
}

.project-link {
    padding: 10px 20px;
    background-color: #077b32;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.project-link:hover {
    background-color: white;
    color: #077b32;
}

@media (max-width: 884px) {
    .project-item {
        flex-direction: column;
    }
}

.footer {
    width: 100%;
    background-color: #1a1a1a;
    color: white;
    text-align: center;
    padding: 20px 0;
    position: relative;
    bottom: 0;
    left: 0;
}

.footer p {
    font-size: 1rem;
    margin: 0;
    color: white;
}

.footer p span {
    color: #077b32;
}

