@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@100;200;300;400;500;600&display=swap');

html {
    background: black;
    height: 100%;
    overflow: hidden;
}

body {
    margin: 0;
    padding: 0;
    height: 100%;
    position: relative;
    z-index: 1;
}

#Matrix {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
    pointer-events: none;
}

.social-links {
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10;
    margin-top: 10px;
    position: absolute;
    top: 10%;
    left: 30%;
    transform: translateX(-50%);
}

.social-links a {
    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: 0 10px;
    transition: 0.2s linear;
    overflow: hidden;
}

.social-links svg {
    width: 1.5rem;
    height: 1.5rem;
    fill: #077b32;
    transition: 0.2s linear;
}

.social-links a:hover {
    background-color: #077b32;
}

.social-links a:hover svg {
    fill: white;
}

.social-links a:hover {
    scale: 1.3;
    color: black;
    filter: drop-shadow(0 0 10px #077b32);
}

/* Global styles */
* {
    padding: 0;
    margin: 0;
    font-family: 'Poppins', sans-serif;
    box-sizing: border-box;
}

/* Navbar */
nav {
    width: 100%;
    height: 10vh;
    position: sticky;
    z-index: 2;
    background-color: rgba(0, 0, 0, 0.7);
}

.nav-container {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
    position: relative;
}

.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;
    gap: 30px;
}

.nav-container .links a {
    font-size: 1.2rem;
    color: white;
    text-decoration: none;
    font-weight: 550;
    transition: 0.3s linear;
    position: relative;
}

.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 Menu */
.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;
}

/* Section */
section {
    position: relative;
    z-index: 2;
    width: 100%;
    height: 90vh;
}

.main-container {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: space-evenly;
    align-items: center;
}

.main-container .image {
    transform: translateY(-95px) !important;
    width: clamp(150px, 30vw, 300px);
    height: clamp(150px, 30vw, 300px);
    overflow: hidden;
    position: relative;
    z-index: 2;
    margin-top: -20px;
}

.main-container .image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.main-container .image:hover {
    animation: none;
}

.main-container .content {
    color: white;
    width: 40%;
    min-height: 100px;
    z-index: 2;
}

.content h1 {
    font-size: clamp(1rem, 1rem + 5vw, 1.8rem);
}

.content h1 span {
    background: linear-gradient(45deg, #00c2ff, #33ff8c, #ffc640, #e54cff);
    background-size: 400% 400%;
    -webkit-background-clip: text;
    color: transparent;
    animation: aurora-effect 10s ease infinite;
}

.content .typewriter {
    font-size: clamp(1rem, 1rem + 5vw, 2.5rem);
    font-weight: 600;
    color: white;
}

.content .typewriter-text {
    background: linear-gradient(45deg, #00c2ff, #33ff8c, #ffc640, #e54cff);
    background-size: 400% 400%;
    -webkit-background-clip: text;
    color: transparent;
    animation: aurora-effect 10s ease infinite, typing 4s steps(40) 1s infinite;
}

@keyframes aurora-effect {
    0% {
        background-position: 0% 50%;
    }
    25% {
        background-position: 50% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    75% {
        background-position: 50% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

@keyframes typing {
    0% {
        width: 0;
    }
    100% {
        width: 100%;
    }
}

.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;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .nav-container {
        justify-content: space-between;
    }

    .nav-container .links {
        display: none;
    }

    .hamburg {
        display: block;
    }

    .dropdown {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        display: none;
    }

    .dropdown.active {
        display: block;
    }

    .dropdown .links {
        display: flex;
        flex-direction: column;
        align-items: center;
        background-color: rgba(0, 0, 0, 0.9);
    }

    .dropdown .links a {
        padding: 15px;
        width: 100%;
        text-align: center;
    }
}
