@font-face {
    font-family: 'Dumverse';
    src: url('./Dumverse_Font.ttf') format('truetype');
    font-weight: 200;
    font-style: normal;
}

body, html {
    z-index: 2;
    min-height: 100%;
    width: 100%;
    margin: 0;
    top: 0;
    display: flex;
    flex-direction: column;
    font-family: 'Dumverse', Georgia, Arial;
    color: white;
    background: linear-gradient(to right, #b47aea, #5ce1e6);
    overflow-x: hidden;
}

.header {
    width: 100%;
    display: flex;
    align-items: center;
}


.logo-link {
    position: absolute; /* Match the logo's absolute positioning */
    top: 10px; /* Same as the logo's margin-top */
    left: 25px; /* Same as the logo's margin-left */
    display: inline-block; /* Ensure the link wraps the content */
    text-decoration: none; /* Remove underline (if needed) */
    height: 100%;
    width: auto;
}

.mainLogo {
    height: 120px; /* Maintain the logo's small size */
    display: block; /* Prevent inline spacing issues */
}


.logo-container {
    top: 0;
    margin: 0;
    padding: 0;
}

.navigation {
    display: flex;
    gap: 20px;
    width: 100%;
    padding: 0px 0;
    justify-content: center;
}

.dropdown-button {
    font-family: 'Dumverse';
    padding: 8px 16px;
    width: 200px;
    font-size: 26px;
    color: white;
    background: linear-gradient(to right, #9cd7ed, #029dd1);
    border: none;
    border-radius: 26px;
    cursor: pointer;
    transition: background-color 0.3s;
    margin-top: 47px;
}

.dropdown-button:hover {
    transform: scale(1.05);
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2);
    cursor: pointer;
}

.dropdown-button:active {
    transform: scale(0.95);  /* Slightly shrink the button */
    box-shadow: inset 0px 0px 5px rgba(0, 0, 0, 0.3);  /* Add an inset shadow to make it look pressed */
    cursor: pointer;
}

.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-content {
    display: none;
    position: absolute;
    top: calc(100% + 2px); /* Position below button with small gap */
    left: 50%;
    transform: translateX(-50%);
    width: 200px; /* Match button width */
    background: #b47aea;
    border-radius: 15px;
    box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    overflow: hidden;
}

.dropdown-content a {
    font-family: 'Dumverse';
    color: white;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    text-align: center;
    font-size: 20px;
    transition: background-color 0.3s;
}

.dropdown-content a:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.02);
}

.show {
    display: block;
    animation: dropdownFade 0.3s ease-in-out;
}

