:root {
    --max-width: 1260px;
    --font-color: #b5b4c7;
    --nav-color: #251537;

    --dark-bg-color: #1a0d29;
	--dark-nav-color: #251537;
    --dark-font-color: #b5b4c7;
}

body {
    color: var(--font-color);
    background-color: #1a0d29;
}

#topNavLogo {
    filter: saturate(0) contrast(1.5);
}

#topNav a {
	color: var(--font-color);
}

#landing {
    background-color: #130523;
}

.video-container {
    background-color: #230049;
    box-shadow: 0 0 8px 2px #ffffff3d;
    filter: drop-shadow(0 0 20px #6134eb);
}

.video-title {
    display: flex;
    flex-direction: row;
    align-items: baseline;
    padding: 0.5rem 0.5rem 0.375rem 0.5rem;
    font-size: 0.75rem;
    color: #b19edd;
}

h1 {
    white-space: nowrap;
    margin-right: 0.5rem;
    font-size: 1rem;
    color: #f189f5;
    text-transform: uppercase;
}

#mainContainer {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 1rem 1rem 2rem;
    overflow: hidden;
}

#radiosContainer {
    display: grid;
    gap: 2rem;
    grid-template-columns: 1fr;
}

#radiosContainer h2 {
    font-size: 1.25rem;
}

.video-list {
    display: grid;
    gap: 0.5rem;
    grid-template-columns: 1fr 1fr 1fr;
    margin-top: 0.5rem;
}

.video-list > div, .video-list a {
    position: relative;
    display: block;
    max-width: 360px;
    padding: 0.5rem;
    border-radius: 0.75rem;
    font-size: 0.875rem;
    cursor: pointer;
    user-select: none;
    overflow: hidden;
    background-color: #102285;
}

#radioSelect .active {
    pointer-events: none;
    background-color: #50229d;
}

#radioSelect .active::before {
    content: "";
    position: absolute;
    top: 0.75rem;
    left: 0.75rem;
    width: 6px;
    height: 6px;
    z-index: 2;
    border-radius: 3px;
    background-color: #e66deb;
}

.video-list > div::after, .video-list a::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    z-index: 0;
    width: 50%;
    aspect-ratio: 1;
    border-radius: 50%;
    background-color: #3138d9;
    transform: translateX(-50%);
    transition: all 0.25s cubic-bezier(.17,.5,.32,.9);
}

.video-list > div:hover::after, .video-list a:hover::after {
    width: 250%;
    transform: translate(-50%, -50%);
}

.video-list img {
    position: relative;
    display: block;
    width: 100%;
    height: auto;
    z-index: 1;
    margin-bottom: 0.375rem;
    border-radius: 0.25rem;
}

.lofi-girl-list.video-list img {
    opacity: 0.8;
    filter: saturate(0.45) brightness(1.25) hue-rotate(185deg) contrast(1.25);
}

.video-list span, .video-list a {
    position: relative;
    z-index: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    text-decoration: none;
    color: var(--font-color);
}

.video-list .active span {
    color: #fff3ea;
}

#about {
    margin: 3rem 0;
}

#about h2 {
    margin-bottom: 0.75rem;
}

#about img {
    grid-row: 1;
    grid-column: 1;
    display: block;
    width: 40%;
    max-width: 230px;
    height: auto;
    margin-left: 0.5rem;
    float: right;
    border-radius: 50%;
    border: 4px solid #19bcf3;
    filter: drop-shadow(0 0 8px #00a9e2);
}


@media (min-width: 600px) {
    #landing {
        padding: 1rem;
    }
    
    .video-container {
        padding: 2vw 2vw 1vw 2vw;
        margin: 0 auto;
    }

    .video-container {
        width: 80%;
        max-width: var(--max-width);
    }

    .video-title {
        padding: 1rem 0 0 0;
        font-size: 1rem;
    }
    
    h1 {
        font-size: 1.25rem;
    }

    #radiosContainer h2 {
        font-size: 1.375rem;
    }

    .video-list {
        gap: 1rem;
    }

    .video-list > div, .video-list a {
        padding: 0.75rem;
        border-radius: 1rem;
    }

    #radioSelect .active::before {
        top: 1.25rem;
        left: 1.25rem;
        width: 8px;
        height: 8px;
        border-radius: 4px;
    }
    
    .video-list img {
        margin-bottom: 0.375rem;
        border-radius: 0.5rem;
    }

    #about {
        display: grid;
        gap: 2rem;
        grid-template-columns: 230px 1fr;
        grid-template-rows: 33px auto;
    }

    #about h2 {
        grid-row: 1;
        grid-column: 2;
    }

    #about img {
        grid-row: span 2;
        grid-column: 1;
        width: 230px;
        margin: 0;
        float: none;
    }

    #about p {
        grid-row: 2;
        grid-column: 2;
    }
}

@media (min-width: 1292px) {
    #mainContainer {
        padding: 1rem 0 2rem;
        overflow: visible;
    }

    #radiosContainer {
        grid-template-columns: 1fr 1fr;
    }
}