/*===================================================================*/
/* Main style file. Should contain CSS rules which are used on all pages */
/* Put CSS for specific components which aren't used by every page into a new CSS file */
/*===================================================================*/

@font-face {
    font-family: "kilowattregular";
    src: url("../fonts/kilowatt-regular-webfont.woff2") format("woff2"),
    url("../fonts/kilowatt-regular-webfont.woff") format("woff");
    font-weight: normal;
    font-style: normal;
}

* {
    font-family: "Lora", serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: #23252b;
    /* The header menu bar is 75 pixels high, so this padding is needed or page content will be covered by the bar */
    /* For section-home there is margin-top: -75px; which negates this rule */
    padding-top: 75px;
}

.universal-section {
    width: 100%;
    min-height: 90vh;
    background: #23252b;
}

.imdb {
    font-family: "Lora", serif;
    color: #ffffff;
    /*  padding: 4em; */
}

.imdb a {
    text-decoration: none;
    color: #ffffff;
}

.imdb a:hover {
    color: goldenrod;
    transition: 0.3s;
}

iframe {
    border: 0;
}

h1 h2 {
    padding: 20px 100px;
    z-index: 2;
}

.section-home {
    width: 100%;
    min-height: 100vh;
    background-size: cover;

    background-repeat: no-repeat;
    background-position: center;
    background-image: url(../img/homeimg.jpg);

    display: flex;
    flex-direction: column;
    justify-content: center;

    /* Causes the home section to be UNDER the header bar*/
    margin-top: -75px;
    /* Content of home section is still at least 75px away from header bar*/
    padding-top: calc(75px + 1vh);

    /* Specifies height of the gaps between rows (elements) of the home section*/
    row-gap: 5vh;
}

.section-home h1 {
    font-size: clamp(4rem, 7.5vw, 8rem);
    font-family: "kilowattregular", serif;
    font-weight: 800;

    text-shadow: 0 5px 25px rgb(0 0 0 / 40%);
    text-align: center;
    color: #ffffff;

    letter-spacing: 0.45em;
    /* To compensate for letter-spacing */
    margin-left: 0.45em;
}

.section-home h2 {
    font-size: clamp(2rem, 5.5vw, 7rem);
    font-family: "kilowattregular", serif;
    font-weight: 400;

    text-shadow: 0 5px 25px rgb(0 0 0 / 20%);
    text-align: center;
    color: #ffffff;
}

.section-two {
    width: 100%;
    min-height: 100vh;
    background: #23252b;
}

.section-two a:link ul li {
    list-style-type: none;
    position: center;
}

.section-two h3 {
    font-family: "Lora", serif;
    color: #ffffff;
    font-size: 3em;
    font-weight: 700;
    margin: 30px;
}

.section-two p {
    color: #ffffff;
    font-size: 1em;
    margin: 30px 0;
}

.review {
    font-family: "Lora", serif;
    color: #ffffff;
    padding: 2em;
}

.review a {
    font-family: "Lora", serif;
    text-decoration: none;
    color: #dddddd;
}

.review a:hover {
    color: goldenrod;
    transition: 0.3s;
}

footer {
    position: relative;
    height: 100px;
    width: 100%;
    background-color: #23252b;
}

p.copyright {
    position: absolute;
    width: 100%;
    color: #fff;
    line-height: 40px;
    font-size: 0.7em;
    text-align: center;
    bottom: 0;
}

/*============================ HEADER MENU ============================*/
header {
    z-index: 999;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #23252b;
    box-shadow: 0 5px 25px rgb(0 0 0 / 20%);
    padding: 0 100px;
    transition: 0.6s;
}

.navigation .menu .menu-item > a {
    font-family: "Lora", serif;
}

.logo {
    width: 46px;
    height: 50px;
    background-image: url("../img/logo.svg");
    background-size: contain;
    background-repeat: no-repeat;
    padding: 0;
}

header .logo {
    color: #ffffff;
    font-size: 1.8em;
    font-weight: 700;
    text-transform: uppercase;
    text-decoration: none;
    letter-spacing: 2px;
}

header .navigation {
    position: relative;
    line-height: 75px;
    transition: 0.6s;
    transition-property: line-height;
}

