/* General Page Styling */
html, body {
    /*height: 100%;  Full height for body */
    margin: 0; /* Remove default margin */
    font-family: Arial, sans-serif; /* Use a nice font */
    background-color: #333; /* Light background color */
    color: #fff; /* Text color */
    display: flex; /* Use flexbox layout */
    flex-direction: column; /* Stack content vertically */
}


/* Hero Section with Background Image */
.hero-section {
    position: relative;
    margin-top:  40px;
    width: 99vw;
    height: 90vh; /* 80% of viewport height */
    /*background-image: url('../images/main.jpg');  Add your background image */
    background-size: cover;
    background-position: center;
    color: white;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.5);
}
.poster-container-header {
    display: flex;
    justify-content: center;
    align-items: center; /* Vertically center the content */
    position: relative;
    width: 100%;
    margin-top: 50px; /* Margin to push it below the navigation */
}

.poster-container-header h1 {
    margin-left: 10px; /* Adds space between the text and the image */
    align-self: center; /* Ensures the text is vertically centered */
}

.poster-container-header img {
    height: 50px; /* Set a fixed height for the image to control its size */
    width: auto; /* Maintain the image aspect ratio */
    align-self: center; /* Ensures the image is vertically centered */
}
.poster-container {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: center;
    align-content: center;
    position: relative;
    width: 100%;
    /*margin-top: 75px;  Margin to push it below the navigation */
}

.poster {
    width: 200px; /* Fixed width for each image container */
    height: 200px; /* Fixed height for each image container */
    margin: 5px; /* Adds space between images */
    box-sizing: border-box;
    position: relative;
}

.poster img {
    width: 100%; /* Fill the container's width */
    height: 100%; /* Fill the container's height */
    border-radius: 10px; /* Rounded corners */
    object-fit: cover; /* Ensure the image is cropped from the center */
}
/* Make the poster sizes more responsive on smaller screens */
@media (max-width: 1200px) {
    .poster-container-header h1 {
        align-content: center;
    }
    .poster-container-header img {
        align-content: center;
    }
    .poster-container {
        display: flex;
        flex-wrap: nowrap;
        flex-direction: row;
        justify-content: center;
        align-content: center;
        position: relative;
        width: 80%; /* On medium screens (tablets), make posters 45% of the container width */
        /*margin-top: 75px;  Margin to push it below the navigation */
    }
    .poster {
        width: 30%; /* On larger screens (tablet/desktop), make posters 30% of the container width */
        height: 200px; /* Fixed height */
    }
}

@media (max-width: 768px) {
    .poster-container-header h1 {
        align-content: center;
    }
    .poster-container {
        display: flex;
        flex-wrap: nowrap;
        flex-direction: row;
        justify-content: center;
        align-content: center;
        position: relative;
        width: 90%; /* On medium screens (tablets), make posters 45% of the container width */
        /*margin-top: 75px;  Margin to push it below the navigation */
    }
    .poster {
        width: 90%; /* On medium screens (tablets), make posters 45% of the container width */
        height: 200px; /* Fixed height */
    }
}

@media (max-width: 480px) {
    .poster-container-header h1 {
        align-content: center;
    }
    .poster-container {
        display: flex;
        flex-wrap: nowrap;
        flex-direction: row;
        justify-content: center;
        align-content: center;
        position: relative;
        width: 90%; /* On medium screens (tablets), make posters 45% of the container width */
        /*margin-top: 75px;  Margin to push it below the navigation */
    }
    .poster {
        width: 90%; /* On smaller screens (mobile), make posters 90% of the container width */
        height: 200px; /* Adjust height for smaller screens */
    }
}
/* Section Styling */
section {
    padding: 50px;
    text-align: center;
}

section h2 {
    font-size: 32px;
    margin-bottom: 20px;
}

section p {
    font-size: 18px;
    margin-bottom: 20px;
}

section .btn {
    color: #fff;
    background-color: #E74C3C; /* Red button */
    padding: 12px 30px;
    text-decoration: none;
    border-radius: 5px;
    font-size: 18px;
    transition: all 0.3s ease;
}

section .btn:hover {
    background-color: #C0392B;
    transform: scale(1.1); /* Button hover effect */
}

/* About Section Styling */
.dashboard-container {
    position: relative;
    width: 82%; /* Content takes 50% of the screen */
    padding: 50px;
    text-align: left;
    color: black;
    margin: 0 auto;
    box-sizing: border-box;
    background-color: #ffffff; /* White background */
    z-index: 1;
    border-radius: 10px; /* Rounded corners */
}

.dashboard-container h1 {
    font-size: 36px;
    margin-bottom: 20px;
}

.dashboard-container p {
    font-size: 18px;
    line-height: 1.6;
    margin-bottom: 20px;
    text-align: left;
}

.dashboard-container .btn {
    color: #fff;
    background-color: #E74C3C; /* Red button */
    padding: 12px 30px;
    text-decoration: none;
    border-radius: 5px;
    font-size: 18px;
    transition: all 0.3s ease;
}

.dashboard-container .btn:hover {
    background-color: #C0392B;
    transform: scale(1.1); /* Button hover effect */
}

/* Footer Styling */
footer {
    background-color: #333; /* Dark background for the footer */
    color: white;
    text-align: center;
    padding: 20px;
    font-size: 0.9rem;
    /*width: 100%;*/
    position: relative;
    margin-top: auto; /* Pushes footer to the bottom of the page */
}