
.board_container {
    display : block;
    margin: 0;
    padding: 0;
}

.board_tiles {
    position: absolute;
    max-width: 80%;
    max-height: 80%;
    margin: 0;
    padding: 0;
}

.body {
    margin: 0;
    padding: 0;
    background:linear-gradient( rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.2) ), url(assets/Background_horizontal.webp);
    background-size: auto 100vh;
    background-position-x: center;
    background-position-y: 100vh;
    min-width: 100vw;
    min-height: 100vh;
}

button{
    background-color: transparent;
    border: 0;
}
.rotate_button_img{
    width: 100%;
    height: 100%;
}
#button_rotation{
    width: 150px;
    height: 150px;
    position: absolute;
    margin-left: 20px;
    margin-top: 200px;
}

.compass{
    width: 150px;
    height: 150px;
    position: absolute;
    margin-left: 200px;
    margin-top: 200px;
}
.wall {
    position: absolute;
}

.landmark {
    position: absolute;
}

.control_panel {
    float: left;
    width: 10%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-content: center;
    margin: 50px;
}

.wrapper {
    justify-content: center;
    padding: 10px;
}

#background_texture{
    position: fixed;
    top: -30px;
    left: -30px;
    z-index: -1;
}

.main_container {
    overflow: hidden;
    float: left;
    width: fit-content; 
}

@media (max-aspect-ratio: 59/46) {
    .body {
        background:linear-gradient( rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.2) ), url(assets/Background_vertical.webp);
        background-size: cover;
    }

    #background_tool{
        width: 550px;
        position: absolute;
        z-index: -2;
        margin-left: -30px;
        margin-top: -50px;
    }

    #button_rotation{
        width: 150px;
        height: 130px;
        position: absolute;
        margin-left: 40px;
        margin-top: 270px;
    }
    
    .compass{
        width: 150px;
        height: 150px;
        position: absolute;
        margin-left: 240px;
        margin-top: 270px;
    }    
    
    .board_container {
        display : block;
        margin: 0;
        padding: 0;
    }
}

@media (min-aspect-ratio: 59/46) {
    #background_tool{
        width: 400px;
        position: absolute;
        z-index: -2;
        margin-left: -250px;
        transform: rotate(-90deg);
    }

    #background_texture{
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%,-53%);
        min-width: 97vw;
        max-width: 97vw;
        min-height: 90vh;
        max-height: 90vh;
        margin: 0;
    }
    .main_container{
        margin-top: 10vh;
        margin-left: 7vh;
    }

    #background_tool{
        visibility: hidden;
    }
    
    .control_panel{
        display: table;
        max-width: 5vw;
        right: 0px;
        margin-top: 20vh;
    }
    #button_rotation{
        position: absolute;
        margin-left: 0;
        width: 150px;
        height: 135px;
        margin-top: 30vh;
    }
    
    .compass{
        width: 150px;
        height: 150px;
        margin-top: -10vh;
        position: absolute;
        margin-left: 0;
        margin-top: 0;
    } 
}

@media (max-aspect-ratio: 29/21) and (min-aspect-ratio: 59/46) {
    #button_rotation{
        width: 100px;
        height: 85px;
        margin-left: -15px;
    }
    
    .compass{
        width: 100px;
        height: 100px;
        margin-left: -15px;
    } 
  }