header.sticky .navigation {
    line-height: 60px;
}

header .navigation .menu {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    list-style: none;
    user-select: none;
}

.menu-item > a {
    font-family: "Lora", serif;
    color: #ffffff;
    font-size: 0.8em;
    text-decoration: none;
    margin: 20px;
    padding: 25px 0;
}

.menu-item > a:hover {
    color: goldenrod;
    transition: 0.3s;
}

.menu-item .sub-menu {
    font-family: "Lora", serif;
    position: absolute;
    background: #23252b;
    top: 74px;
    line-height: 40px;
    list-style: none;
    border-radius: 0 0 8px 8px;
    box-shadow: 0 5px 25px rgb(0 0 0 / 20%);
    pointer-events: none;
    transform: translateY(20px);
    opacity: 0;
    transition: 0.3s;
    transition-property: transform, opacity;
}

header.sticky .menu-item .sub-menu {
    top: 60px;
}

.menu-item:hover .sub-menu {
    pointer-events: all;
    transform: translateY(0);
    opacity: 1;
}

.menu-item .sub-menu .sub-item {
    position: relative;
    padding: 7px 0;
    cursor: pointer;
    box-shadow: inset 0 -30px 5px -30px rgba(255, 255, 255, 0.2);
}

.menu-item .sub-menu .sub-item a {
    font-family: "Lora", serif;
    color: #ffffff;
    font-size: 0.8em;
    text-decoration: none;
    padding: 15px 30px;
}

.menu-item .sub-menu .sub-item a:hover {
    color: goldenrod;
}

.menu-item .sub-menu .sub-item:last-child:hover {
    border-radius: 0 0 8px 8px;
}

.more .more-menu {
    position: absolute;
    background: #23252b;
    list-style: none;
    top: 0;
    left: 100%;
    white-space: nowrap;
    border-radius: 0 8px 8px 8px;
    overflow: hidden;
    pointer-events: none;
    transform: translateY(20px);
    opacity: 0;
    transition: 0.3s;
    transition-property: transform, opacity;
}

.more:hover .more-menu {
    pointer-events: all;
    transform: translateY(0);
    opacity: 1;
}

.more .more-menu .more-item {
    padding: 7px 0;
    box-shadow: inset 0 -30px 5px -30px rgba(255, 255, 255, 0.2);
    transition: 0.3s;
}

.more .more-menu .more-item:hover {
    background: #393d48;
    color: goldenrod;
}

.menu-btn {
    display: none;
}

/*============================ HEADER MENU END ============================*/

/*============================ "WATCH NOW" AREA  ============================*/

.watch {
    display: flex;
    position: center;
    justify-content: space-around;
}

.watch ul {
    font-family: "Lora", serif;
    color: #ffffff;
    font-size: 0.8em;
    text-decoration: none;
    padding: 15px 30px;
}


/* Text around the play button */
.watch-now-text {
    font-family: "kilowattregular", serif;
    color: #ffffff;
    font-size: 3em;
    text-align: center;
}

/* The play button img */
.watch-now-img {
    padding-top: 1em;
    padding-bottom: 1em;
    max-width: 5em; /* Determines size of the play button */
    display: block; /* Block + auto margins make the img centered */
    margin-left: auto;
    margin-right: auto;
}

/* The link element containing the "watch now" area */
.watch-now-container {
    padding-top: 1em;
    text-decoration: none; /* Disables the link underline */
}

/*============================ "WATCH NOW" AREA END ============================*/

/*============================ CLICKABLE BANNER ============================*/

.clickable-banner {
    text-decoration: none; /* Disables the link underline */
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 2em;
}

.clickable-banner * {
    font-family: "kilowattregular", serif;
    color: #ffffff;
    font-size: 3em;
    text-align: center;
    border: 4px solid white;

    display: inline;
    padding: 15px;
    border-radius: 10px;
}

/*============================ CLICKABLE BANNER END============================*/

/*============================ MAIN WATCH NOW BUTTON ============================*/

.main-watch-button {
    text-decoration: none; /* Disables the link underline */
    display: flex;
    z-index: 2;

    justify-content: center;
    align-items: center;
    width: fit-content;

    margin: 1vh auto 1vh auto;

}

