@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; /* Updated font */
}

html {
    font-size: 62.5%; /* Set base font size */
}

body {
    width: 100%;
    height: 100vh;
    overflow-x: hidden;
    background-color: black; /* Updated background */
    color: white; /* Keep text color white */
}

/* Existing styles */
.what-im-doing {
    padding: 50px;
    text-align: center;
}

.what-im-doing h2 {
    font-size: 2.5em;
    margin-bottom: 40px;
}

.cards-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.card {
    background-color: #1e1e1e;
    border-radius: 10px;
    padding: 20px;
    width: 250px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    text-align: left;
}

.icon {
    font-size: 2em;
    margin-bottom: 15px;
}

.card h3 {
    font-size: 1.5em;
    margin-bottom: 10px;
}

.card p {
    font-size: 1em;
    color: #b0b0b0;
}

.card:hover {
    background-color: #2a2a2a;
    transform: translateY(-5px);
    transition: all 0.3s ease-in-out;
}

/* New Header Styles */
header {
    margin-top: 20px;
    position: relative;
    top: 0;
    left: 0;
    width: 100%;
    padding: 1rem 9%;
    background-color: transparent;
    filter: drop-shadow(10px);
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 100;
}

.logo {
    font-size: 3rem;
    color: #b74b4b;
    font-weight: 800;
    cursor: pointer;
    transition: 0.5s ease;
}

.logo:hover {
    transform: scale(1.1);
}

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: #b74b4b;
    border-bottom: 3px solid #b74b4b;
}

/* New About Section */
.about {
    text-align: center;
    font-size: large;
    margin: 5px;
}

/* New Paragraph Style */
p {
    padding: 10px;
    /* border: 2px solid rgb(73, 69, 69); */
    border-radius: 15px;
    font-family: cursive;
    margin: 10px;
}
.cards-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.card {
    background-color: #1e1e1e;
    border-radius: 10px;
    padding: 20px;
    width: 300px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: all 0.3s ease-in-out;
}

.card img {
    width: 60px;
    height: 60px;
    margin-bottom: 15px;
    object-fit: contain;
}

.card h3 {
    font-size: 1.5em;
    margin-bottom: 10px;
    color: #fff;
}

.card p {
    font-size: 2em;
    color: #b0b0b0;
}

.card:hover {
    background-color: #2a2a2a;
    transform: translateY(-5px);
}
/* nav bar hamberger */

.hamburger {
    display: none; /* Hidden by default */
    font-size: 2.5rem;
    color: white;
    cursor: pointer;
}

@media (max-width: 1200px) {
    .logo {
        font-size: 2.5rem; /* Reduce logo size */
    }

    nav a {
        font-size: 1.6rem; /* Reduce font size of nav links */
    }
}

@media (max-width: 995px) {
    .hamburger {
        display: block; /* Show hamburger menu */
    }

    nav {
        flex-direction: column; /* Stack items */
        background-color: #161616;
        padding: 1rem;
        position: absolute;
        top: 100%; /* Position below header */
        right: 0;
        width: 100%; /* Full width */
        border-top: 0.1rem solid rgba(0, 0, 0, 0.1);
        display: none; /* Hide initially */
    }

    nav.active {
        display: block; /* Show when active */
    }

    nav a {
        display: block; /* Stack nav items */
        margin: 1.5rem 0; /* Space between items */
        padding: 0.5rem 1rem; /* Padding for clickable area */
    }
}