﻿@import url("https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;500;700&display=swap");
@import url(transitions.css);
@import url(intro.css);

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

body {
    margin-bottom: 8px;
}

html,
body {
    height: 100%;
}

body {
    font-family: "Roboto", Arial, sans-serif;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    background-color: black;
    color: white;
    max-width: 80rem;
    margin: 0 auto;
}

img {
    transition: all ease-in;
    max-width: 100%;
}

header {
    padding: 0.5em;
    border-bottom: 3px solid hsl(192, 74%, 44%);

    img {
        max-width: 100%;
        max-height: 6em;
    }
}

.page-content {
    background-color: hsl(0, 0%, 5%);
    border-radius: 4px;
    padding: 1em 2em;
}


.episodes-display {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr));
    gap: 1em;

    a {
        text-decoration: none;
        color: white;
        text-align: center;

        h3 {
            font-size: 1.2em;
        }

        h4 {
            font-size: 0.9em;
            font-weight: normal;
            text-wrap: balance;
        }

        img {
            scale: 1;            
            transition-duration: 100ms;
        }

        &:hover {
            color: yellow;
            text-decoration: underline;

            img {
                scale: 1.05;
            }

        }
    }

    img {
        border-radius: 8px;
    }

    &>div {
        background-color: black;
        padding: 0.5em 1em;
        border-radius: 8px;
    }

}


iframe {
    aspect-ratio: 16/9;
    background-color: #111111;
    border-radius: 9px;
    margin: 0 auto;
    padding: 1em;
}


.navigation {
    padding: 1em;
    background-color: #1b1b1b;
    display: inline-flex;
    gap: 1em;
    border-radius: 8px;
    margin-bottom: 1em;

    span {
        font-size: 1.1em;
        font-weight: bold;

        &::before {
            content: '[ ';
        }

        &::after {
            content: ' ]';
        }
    }

    a {
        text-decoration: none;
        color: yellow;

        &:hover {
            text-decoration: underline;
        }

    }
}


footer {
    font-size: 0.8em;
    line-height: 1.2em;
    padding: 8px 0;
    text-align: center;
    background-color: #222;
    border-radius: 0 0 8px 8px;
}


.back-link a {
    color: yellow;
    text-decoration: none;
    font-weight: bold;
    &:hover {
        text-decoration: underline;
    }
}


.video {
    h2
{
    padding: 0;
    margin: 0;
    font-size: 1rem;
    text-align: center;
    text-wrap: balance;
}
}