/* CSS RESET */

*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
}

html {
    font-size: 62.5%;
}

body {
    min-height: 100vh;
    font-family: "SF Compact Display", sans-serif;
    font-size: 1.8rem;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    color: #fff;
    background-image: linear-gradient(to bottom, #0c3a74, #0a2342);
}

a,
input,
button {
    font: inherit;
    color: inherit;
}

a {
    text-decoration: none;
}



/* GENERICS */

.Wrapper {
    width: 90vw;
    max-width: 160rem;
    margin: 0 auto;
}



/* HEADER */

.Header {
    padding: 6.4rem 0;
}

.Header .Wrapper {
    display: flex;
    align-items: center;
}

.Header__Logo img {
    display: block;
    height: 4.4rem;
}

.Header__Menu {
    margin-left: auto;
}

.Header__Search {
    margin-left: 4.4rem;
}



/* MENU */

.Menu {
    display: flex;
    padding: 0;
    margin-right: -2rem;
    list-style: none;
}

.Menu__Item {
    margin: 0 2rem;
    font-weight: 600;
}

.Menu__Item--withDropdown a {
    padding-right: 2rem;
    position: relative;
}

.Menu__Item--withDropdown a::after {
    content: "";
    width: 8px;
    height: 8px;
    border-right: 2px solid #fff;
    border-bottom: 2px solid #fff;
    position: absolute;
    top: calc(50% - 4px);
    right: 2px;
    transform: rotate(45deg);
}



/* SEARCH BUTTON */

.SearchBtn {
    padding: 0;
    border: none;
    background-color: transparent;
    cursor: pointer;
}

.SearchBtn img {
    display: block;
    width: 100%;
}



/* NOW PLAYING SECTION */

.NowPlaying {
    /*
    Actual hero section height is just 92rem, but we are going to overlap it
    with the header element (height = 17.2rem) so we need to provide a
    dedicated space for the header to sit in.
    */
    height: calc(92rem + 17.2rem);
    padding: calc(17.2rem + 10rem) 0;
    margin-top: -17.2rem;
}

.NowPlaying .Wrapper {
    display: flex;
}

.NowPlaying__HeadingBlock {
    width: 12.4rem;
}

.NowPlaying__Heading {
    display: inline-block;
    font-size: 3.4rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    white-space: nowrap;
    transform: rotate(-90deg) translateX(-100%);
    transform-origin: top left;
}

.NowPlaying__Date {
    font-size: 1.8rem;
    font-weight: 500;
    color: #51b4ff;
}

.NowPlaying__Title {
    margin-top: 1.2rem;
    margin-bottom: 2.4rem;
    font-size: 13.6rem;
    font-weight: 500;
    text-transform: uppercase;
}

.NowPlaying__Info {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}

.NowPlaying__Duration {
    padding: 0 1.2rem;
    border-radius: 2.8rem;
    font-size: 1.6rem;
    font-weight: 600;
    line-height: 2.8rem;
    background-image: linear-gradient(to right, #51b4ff, #2d8aff);
}

.NowPlaying__Rating {
    margin-left: 1.6rem;
    font-size: 2.2rem;
    font-weight: 700;
}

.NowPlaying__InfoText {
    display: flex;
    align-items: center;
    margin-left: 1.6rem;
}

.NowPlaying__InfoText::before {
    content: "";
    display: inline-block;
    width: 6px;
    height: 6px;
    border: 1px solid #fff;
    border-radius: 50%;
    margin-right: 1.6rem;
}

.NowPlaying__Plot {
    max-width: 68rem;
    margin-top: 4.2rem;
    line-height: 1.8;
}
