@font-face {
    font-family: 'Satisfy';
    src: url('../Satisfy.ttf');
    font-display: swap;
}
@font-face {
    font-family: 'Short Stack';
    src: url('../ShortStack.ttf');
    font-display: swap;
}

:root {
    --max-width: 1260px;
    --font-color: #222322;
    --nav-color: #e9755a;
    --nav-font-color: #f9f9f9;
    --dark-nav-color: #131b35;
}

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

#landing {
    background-color: #f3ae98;
}

.video-container {
    background-color: #ed9b88;
}

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

h1 {
    white-space: nowrap;
    margin-right: 0.5rem;
    font-size: 1rem;
    font-family: 'Satisfy';
    color: #d44947;
}

#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: #ffa164;
}

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

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

.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: #ff724a;
    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;
}

.synthwave-boy-list.video-list img {
    filter: sepia(0.65) saturate(1.5);
}

.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: 6px solid #446f4e;
}

#about p + p {
    margin-top: 1rem;
}

#notepadSection {
    position: relative;
    width: calc(100% + 2rem);
    margin-left: -1rem;
    padding: 10rem 0 3rem 0;
    border-bottom: 1rem solid #ab744d;
    background-color: #d1976d;
}

#notepadSection form {
    position: relative;
    z-index: 1;
    width: calc(100% - 3rem);
    max-width: 450px;
    margin: 0.75rem auto 0 auto;
}

#notepad {
    width: 100%;
    height: 450px;
    padding: 1rem;
    font-size: 1rem;
    line-height: 1.5rem;
    font-family: "Short Stack";
    letter-spacing: -0.5px;
    resize: vertical;
    border: 1rem solid #446f4e;
    box-shadow: -0.75rem 0 0 rgb(0 0 0 / 15%);
    background-color: #e7dcca;
}

#coffeeMug {
    position: absolute;
    top: 2%;
    left: -1rem;
    width: 20%;
    min-width: 140px;
    max-width: 300px;
}

#plant {
    position: absolute;
    top: -2.75rem;
    right: -6.25rem;
    width: 35%;
    min-width: 240px;
    max-width: 350px;
    z-index: 2;
    filter: drop-shadow(-0.75rem 0 0 rgb(0 0 0 / 15%));
}


@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: 1080px) {
    #notepadSection {
        width: 100%;
        margin: 0;
        padding: 1.25rem 0 2rem;
    }

    #notepadSection form {
        width: 100%;
    }

    #notepad {
        height: 550px;
        box-shadow: -1rem 0 0 rgb(0 0 0 / 15%);
    }

    #coffeeMug {
        top: 20%;
        left: 2%;
    }
    
    #plant {
        top: -2rem;
        right: -0.25vw;
    }
}

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

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

@media (min-width: 1330px) {
    #plant {
        right: -1.75rem;
    }
}


.dark body {
    color: #cdccc5;
    background-color: #0b1223;
}

.dark #landing {
    background-color: #090b1b;
}

.dark .video-container {
    background-color: #0b1223;
}

/* .dark .video-title {
    color: #cdccc5;
} */

.dark h1 {
    color: #4b6073;
}

.dark .video-list > div, .dark .video-list > a {
    background-color: #152a2f;
}

.dark .video-list > div::after, .dark .video-list > a::after {
    background-color: #1b3b31;
}

.dark .video-list span, .dark .video-list a {
    color: #cdccc5;
}

.dark #radioSelect .active {
    background-color: #471319;
}

.dark #about img {
    border-color: #152a2f;
}

.dark #notepadSection {
    border-color: #241814;
    background-color: #362721;
}

.dark #notepad {
    border-color: #1b3b31;
    /* box-shadow: -1rem 0 0 #31231d; */
    background-color: #dcba95;
}