.main-watch-button * {
    display: inline;

    font-family: "kilowattregular", serif;
    font-size: clamp(1.5rem, 5vw, 4rem);
    font-weight: 900;
    text-align: center;
    letter-spacing: 0.1em;
    /* To compensate for letter-spacing */
    margin-left: 0.1em;

    padding: 15px;

    background: white;
    border-radius: 15px;
    color: black;
    mix-blend-mode: screen;
}

/*============================ MAIN WATCH NOW BUTTON END ============================*/

/*============================ MOBILE ADJUSTMENTS ============================*/

@media only screen and (orientation: portrait) {
    .main-watch-button * {
        /* Disable button text transparency for portrait mode */
        mix-blend-mode: unset;
    }
}

@media (max-width: 1024px) {
    header .navigation .menu {
        font-family: "Lora", serif;
        position: fixed;
        display: block;
        background: #23252b;
        min-width: 350px;
        height: 100vh;
        top: 0;
        right: -100%;
        padding: 90px 50px;
        visibility: hidden;
        overflow-y: auto;
        justify-content: center;
        list-style: none;
        transition-property: right, visibility;
    }

    header.sticky .navigation {
        line-height: 75px;
    }

    header .navigation .menu.active {
        right: 0;
        visibility: visible;
    }

    .menu-item {
        position: relative;
    }

    .menu-item .sub-menu {
        opacity: 1;
        position: relative;
        top: 0;
        transform: translateX(10px);
        background: rgba(255, 255, 255, 0.1);
        border-radius: 5px;
        overflow: hidden;
        display: none;
    }

    header.sticky .menu-item .sub-menu {
        top: 0;
    }

    .menu-item:hover .sub-menu {
        transform: translateX(10px);
    }

    .menu-item .sub-menu .sub-item {
        box-shadow: none;
    }

    .menu-item .sub-menu .sub-item:hover {
        background: none;
    }

    .menu-item .sub-menu .sub-item a {
        font-family: "Lora", serif;
    }

    .menu-item .sub-menu .sub-item a:hover {
        color: goldenrod;
        transition: 0.3s;
    }

    .more .more-menu {
        opacity: 1;
        position: relative;
        left: 0;
        transform: translateY(0);
        background: rgba(255, 255, 255, 0.1);
        border-radius: 5px;
        display: none;
    }

    .more .more-menu .more-item {
        box-shadow: none;
    }

    .more .more-menu .more-item:hover {
        background: none;
    }

    .more .more-menu .more-item a {
        margin-left: 20px;
        font-family: "Lora", serif;
    }

    .close-btn {
        position: absolute;
        background: url(../img/close.svg) no-repeat;
        width: 40px;
        height: 40px;
        background-size: 25px;
        background-position: center;
        top: 0;
        left: 0;
        margin: 25px;
        cursor: pointer;
    }

    .menu-btn {
        background: url(../img/menu.svg) no-repeat;
        width: 40px;
        height: 40px;
        background-size: 30px;
        background-position: center;
        cursor: pointer;
        display: block;
    }

    header {
        padding: 15px 20px;
    }

    header.sticky {
        padding: 15px 20px;
    }

    .section-home2 {
        display: flex;
        width: 100%;
    }

    .yWrapper {
        width: 100%;
    }

    .watch {
    }
}

@media (max-width: 1060px) {
    .menu-item .sub-menu .sub-item a {
        font-family: "Lora", serif;
    }
}

@media screen and (min-width: 1025px) and (max-width: 1200px) {
    header {
        padding-inline-end: initial;
    }
}

@media screen and (min-width: 461px) and (max-width: 768px) {
    .section-home h1 {
        letter-spacing: 0.35em;
        margin-left: 0.35em;
    }
}

@media screen and (max-width: 460px) {
    .section-home h1 {
        letter-spacing: 0.25em;
        margin-left: 0.25em;
    }

    .section-home {
        background-size: cover;
        background-position: right 0;
        padding-bottom: 30vh;
    }

}


/*============================ MOBILE ADJUSTMENTS END ============================*/