/* Reset some default styles to ensure consistency */
body, ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

/* Set the background image and adjust background properties */
body {
    background-color: rgba(22, 85, 3, 0.425); /* Adjust the last value (0.5) for the desired opacity */
    /*background-image: url('./images/zombie pig.png');*/
    background-image: url('./images/graveyard.jpg');
    background-repeat: no-repeat;
    background-size: 100% 100%; /* Stretch image to fill entire background */
    background-attachment: fixed;
    position: relative;
    /* Set the background color with opacity */
    
}


nav ul {
    display: flex;
    justify-content: space-around;
    background-color: green;
    list-style: none;
    padding: 5px 0;
}

nav li {
    position: relative;
    left: 18px;
    right: 15px;
    
}

nav a {
    justify-content: space-around;
    text-decoration: none;
    color: white;
    padding: 1px 5px;
}

/* Update the CSS for dropdown menus */
.dropdown {
    position: relative;
    display: inline-block; /* Display the dropdowns inline */
}

/* Dropdown menu styling */
.dropdown-content {
    display: none;
    position: absolute;
    background-color: green;
    z-index: 1;
    width: 200px; /* Set a fixed width for the dropdown menus */
    text-align: left; /* Align the text to the left */
}

.dropdown-content a {
    display: block;
    padding: 10px 20px;
    color: white;
    text-decoration: none;
}

.dropdown:hover .dropdown-content {
    display: inline-block;
}

/* Apply purple color to links when hovered */
nav a:hover {
    color: purple;
}

p#discord {
    position: fixed;
    left: 0;
    bottom: -20px;
    width: 100%;
    background-color: rgb(3, 249, 40);
    color: rgb(128, 0, 255);
    text-align: center;
    height: 8vh; /* Adjusted footer height */
    font-size: 1.5vh; /* Adjust as needed */
    transition: all .5s; /* Add a transition for smooth size change */    
}

/* Use # sign for the custom id names for each item created by me */
/* Use . sign for the custom id class names for each item created by me */

div#welcomeMessage {
    position: fixed;
    padding-left: 20px;
    top: 100px;
    left: 0;
    bottom: 0;
    width: 90%;
    color: rgb(213, 248, 13);
    text-align: center;
    height: 8vh; /* Adjusted footer height */
    font-size: 1.45vh; /* Adjust as needed */
    text-shadow: 2px 2px 4px rgb(255, 0, 0); /* Add text shadow with desired properties */
    transition: all 1.3s; /* Add a transition for smooth size change */    
}


p#killingFloor {
    position: fixed;
    padding-left: 20px;
    top: 100px;
    left: 0;
    bottom: 0;
    width: 90%;
    color: rgb(255, 255, 255) !important;
    text-shadow: 2px 2px 4px rgb(0, 0, 0); /* Add text shadow with desired properties */
    text-align: center;
    height: 8vh; /* Adjusted footer height */
    font-size: 1.5vh; /* Adjust as needed */
    transition: all 1.3s; /* Add a transition for smooth size change */    
}

p#sevenDays {
    position: fixed;
    padding-left: 20px;
    top: 100px;
    left: 0;
    bottom: 0;
    width: 90%;
    color: rgb(255, 255, 255) !important;
    text-shadow: 2px 2px 4px rgb(0, 0, 0); /* Add text shadow with desired properties */
    text-align: center;
    height: 8vh; /* Adjusted footer height */
    font-size: 1.5vh; /* Adjust as needed */
    transition: all 1.3s; /* Add a transition for smooth size change */    
}

p#projectZomboid {
    position: fixed;
    padding-left: 20px;
    top: 100px;
    left: 0;
    bottom: 0;
    width: 90%;
    color: rgb(255, 255, 255) !important;
    text-shadow: 2px 2px 4px rgb(0, 0, 0); /* Add text shadow with desired properties */
    text-align: center;
    height: 8vh; /* Adjusted footer height */
    font-size: 1.5vh; /* Adjust as needed */
    transition: all 1.3s; /* Add a transition for smooth size change */    
}

p#theTeam {
    position: fixed;
    padding-left: 20px;
    top: 100px;
    left: 0;
    bottom: 0;
    width: 90%;
    color: rgb(224, 185, 12) !important;
    text-shadow: 2px 2px 4px rgb(255, 255, 255); /* Add text shadow with desired properties */
    text-align: center;
    height: 8vh; /* Adjusted footer height */
    font-size: 30px; /* Adjust as needed */
    transition: all .8s; /* Add a transition for smooth size change */
    
}

/* Basic styling for header and navigation */
/* CSS for the navigation bar */
header {
    background-color: green;
    color: white;
    padding: 10px 0;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000; /* Ensure the header is above other elements */
}

/* ... (previous CSS code) ... */

/* Style for #ourStory */
h1#ourStory {
    color: rgb(213, 248, 13);
    text-shadow: 2px 2px 4px rgb(255, 0, 0); /* Add text shadow with desired properties */
    text-align: left;
    font-size: 5.5vh;
    position: relative;
    top: 10px;
    padding-top: 30px;
    margin-top: 50px;
    padding-left: 30px;
    z-index: 6;
    transition: all 0.8s; /* Add a transition for smooth size change */
}

/* Style for #ourStoryText */
p#ourStoryText {
    color: rgba(255, 255, 255, 0.842);
    text-align: left;
    font-size: 2.5vh;
    position: absolute;
    padding-top: 30px;
    margin-top: 30px;
    padding-left: 30px;
    top: 50px;
    z-index: 5;
    transition: all .5s; /* Add a transition for smooth size change */
    text-shadow: 2px 2px 4px rgb(0, 0, 0); /* Add text shadow with desired properties */
}

#text {
    font-size: 18px; /* Adjust the base font size as needed */
}


/* Adjust the position and size of #ourStory and #ourStoryText for smaller screens */
@media screen and (max-width: 410px) {
    body {
        background-size: 100% 100%; /* Stretch the image while maintaining aspect ratio */
    }

    #text {
        font-size: 14px; /* Adjust the font size for smaller screens */
    }

    #ourStory {
        margin-top: 30px;
        font-size: 4vh; /* Decrease font size for smaller screens */
    }

    #ourStoryText {
        top: 160px;
        font-size: 2vh; /* Decrease font size for smaller screens */
    }

    h1#welcomeMessage {
        height: 15vh; /* Adjusted height for smaller screens */
        font-size: 1.5vh; /* Adjusted font size for smaller screens */
    }

    .dropdown {
        display: block; /* Stack the dropdowns on top of each other */
        margin-bottom: 10px; /* Add some spacing between stacked dropdowns */
        text-align: center; /* Center the dropdown items */
    }

    .dropdown-content {
        display: none;
        position: absolute;
        background-color: green;
        z-index: 1;
        width: 200px; /* Set a fixed width for the dropdown menus */
        text-align: left; /* Align the text to the left */
        left: -20px; /* Move the dropdown menu 20 pixels to the left */
    }
    
    .dropdown-content a {
        display: block;
        padding: 10px 0; /* Adjust top and bottom padding */
        padding-left: 20px; /* Add left padding */
        padding-right: 40px; /* Add 20 pixels of padding on the right */
        color: white;
        text-decoration: none;
    }
}
