/* Reset some default browser styles */
body,
h1,
h2,
h3,
p,
ul,
li {
    margin: 0;
    padding: 0;
    list-style: none;
}

/* Set a background color and font for the body */
body {

    color: #fff;


    background: #000 url(images/vp-background2.jpg) top left no-repeat;
    background-size: cover;
    background-attachment: fixed;
    font-family: Inter, sans-serif;
    padding-top: 60px;
    /* Adjust based on the height of the shrunk logo */

}

/* Style for the main container */
.container {
    width: 80%;
    margin: 0 auto;
    padding: 20px;
    background-color: #fff;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

/* Header styles */
header {

    color: white;
    padding: 10px 0;
    text-align: center;
}

/* Navigation styles */
nav ul {
    display: flex;
    justify-content: center;

}

nav ul li {
    margin: 0 15px;
}

nav ul li a {
    color: #ffffff;
    text-decoration: none;
    padding: 10px 20px;
    display: block;
}

nav ul li a:hover {
    background-color: #575757;
}

/* Main content styles */
main {
    padding: 20px 0;
}

.logo-container {
    max-width: 900px;
    margin: auto;
    vertical-align: middle;
    text-align: center;
    transition: all 0.3s ease;
    padding: 20px;
}

.logo-container.shrunk {
    width: 40%;
    position: sticky;
    top: -20px;
    left: 50%;
    transform: translateX(-40%);
    z-index: 1000;
    /* Add background to prevent content shift */
    background-color: transparent;
    padding: 0px 0;
    /* Add box-shadow for better visibility */

}

/* Footer styles */
footer {
    padding: 50px 0px;
    color: white;
    text-align: center;
    border-top: 3px solid #222;
    width: 100%;
    bottom: 0;
}

footer a {
    color: white;
    padding: 10px;
}

footer img {
    margin: 20px auto;
}

footer p {
    margin: 20px 0;
}

/* Fixed Navigation Bar */
.fixed-nav {
    position: fixed;
    top: 0;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s ease, visibility 0.5s ease;
    z-index: 1000;
    text-align: center;
    backdrop-filter: blur(5px);
}

.fixed-nav img {
    padding: 10px;
    width: 250px;
    height: auto;
    margin: 0 auto;
}

.fixed-nav.visible {
    opacity: 1;
    visibility: visible;
}

.fixed-nav ul {
    display: flex;
    justify-content: center;
    padding: 10px 0;
    margin: 0;
    /* Ensure no default margin */
}



.fixed-nav ul li {
    margin: 0 15px;
}

.fixed-nav ul li a {
    color: white;
    text-decoration: none;
    padding: 10px 20px;
    display: block;
}

.fixed-nav ul li a:hover {
    background-color: #575757;
}

/* Responsive YouTube Embed */

.movie-outer {
    text-align: center;
    border-top: 3px solid #222;
    padding: 50px 20px 20px 20px;
}

.movie-container {
    position: relative;
    /* Remove padding-bottom to prevent aspect ratio distortion */
    /* padding-bottom: 56.25%; */
    /* 16:9 aspect ratio */
    /* Use aspect-ratio instead */
    aspect-ratio: 16 / 9;

    height: auto;
    overflow: hidden;
    max-width: 1000px;
    margin: 0 auto 20px auto;
    text-align: center;
    box-shadow: 10px 10px 10px rgba(0, 0, 0, 0.6);
    border: 1px solid #444;
    border-right: 1px solid #333;
    border-bottom: 1px solid #333;
    /* Optional: space between videos */
}

.movie-container iframe {
    width: 100%;
    height: 100%;
    border: 0;
    /* Ensure the iframe respects the aspect ratio */
    aspect-ratio: 16 / 9;

}

.movie-outer .logo {
    max-width: 400px;
    height: auto;
    margin: 0 auto 30px auto;
}

.movie-outer .laurels {
    max-width: 300px;
    height: auto;
    margin: 0 auto 30px auto;
}

.musana {
    margin-top: 100px;
    padding-bottom: 100px;
}

a.more-movie {

    color: #fff;
    text-decoration: none;
    padding: 10px 20px;
    background-color: #a52a2a;
    border-radius: 8px;
    margin-top: 30px;
    display: inline-block;
    font-family: lato, sans-serif;
    font-weight: 700;
}

a.more-movie:hover {
    background-color: #575757;
}

/* Responsive Images */
img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Optional: Adjust specific images if needed */
.fixed-nav img {
    max-width: 100%;
    height: auto;
}

.movie-outer img.laurels {
    max-width: 100%;
    height: auto;
}

.movie-outer img.logo {
    max-width: 100%;
    height: auto;
}

/* Skip to Content Link */
.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: #000;
    color: #fff;
    padding: 8px 16px;
    z-index: 100;
    transition: top 0.3s ease;
    text-decoration: none;
}

.skip-link:focus {
    top: 10px;
}

/* Focus Styles for Interactive Elements */
a:focus,
button:focus,
input:focus,
select:focus,
textarea:focus {
    outline: 3px solid #ffbf47;
    outline-offset: 2px;
}

/* Ensure sufficient color contrast */
.footer-link:hover,
a.more-movie:hover {
    background-color: #575757;
    /* Ensure the hover background has sufficient contrast */
}