/* customize menu */

#menu{
    grid-row: 2/-1;
    grid-column: 1/2;
    height: 100%;
    background-color: #f6f6f6;
    display: grid;
    grid-template-rows: 1fr;
    z-index: 1000;
    box-shadow: rgba(0, 0, 0, 0.15) 0px 2.4px 2.4px 3.2px;
}
#menuOptions{
    grid-row: 1/2;
    display: grid;
    place-items: start;
    height: min-content;
    width: 100%;
}
#menuOptions a{
    width: 100%;
}
#menuOptions .option{
    width: 100%;
    height: 70px;
    display: grid;
    grid-template-columns: 70px 1fr;
    place-items: center;
    grid-auto-flow: column;
}
#menuOptions .option h2{
    place-self: center ;
    word-break: keep-all;
    color: #232323;
}
#menuOptions .option:hover{
    background-color: rgba(0, 0, 0, 0.1);
    transition: 0.4s;
}
#menuOptions #cart{
    width: 48px;
    margin: 0 -5px;
}
#menuOptions #mailbox{
    margin-top: 0px;
}
#menuOptions .option .collapsed{
    display: none;
}
#menuOptions .option .expanded{
    display: grid;
    font-size: 18px;
    place-self: center start;
}

/* customize copyrights section */

#copys{
    width: 100%;
    height: 70px;
    display: grid;
    grid-template-columns: 70px 1fr;
    place-items: center start;
    grid-auto-flow: column;
}
#copys img{
    width: 25px;
    place-self: center;
    cursor: pointer;
}
#copys h2{
    place-self: center ;
    word-break: keep-all;
    font-weight: lighter;
    color: #232323;
    opacity: 0.7;
    font-size: 12px;
}
#copys a{
    margin: 0 5px;
    word-break: keep-all;
    text-decoration: none;
    font-weight: lighter;
    font-size: 12px;
    color: #00897B;
    opacity: 0.7;
}
#copys:hover{
    background-color: rgba(0, 0, 0, 0.1);
    transition: 0.4s;
}
#copys .collapsed{
    display: none;
}

#copys .expanded{
    display: block;
    font-size: 10px;
    place-self: center start;
}

/* customize menu expander section */

#expander{
    width: 100%;
    height: 70px;
    display: grid;
    grid-template-columns: 70px 1fr;
    place-items: center start;
    grid-auto-flow: column;
}
#expander h2{
    place-self: center ;
    word-break: keep-all;
    color: #232323;
    font-size: 14px;
}
#expander:hover{
    background-color: rgba(0, 0, 0, 0.1);
    transition: 0.4s;
}
#expander .collapsed{
    display: none;
}

#expander .expanded{
    display: block;
    font-size: 14px;
    place-self: center start;
}

/* menu on left */

#menuOptions.dirLeft img{
    width: 25px;
    cursor: pointer;
    transform: rotateY(0deg);
}
#menuOptions.dirLeft #expander.coll img{
    transform: rotateY(180deg);
}

#expander.dirLeft.coll img{
    transform: rotateY(180deg);
}
#expander.dirLeft img{
    width: 32px;
    cursor: pointer;
    place-self: center;
    transform: rotateY(0deg);
}

/* menu on right */

#menuOptions.dirRight img{
    width: 25px;
    cursor: pointer;
    transform: rotateY(0deg);
}
#menuOptions.dirRight #expander.coll img{
    transform: rotateY(180deg);
}

#expander.dirRight.coll img{
    transform: rotateY(0deg);
}
#expander.dirRight img{
    width: 32px;
    cursor: pointer;
    place-self: center;
    transform: rotateY(180deg);
}

/* expand/collapse */

#menu.expand{
    width: 70px;
}
#menu.collapse{
    width: 200px;
}

/* media queries (top) */

@media screen and (max-height: 700px) {
    #menu{
        grid-row: 2/3;
        grid-column: 1/-1;
        width: 100%;
        height: 50px;
        place-items: center;
        grid-template-rows: 1fr;
        grid-template-columns: 1fr;
        grid-auto-flow: row;
        display: grid;
        z-index: 1;
    }
    #menuOptions{
        grid-row: 1/-1 !important;
        width: 100%;
        height: 50px;
        display: grid !important;
        grid-template-columns: repeat(auto,1fr) !important;
        grid-column: 1/-1;
        grid-auto-flow: column;
    }
    #menuOptions .option{
        height: 50px !important;
        width: 100% !important;
        display: grid !important;
        place-items: center !important;
        grid-template-columns: 1fr !important;
    }
    #menuOptions .option img{
        grid-row: 1/-1;
        grid-column: 1/-1;
        place-self: center;
        width: 25px;
    }
    #menuOptions .option #cart{
        margin-top: -8px;
    }
    #copys{
        display: none;
    }
    #expander{
        display: none;
    }
    #expander img{
        display: none;
    }
    #copys img{
        display: none;
    }
    #content{
        grid-row: 3/-1;
        grid-column: 1/-1;
        z-index: 10;
    }
}
@media screen and (min-height: 700px) and (max-width: 1000px) {
    #menu{
        grid-row: 2/3;
        grid-column: 1/-1;
        width: 100% !important;
        height: 50px;
        place-items: center;
        grid-template-rows: 1fr;
        grid-template-columns: 1fr;
        grid-auto-flow: row;
        display: grid;
        z-index: 1;
    }
    #menuOptions{
        grid-row: 1/-1 !important;
        width: 100%;
        height: 50px;
        display: grid !important;
        grid-template-columns: repeat(auto,1fr) !important;
        grid-column: 1/-1;
        grid-auto-flow: column;
    }
    #menuOptions .option{
        height: 50px !important;
        width: 100% !important;
        display: grid !important;
        place-items: center !important;
        grid-template-columns: 1fr !important;
    }
    #menuOptions .option img{
        grid-row: 1/-1;
        grid-column: 1/-1;
        place-self: center;
        width: 25px;
    }
    #menuOptions .option #cart{
        margin-top: -8px;
    }
    #copys{
        display: none;
    }
    #expander{
        display: none;
    }
    #expander img{
        display: none;
    }
    #copys img{
        display: none;
    }
    #content{
        grid-row: 3/-1;
        grid-column: 1/-1;
        z-index: 10;
    }
}