* {
    box-sizing: border-box;
}

html {
    margin: 0;
    padding: 0;
    font-size: 16px;
}

body {
    display: flex;
    flex-direction: column;
    justify-content: stretch;
    align-items: stretch;
    min-height: 100vh;
    margin: 0;
    padding: 0;
    font-family: "Open Sans", sans-serif;
    font-optical-sizing: auto;
    font-weight: 500;
    font-style: normal;
    font-variation-settings: "wdth" 100;
    background: #251a3c url("../images/poster.jpg") no-repeat center bottom fixed;
    background-size: contain;
}


header.main-header {
    flex: 0 0 auto;
    padding: 1rem;
    text-align: center;
    color: #fff;
    background-color: #251a3c;
}

header.main-header h1 {
    font-size: 2rem;
}
header.main-header h2 {
    font-size: 1.125rem;
}

.content {
    flex: 1 0 auto;
    display: flex;
    max-width: 100%;
    justify-content: stretch;
    align-items: stretch;
}

.content .poster {
    display: none;
}

.content .legend {
    flex: 1 0 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 1rem;
    background-color: rgba(255, 255, 255, 0.5);
}

.content .legend .legend-item {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    width: 100%;
    margin-top: 1.5rem;
    padding: 0.75rem;
    background-color: #fff;
    border: 1px solid #251a3c;
    border-radius: 5px;
}

.content .legend .legend-item header {
    width: 3em;
    height: 3em;
    margin-right: 3rem;
}
.content .legend .legend-item header.yellow {
    background-color: gold;
}
.content .legend .legend-item header.red {
    background-color: crimson;
}
.content .legend .legend-item header.green {
    background-color: forestgreen;
}
.content .legend .legend-item header.blue {
    background-color: cornflowerblue;
}
.content .legend .legend-item header.purple {
    background-color: darkorchid;
}

@media screen and (min-width: 768px) {
    .content .legend .legend-item {
        width: 50%;
    }
}

@media screen and (min-width: 992px) {
    body {
        background-image: none;
    }

    .content .poster {
        display: flex;
        justify-content: center;
        align-items: center;
        width: 50%;
    }

    .content .poster img {
        width: auto;
        max-width: 75%;
        max-height: 75vh;
    }

    .content .legend {
        flex: 1 0 50%;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        padding: 1rem;
        background-color: rgba(255, 255, 255, 0.75);
    }

    .content .legend {
        width: 50%;
        margin-left: auto;
    }

    .content .legend .legend-item {
        width: 80%;
    }
}
