@font-face {
    font-family: "CaviarDreams";
    src: url("../fonts/CaviarDreams.ttf");
}

html{
    width: 100%;
    height: 100%;
}
body{
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    background-color: white;
    display: flex;
    font-family: "CaviarDreams";
}
#LeftDiv{
    height: 100%;
    width: 200px;
    background-color: #d22237;
    position: absolute;
    top: 0;
    left: 0;
    color: white;
    box-shadow: 2px 0px 5px rgba(0,0,0,0.5);
}
#Logo{
    background-color: white;
    max-height: 200px;
}
#imgLogo{
    width: auto;
    height: auto;
}
#Menu{
    max-height: calc(100% - 240px);
    width: 100%;
    padding-top: 10px;
}
.SubMenu{
    margin-top: 10px;
    margin-bottom: 10px;
    width: 100%;
    height: 40px;
    display: inline-flex;
    cursor: pointer;
}
.SubMenu img{
    margin-left: 5px;
    margin-right: 10px;
}
.SubMenu p{
    margin: 0;
    line-height: 40px;
}
/* .SubMenu:hover{
    background-color: rgb(50, 50, 50);
} */
.selected{
    background-color: white;
    color: black;
}
.selected img{
    filter: invert(1);
}
#footer{
    position: absolute;
    left: 0px;
    bottom: 0px;
    height: 40px;
    width: 200px;
    text-align: center;
    font-size: 10px;
    color: white;
}
#DivSubCat{
    position: absolute;
    top: 200px;
    left: 200px;
    width: fit-content;
    height: fit-content;
    padding-top: 10px;
    z-index: 10;
    /* background-color: antiquewhite; */
}
.subCatgrp{
    position: absolute;
    /* top: 0px; */
    width: fit-content;
    background-color: white;
    margin-top: 20px;
    /* margin-bottom: 20px; */
    /* padding-top: 10px; */
    box-shadow: 2px 0px 5px rgba(0,0,0,0.5);
}
.SuperSubMenu{
    padding-left: 10px;
    padding-right: 10px;
    min-width: max-content;
    /* height: 20px; */
    display: block;
    cursor: pointer;
}
#DivContent{
    height: 100%;
    width: calc(100% - 200px);
    position: relative;
    left: 200px;
}
iframe{
    width: 100%;
    height: 100%;
}


@media screen and (orientation: portrait) {
    #LeftDiv{
        width: 100%;
        height: 60px;
        display: inline-flex;
        position: absolute;
        top: calc(100% - 60px);
        left: 0px;
    }
    #Logo{
        background-color: white;
        height: 60px;
        width: 60px;
    }
    #imgLogo{
        width: 100%;
        height: 100%;
    }
    #Menu{
        display: inline-flex;
        height: 100%;
        max-width: calc(100% - 60px);
        padding: 0;
        justify-content: space-evenly;
    }
    .SubMenu{
        margin: 0px;
        width: 60px;
        height: 60px;
        cursor: pointer;
    }
    .SubMenu img{
        margin: 10px;
        width: 40px;
        height: 40px;
    }
    .SubMenu p{
        display: none;
    }
    #footer{
        display: none;
    }
    #DivContent{
        height: calc(100% - 60px);
        width: 100%;
        left: 0px;
    }
    #DivSubCat{
        position: absolute;
        top: auto;
        bottom: 60px;
        left: 0px;
    }
    .subCatgrp{
        position: absolute;
        bottom: 0px !important;
        left: 0px;
        width: fit-content;
        background-color: white;
        /* margin-bottom: 20px; */
        /* padding-top: 10px; */
        box-shadow: 2px 0px 5px rgba(0,0,0,0.5);
    }
    .SuperSubMenu{
        padding-left: 10px;
        padding-right: 10px;
        min-width: max-content;
        /* height: 20px; */
        display: block;
        cursor: pointer;
    }
}

@media screen and (max-height: 480px) {
    #Logo{
        max-height: 100px;
        max-width: 100px;
        margin-left: auto;
        margin-right: auto;
    }
    #imgLogo{
        width: 100%;
        height: 100%;
    }
    .SubMenu{
        margin: 0px;
    }
    .SubMenu p{
        margin: 0;
        line-height: 40px;
        font-size: 12px;
    }
    #LeftDiv{
        height: 100%;
        width: 200px;
    }
    #DivSubCat{
        top: 100px;
        left: 200px;
        width: fit-content;
        height: fit-content;
        /* padding-top: 10px; */
        z-index: 10;
        /* background-color: antiquewhite; */
    }
    .subCatgrp{
        margin-top: 10px;
    }
}