@font-face {
    font-family: 'Microgramma D';
    src: url('../fonts/MicrogrammaD-MediExte.woff2') format('woff2'),
        url('../fonts/MicrogrammaD-MediExte.woff') format('woff');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Microgramma D';
    src: url('../fonts/MicrogrammaD-BoldExte.woff2') format('woff2'),
        url('../fonts/MicrogrammaD-BoldExte.woff') format('woff');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}

* {
	box-sizing: border-box;
}

body, html {
    background-color: #161616;
	margin: 0;
    height: 100%;
	-ms-overflow-style: none;
    scrollbar-width: none !important;
}

::-webkit-scrollbar {
    display: none;
}

body {
    color: #eee;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Microgramma D';
    font-weight: bold;
    text-transform: uppercase;
}

h2 {
    font-size: 2.5rem;
}

p {
    font-family: 'Poppins', sans-serif;
    font-size: 1.5rem;
    font-weight: lighter;
}

nav {
    display: block;
    background-color: #161616;
    position: fixed;
    padding: 0.5rem 50px;
    top: 0;
    width: 100%;
    z-index: 999;
}

nav a {
    font-family: 'Microgramma D';
    text-transform: uppercase;
    float: left;
    color: #eee;
    display: block;
    padding: 1rem 1.5rem 1rem 0;
    text-align: center;
    text-decoration: none;
}

nav #logo {
    background-image: url('../images/corruptedfilms-logo.gif');
    width: 50px;
    height: 50px;
}

main {
    background-image: url('../images/heatone-1.png');
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    height: 100%;
    overflow: hidden;
}

main h1 {
    margin: 0;
    font-size: 10rem;
    line-height: 95%;
}

main div {
    position: absolute;
    top: 45%;
    padding-left: 50px;
    padding-right: 50px;
}

main button,
section button {
    font-family: 'Microgramma D';
    text-transform: uppercase;
    font-weight: bold;
    font-size: 1rem;
    text-decoration: none;
    background-color: #eee;
    color: #161616;
    border: none;
    padding: 1rem 2.5rem;
    margin-right: 1rem;
    border-radius: 7px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.075, 0.82, 0.165, 1);
}

main button:hover,
section button:hover {
    background-color: #161616;
    color: #eee;
}

button i, .watch--badge i {
    padding-right: 0.7rem;
}

footer {
    padding: 0.5rem 1.5rem;
    background-color: #0d0d0d;
}

footer p {
    font-family: 'Microgramma D';
    text-transform: uppercase;
    letter-spacing: 3px;
    text-align: center;
    font-size: 0.7rem;
}

form input[type=text], form textarea {
    font-family: 'Poppins', sans-serif;
}

form input[type=text], form textarea {
    display: block;
    text-decoration: none;
    border-radius: 7px;
    border: none;
    padding: 1rem;
    margin-bottom: 1rem;
    width: 100%;
    color: #161616;
    background-color: #cdcdcd;;
}

form textarea {
    height: 6rem;
    resize: none;

}

#watch--grid > div {
    padding: 0 !important;
    flex-grow: 0;
}

.nav--right-side {
    float: right;
}

.nav--right-side a:last-child {
    padding-right: 0;
}

.subtitle--landing,
.subtitle--landing-bold,
.subtitle--landing-small {
    font-family: 'Microgramma D';
    text-transform: uppercase;
    letter-spacing: 3px;
}

.subtitle--landing,
.subtitle--landing-bold {
    font-size: 2rem;
}

.subtitle--landing-small {
    font-size: 1rem;
}

.subtitle--landing-bold {
    margin: 0;
    font-weight: bold;
}

.section--flex-50,
.section--flex-25,
.section--flex-25__centered {
    display: flex;
    flex-wrap: wrap;
}

.section--flex-50,
.section--flex-25__centered {
    align-items: center;
    justify-content: center;
}

.section--flex-50 > div {
    flex: 50%;
    padding: 50px;
}

.section--flex-25 > div,
.section--flex-25__centered > div {
    flex: 25%;
    padding: 50px;
}

.section--flex-50 #watch--film-title {
    margin-top: 0;
}

.section--center-align {
    text-align: center;
}

.section-item,
.section-item__clickable {
    display: block;
}

.section-item p,
.section-item__clickable p {
    transform: translateY(0px);
    transition: transform 0.2s cubic-bezier(0.075, 0.82, 0.165, 1);
}

.section-item:hover p,
.section-item__clickable:hover p {
    transform: translateY(-10px);
}

.section-item__clickable:hover {
    cursor: pointer;
}

.section-item--bkg-1 {
    background-color: #3d1b1b;
}

.section-item--bkg-2 {
    background-color: #3d1b30;
}

.section-item--bkg-3 {
    background-color: #1b1e3d;
}

.section-item--bkg-4 {
    background-color: #1b3d3d;
}

.section-item--thumbnail {
    display: block;
    object-fit: cover;
    max-width: 100%;
    height: auto;
}

.section-item--text-container {
    padding: 20px;
}

.section-item--film-title, .section-item--film-subtitle {
    font-family: 'Microgramma D';
    text-transform: uppercase;
    padding: 0;
    margin: 0;
}

