body {
    background-image: url('images/stars.gif'); /* Path to your background image */
    background-repeat: repeat; /* This will tile the image across the entire background */
    background-color: black; /* A fallback color in case the image fails to load */
    background-size: auto; /* Keeps the image at its original size */
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    color: white;
}

.content-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
}

.video-title {
    color: yellow; /* Sets the text color to yellow */
    text-align: center; /* Centers the title horizontally */
    font-size: 24px; /* Adjust the size as needed */
    font-weight: bold; /* Makes the font bold */
    margin-bottom: 20px; /* Adds some space between the title and the video player */
}

.retro-tv {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 640px; /* Adjust based on your design */
    height: 480px; /* Adjust based on your design */
}

#videoPlayer {
    width: 65%; /* Adjust to fit inside your TV graphic properly */
    height: auto; /* Maintains the aspect ratio */
    z-index: 1;
}

#animatedBanner {
    width: 66%;  /* Ensures the GIF scales to the container width */
    height: auto;  /* Keeps the aspect ratio intact */
}

.retro-tv::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('images/computer1.png') no-repeat center center;
    background-size: cover;
    z-index: 2;
}

.text-content {
    margin-top: 20px;
    font-size: 18px;
    max-width: 50%;  /* Sets the maximum width to 50% of its parent container's width */
    margin-left: auto;  /* These two lines ensure the container is centered */
    margin-right: auto;
    text-align: center;  /* Optional: Aligns text to the left within the container */
}


.site-menu {
    display: flex;
    justify-content: space-around;
    margin-top: 20px;
    padding: 10px;
    background: rgba(0,0,0,0.8);
    border-radius: 5px;
}

.site-menu ul {
    list-style-type: none;
    padding: 0;
}

.site-menu li {
    display: inline;
    margin: 0 10px;
}

.site-menu a {
    color: yellow;
    text-decoration: none;
    font-weight: bold;
}

.site-menu a:hover {
    text-decoration: underline;
}

#home, #shows, #about, #contact {
    margin: 20px 0; /* Adds vertical spacing and ensures no horizontal margin affects centering */
    text-align: center; /* Ensures text is centered, override if necessary for specific sections */
	    max-width: 50%;  /* Sets the maximum width to 50% of its parent container's width */
		
}

.show {
    display: flex;
    justify-content: center; /* Ensures the flex container is centered */
    margin-bottom: 20px; /* Spacing between items */
	
	
}

.show-thumbnail {
    width: 200px; /* Fixed width for all thumbnails */
    height: auto;
    margin-right: 20px; /* Space between the thumbnail and the description */
}

.show-description {
    flex: 1; /* Takes the remaining space */
    text-align: left; /* Text alignment for descriptions */
}

.section {
    position: relative;
    width: 100%;
    margin: 20px 0;
    text-align: center;
    padding-bottom: 40px; /* Add padding to accommodate the divider */
}

.section:not(:last-child)::after { /* This selector prevents adding a divider after the last section */
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0; /* Position the divider at the bottom of each section */
    height: 20px; /* Height of the divider, adjust according to your image */
    background: url('images/electricity.gif') repeat-x center center; /* Replace with your image path */
    background-size: cover; /* Ensures the image covers the height of the divider */
}

/* Overlay that dims the webpage */
.modal-overlay {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 50; /* Lower than the popup but above other items */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    background-color: rgba(0,0,0,0.5); /* Black background with opacity */
    cursor: pointer; /* Shows a pointer to indicate clickable */
}

/* The Modal (background) */
.modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 100; /* Sit on top */
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%); /* Center the modal */
    width: auto; /* Depends on content size */
    padding: 20px;
    border: 1px solid #888;
    background-color: #1e42c2; /* Modal background */
    box-shadow: 0 4px 8px rgba(0,0,0,0.1); /* Optional: for better visibility */
    overflow: hidden; /* Ensures no scroll bars are visible */
}

/* The Close Button */
.close {
    color: #aaaaaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

.close:hover,
.close:focus {
    color: #000;
    text-decoration: none;
    cursor: pointer;
}

.ad-column {
    width: 20%; /* Keeps ad column fixed similar to the link column */
    align-items: center; /* Center ads */
}

/* General responsive settings for all images */
img {
    max-width: 100%; /* Limits the image width to 100% of its container */
    height: auto; /* Maintains the aspect ratio */
    object-fit: cover; /* Ensures the image covers the area without stretching */
    object-position: center; /* Centers the image within its element */
}

.show-thumbnail {
    max-width: 100%; /* Allows the thumbnail to fill the container */
    height: auto; /* Maintains the aspect ratio */
    object-fit: contain; /* Ensures the entire image is visible without being cropped */
}

/* Ensure the video container and images within the .show elements are responsive */
@media (max-width: 800px) {
    .retro-tv, .text-content, .site-menu, .section {
        width: 100%;
        padding: 10px;
    }

    .retro-tv {
        width: 90%;
        height: auto;
    }

    #videoPlayer {
        width: 100%;
        height: auto;
    }

    .show-thumbnail {
        max-width: 100%;
        height: auto;
        object-fit: contain; /* This ensures that the image is scaled correctly */
    }

    .show {
        flex-direction: column; /* Stacks the image and description vertically */
    }

    .show-description {
        text-align: center;
        padding-top: 10px; /* Adds space between the image and the text */
    }
}

@media (max-width: 480px) {
    .text-content, .show-description {
        font-size: 12px;
    }
}