@keyframes dropdownFade {
    from {
        opacity: 0;
        transform: translateX(-50%) translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
}

.roadmap {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-top: 120px;
    width: 80%;
    margin-left: auto;
    margin-right: auto;
    border-radius: 26px;
    z-index: 10;
}

.intro-dumz {
    display: flex;
    gap: 40px;
    width: 100%;
    padding: 10px 0;
    margin-top: 120px;
    justify-content: center;
}

.dumzpng {
    height: auto;
    width: 350px;
    border-radius: 26px;
}

.whatisdumdumz {
    display: flex;
    flex-direction: column;
    text-align: center;
    width: 45%;
    margin-top: 100px;
    margin-left: auto;
    margin-right: auto;
    border-radius: 26px;
    background-color: #ea2085;
    z-index: 10;
}

.whatisdumdumz h2 {
    font-size: 50px;
    font-weight: 200;
    margin: 0;
    padding-top: 15px;
}

.whatisdumdumz p {
    font-size: 25px;
    font-weight: 200;
    padding-right: 10px;
    padding-left: 10px;
    padding-top: 10px;
    padding-bottom: 15px;
    margin: 0;
}

.whatisdumverse {
    display: flex;
    flex-direction: column;
    text-align: center;
    width: 50%;
    margin-top: 100px;
    margin-left: auto;
    margin-right: auto;
    border-radius: 26px;
    background-color: #43BCCD;
    z-index: 10;
}

.whatisdumverse h2 {
    font-size: 50px;
    font-weight: 200;
    margin: 0;
    padding-top: 15px;
}

.whatisdumverse p {
    font-size: 25px;
    font-weight: 200;
    padding-right: 10px;
    padding-left: 10px;
    padding-top: 10px;
    padding-bottom: 15px;
    margin: 0;
}

.team {
    display: flex;
    flex-direction: column;
    text-align: center;
    margin-top: 120px;
    width: 60%;
    background-color: #b47aea;
    margin-left: auto;
    margin-right: auto;
    border-radius: 26px;
    z-index: 10;
}
.team h2 {
    font-size: 50px;
    font-weight: 200;
    margin: 0;
    padding-top: 15px;
}

.team-members {
    display: inline-block;
    justify-content: center;
}

.team-members img {
    margin: 0;
    height: 200px;
    width: 200px;
    padding: 10px;
    border-radius: 26px;
}

.image-container {
    position: relative;
}

.cherie {
    width: 100%;
    height: auto;
    transition: opacity 0.3s ease;
}

.cherie.hover {
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
}

.image-container:hover .cherie.hover {
    opacity: 1;
}

.image-container:hover .cherie.main {
    opacity: 0;
}

.team-members h3 {
    font-size: 25px;
    margin: 0;
    padding: 0;
    font-weight: 200;
}

.team-members p {
    margin: 0;
    padding: 10px;
}

.footer {
    height: 30px;
    width: 100%;
    margin-top: 50px;
    padding-bottom: 30px;  /* Added padding at bottom */
    clear: both;  /* Ensures it clears any floating elements */
}

.nav-toggle {
    display: none;
    position: absolute;
    margin-top: 30px;
    right: 20px;
    z-index: 1000;
    width: 50px;
    height: 50px;
    padding: 8px;
    border: 1px solid white;
    border-radius: 4px;
    background: linear-gradient(to right, #9cd7ed, #029dd1);
    cursor: pointer;
    transition: all 0.2s;
}

.nav-toggle:hover {
    transform: scale(1.05);
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2);
    cursor: pointer;
}

.nav-toggle:active {
    transform: scale(0.95);
    box-shadow: inset 0px 0px 5px rgba(0, 0, 0, 0.3);
    cursor: pointer;
}

/* Hamburger icon for nav toggle */
.nav-hamburger {
    position: relative;
    display: block;
    width: 100%;
    height: 100%;
}

.nav-hamburger::before,
.nav-hamburger::after,
.nav-hamburger div {
    content: '';
    position: absolute;
    height: 2px;
    background-color: white;
    left: 50%;
    transform: translateX(-50%);
    transition: all 0.3s ease;
}

.nav-hamburger::before {
    top: calc(50% - 10px);
    width: 24px;
}

.nav-hamburger div {
    top: 50%;
    transform: translate(-50%, -50%);
    width: 24px;
}

.nav-hamburger::after {
    top: calc(50% + 8px);
    width: 24px;
}

/* Media query for mobile navigation */
@media (max-width: 879px) {
    .nav-toggle {
        top: 230px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .header {
        position: relative;  /* Add positioning context */
    }
    
    .logo-container {
        width: 100%;
        text-align: center;
    }
    
    .logo-link {
        position: relative;  /* Instead of absolute */
        left: 10px;            /* Reset positioning */
        top: 10px;
        width: 100%;
        text-align: center;
        display: block;
    }
    
    .mainLogo {
        height: 220px;
        margin: 0 auto;  /* Center the image */
        display: block;
    }
    
    

    .navigation {
        position: absolute;
        left: auto;
        right: auto;
        top: 320px;  /* Adjust this value to position below header */
        max-height: fit-content; 
        width: 275px;
        background: #b47aea;
        border-radius: 26px;
        z-index: 500;
        transform: translateX(200%);
        transition: transform 0.3s ease;
        padding: 20px 20px 20px;
        box-shadow: -2px 0 5px rgba(0,0,0,0.1);
        display: flex;
        flex-direction: column;
        gap: 15px;
    }

    .navigation.active {
        transform: translateX(5%);
    }

    .dropdown {
        width: 100%;
    }

    .dropdown-button {
        width: 100%;
        text-align: center;
        padding: 12px;
        margin: 5px;
    }

    .dropdown-content {
        position: absolute; /* Changed from static */
        display: none;
        width: 100%;
        box-shadow: 0 2px 5px rgba(0,0,0,0.2); /* Added proper shadow */
        margin-top: 5px;
        /* Remove margin-left: auto */
    }
    
    .dropdown-content.show {
        display: block;
    }
    
    .dropdown-content a {
        padding: 10px 20px;
    }

    .dumzpng:nth-child(2),
    .dumzpng:nth-child(3) {
        display: none;
    }

    .dumzpng {
        height: auto;
        width: 275px;
        border-radius: 26px;
    }

    .whatisdumdumz {
        display: flex;
        flex-direction: column;
        text-align: center;
        width: 80%;
        margin-top: 50px;
        margin-left: auto;
        margin-right: auto;
        border-radius: 26px;
        background-color: #ea2085;
        z-index: 10;
    }
    
    .whatisdumdumz h2 {
        font-size: 26px;
        font-weight: 200;
        margin: 0;
        padding-top: 15px;
    }
    
    .whatisdumdumz p {
        font-size: 14px;
        font-weight: 200;
        padding-right: 10px;
        padding-left: 10px;
        padding-top: 10px;
        padding-bottom: 15px;
        margin: 0;
    }

    .whatisdumverse {
        display: flex;
        flex-direction: column;
        text-align: center;
        width: 80%;
        margin-top: 50px;
        margin-left: auto;
        margin-right: auto;
        border-radius: 26px;
        background-color: #43BCCD;
        z-index: 10;
    }
    
    .whatisdumverse h2 {
        font-size: 26px;
        font-weight: 200;
        margin: 0;
        padding-top: 15px;
    }
    
    .whatisdumverse p {
        font-size: 14px;
        font-weight: 200;
        padding-right: 10px;
        padding-left: 10px;
        padding-top: 10px;
        padding-bottom: 15px;
        margin: 0;
    }


    .team {
        display: flex;
        flex-direction: column;
        text-align: center;
        margin-top: 50px;
        width: 80%;
        background-color: #b47aea;
        margin-left: auto;
        margin-right: auto;
        border-radius: 26px;
        z-index: 10;
    }
    .team h2 {
        font-size: 26px;
        font-weight: 200;
        margin: 0;
        padding-top: 15px;
    }
    
    .team-members {
        display: inline-block;
        justify-content: center;
    }
    
    .team-members img {
        margin: 0;
        height: 200px;
        width: 200px;
        padding: 10px;
        border-radius: 26px;
    }

}

