body {
    margin: 0;
    padding: 0;
    color: #FFF;
    overflow: hidden;
    background-color: #000;
}

div {
    box-sizing: border-box;
}

.grid-container {
    display: grid;
    justify-content: center;
    grid-template-columns: auto calc(min(1920px, 100vw)) auto;
    /*Make the grid smaller than the container*/
    grid-template-rows: auto calc(min(1080px, 100vh)) auto;
    grid-gap: 10px;
    align-content: center;
    height: 100vh;
}

#container {
    width: calc(min(1920px, 100vw));
    height: calc(min(1080px, 100vh));
    overflow-x: hidden;
    overflow-y: hidden;
    white-space: nowrap;
    font-size: 0;
    padding: 0;
    margin: 0;
    margin: auto;
}

#container2 {
    width: calc(min(1920px, 100vw));
    height: calc(min(1080px, 100vh));
    background-color: transparent;
    overflow-x: hidden;
    overflow-y: hidden;
    white-space: nowrap;
    font-size: 0;
    padding: 0;
    margin: 0;
    z-index: 5;
    top: 0;
    position: relative;
    margin-top: calc(min(1080px, 100vh)*-1);
}

#playercont {
    width: calc(min(1920px, 100vw));
    height: calc(min(1080px, 100vh)/1);
    padding: 0;
    margin: 0;
    position: relative;
    margin-top: calc(min(1080px, 100vh)*-1);
    z-index: 40;
}

#player {
    font-size: 0;
    position: absolute;
}

#HUD {
    width: 100vw;
    height: 50px;
    background-color: #333;
    position: fixed;
    top: 0;
    z-index: 50;
    display: none;
}

#HUD>div {
    display: inline-block;
}

.row {
    width: 100%;
    background-color: transparent;
    padding: 0;
    margin: 0;
}

.rowHUD {
    /*
    border-color: red;
    border-width: 0px;
    border-style: dotted;
    */
}

.cellule {
    width: calc(min(1920px, 100vw)/1);
    height: calc(min(1080px, 100vh)/1);
    display: inline-block;
    background-color: transparent;
}

.celluleHUD {
    /*
    border-color: blue;
    border-width: 1px;
    border-style: dotted;
    */
    font-size: 50px;
    background-color: transparent;
    /*
    background-image: linear-gradient(0deg, transparent 49%, rgba( 0, 0, 255, .05) 50%, transparent 51%, transparent), linear-gradient(90deg, transparent 49%, rgba(0, 0, 255, .05) 50%, transparent 51%, transparent);
    */
}

#container2 .cellule {
    width: calc(min(1920px, 100vw)*2);
    height: calc(min(1080px, 100vh)*2);
}

#container2 .celluleHUD {
    /*
    border-color: red;
    border-width: 1px;
    border-style: dotted;
    color: #F00;
    background-image: linear-gradient(0deg, transparent 49%, rgba(255, 0, 0, .05) 50%, transparent 51%, transparent), linear-gradient(90deg, transparent 49%, rgba(255, 0, 0, .05) 50%, transparent 51%, transparent);
    */
}

#gauche {
    position: absolute;
    top: 50%;
    width: 75px;
    height: 10px;
    background-color: #fff;
}

#gauche::after,
#gauche::before {
    content: '';
    position: absolute;
    width: 60%;
    height: 10px;
    left: -8px;
    background-color: #fff;
}

#gauche::after {
    top: -12px;
    transform: rotate(-45deg);
}

#gauche::before {
    top: 12px;
    transform: rotate(+45deg);
}

#droite {
    position: absolute;
    top: 50%;
    right: 0px;
    width: 75px;
    height: 10px;
    background-color: #fff;
}

#droite::after,
#droite::before {
    content: '';
    position: absolute;
    width: 60%;
    height: 10px;
    right: -8px;
    background-color: #fff;
}

#droite::after {
    top: -12px;
    transform: rotate(+45deg);
}

#droite::before {
    top: 12px;
    transform: rotate(-45deg);
}

#haut {
    position: absolute;
    top: 0px;
    left: 50%;
    width: 10px;
    height: 70px;
    background-color: #fff;
}

#haut::after,
#haut::before {
    content: '';
    position: absolute;
    width: 10px;
    height: 40px;
    right: -8px;
    background-color: #fff;
}

#haut::after {
    top: -6px;
    left: -11px;
    transform: rotate(+45deg);
}

#haut::before {
    top: -6px;
    left: 11px;
    transform: rotate(-45deg);
}

#bas {
    position: absolute;
    bottom: 0px;
    left: 50%;
    width: 10px;
    height: 70px;
    background-color: #fff;
}

#bas::after,
#bas::before {
    content: '';
    position: absolute;
    width: 10px;
    height: 40px;
    right: -8px;
    background-color: #fff;
}

#bas::after {
    bottom: -6px;
    left: +11px;
    transform: rotate(+45deg);
}

#bas::before {
    bottom: -6px;
    left: -11px;
    transform: rotate(-45deg);
}