@font-face {
    font-family: 'Petita';
    src: url('fonts/PetitaLight.woff2') format('woff2'),
        url('fonts/PetitaLight.woff') format('woff'),
        url('fonts/PetitaLight.ttf') format('truetype');
    font-weight: 300;
    font-style: normal;
    font-display: block;
}

@font-face {
    font-family: 'Atlantic Cruise';
    src: url('fonts/AtlanticCruise.woff2') format('woff2'),
        url('fonts/AtlanticCruise.woff') format('woff'),
        url('fonts/AtlanticCruise.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: block;
}

@font-face {
    font-family: 'Atlantic Cruise';
    src: url('fonts/AtlanticCruise-Italic.woff2') format('woff2'),
        url('fonts/AtlanticCruise-Italic.woff') format('woff'),
        url('fonts/AtlanticCruise-Italic.ttf') format('truetype');
    font-weight: normal;
    font-style: italic;
    font-display: block;
}

html {
    box-sizing: border-box;
    font-size: 1.5em;

    font-family: "Petita", sans-serif;
    font-optical-sizing: auto;
    font-weight: 300;
    font-style: normal;
}

*,
*:before,
*:after {
    box-sizing: inherit;
}

body {
    background-color: rgb(25, 25, 25);
    color: bisque;
}

h1 {
    text-align: center;
    font-size: 2em;
    margin-top: 1em;

    font-family: "Atlantic Cruise", sans-serif;
    font-optical-sizing: auto;
    font-weight: normal;
    font-style: normal;
}

a {
    color: red;
}

a:visited {
    color: pink;
}

a:hover {
    color: white;
}

.text-page {
    background-color: black;
    max-width: 60rem;
    min-height: 100vh;
    margin: 0 auto;

    @media (orientation: landscape) {
        padding: 1em 4em;
    }

    @media (orientation: portrait) {
        padding: 1em;
    }
}

video {
    display: block;
    max-width: 90svw;
    max-height: 90svh;
    margin: 2rem auto;
}

hr {
    border: 0;
    height: 0.1rem;
    margin: 2em 0;
    background-image: linear-gradient(to right, rgba(255, 228, 196, 0), rgba(255, 228, 196, 1), rgba(255, 228, 196, 0));
}

.download-link,
.warning {
    width: 100%;
    padding: 1rem;
    text-align: center;
    color: black;

    a,
    a:visited {
        color: black;
    }

    a:hover {
        color: red;
    }
}

.download-link {
    background-color: bisque;
}

.warning {
    background-color: red;
}

.favicon-credit {
    margin-top: 3em;
}

#logo {
    display: block;
    max-width: 100%;
    margin: 0.2em auto;
}

ul.video-list {
    padding: 0;
    display: flex;
    flex-flow: row wrap;
    justify-content: space-evenly;
    align-items: flex-start;
    align-content: flex-start;
    gap: 2em;

    li {
        list-style-type: none;
        max-width: 460px;

        img {
            max-width: 100%;
            display: block;
            margin: 0.2em auto;
        }
    }
}
