html {
    font-family: helvetica;
    font-size: 16pt;
}

body {
    margin: 0px;
    max-width: 1440px;
}

@media (max-width: 430px) {
    body {
        width: 430px;
        overflow-x: hidden;
        box-sizing: border-box;
        margin: 0;
    }

    header {
        max-width: 100%;
    }

    section {
        max-width: 100%;
    }
}

header {
    height: fit-content;
    box-sizing: border-box;
}

section {
    height: fit-content;
}

.text {
    max-width: 85%;
    margin: auto;
}

@media (max-width: 430px) {
    .text {
        max-width: 80%;
        margin: auto;
    }
}

.body-text {
    text-indent: 20px;
    font-size: 20px;
    line-height: 1.3;
}

@media (max-width: 1366px) {
    .body-text {
        font-size: 0.9rem;
    }
}

@media (max-width: 1024px) {
    .body-text {
        font-size: 0.8rem;
    }
}

@media (max-width: 430px) {
    .body-text {
        font-size: 0.7rem;
    }
}

/* nav bar */
.nav {
    padding: 0px;
    width: 100%;
    position: relative;
    z-index: 5;
}

.nav ul {
    padding-top: 10px;
    padding-bottom: 10px;
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr 1fr;
    margin: auto;
    text-align: center;
}

.nav li {
    display: block;
}

.nav a {
    color: white;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.5s;
}

.nav a:hover {
    color: rgb(96, 5, 11);
}

.nav a:active {
    color: black;
    text-decoration: none;
}

.nav-white {
    color: white;
}

.nav-black {
    color: black;
}

.selected {
    text-transform: uppercase;
    color: black;
}

.navigation-strip {
    position: relative;
}

.nav-ribbon {
    position: absolute;
    z-index: -1;
    top: -155px;
    width: 100%;
    height: 340px;
    object-fit: cover;
}

@media (max-width: 1366px) {
    .nav ul {
        margin-top: 0px;
        margin-bottom: 0px;
        padding: 15px 0px 12px 0px;
        width: 100%;
    }

    .nav li {
        line-height: 0.4;
    }
}

@media (max-width: 1024px) {
    .nav a {
        font-size: 0.85rem;
    }
}

@media (max-width: 600px) {
    .nav ul {
        padding: 9px 0px 12px 0px;
    }

    .nav a {
        font-size: 0.6rem;
    }
}

@media (max-width: 430px) {
    .navigation-strip {
        display: none;
    }

    #homepage-nav-mobile {
        background-color: rgb(184, 0, 0);
    }

    .nav ul {
        margin: auto;
        padding: 8px 0px 12px 0px;
        width: fit-content;
        box-sizing: border-box;
    }

    .nav a {
        font-size: 0.55rem;
    }

    .nav-ribbon {
        height: 240px;
    }
}

/* footer */
.footer {
    margin-top: 80px;
    background-color: #DC0B1A;
    padding-top: 40px;
    padding-bottom: 25px;
}

.footer a {
    color: white;
    text-decoration: none;
    line-height: 1.5;
    font-weight: 600;
}

.attribution {
    color: white;
    font-size: 0.6rem;
    padding-top: 35px;
    line-height: 0.01;
}


/* -----------------------------home-------------------------------- */
/* title */
.title-section {
    background-color: #DC0B1A;
    margin-top: 0;
    position: relative;
    z-index: -5;
}
.title-section h1 {
    margin-top: 0;
    padding: 180px 0px 200px 0px;
    text-align: center;
}
.title-white {
    color: white;
    font-size: 5.0rem;
    font-weight: 600;
    letter-spacing: -0.45rem;
}

.title-black {
    color: black;
    font-size: 5.0rem;
    font-weight: 200;
    letter-spacing: -0.35rem;
}

.navigation-strip-mobile {
    display: none;
}

@media (max-width: 600px) {
    .title-white {
        font-size: 4.0rem;
    }

    .title-black {
        font-size: 4.0rem;
    }
}

@media (max-width: 430px) {
    .navigation-strip-mobile {
        display: contents;
        position: relative;
    }

    .nav-ribbon-mobile {
        position: absolute;
        top: 310px;
        width: 100%;
        height: 413px;
        object-fit: cover;
    }

    .title-section {
        margin-bottom: 230px;
    }

    .title-white {
        font-size: 3.0rem;
        letter-spacing: -0.25rem;
    }

    .title-black {
        font-size: 3.0rem;
        letter-spacing: -0.20rem;
    }

    .subpages {
        width: 100%;
        height: 340px;
        top: -120px;
    }
}

