@media screen and (max-width: 1200px) {
    .search {
        display: none !important;
    }

    .search.opened {
        display: flex !important;
    }

    header .mobile .searchicon {
        height: 35px;
        width: 35px;
        background-color: var(--glass-1-trans);
        border-radius: 17px;
        display: flex;
        justify-content: center;
        align-items: center;
    }
    
    header .mobile .searchicon img {
        height: 60%;
        filter: invert(var(--filter-trans));
    }

    .cmds .main {
        flex-direction: column !important;
    }

    .cmds .main .modulesbox {
        padding: 0px !important;
    }

    .main .modulesbox h3 {
        display: none;
    }

    .cmds .main .modulesbox .modules {
        flex-direction: row !important;
        align-items: flex-start !important;
        width: 100%;
        padding: 20px !important;
    }

    .cmds .main .modulesbox .modules .module {
        min-width: 145px;
    }

    .cmds .main .commandsbox .commands {
        grid-template-rows: repeat(1, minmax(0, 1fr)) !important;
    }

    .cmds .main .commandsbox .commands .command {
        min-height: 277px;
        width: calc(100vw - 25px - 25px);
    }
}

.cmds {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 50px 100px 100px 100px;
    gap: 30px;
}

.cmds .search {
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
    padding: 20px 30px;
    background-color: var(--background-color);
    gap: 20px;
    border-radius: 20px;
}

.cmds .search img {
    height: 25px;
    filter: invert(var(--filter-trans));
}

.cmds .search input {
    width: 100%;
    color: var(--text-color);
    font-size: 20px;
    background-color: transparent;
    border: none;
}

.cmds .main {
    flex: 1 0 0px;
    height: 1px;
    min-height: 600px;
    display: flex;
    width: 100%;
    flex-direction: row;
    justify-content: flex-start;
    gap: 30px;
}

.cmds .main .modulesbox {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 40px 0;
    background-color: var(--background-color);
    border-radius: 20px;
}

.cmds .main .modulesbox .modules {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    overflow-y: auto;
    z-index: 2;
    padding: 50px;
}

.cmds .main .modulesbox .modules::-webkit-scrollbar {
    display: none;
}

.cmds .main .modulesbox .modules .module {
    width: 281px;
    min-height: 57px;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    border-radius: 15px;
    font-weight: 600;
    font-style: normal;
    font-size: 20px;
    border: none;
    background-color: transparent;
    color: var(--text-color);
    box-shadow: 0px 1px 25px 0px var(--glass-25);
}

.cmds .main .modulesbox .modules .module:hover {
    background-color: var(--glass-1-trans);
}

.cmds .main .commandsbox {
    overflow-x: auto;
    overflow-y: hidden;
}

.cmds .main .commandsbox::-webkit-scrollbar {
    display: none;
}

.cmds .main .commandsbox .commands {
    min-width: max-content;
    height: 100%;
    display: grid;
    overflow: visible;
    grid-template-columns: repeat(6, minmax(200px, 1fr));
    justify-content: center;
    grid-auto-rows: minmax(0, 1fr);
    grid-template-rows: repeat(2, minmax(0, 1fr));
    gap: 30px;
}

.cmds .main .commandsbox .commands .command {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;
    background-color: var(--background-color);
    align-content: center;
    gap: 16px;
    border: 1px solid #262626;
    border-radius: 19px;
    min-width: 319px;
}

.cmds .main .commandsbox .commands .command .top {
    width: 88%;
    height: min-content;
    min-height: 50px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    position: relative;
    gap: 4px;
}

.cmds .main .commandsbox .commands .command .top h2 {
    color: #757575;
    font-size: 15px;
}

.cmds .main .commandsbox .commands .command .top h1 {
    color: var(--text-color);
    font-size: 21px;
}

.cmds .main .commandsbox .commands .command .top img {
    width: 19px;
    top: 19px;
    position: absolute;
    top: 0;
    right: 0;
}

.cmds .main .commandsbox .commands .command hr {
    background-color: #262626;
    width: 100%;
    height: 1px;
    border: none;
}

.cmds .main .commandsbox .commands .command .bottom {
    width: 88%;
    height: min-content;
    min-height: 137px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-start;
}

.cmds .main .commandsbox .commands .command .bottom h4 {
    color: var(--text-color);
    font-size: 15px;
}

.cmds .main .commandsbox .commands .command .bottom h6 {
    color: #757575;
    font-size: 11px;
    text-align: unset;
    min-height: unset;
}

.cmds .main .commandsbox .commands .command h6 {
    color: #b0b0b0;
    font-size: 11px;
    width: 100%;
    text-align: center;
    min-height: 19px;
}

.cmds .main .commandsbox .commands .command.hidden {
    display: none;
}

.cmds .main .commandsbox .commands .command * {
    margin: 0;
}