@font-face {
    font-family: roboto;
    src: url("fonts/roboto.woff2") format("woff2");
    font-weight: 400;
    font-style: normal;
}
.module-text {
    padding-left: 0.7vw;
    padding-top: 1.04vh;
    z-index: 3;
    position: relative;
    pointer-events: none;
}
body {
    margin: 0;
    color: #f8f8ff;
    font-family: monospace;
    overflow: hidden;
}
.modules {
    display: inline-grid;
    grid-template-columns: repeat(7, 23vh);
    column-gap: 0.64vh;
    position: absolute;
    margin-top: 3vh;
}
.category {
    display: inline-grid;
    grid-template-rows: repeat(30, 4.16vh);
}
.container {
    display: flex;
    justify-content: center;
}
.module {
    color: inherit;
    font-family: roboto;
    font-size: 1.7vh;
    text-decoration: none;
    background-color: rgba(15, 22, 31, 0.6);
    position: relative;
}
.top {
    border-top-left-radius: 7px;
    border-top-right-radius: 7px;
}
.bottom {
    border-bottom-left-radius: 7px;
    border-bottom-right-radius: 7px;
}
.module:hover .tooltip {
    opacity: 1;
    pointer-events: none;
}
.overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    inset: 0;
    border-radius: 7px;
}
.overlay:hover {
    background-color: rgba(161, 84, 255, 0.4);
}
.tooltip {
    position: absolute;
    margin-top: 4.5vh;
    opacity: 0;
    background: rgba(20, 3, 20, 0.8);
    width: 21.5vh;
    border-style: solid;
    border-color: rgba(37, 0, 94, 0.8);
    border-radius: 10px;
    padding: 4px;
    text-align: center;
    transition: opacity 0.12s ease;
    pointer-events: none;
    z-index: 9998;
}
.icon {
    position: absolute;
    padding-top: 10px;
    padding-left: 10px;
    width: 2.72vh;
}
.top .module-text {
    padding-left: 45px;
    font-size: 2.5vh;
}
.cat_arrow {
    position: absolute;
    padding-left: 20vh;
    padding-top: 1.5vh;
    width: 0.8vw;
}
.module:hover .mod_arrow {
    opacity: 0;
}
.mod_arrow_down {
    position: absolute;
    padding-left: 20vh;
    opacity: 0;
    padding-top: 1.4vh;
    filter: brightness(0.5);
    width: 0.8vw;
    z-index: 3;
    pointer-events: none;
}
.mod_arrow {
    position: absolute;
    padding-left: 20vh;
    padding-top: 1.5vh;
    filter: brightness(0.5);
    width: 0.8vw;
    z-index: 3;
    pointer-events: none;
}
.module:hover .mod_arrow_down {
    opacity: 1;
}
.advanced {
    margin-top: -70vh;
}
.popup {
    visibility: hidden;
    position: absolute;
}
@media (max-width: 767px) {
    .popup {
        visibility: visible;
        background-color: #1e2129;
        width: 100vw;
        height: 100vh;
        z-index: 9999;
        text-align: center;
        justify-content: center;
        display: flex;
    }
    .popuptext {
        margin-top: 50px;
        font-size: 2em;
        position: absolute;
    }
    .popuptext a {
        color: #1e90ff;
    }
    .container {
        display: none;
    }
}