/* intro */
.intro {
    margin-top: 80px;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
}
.intro-image {
    width: 95%;
}

.intro-grid {
    width: 47%;
    margin: auto;
}

.intro p {
    margin-top: 0;
}

@media (max-width: 1024px) {
    .intro {
        display: block;
    }
    .intro-grid {
        width: 100%;
    }
    .intro-image {
        padding-bottom: 10px;
        width: 100%;
    }
}

/* image gallery */
.image-gallery {
    margin: auto;
}

.slide-section {
    margin-top: 80px;
    background-color: #DC0B1A;
}

.slides {
    overflow: hidden;
    width: 70%;
    padding: 3% 0px 5% 0px;
    position: relative;
}

.dots a:first-child {
    display: flex;
    position: absolute;
    bottom: 5%;
    left: 47.5%;
    transform: translateX(-50%);
    z-index: 1;
}

.dots a:nth-child(2) {
    display: flex;
    position: absolute;
    bottom: 5%;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
}

.dots a:nth-child(3) {
    display: flex;
    position: absolute;
    bottom: 5%;
    left: 52.5%;
    transform: translateX(-50%);
    z-index: 1;
}

.dots a {
    width: 0.5rem;
    height: 0.5rem;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 50%);
}

.dot-motion {
    display: flex;
    position: absolute;
    bottom: 5%;
    left: 50%;
    transform: translateX(-50%);
    z-index: 5;
    animation-name: slider-dots;
    animation-duration: 9s;
    animation-iteration-count: infinite;
}

.dot-motion a {
    width: 0.5rem;
    height: 0.5rem;
    border-radius: 50%;
    background-color: white;
}

.gallery {
    position: relative;
    width: 400%;
    margin: 0%;
    left: 0;
    animation-name: image-slider;
    animation-duration: 9s;
    animation-iteration-count: infinite;
}

.gallery img {
    width: 25%;
    float: left;
}

.gallery-image {
    aspect-ratio: 1220/680;
    object-fit: cover;
}

@keyframes image-slider {
    from {left:0;}
    27% {left:0;}
    33.33% {left: -100%;}
    60.33% {left: -100%;}
    66.66% {left: -200%;}
    93.66% {left: -200%;}
    to {left: -300%;}
}

@keyframes slider-dots {
    from {left: 47.5%;}
    28% {left: 47.5%;}
    28.1% {left: 50%;}
    61% {left: 50%;}
    61.1% {left: 52.5%;}
    94% {left: 52.5%;}
    to {left: 47.5%;}
}

@media (max-width: 1024px) {
    .dots a:first-child {
        left: 45.5%;
    }
    
    .dots a:nth-child(3) {
        left: 54.5%;
    }

    @keyframes slider-dots {
        from {left: 45.5%;}
        28% {left: 45.5%;}
        28.1% {left: 50%;}
        61% {left: 50%;}
        61.1% {left: 54.5%;}
        94% {left: 54.5%;}
        to {left: 45.5%;}
    }
}

@media (max-width: 430px) {
    .dots a:first-child {
        left: 42.5%;
        bottom: 3%
    }
  
    .dots a:nth-child(2) {
        bottom: 3%;
    }

    .dots a:nth-child(3) {
        left: 57.5%;
        bottom: 3%;
    }

    .dots a {
        width: 0.4rem;
        height: 0.4rem;
    }

    .dot-motion {
        bottom: 3%;
    }
    
    .dot-motion a {
        width: 0.4rem;
        height: 0.4rem;
    }
    
    @keyframes slider-dots {
        from {left: 42.5%;}
        28% {left: 42.5%;}
        28.1% {left: 50%;}
        61% {left: 50%;}
        61.1% {left: 57.5%;}
        94% {left: 57.5%;}
        to {left: 42.5%;}
    }
}

/* buttons */
.homepage-buttons {
    margin-top: 80px;
}

.homepage-buttons ul {
    padding: 0;
    margin: auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    background-image: url(../images/home-buttons-ribbon-dec.png);
    background-position: center;
    background-size: auto;
}

.homepage-buttons li {
    display: inline-block;
    box-sizing: border-box;
}

.homepage-buttons li a {
    font-size: 2.0rem;
    text-decoration: none;
    color: #DC0B1A;
    font-weight: 600;
}

