﻿/* definition */
@font-face {
    font-family: FSLucas;
    src: url('/font/FSLucas-Light.woff2') format('woff2');
    font-weight: 200;
    font-style: normal;
}

@font-face {
    font-family: FSLucas;
    src: url('/font/FSLucas-Medium.woff2') format('woff2');
    font-weight: 300;
    font-style: normal;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

.container {
    max-width: 1140px;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin: auto;
    padding: 1rem;
}

.banner {
    display: flex;
    flex-direction: column-reverse;
    justify-content: space-between;
    align-items: center;
}

.banner-text {
    font-family: FSLucas, system-ui;
    text-align: center;
}

.banner-text > h2 {
    font-size: 2rem;
}

.banner-text > p {
    font-size: 1.5rem;
    font-weight: 200;
}

.banner-image img {
    height: 8rem;
    width: 8rem;
}

.video-container {
    box-shadow: 0 16px 16px -8px #3C9ED6;
    background-color: #CCCCCC;
    display: flex;
    flex-direction: column;
    gap: 2rem;
    max-width: 1140px;
    padding: 1rem;
}

.video-player {
    position: relative;
}

.video {
    width: 100%;
}

.video-control {
    background-color: rgb(255, 255, 255);
    border-radius: 50%;
    padding: 0.5rem;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    justify-content: center;
    align-items: center;
    backdrop-filter: blur(100px);
    cursor: pointer;
}

.video-control > img {
    height: 3.5rem;
    width: 3.5rem;
    padding-left: 0.5rem;
}

.downloads {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-left: auto;
    margin-right: auto;
}

.downloads > a {
    align-items: center;
    background-color: white;
    border-radius: 0.25rem;
    color: black;
    display: flex;
    font-family: FSLucas, system-ui;
    gap: 1rem;
    padding: 0.5rem 1rem;
    min-width: 160px;
    text-decoration: none;
}

.downloads > a > img {
    height: 1.5rem;
}

.list-container {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.list {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    flex-direction: column;
    gap: 1rem;
    list-style-type: none;
    margin: auto;
}

.list-item {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 4px 12px -4px rgba(0, 0, 0, 0.125);
    border-radius: 0.25rem;
}

.list-item > p {
    font-family: FSLucas, system-ui;
}

.list-item > img {
    background-color: #CCCCCC;
    border-radius: 0.125rem;
    width: 100%;
    aspect-ratio: 16/9;
}

.list-controls {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    font-family: FSLucas, system-ui;
    justify-content: space-between;
}

.list-controls a {
    text-decoration: none;
    font-size: 1.25rem;
}

.previous {
    font-weight: bold;
}

.list-pages {
    margin: auto;
}

.list-pages > a {
    font-weight: 200;
}

.list-pages > a.active {
    font-size: 1.5rem;
    font-weight: bold;
}

.next {
    margin-left: auto;
    font-weight: bold;
}

@media (min-width: 400px) {
    .banner-text {
        text-align: initial;
    }

    .video-control {
        padding: 1rem;
    }

    .downloads {
        flex-direction: row;
        margin-right: initial;
    }
}

@media (min-width: 500px) {
    .banner {
        flex-direction: row;
    }

    .video-container {
        padding: 2rem;
    }

    .video-control > img {
        height: 5rem;
        width: 5rem;
    }
}

@media (min-width: 768px) {
    .list {
        grid-template-columns: repeat(3, 1fr);
    }
}

.hidden {
    display: none;
}

.no-select {
    -webkit-user-select: none;
    user-select: none;
}
