html {
    box-sizing: border-box;
}

body {
    background-color: black;
    color: white;
    font-size: 1.5rem;
    font-family: Arial, sans-serif;
}

.video-list {
    display: grid;
    row-gap: 1rem;
}

.video-list-item {
    display: flex;
    align-items: center;
    flex-direction: column;
}

video {
    background: #000;
    object-fit: contain;
    outline: none;
    aspect-ratio: 16 / 9;
    width: 50%;
}

.header {
    color: #CCCCCC;
    font-size: 1.5rem;
    margin-top: 2rem;
    margin-bottom: 3rem;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.tabs {
    color: white;
    font-size: 1.5rem;
    margin-top: 2rem;
    display: flex;
    flex-direction: row;
    align-items: center;
    column-gap: 1rem;
}

.tabs a {
    font-size: 40px;
    padding: 5px;
    background-color: #666;
    text-decoration: none;
    border-radius: 5px;
}

.tabs .selected-tab {
    background-color: #e69138;
}

.text {
    margin-bottom: 4px;
}

.text > span {
    color: #e69138;
}

a {
    color: inherit !important;
}

.counter {
    position: absolute;
    top: 20px;
    right: 20px;
    border-radius: 5px;
    background-color: #666;
    display: flex;
    gap: 5px;
    padding: 5px;
    font-size: 20px;
}

.downloadImage {
    vertical-align: middle;
}

.downloadText {
    text-decoration: none;
}

.download {
    margin-top: 10px
}

.image-list {
    display: flex;
    flex-direction: column;
    align-items: center;
    row-gap: 2rem;
    padding: 1rem;
}

.image-list img {
    height: auto;
    width: 100%;
    max-width: 600px;
}

@media all and (max-width: 500px) {
    video {
        width: 100%
    }

    .header {
        margin-top: 60px;
        font-size: 18px;
    }

    .text {
        margin-bottom: 8px;
    }

    .counter {
        font-size: 16px;
    }
}

