@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100..900;1,100..900&display=swap');

* {
    font-family: monospace;
}

h1 {
    font-size: 81px;
    margin-bottom: 0px;
}

h2 {
    font-size: 32px;
}
h3 {
    font-size: 24px;
}


h1,
h2,
h3,
p {
    color: black;
}

p {
    font-size: 18px;
}

a {
    text-decoration: none;
}

button {
    border: solid 1px transparent;
    background-color: transparent;
    margin-top: 10px;
    width: 70px;
    font-size: 16px;
    font-weight: bold;
    text-decoration: underline;
    text-underline-offset: 2px;

    &:hover {
        cursor: pointer;
    }
}

.header {
    width: 100%;

    h1 {
        margin-top: 0px;
        margin-left: 10px;
    }

    border-bottom:solid 5px black;
}

body {
    background-color: white;
    margin: 0;
    top: 0;
    padding-bottom: 40px;
    min-height: calc(100vh - 40px);
    width: 100vw;
    position: absolute;
    overflow-x: hidden;
}

.content {
    max-width: 1400px;
    margin: auto;
}

footer {
    border-top: solid 2px black;
    position: absolute;
    margin: auto;
    width: 100%;
    font-weight: bold;
    font-size:18px;
    bottom: 0;
}


/* ABOUT */

.about_container {
    display: flex;
    justify-content: flex-start;
    flex-wrap: wrap;
}

.about_text {
    min-width: 200px;
    max-width: 800px;
    justify-content: left;
}

.about_image {
    justify-content: right;
    min-width: 200px;
    object-fit: contain;
    margin-right: 0px;

    &:hover {
        cursor: grab;
    }
}

/* GAME */

.game_container {

    display: grid;
    grid-template-columns: repeat(auto-fit, 427px);
    grid-gap: 50px;

    .game {
        min-width: 400px;
        width: 427px;
        height: 240px;
        position: relative;
        font-size: 8px;
        background-color: lightgray;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: space-evenly;
        box-shadow: -5px 5px 16px rgba(87, 86, 87, 0.482);

        &:hover {
            .hover_desc {
                opacity: 100%;
            }
        }

        &[href]:hover {
            cursor: pointer;
        }

        &[href] .hover_desc::before {
            content: "🔗 "
        }
    }

    .title,
    .genre,
    .engine {
        user-select: none;
        margin: 0px;
        position: absolute;
    }

    .title,
    .genre,
    .engine,
    .hover_desc {
        color: white;
        background-color: rgba(0, 0, 0, 0.5);
        backdrop-filter: blur(10px);
        padding: 1px 2px;
        font-size: 16px;
    }

    .title {
        top: 0px;
        left: 0px;
    }

    .genre {
        top: 0px;
        right: 0px;
    }

    .engine {
        bottom: 0px;
        left: 0px;
    }

    .hover_desc {
        opacity: 0%;
        text-align: center;
        justify-self: center;
        user-select: none;
        transition: opacity .2s;
    }
}

/* MUSIC */

.music_container {

    display: grid;
    grid-template-columns: repeat(auto-fit, 300px);
    grid-gap: 50px;

    .music {
        min-width: 300px;
        width: 300px;
        height: 300px;
        position: relative;
        font-size: 8px;
        background-color: lightgray;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: space-evenly;
        box-shadow: -5px 5px 16px rgba(87, 86, 87, 0.482);

        &:hover {
            .hover_desc {
                opacity: 100%;
            }
        }

        &[href]:hover {
            cursor: pointer;
        }

        &[href] .hover_desc::before {
            content: "🔗 "
        }
    }

    .title,
    .genre,
    .software {
        margin: 0px;
        position: absolute;
    }

    .title,
    .genre,
    .software,
    .hover_desc {
        color: white;
        background-color: rgba(0, 0, 0, 0.5);
        backdrop-filter: blur(10px);
        padding: 1px 2px;
        font-size: 12px;
    }

    .title {
        top: 0px;
        left: 0px;
    }

    .genre {
        top: 0px;
        right: 0px;
    }

    .software {
        bottom: 0px;
        left: 0px;
    }

    .hover_desc {
        opacity: 0%;
        text-align: center;
        justify-self: center;
        user-select: none;
        transition-duration: .2s;
    }
}

.player
{
    border-top: solid 5px black;
    position: absolute;
    margin: auto;
    width: 100%;
    font-weight: bold;
    bottom: 0;

    .playing
    {
        margin:0
    }
    .track
    {

    }
}

/* ART */

.art_container {
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-self: center;
    justify-content: space-evenly;
    align-items: center;
    margin: 0px;

    .art {
        margin-top: 16px;
        margin-bottom: 16px;
        width: 100%;
        height: 250px;
        position: relative;
        font-size: 0.5rem;
        background-color: lightgray;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: space-evenly;
        box-shadow: -5px 5px 16px rgba(87, 86, 87, 0.482);

        &:hover {
            .hover_desc {
                opacity: 100%;
            }
        }

        &[href]:hover {
            cursor: pointer;
        }

        &[href] .hover_desc::before {
            content: "🔗 "
        }
    }

    .title,
    .type,
    .software {
        margin: 0px;
        position: absolute;
    }

    .title,
    .type,
    .software,
    .hover_desc {
        color: white;
        background-color: rgba(0, 0, 0, 0.5);
        backdrop-filter: blur(10px);
        padding: 1px 2px;
        font-size: 16px;
    }

    .title {
        top: 0px;
        left: 0px;
    }

    .type {
        top: 0px;
        right: 0px;
    }

    .software {
        bottom: 0px;
        left: 0px;
    }

    .hover_desc {
        opacity: 0%;
        text-align: center;
        justify-self: center;
        user-select: none;
        transition-duration: .2s;
    }
}