@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 {
    width: 100%;
    background-color: #0d0d0d;
    color: #fff;
    overflow-x: hidden;
}

/* Navigation */
nav {
    width: 100%;
    height: 10vh;
    position: sticky;
    top: 0;
    background-color: rgba(0, 0, 0, 0.8);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.5);
    z-index: 1000;

    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.5);
    /* justify-content: space-around; */
}

.nav-container {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 0 2rem;
    position: relative; /* Add for positioning dropdown */
}

.logo {
    color: #fff;
    font-size: 2rem;
    font-weight: 600;
    letter-spacing: 2px;
}

.logo span {
    color: #d30303;
    text-shadow: 0 0 10px rgba(211, 3, 3, 0.8);
}

/* Add display for hamburger icon */
.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;
    /* align-items: center; */
}

.nav-container .links a {
    font-size: 1.1rem;
    color: #fff;
    margin: 0 15px;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease, border-bottom 0.3s ease;
}

.nav-container .links a:hover {
    color: #d30303;
    border-bottom: 2px solid #d30303;
}

/* Dropdown (For Mobile) */
.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.active {
    display: block;
    top: 100%;
} */

.dropdown .links a {
    display: flex;
    color: white;
    text-decoration: none;
    padding: 15px 0;
    justify-content: center;
    align-items: center;
    transition: 0.2s linear;
}
.dropdown .links a:hover {
    background-color: #d30303;
}

/* Section and Main Container */
section {
    width: 100%;
    height: auto;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 2rem;
}

.main-container {
    width: 80%;
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    flex-wrap: wrap;
}

.main-container .content {
    max-width: 600px;
    margin: 0 auto;
    padding: 2rem;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    animation: fadeIn 1.5s ease-in-out;
}

.content h1 {
    font-size: 2.5rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: #fff;
    text-transform: uppercase;
    position: relative;
}

.content h1::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 50px;
    height: 4px;
    background-color: #d30303;
}

.content p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 1rem;
    color: rgba(255, 255, 255, 0.8);
    animation: fadeInUp 1s ease-in-out;
}

.social-links i {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 3rem;
    height: 3rem;
    background-color: transparent;
    border: 0.2rem solid rgb(211, 3, 3);
    border-radius: 50%;
    color: rgb(211, 3, 3);
    margin: 0 15px;
    font-size: 1.5rem;
    transition: 0.2s linear;
}

.social-links i:hover {
    background-color: #d30303;
    color: #fff;
    box-shadow: 0 0 10px rgba(211, 3, 3, 0.8);
    transform: scale(1.2);
}

/* Animations */
@keyframes fadeIn {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

@keyframes fadeInUp {
    0% {
        transform: translateY(20px);
        opacity: 0;
    }
    100% {
        transform: translateY(0);
        opacity: 1;
    }
}

.main-container .image {
    width: 250px;
    height: 250px;
    border-radius: 50%; /* Circular frame */
    overflow: hidden;
    box-shadow: 0 0 20px rgba(211, 3, 3, 0.5);
    margin-right: 20px; /* Adjust spacing */
}

.main-container .image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Responsive Design */
@media (max-width: 884px) {
    nav .logo {
        position: absolute;
        top: 16px;
        left: 15px;
        font-size: 1.5rem;
    }
    .nav-container .links {
        display: none;
    }

    .hamburg,
    .cancel {
        display: block;
    }

    .main-container {
        flex-direction: column;
        height: auto;
    }

    .main-container .content {
        width: 100%;
        padding: 2rem;
    }

    .main-container .image {
        order: -1;
        margin-bottom: 20px; /* Moves image above content */
    }
}

@media (max-width: 440px) {
    .main-container .content {
        padding: 1rem;
    }

    .main-container .content h1 {
        font-size: 1.8rem;
    }

    .main-container .image {
        width: 150px;
        height: 150px;
    }
}
