@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@100;200;300;400;500;600&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    text-decoration: none;
    border: none;
    outline: none;
    font-family: 'Poppins', sans-serif;
}

html {
    font-size: 62.5%;
}

body {
    width: 100%;
    height: 100vh;
    overflow-x: hidden;
    background-color: rgb(0, 0, 0);
    color: rgb(255, 255, 255);
}

header {
    margin-top: 20px;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 1rem 9%;
    /* background-color: rgb(10, 8, 8); */
    filter: drop-shadow(10px);
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 100;
}


















.logo {
    font-size: 3rem;
    color: #358137;
    font-weight: 800;
    cursor: pointer;
    transition: 0.5s ease;
}

.logo:hover {
    transform: scale(1.1);
}

.hamburger {
    display: none;
    cursor: pointer;
    font-size: 2.5rem;
    color: white;
}

nav a {
    font-size: 1.8rem;
    color: white;
    margin-left: 4rem;
    font-weight: 500;
    transition: 0.3s ease;
    border-bottom: 3px solid transparent;
}

nav a:hover,
nav a.active {
    color: #7ed360;
    border-bottom: 3px solid #3c7925;
}














@media(max-width:787px) {
    .hamburger {
        display: block;
    }

    nav {
        position: absolute;
        display: none;
        top: 5rem;
        right: 0;
        width: 40%;
        border-left: 3px solid #3c7925;
        border-bottom: 3px solid #3c7925;
        border-bottom-left-radius: 3rem;
        border-top-left-radius: 3rem;
        padding: 1rem solid;
        background-color: #000000;  
        border-top: 0.1rem solid rgba(0, 0, 0, 0.1);
    }

    nav.active {
        display: block;
    }

    nav a {
        display: block;
        font-size: 2rem;
        margin: 3rem 0;
        scroll-behavior: smooth;
    }

    nav a:hover,
    nav a.active {
        padding: 1rem; 
        border-radius: 0.5rem;
        border-bottom: 0.1rem solid #020202;  /*  #397c23 */
    }
}
















section {
    min-height: 100vh;
    padding: 5rem 9% 5rem;
}

.home {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8rem;
    background-color: black;
}

.home .home-content h1 {
    font-size:clamp(1.8rem,10vw,5rem);
    font-weight: 700;
    line-height: 1.3;
}

span {
    color: #5fdf35ba; /* #a61b1b */
}

.home-content h3 {
    font-size: 4rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.home-content p {
    font-size: 1.6rem;
}

.home-img {
    border-radius: 60%;

    
}






/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.home-content h1,
.home-content h3,
.home-content p,
.social-icons,
.home-img img,
.btn {
    opacity: 0;
    animation: fadeInUp 1s ease forwards;
}
.home-img img    { animation-delay: 0.1s;}
.home-content h1 { animation-delay: 0.2s; }
.home-content h3 { animation-delay: 0.4s; }
.home-content p  { animation-delay: 0.6s; }
.social-icons    { animation-delay: 0.8s; }
.btn             { animation-delay: 1s; }

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}















.home-img img {
    position: relative;
    width: 30vw;
    border-radius: 60%;
    box-shadow: 0 0 25px solid #b74b4b;   /* #b74b4b */
    cursor: pointer;
    transition: 0.5s linear;
}

.home-img img:hover {
    font-size: 1.8rem;
    font-weight: 500;
}

.social-icons a {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 4rem;
    height: 4rem;
    background-color: transparent;
    border: 0.2rem solid #0d7712; /*#b74b4b*/
    font-size: 2rem;
    border-radius: 50%;
    margin: 3rem 1.5rem 3rem 0;
    transition: 0.3s ease;
    color: #3aad40;   /*#b74b4b*/
}

.social-icons a:hover {
    color: rgb(220, 203, 203);
    transform: scale(1.3) translateY(-5px);
    background-color: #0d7712;
    box-shadow: 0 0 25px #0d7712;
}


















.btn {
    display: inline-block;
    padding: 1rem 2.8rem;
    background-color: black;
    border-radius: 4rem;
    font-size: 1.6rem;
    color: #0d7712;
    letter-spacing: 0.3rem;
    font-weight: 600;
    border: 2px solid #0d7712;
    transition: 0.3s ease;
    cursor: pointer;
}

.btn:hover {
    transform: scale3d(1.03);
    background-color: #0d7712;
    color: rgb(255, 255, 255);
    box-shadow: 0 0 25px #0d7712;
}




















@media (max-width: 1000px) {
    .home {
        gap: 4rem;
    }
}

@media(max-width:995px) {
    .home {
        flex-direction: column;
        margin: 5rem 4rem;
    }

    .home .home-content h3 {
        font-size: 2.5rem;
    }

    .home-content h1 {
        font-size: 5rem;
    }

    .home-img img {
        width: 70vw;
        margin-top: 4rem;
    }
}