@font-face {
    font-family: "JetBrains Mono";
    src: url("/JetBrainsMono-Regular.woff2") format("woff2");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

:root {
    --primary: #394e6e;
    
    --background: #dce4ef;
    --surface: #a0adc2;
    --border: #394e6e;
}

body {
    margin: 0;
    border-width: 1.5px;
    border-color: var(--background);
    background-color: #dce4ef; 
}

nav {
    height: 5vh;
    display: flex;
    border-bottom: 1.5px var(--border) solid;
    justify-content: space-between;
    padding-right: 10px;
    background-color: var(--surface);    
    overflow: visible;
    a { 
        img {
            height: 40px;
            padding: 5px;
        }
    } 

    div {
        display: flex;
        flex-direction: row;
    }

    h1 {
        font-family: Georgia, 'Times New Roman', Times, serif;
        position: absolute;
        left: 50%;
        top: 3%;
        font-weight: 600;
        font-family: "Monsieur La Doulaise", cursive;
        font-style: normal;
        transform: translate(-50%, -50%);
        font-size: 60px;
        line-height: 1;
        margin: 0;
        z-index: 20;
        color: var(--primary);
    }
}

main {

    display: grid;
    grid-template-columns: 1fr 2fr 1fr;
    max-height: 95vh;
    overflow: hidden;
    font-family: "JetBrains Mono";
}

aside, section {
    flex-grow: 1;
}

aside {
    flex-grow: 2;
    max-height: 100vh;
}

aside p {
    font-size: 20px;
}

section {
    max-height: 100vh;   
    padding-right: 20px;
    padding-left: 20px;
    overflow: hidden;

    img{
        width: 100%;
        height: auto;
        z-index: 1;
    }
}

.treemacs {
    width: 80%;
    height: 100%;
    border-right: 1.5px var(--border) solid;

    p {
        margin: 0;
        border-bottom: 1.5px var(--border) solid;
        font-size: 17px;
        padding: 5px;
        color: var(--primary);
    }    
}

.play-banner {
    height: auto;
    max-width: 52vh;
    overflow: hidden;
    border-right: 1.5px solid var(--border);
    background-color: var(--surface);
}

.track {
    display: flex;
    flex-direction: row;
    animation: scroll-left 8s linear infinite;
}

.content {
    display: flex;
    flex-direction: row;
    
    p {
        margin-right: 60px;
        width: max-content;
        margin: 0;
        height: 40px;
        display: flex;
        align-items: center;
        justify-content: center;    
    }
}

@keyframes scroll-left {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(-50%);
    }
}

.feature-set { 
    overflow-y: scroll;
    max-height: 92.55%;
    padding: 10px;
}

.feature-card {
    width: 100%;
    height: 300px;
    background-color: var(--surface);
    border-radius: 15px;
    margin-top: 5px;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    color: var(--primary);
    
    p {
        margin: 0px;
        padding: 10px;
        font-size: 25px;
    }

    button {
        height: 30px;
        background-color: var(--background);
        width: 70px;
        border-radius: 15px;
        border-style: none;
        margin: 10px;
        color: var(--primary);
    }
}