.button {
    height: 150px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-style: solid;
    border-width: 5px;
    border-radius: 40px;
    border-color: #DC0B1A;
    transition: all 0.3s;
}

.button:hover {
    background-color: rgba(220, 11, 26, 50%);
    color: white;
}

.button:active {
    background-color: #DC0B1A;
    color: white;
    border-color:#9a000a;
}

@media (max-width: 941px) {
    .homepage-buttons ul {
        background-image: none;
    }

    .homepage-buttons li {
        padding-bottom: 20px;
    }

    .button {
        width: 500px;
    }
}

@media (max-width: 650px) {
    .button {
        width: 400px;
    }
}

@media (max-width: 941px) {
    .homepage-buttons {
        display: flex;
    }

    .homepage-buttons ul {
        display: block;
    }

    .homepage-buttons li {
        display: block;
    }

    .homepage-button-strip {
        display: none;
    }
}

@media (max-width: 430px) {
    .button {
        background-color: #DC0B1A;
        width: 300px;
    }

    .homepage-buttons li a {
        color: white;
    }
}

/* -------------------------------------plot----------------------------------------- */
.page-title {
    margin-top: 150px;
    margin-bottom: 20px;
}

.plot ul {
    display: flex;
    flex-wrap: wrap;
}

.plot li {
    display: inline-block;
    width: 50%;
    margin-bottom: 1rem;
    padding-right: 5%;
    box-sizing: border-box;
}

.plot li div:first-child {
    font-weight: 700;
    padding-top: 20px;
    padding-bottom: 10px;
}

.plot-images {
    width: 95%;
    padding-top: 20px;
    padding-bottom: 10px;
}

@media (max-width: 1024px) {
    .plot ul {
        display: block;
        padding-left: 15px;
    }

    .plot li {
        width: 100%;
    }

    .plot-images {
        width: 100%;
    }
}

@media (max-width: 430px) {
    .page-title {
        margin-top: 180px;
    }
}

/* -------------------------------------cast----------------------------------------- */
.cast ul {
    display: flex;
    flex-wrap: wrap;
}

.cast li {
    display: inline-block;
    width: 25%;
    margin-bottom: 1rem;
    padding-right: 2%;
    box-sizing: border-box;
}

.cast-images {
    width: 90%;
    aspect-ratio: 190/300;
    object-fit: cover;
    object-position: center;
}

.cast li div:nth-child(2) {
    font-weight: 600;
}
.cast li div:nth-child(3) {
    font-weight: 400;
    color: rgb(100, 100, 100);
    font-size: 0.8rem;
}

@media (max-width: 800px) {
    .cast ul {
        padding-left: 15px;
    }

    .cast li {
        width: 50%;
    }
}

@media (max-width: 430px) {
    .cast li div:nth-child(2) {
        font-size: 0.7rem;
    }

    .cast li div:nth-child(3) {
        font-size: 0.5rem;
    }
}

/* -------------------------------------production----------------------------------------- */
.production ul {
    display: flex;
    flex-wrap: wrap;
}

.production li {
    display: inline-block;
    width: 50%;
    margin-bottom: 1rem;
    padding-right: 5%;
    box-sizing: border-box;
}

.production li div:first-child {
    font-weight: 600;
    padding-top: 20px;
    padding-bottom: 10px;
}

.production-images {
    padding-top: 30px;
    width: 100%;
    object-fit: cover;
    object-position: 0% 15%;
    aspect-ratio: 532/632;
}

.production-caption {
    font-weight: 300;
    font-size: 0.7rem;
    color: rgb(100, 100, 100);
}

@media (max-width: 1024px) {
    .production ul {
        display: block;
        padding-left: 15px;
    }

    .production li {
        width: 100%;
    }
}

/* ------------------------------soundtrack---------------------------------- */
.soundtrack-region {
    font-weight: 600;
    padding-top: 10px;
    padding-bottom: 20px;
    font-size: 1.2rem;
}

.soundtrack ul {
    display: flex;
    flex-wrap: wrap;
}

.soundtrack ol {
    display: inline-block;
    width: 50%;
    margin-bottom: 1rem;
    padding-right: 2%;
    box-sizing: border-box;
}

.artist-name {
    font-style: italic;
    color: rgb(100, 100, 100);
    font-weight: 300;
}

@media (max-width: 1024px) {
    .soundtrack ul {
        display: block;
        padding-left: 0px;
    }

    .soundtrack ol {
        width: 100%;
        font-size: 0.7rem;
    }
}
