:root {
    --blue-color: hsl(192, 74%, 44%);
}

html {
    background-color: rgb(56, 56, 56);
    box-sizing: border-box;
    font-size: 12pt;
}

body {
    font-family: 'Roboto', sans-serif;
}

img {
    max-width: 100%;
}

div.main {
    max-width: 100rem;
    margin: 0 auto;
    background-color: black;
    padding: 0;
    border-radius: 1rem;
    color: white;
    overflow: auto;
}

h1,
h2,
h3,
h4 {
    padding: 0;
    margin: 0;
    font-weight: normal;
}

div.header {
    position: sticky;
    top: 0;
    left: 0;
    border-bottom: 3px solid var(--blue-color);
    background-color: rgb(0, 0, 0);
    padding: 1rem;
    /* Needed to see stickiness */
    z-index: 10;
    /* Prevent it from being covered */
}

div.header img {
    max-width: 50% !important;
}

div.header h1 {
    text-align: center;
    background-color: rgb(0, 0, 51);
    padding: 1rem 0;
    overflow: hidden;
    border-radius: 0;
}

article {
    padding: 0 1em;

    h1 {
        color: white;
    }

    h1 a {
        color: yellow;
        font-size: 0.7em;
    }

    h2 {
        text-align: center;
        background-color: brown;
        padding: 1em;
    }

    h3 {
        margin: 0;
        font-size: 1.2em;
    }

    h3::before {
        content: ''
    }

    h4 {
        text-align: center;
    }

    p {
        font-weight: normal;
        font-size: 1.1em;
    }

    #season2 {
        display: none;
    }

    a.switch-season {
        &::before {
            content: 'Switch to '
        }

        display: block;
        padding: 0 0 0 1em;
    }
}

iframe {
    aspect-ratio: 16 / 9;
    margin: 1em;
    border: 1px solid rgb(110, 110, 110);
    border-radius: 3px;
}

.centered-image {
    display: flex;
    align-content: center;
    justify-content: center;
}

.intro {
    display: grid;
    grid-template-columns: 1fr 3fr;
    align-items: center;
}

.intro p {
    padding: 1em;
}

.intro img {
    max-height: 18em;
}

#toggleReadMore {
    display: none;
}

@media(max-width:600px) {

    .intro {
        display: grid;
        grid-template-columns: 1fr;
        align-items: center;
        align-content: center;
        justify-items: center;
        margin-top: 1em;
    }

    #toggleReadMore {
        display: block;
    }

    .intro img {
        max-height: 12em;
    }

    .clamped {
        max-height: 2.7em;
        overflow: hidden;
    }

    .expanded {
        max-height: unset;
    }
}



.videos {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(400px, 100%), 1fr));
    gap: 1em;
}

.videos>div {
    background-color: black;
    padding: 1rem;
    background-color: rgb(23 23 23);
    border-radius: 8px;
}

footer {
    background-color: rgb(43, 43, 43);
    margin-top: 1em;
    border-top: 2px solid var(--blue-color);
}

footer p {
    text-align: center;
    margin: 0;
    padding: 0;
    font-size: smaller;
}

footer a {
    color: yellow;
}

a {
    color: white;
}


.intro a {
    font-size: 0.9em;
    display: block;
    text-align: right;
}

.season-selector {
    margin: 1em;
    text-align: left;
}

.season-selector select {
    background-color: #33363d;
    padding-right: 3em;
    color: #fff;
    border: none;
    padding: 14px 22px;
    font-size: 1.2rem;
    border-radius: 8px;
    cursor: pointer;
    font-family: 'Roboto', sans-serif;
    border:1px solid #33363d;
    &:active,
    &:focus,
    &:hover {
        border: 1px solid white;
    }
}
