:root {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
}

* {
    border-radius: .5em;
    text-align: center;
}

li {
    text-align:left;
}

a {
    color: inherit;
}

img {
    max-width:100%;
    max-height: 100%;
}

video {
    max-width:100%;
    max-height: 100%;
}

.what {
    margin-top: .5em;
    margin-bottom: .5em;
}

.detail {
    width: 50%;
}

body {
    color: var(--font-color);
    background-color: #111;
    margin: 1em;
    display: flex;
    flex-direction: row;
    gap: 1em;
    position: relative;
}

.left {
    display: flex;
    flex-direction: column;
    min-width: 15%;
    position: sticky;
    top: 1em;
    align-self: flex-start;
    align-items: center;
}

.logo * {
    height: 4em;
}

.center {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5em;
    flex: 1;
}

.content {
    background-color: var(--main-color);
    flex: 1;
    display: flex;
    align-items: center;
    flex-direction: column;
    padding-bottom: 5em;
    width: 100%;
    gap: 1em;
}

.focal {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.showcase {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1em;
    width: 80%;
}

.minor {
    width: 80%;
}

.right {
    display: flex;
    flex-direction: column;
    min-width: 15%;
    position: sticky;
    top: 1em;
    align-self: flex-start;
    align-items: center;
    gap: 1em;
}

.downloads 
{
    flex-direction: column;
    display: flex;
    align-items: center;
    gap: 1em;
    width: 50%;
    max-width: 10em;
    background-color: #2d2d2d;
}

.source {
    width: 75%;
}

.links {
    display: flex;
    padding: .5em;
    gap: 1em;
}

.links > * {
    height: 2em;
}

.thumbnail {
    position: relative;
    overflow: hidden;
    border-radius: 1em;
}

.thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.thumbnail div {
    position: absolute;
    bottom: 0;
    text-align: center;
    width: 100%;
    background-color: #000A;
    border-radius: 0;
}

@media (orientation: portrait) or (width < 800px)
{
    body {
        flex-direction: column;
        align-items: stretch;
    }

    .left, .right {
        position: relative;
        min-width: auto;
        width: 100%;
        top:auto;
    }

    .left {
        font-size: 50%;
    }

    .downloads {
        flex-direction: row;
    }

    .what {
        display: none;
    }

    .showcase {
        grid-template-columns: 1fr;
    }
}