.section-item--film-title {
    font-weight: bold;
    font-size: 1.1rem;
    letter-spacing: 1px;
}

.section-item--film-subtitle {
    color: #ebaa42;
    font-size: 0.7rem;
    letter-spacing: 2px;
}

#modal--header,
.image--landing__watch,
.image--landing-1,
.image--landing-2,
.image--landing-3,
.image--landing-4,
.image--landing-5 {
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.image--landing-1,
.image--landing-2,
.image--landing-3,
.image--landing-4,
.image--landing-5 {
    height: 100vh;
}

.image--landing__watch {
    height: 90vh;
}

.image--landing-1 {
    background-image: url('../images/outside-3.png');
}

.image--landing-2 {
    background-image: url('../images/crimesofalorion-1.png');
}

.image--landing-3 {
    background-image: url('../images/workspaces-2.png');
}

.image--landing-4 {
    background-image: url('../images/onelanebridge-2.png');
}

.image--landing-5 {
    background-image: url('../images/workspaces-1.png');
}

.watch--badge {
    font-family: 'Microgramma D';
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.9rem;
    margin-bottom: 0.3rem;
}

#modal {
    display: none;
    position: fixed;
    z-index: 999;
    padding-top: 100px;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.6);
}

#modal--content {
    background-color: #161616;
    position: relative;
    margin: auto;
    padding: 0;
    width: 60%;
}

#modal--header {
    padding: 25px 25px 10rem 10rem;
}

#modal--body {
    padding: 25px;
}

#modal--body h2 {
    margin: 0;
}

.modal--film-info {
    font-size: 1rem;
}

#modal--close-button {
    color: #eee;
    float: right;
    font-size: 28px;
}

#modal--close-button:hover {
    cursor: pointer;
}

.video-main-container {
    padding-top: 4rem;
    background-color: black;
}

.video-container { 
    position: relative; 
    padding-bottom: 50%; 
    height: 0; 
    overflow: hidden; 
}

.video-container iframe, .video-container object, .video-container embed { 
    position: absolute; 
    top: 0; 
    left: 0; 
    width: 100%; 
    height: 100%; 
}

@keyframes animateInModal {
    from {
        top: 80vh;
        opacity: 0;
    }
    to {
        top: 0;
        opacity: 1;
    }
}

@keyframes animateOutModal {
    from {
        top: 0;
        opacity: 1;
    }
    to {
        top: 80vh;
        opacity: 0;
    }
}

@keyframes animateInModalBackground {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes animateOutModalBackground {
    from {
        opacity: 1;
    }
    to {
        opacity: 0;
    }
}

@keyframes animateZoomIn {
    from {
        transform: scale(0.9);
    }
    to {
        transform: scale(1);
    }
}
@keyframes animateZoomOut {
    from {
        transform: scale(1);
    }
    to {
        transform: scale(0.9);
    }
}

@media screen and (max-width: 1500px) {
    .section--flex-25__centered > div {
        flex: 50%;
        padding: 35px;
    }
}

@media screen and (max-width: 1400px) {
    main h1 {
        font-size: 6rem;
    }

    main button, section button {
        font-size: 0.7rem;
        padding: 0.8rem 2.2rem;
        margin-right: 0.8rem;
    }

    .subtitle--landing {
        font-size: 1rem;
        margin-bottom: 2rem;
    }

    .subtitle--landing-bold {
        font-size: 1.7rem;
    }

    .subtitle--landing-small {
        font-size: 0.7rem;
    }
}

@media screen and (max-width: 1200px) {
    #modal--content {
        width: 95%;
    }
}

@media screen and (max-width: 1000px) {
    h2 {
        font-size: 2.2rem;
    }

    p {
        font-size: 1.2rem;
    }

    footer p {
        font-size: 0.5rem;
    }

    .modal--film-info {
        font-size: 0.8rem;
    }

    .section--flex-25 > div {
        flex: 50%;
    }
}

@media screen and (max-width: 870px) {
    main h1 {
        font-size: 3rem;
    }

    main button, section button {
        margin-bottom: 0.8rem;
    }

    form input[type=text], form textarea {
        padding: 0.7rem;
    }
}

@media screen and (max-width: 800px) {
    nav, main div {
        padding-left: 25px;
        padding-right: 25px;
    }

    .section--flex-50 > div,
    .section--flex-25 > div,
    .section--flex-25__centered > div {
        flex: 100%;
        padding: 25px;
    }

    .image--landing__watch,
    .image--landing-1,
    .image--landing-2,
    .image--landing-3,
    .image--landing-4,
    .image--landing-5 {
        height: 50vh;
    }

    #watch--page-scale, #contact--container {
        padding-top: 4rem;
    }

    #watch--film-thumbnail {
        display: none;
    }
}

@media screen and (max-width: 600px) {
    #modal--body h2 {
        font-size: 1.7rem;
    }

    .section--flex-25 > div {
        flex: 100%;
    }
}

@media screen and (max-width: 480px) {
    main h1 {
        font-size: 2rem;
    }
}