@font-face {
    font-family: "Libre Franklin";
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('fonts/LibreFranklin-VariableFont_wght.ttf') format('truetype');
    font-stretch: normal;
}
@font-face {
    font-family: "Libre Franklin";
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url('fonts/LibreFranklin-VariableFont_wght.ttf') format('truetype');
    font-stretch: normal;
}
@font-face {
    font-family: "Libre Franklin";
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url('fonts/LibreFranklin-VariableFont_wght.ttf') format('truetype');
    font-stretch: normal;
}
@font-face {
    font-family: "Libre Franklin";
    font-style: italic;
    font-weight: 400;
    font-display: swap;
    src: url('fonts/LibreFranklin-Italic-VariableFont_wght.ttf') format('truetype');
    font-stretch: normal;
}
@font-face {
    font-family: "Libre Franklin";
    font-style: italic;
    font-weight: 600;
    font-display: swap;
    src: url('fonts/LibreFranklin-Italic-VariableFont_wght.ttf') format('truetype');
    font-stretch: normal;
}
@font-face {
    font-family: "Libre Franklin";
    font-style: italic;
    font-weight: 700;
    font-display: swap;
    font-stretch: normal;
}
/* Lazy Loading */
iframe[loading="lazy"] {
    loading: lazy;
}
body, html {
    background-color: #fff8ee;
    height: 100%;
    margin: 0;
    padding: 0;
    font-display: swap;
    font-family: "Libre Franklin", -apple-system, "system-ui", "Helvetica Neue", Helvetica, sans-serif;
}
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    flex-wrap: wrap;
}
header h1 {
    font-size: 20px;
    margin-top: 0;
}
header img {
    margin-top: 0;
    max-width: 120px;
}
header div {
    display: flex;
    flex-direction: column;
    align-items: center;
}
nav {
    display: flex;
    gap: 20px;
    order: 2;
}
nav a {
    text-decoration: none;
    color: #333;
    font-weight: 400;
    position: relative;
}
nav a::after {
    content: '';
    display: block;
    width: 0;
    height: 1px;
    background: rgba(0, 0, 0, 0.5);
    transition: width 0.3s;
    position: absolute;
    bottom: -2px; /* Adjusts the position below the text */
    left: 0;
}
nav a:hover::after {
    width: 100%;
}
main {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: top;
    padding: 20px;
    text-align: center;
    min-height: calc(100vh - 80px); /* Adjust this based on the header height */
    box-sizing: border-box;
}
.header-text {
    color: #501511;
}
.content-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
}
.content-container h1 {
    text-transform: uppercase;
    font-size: 32px;
    text-align: left;
    margin-bottom: 20px;
}
.content-container h2{
    color: #501511;
    text-align: left;
    margin-bottom: 0px;
}
.content-container p {
    text-align: left;
    margin-top: 0;
    margin-bottom: 20px;
    line-height: 1.6;
    color: #333;
}
@media (max-width: 768px) {
    header {
        flex-direction: column;
        align-items: flex-start;
    }
    nav {
        order: 1;
        width: 100%;
        justify-content: center;
        margin-top: 10px;
    }
}

/* Index / Home */

.video-container {
    position: relative;
    width: 100%;
    max-width: 700px;
    height: 400px; /* Set a fixed height */
    overflow: hidden;
    margin: 20px auto; /* Add some margin below the video */
}
.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

@media (max-width: 768px) {
    .video-container {
        height: 200px; /* Adjust height for mobile */
    }
}


/* Directing */

.video-card {
    padding: 20px 0px;
    margin-bottom: 20px;
    border-radius: 8px;
    max-width: 860px;
}
.video-card h2 {
    font-size: 24px;
    color: #501511;
    margin-bottom: 10px;
}
.video-card p {
    text-align: left;
    margin-top: 0;
    margin-bottom: 20px;
    line-height: 1.6;
    color: #333;
}
.video-wrapper {
    position: relative;
    width: 100%;
    max-width: 860px;
    margin-bottom: 10px;
    padding-top: 56.25%; /* 16:9 Aspect Ratio */
}
.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}


/* Screenplays */

.section {
    padding-top: 7vw;
    padding-bottom: 7vw;
}
.screenplay {
    padding: 20px 0;
}
.screenplay p {
    padding: 0;
}
.evaluation {
    padding-top: 0px;
    font-display: swap;
    font-family: "Libre Franklin", -apple-system, "system-ui", "Helvetica Neue", Helvetica, sans-serif;
}
.highlight {
    color: #800000;
}