:root {
    --mainMargin: 30px;
}

#main {
    margin: var(--mainMargin);
    width: calc(100% - var(--mainMargin)*2);
    height: calc(100vh - var(--mainMargin)*2);

}

#container {
    background: var(--dark-gray);
    width: 100%;
    height: 100%;

    overflow: visible !important;
    border-radius: 40px;

    -webkit-box-shadow: 0px 0px 10px 10px var(--dark-steel);
    -moz-box-shadow: 0px 0px 10px 10px var(--dark-steel);
    box-shadow: 0px 0px 10px 10px var(--dark-steel);

    display: flex;
    justify-content: flex-start;
    align-items: center;
    flex-direction: column;
    gap: 20px;
}

#grid {
    padding: 20px;
    width: 90%;
    height: 90%;
    display: flex;
    justify-content: space-evenly;
    gap:5%;
    flex-wrap: wrap;
    overflow-y: scroll;
}

#grid > * {
    border-radius: 15px;
    background-color: var(--light-gray);
    width: 200px;
    height: 200px;
}
#special-button {
    background-color: green;
}

.grid-btn > button {
    width: 100%;
    height: 100%;
    background: none;
    border:none;
    cursor:pointer;
}

.command-bold {
    font-size: large;
}

#projectButtons {
    display: flex;
    justify-content: space-around;
    height: 80px;
    width: 80%;
}

#projectButtons > button {
    width: 35% !important;
    background: var(--dark-steel);
    border: 1px solid var(--discord-blue);
    border-radius: 10px;
}

@media only screen and (max-width: 768px) {
    #main {
        margin: 0;
        width: 100%;
        height: 100vh;
        overflow-y: visible;
    }
    #title {
        font-size: 8vw;
    }

    #container {
        text-align: center;
        border-radius: 0;
        box-shadow: none;

        overflow-y: scroll !important;
    }

    #grid {
        width: 65%;
        height: fit-content;
        display: grid;
        grid-template-columns: 100%;
        grid-auto-rows: 200px;
        gap:10px !important;
        overflow-y: visible !important;
    }
    #grid:last-child {
        margin-bottom: 30px;
    }

    .grid-btn {
        width: 100% !important;
        height: 100% !important;
    }

    #projectButtons {
        flex-direction: column;
        align-items: center;
        height: 200px !important;
        row-gap: 5px;
    }
    #projectButtons > button {
        width: 40% !important;
        height: 80px;
    }
}

@media only screen and (max-width: 768px) and (min-width: 500px) {
    #grid {
        width: 50%;
        height: fit-content;
        display: grid;
        grid-template-columns: 100%;
        grid-auto-rows: 200px;
        gap:10px !important;
    }
}




::-webkit-scrollbar {
    width: 12px !important;
}

::-webkit-scrollbar-track {
    background-color: transparent !important;
}

::-webkit-scrollbar-thumb {
    background-color: var(--light-gray);
    border-radius: 6px;
    border: 3px solid transparent;
    transition: all 1s !important;
}

::-webkit-scrollbar-thumb:hover {
    background-color: var(--dark-steel);
}
