body {
    --main-bg-color: black;
}



body {
    background-color:var(--main-bg-color);
}

#sidemenu {
    position:fixed;
    padding-top:100px;
    top:0;
    left:0;
    height:100%;
    width:90px;
    color:white;
}

#sidemenu .item {
    font-size:30px;
    width:80px;
    height:90px;
    line-height:80px;
    margin-left:10px;
    text-align: center;
    position:relative;
}

#sidemenu .item.active {
    color:var(--main-bg-color);
    background-color:white;
    ;
    border-radius: 15px 0 0 15px;
}

#sidemenu .item .text {
    position:absolute;
    bottom:15px;
    font-size:3mm;
    width:100%;
    text-align:center;
    line-height:normal;
}

#maincontainer {
    border-radius: 30px;
    margin-top:30px;
    margin-left:90px;
    padding:30px;
    width:calc(100% - 120px);
    height: calc(100vh - 60px);
    background-color:white;
}

#maincontainer.minecraftworld {
    background-image:url("/img/background.jpg");
    background-size:cover;
}



.active:before{
    content:'';
    width:10px;
    height:10px;
    position:absolute;
    top:-10px;
    right:0px;
    background-image:url("/css/img/coin-haut.png");
    background-size: cover;
}

.active:after{
    content:'';
    width:10px;
    height:10px;
    position:absolute;
    bottom:-10px;
    right:0px;
    background-image:url("/css/img/coin-bas.png");
    background-size: cover;
}

.flex-container {
  display: flex;
  width:100%;
  height:100%;
}

.flex-bandeau {
    background-color: red;
    width: 100%;
    margin: 0px;
    text-align: center;
    font-size: 20px;
}

#mymodal {
    position:fixed;
    display:none;
    z-index:101;
    width:80%;
    margin-left:10%;
    min-height:200px;
    top:50%;
    transform: translateY(-50%);
    background: linear-gradient(274.42deg, #ffffff 0%, #ffffff 124.45%);
    border-radius:1em;
    padding:30px;
    font-size:1.2em;
}

#mymodal .title, #myslidemenu .title {
    text-align:center;
    font-weight:600;
    margin-bottom:1em;
    font-size:1.5em;
}

#mymodal.error, #myslidemenu.error {
    background: linear-gradient(274.42deg, #fbe6e5 0%, #fbbbb8 124.45%);
}


#mymodaloverlay {
    display:none;
    z-index:100;
    position:absolute;
    top:-50%;
    left:-50%;
    width:200%;
    height:200%;
    background-color:rgba(0,0,0,0.5);
    backdrop-filter: blur(3px);
}