@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;700&display=swap');

* {
    margin: 0 auto;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Roboto', sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.5;
    /* dark mode */
    background-color: #1f232e;
    color: #fff;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
}

h1 {
    font-size: 3rem;
}

.home-header p {
    display: block;
    position:relative;
    color: #7993b9;
}

.home-header h1 {
    display: block;
    position:relative;
    color: #a7caff;
}

.home-header {
    padding: 1rem 2rem;
    text-align: center;
    /* center vertically */
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    pointer-events: none;
    user-select: none;
}

.credits {
    padding: 1rem 2rem;
}

.credits a {
    color: #a7caff;
    text-decoration: none;
    transition: color 0.1s ease-in-out;
    background-color: transparent;
    user-select: none;
}

.credits a:hover {
    color: #91a2ff;
    background-color: #91a2ff40;
}

.listing {
    padding: 1rem 2rem;
}

.listing a {
    color: #a7caff;
    text-decoration: none;
    transition: color 0.1s ease-in-out;
    background-color: transparent;
    user-select: none;
    display:block;
    width: fit-content;
    margin-left: 0;
}

.listing a:hover {
    color: #91a2ff;
    background-color: #91a2ff40;
}

.links {
    position:absolute;
    padding: 1rem 2rem;
    user-select: none;
}

.links a {
    color: #a7caff;
    text-decoration: none;
    transition: color 0.1s ease-in-out;
    background-color: transparent;
    padding: 2px 10px;
    user-select: none;
}

.links a:hover {
    color: #91a2ff;
    background-color: #91a2ff40;
}

.home-credits {
    padding: 1rem 2rem;
    bottom: 0;
    position: absolute;
    color: #3c4a5d;
    pointer-events: none;
    user-select: none;
}

.clip video {
    position: absolute;
    top: 0;
    left: 0;
    object-fit: scale-down;
    width: 95vmin;
    /* center */
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    border-radius: 10px;
    border: 1px solid #91a2ff;
}

.clip a {
    color: #a7caff;
    text-decoration: none;
    transition: color 0.1s ease-in-out;
    background-color: transparent;
    user-select: none;
}

.clip a:hover {
    color: #91a2ff;
    background-color: #91a2ff40;
}

.clip video:fullscreen {
    width: 100%;
    height: 100%;
    border-radius: 0;
    border: none;
}

.clips a::before {
    content: '>';
    margin-right: 1rem;
}

.clips a:not(:last-child) {
    margin-right: 1rem;
}