/* This code only runs on screens smaller than 600px (phones) */
@media (max-width: 600px) {
    body {
        padding: 10px; /* Gives your content some breathing room from the edges */
    }

    .main-container, .content-box {
        width: 100% !important; /* Forces boxes to take up the full width of the phone */
        margin: 0 auto;
    }

    img {
        max-width: 100%; /* Ensures images don't "poke out" of the side of the screen */
        height: auto;
    }
}






/* General Body Styling */
body {
    background-image: url("screenshots/Skulls.png");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    margin: 0; /* Removed unnecessary margin */
    padding: 100px;
    min-height: 100vh;
}

::-webkit-scrollbar {
    width: 12px;
}

::-webkit-scrollbar-track {
    background: #000;
}

::-webkit-scrollbar-thumb {
    background: lime; /* Change this to your favorite color */
    border: 2px solid #000;
}

/* Banner Section */
a {
    color: #9D00FF;
}
.banner {
    background-image: url("screenshots/bong.JPG");
    width: 100%;
    display: flex;
    flex-direction: column; /* Stack h1 and p vertically */
    justify-content: center;
    align-items: center;
    height: 300px;
    background-color: rgba(0, 0, 0, 0.8);
    position: fixed; /* Keeps the banner fixed at the top */
    top: 0;
    left: 0;

    text-align: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2); /* Optional: Adds a shadow for better separation */
}

.banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    z-index: 1;
}

.banner h1 {
    margin: 0;
    color: #ff0000;
    display: block;
}

.banner p {
    margin: 5px 0 0;
    color: #ffee01; 
    font-size: 25px;
}

body {
    padding-top: 300px;
    cursor: url('screenshots/cursor.png'), auto;
}


nav {
    background-image: url("screenshots/weedman.PNG");
    background-size: 100% 100%;
    background-position: top;
    background-repeat: no-repeat;
    padding: 10px;
    text-align: center;
    height: 20px;
}

    nav a {
        background-color: #800080; /* Purple */
        border-top: 3px solid #df00df; /* Lighter purple highlight */
        border-left: 3px solid #df00df;
        border-bottom: 3px solid #400040; /* Darker purple shadow */
        border-right: 3px solid #400040;
        padding: 5px 10px;
        text-decoration: none;
        color: #00ff00; /* Neon green text */
        font-weight: bold;
    }

nav a:hover {
    color: #ffffff; /* Changes color on hover */
}

/* Main Section */
main {
    position: relative;
    padding: 20px;
    display: flex;
    flex-direction: column; /* Stack headings and videos vertically */
    gap: 20px; /* Space between items */
    align-items: center; /* Center content horizontally */
    text-align: center; /* Center text */
}

.video-container {
    display: grid; /* Use grid layout */
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); /* Responsive grid with a minimum width of 150px */
    gap: 20px; /* Space between grid items */
    justify-content: center; /* Center the grid items horizontally */
    align-items: center; /* Center the grid items vertically */
}

video {
    width: 100%; /* Make the video responsive */
    height: auto; /* Maintain aspect ratio */
    border: 2px solid #000; /* Optional: Add a border for styling */
    border-radius: 5px; /* Optional: Add rounded corners */
}

main img {
    width: 20px;
    height: auto;
    margin: 10px;
}

.content {
    background-image: url("screenshots/bong.JPG");
    padding: 20px;
    margin: 20px auto;
    max-width: 90%;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* Headings and Text */
h1 {
    color: #ff0000;
    text-shadow: 3px 3px 0px #550000, 5px 5px 15px rgba(255, 0, 0, 0.7);
    font-family: "Courier New", 'Courier New', monospace;
}

h2 {
    color: red;
    font-size: 30px;
    margin-bottom: 10px;
}

p {
    color: red;
    font-size: 20px;
    line-height: 1.5; /* Improves readability */
}

/* Bottom Left GIF */
gif {
    position: fixed;
    bottom: 10px;
    left: 10px;
    width: 200px;
    height: auto;
    z-index: 1000; 
}

/* Playbar */
#custom-player {
    background-image: url("screenshots/eldenlord.JPG"); /* Path to your image */
    background-size: 62%; /* pretty much size of image */
    background-position: 50% 50%; /* position lol */
    padding: 50px;
    border-radius: 5px;
    display: flex;
    align-items: center;
    position: fixed;
    bottom: 40px; /* Fixed position at the bottom */
    left: 0;
    width: 98%; /* Full width of the screen */
    z-index: 1000; /* Ensures it appears above other elements */
}

@media (max-width: 600px) {
    #custom-player {
        position: relative; /* Keep it relastive so it can flow of the page */
        bottom: 0; /* Stick it to the very bottom edge */
        left: 0;
        width: 100%; /* Full width for mobile */
        padding: 10px; /* Much smaller padding so it's thinner */
        background-size: cover; /* Makes the image fit better */
        flex-wrap: wrap; /* Allows buttons to stack if they get too wide */
        justify-content: center;
        border-radius: 0; /* Looks better flush against the screen */
    }

    /* Give your body some space at the bottom so 
     the marquee can be seen when you scroll all the way down */
    body {
        padding-bottom: 120px;
    }
}

marquee {
    display: block;
    margin-bottom: 20px;
}

@media (max-width: 600px) {
    /* This only happens on phones */
    marquee {
        margin-bottom: 50px; /* Pushes it up away from the playbar */
        font-size: 12px; /* Makes the text smaller so it fits */
    }
}


#play-pause-button {
    padding: 8px 15px;
    cursor: pointer;
}

#progress-bar {
    flex-grow: 1;
    width: 100px;
    margin: 1px 5px;
}

#song-title {
    color: #a000c8;
    font-size: 15px;
    margin-left: 10px;
}