#both-container {
    display:flex;
    flex-direction:row;
    justify-content: flex-end;
    align-items: center;
    width: 100%;
    height: 100%;
    flex: 1 0 0%;
}
.squash-list li{
    display: inline-block;
    font-size: 2vh;
    text-shadow: 1px 1px 2px #000000;
}
.clear{
    opacity: 0;
}
/* #target-canvas {
    width:100%;
    height:100%;
} */
#canvas-container {
    /*margin: 20px;
    margin-top: 0;
    margin-bottom: 0;
    z-index: 97;
    border-color: white;
    border-width: 12px;
    border-style: solid;*/
}
.html-header {
    text-align: center;
    display:none;
}
#left-container {
    flex-grow:1;
    position: relative;
}
.popup{
    background-color: #00000055;
    z-index: 98;
    position: fixed;
    top: 0%;
    width: 100%;
    height: 100%;
}
.mag-hint-icon{
    width: 2vh;
    margin-right: 1vh;
    /* float: left; */
}
#loading-screen{
    overflow: hidden;
    background-color:black;
    width:200%;
    height:200%;
    z-index: 9999999;
    position: fixed;
    top:-50%;
    left: -50%;
}
#loading-screen img{
    position:fixed;
    left:50%;
    top:50%;
    transform: translate(-50%,-50%);
    width:50%;
}
.loading-screen-version {
    position: absolute;
    left: 25%;
    top: 30%;
    text-align: center;
    /* transform: translate(-50%,-50%); */
    width: 50%;
    z-index: 99999999;
}
.popup-window{
    z-index: -1;
    outline-color: #ffffff;
    outline-style: solid;
    outline-width: 1.5vw;
    width: 75vw;
    height: 60vw;
    position: fixed;
    left: 50%;
    transform: translateX(-50%);
    top: 20%;
    background: rgb(41,128,185); /* Old browsers */
    background: -moz-linear-gradient(top, rgba(41,128,185,1) 0%, rgba(37, 100, 143,1) 100%); /* FF3.6-15 */
    background: -webkit-linear-gradient(top, rgba(41,128,185,1) 0%,rgba(37, 100, 143,1) 100%); /* Chrome10-25,Safari5.1-6 */
    background: linear-gradient(to bottom, rgba(41,128,185,1) 0%,rgba(37, 100, 143,1) 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#3e4180', endColorstr='#8a8db3',GradientType=0 ); /* IE6-9 */
}
.popup-window .orange-button{
    width: 150%;
    margin-left: -33.3%;
    font-size: 100%;
    position: absolute;
}
.orange-button span{
    position: absolute;
    top: 50%;
    transform: translateY(-50%) translateX(-50%);
    left: 50%;
    width:100%;
    font-size: 3vw;
}
.popup-window p:first-of-type{
    margin-top: 33%;
}
.popup-window p{
    width: 66%;
    font-size: 2.5vw;
    text-align: center;
    margin-bottom: 1%;
    padding: 0;
    text-shadow: 1px 1px 2px #000000;
}
.popup-window b{
    font-family: Verdana;
    font-weight: bold;
    text-shadow: 1px 1px 2px #000000;
}
.add-space{
    height: 100%;
    width: 33%;
    outline-width: inherit;
    outline-color: #ffffff;
    outline-style: solid;
    position: absolute;
    right: 0;
    top:0;
}
#start-popup-date{
    width: 66%;
    text-align: center;
    position: absolute;
    bottom: 3%;
    padding: 0;
    margin: 0;
}
.popup .popup-logo{
    width: 75%;
    position: absolute;
    left: -10%;
    top: -10%;
}
.popup-hud-button{
    width: 25%;
    height: 10%;
    object-fit: cover;
    object-position: 100% 0;
    position: absolute;
    bottom: 15%;
    left: 33%;
    transform: translateX(-50%);
}

.popup-hud-button.wide-button{
    width: calc(25vw * .35);
    height: calc(6.5642vw * .35);
}
.replay-hud-button{
    width: 25%;
    height: 10%;
    object-fit: cover;
    object-position: 100% 0;
    position: absolute;
    /* bottom: 10%; */
    left: 33%;
    transform: translateX(-50%);
}
.hidden{
    display: none;
}
#bgTexture{
    background-image: url(../assets/diamond_pattern_bg_transparent.png);
    background-size: 50%;
    background-repeat: repeat;
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: -1000;
    opacity: 0.1;
}

body {
    overflow: hidden;
    margin:0px !important;
}

.contentStrike {
    text-decoration: line-through;
    color: #174766;
    font-style: italic;
}

.bottom-hud-button{
    width: 25vw;
    /* height: 9.6311vw; */
    object-fit: cover;
    object-position: 100% 0;
    /* height:20px; */
}
/* #replay-button{
    position: inherit;
    bottom: 40%;
    left: 5%;
    transform: none;
} */
#submit-button{
    position: inherit;
    bottom: 40%;
    right: 5%;
    transform: none;
}
#hud-buttons{
    /* position: absolute; */
    /* bottom: 20px; */
    /* left: 0; */
    /* right: 0; */
    /* width: 100vw; */
    width: 100%;
    flex-direction: row;
    display: flex;
    justify-content: space-around;
    margin-top: 20px;
    align-items: stretch;
    margin: auto;
}
#version-number{
    font-weight: bolder; 
    width: 100%; 
    text-align: center; 
    display: inline-block; 
    font-size: 1vh;
    /* position: absolute; */
    top: 0;
}
#volume_on{
    /* display:none; */
}
#volume_off{
    display:none;
}

.orange-button {
    width: 100%;
    height:100%;
    font-family: Verdana;
    border: 2px solid white;
    background-color: #3498db;
    color: #ffffff;
    /* font-size: 1.4vw; */
    font-weight: 500;
    line-height: 2vw;
    /* padding: 4px 4px 0px 0px; */
    text-align: center;
    font-size: 3vw;
    text-shadow: 1px 1px 2px #000000;

    box-shadow: -2px 3px 5px rgba(0, 0, 0, .33);
}

.orange-button:hover {
    border: 2px solid white;
    background-color: #54AFE4;
}

.orange-button:active {
    border: 2px solid white;
    background-color: #2980B9;
    color: #174766;
    box-shadow: none;
}

.orange-button:focus {
    /* border: none; */
    outline: none;
}

.orange-button svg {
    width: 2vw;
    height: 2vw;
    display: inline-block;
    vertical-align: middle;
    fill: #fff;
}

.orange-button:active svg {
    fill: #174766;
}

#help-button-container{
    /* margin: 1%;
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-160%); */
}
#pause-button-container{
    /* margin: 1%; */
    /* position: absolute; */
    /* left: 50%; */
    /* bottom: 0; */
    /* transform: translateX(-50%); */
}
#volume-button-container{
    /* margin: 1%;
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(60%); */
}
#start-button-container{
    margin: 1%;
    position: absolute;
    /* left: 50%; */
    /* bottom: 0; */
}
#resume-button-container{
    margin: 1%;
    position: absolute;
    /* left: 50%; */
    /* bottom: 0; */
}
#replay-button-container{
    margin: 1%;
    position: absolute;
    /* left: 50%; */
    /* bottom: 0; */
}

/* #volume.off:hover{ 
    content: url("../assets/UI/btn_audio_off_hover.png");
}
#volume.off:active{ 
    content: url("../assets/UI/btn_audio_off_down.png");
}
#volume.on:hover{ 
    content: url("../assets/UI/btn_audio_on_hover.png");
}
#volume.on:active{ 
    content: url("../assets/UI/btn_audio_on_down.png");
} */

/* #submit-button:hover{
    content: url("../assets/UI/btn_submitscore_hover.png");
}
#submit-button:active{
    content: url("../assets/UI/btn_submitscore_down.png");
} */

#footer-contents{
    margin-top: 0;
    margin-bottom: 0;
    margin-left: auto;
    margin-right: auto;
    width: 75vw;
    font-weight: bold;
}
#html-timer{
    font-family: Verdana;
    font-weight: bold;
    font-size: 4vh;
    width: 100%;
    text-align: center;
    display: block;
    margin-top: 10px;
    margin-bottom: 10px;
    user-select: none;
    text-shadow: 1px 1px 2px #000000;
}

#lives-counter{
    display: block;
    width: 25%;
    margin: auto;
    position: relative;
}
.life-icons{
    height: 5vw;
}
#life2{
    position: absolute;
    left:50%;
    transform: translateX(-50%);
}
#life3{
    float: right;
}
@media (orientation: portrait) {
    .bottom-hud-button{
        width: 20vw;
        /* height: 2.6967vw; */
    }
    #both-container {
        flex-direction:column-reverse;
    }
    .orange-button{
        font-size: 2vw;
    }
    #header-title{
        /* text-align: center;
        position: absolute;
        left: 50%;
        transform: translateX(-50%); */
        height: 8vh;
    }
    .html-header-portrait{
       display:block;
    }
    #html-footer{
        /* height: calc(100vh - 100vw - 20vw); */
        /* width: 100%; */
        /* display: block; */
        font-size: 1.5vh;
    }
    /* canvas{
        display: block;
        margin: auto;
    } */
    #canvas-container {
        /* margin:20px;
        margin-top: 0;
        margin-bottom: 0;
        outline-color: white;
        outline-width: 2vw;
        padding: 2vw;
        outline-style: solid;
        outline-offset: -2vw;
        z-index: 1000; */
    }
    #footer-contents {
        padding-inline-start: 0px;
        margin-top: 20px;
        margin-bottom: 20px;
    }
    #footer-contents li{
        padding: .5vw;      
        display: inline-block;
        text-shadow: 1px 1px 2px #000000;
    }
    .square-shaped #html-header{
        height: 10vw;
    }
    /* .square-shaped #html-footer{        
        height: calc(100vh - 100vw - 10vw);
    } */
    /* .square-shaped .bottom-hud-button {
        width: 15vh;
        height: 5.7786vh;
    } */
}
@media (orientation: landscape) {
    #both-container {
        flex-direction:row;
    }
    .orange-button span{
        font-size: 3vh;
    }
    .orange-button{
        font-size: 100%;
    }
    #header-title{
        /* text-align: center;
        /* position: absolute; */
        /* left: 50%;
        transform: translateX(-50%);  */
        height: 15vh;
    }
    #hud-buttons{
        width: 100%;
    }
    #lives-counter{
        width: 17vh;
    }
    .life-icons{
        height: 5vh;
    }
    #bgTexture{
        background-size: 20%;
    }
    .html-header-landscape{
        display: block;
    }
    /* #html-footer{
        width: calc(100vw - 100vh);
        height: 75vh;
        position: absolute;
        left: 0;
        bottom: 0;
    } */
    /* canvas{
        
    } */
    #canvas-container {
        /* position: absolute; */
        /* right: 2vh;
        top: 50%;
        transform: translateY(-50%); */
        /* margin:20px;
        outline-color: white;
        outline-width: 2vh;
        padding: 2vh;
        outline-style: solid;
        z-index: 1000;
        outline-offset: -2vh; */
    }
    #footer-contents li{
        padding: 1vh;
        list-style: none;
        text-shadow: 1px 1px 2px #000000;
    }
    .bottom-hud-button{
        width: 10vw;
        /* height: 2.6967vw; */
    }

    .popup-window{
        width: 75vh;
        height: 60vh;
        outline-width: 1.5vh;
        position: fixed;
        left: 50%;
        transform: translateX(-50%);
        top: 20%;
    }
    .popup .popup-logo{
        width: 75%;
        position: absolute;
        left: -10%;
        top: -10%;
    }
    .popup-window p{
        font-size: 2.5vh;
    }
    #footer-contents{
        padding: 0;
        margin-top: 1vh;
        margin-bottom: 1vh;
        margin-left: -2vh;
        text-align: center;
        width:100%;
    }
    #footer-contents li {
        
        padding: 0;
        list-style: none;
    }
    /*.mag-hint-icon{
        width: 2vh;
        margin-right: -100%;
        float: left;
    }*/
    /* .square-shaped .bottom-hud-button{
        width: 15vh;
        height: 5.7786vh;
    } */
    .square-shaped #html-header{
        /* height: 10vh;
        width: 100vw;
        display:block;
        position: relative; */
    }
    /* .square-shaped #html-footer{
        height: calc(100vh - 100vw - 10vh);
        width: 100vw;
        display: block;
        position: initial;
        font-size: 1.5vh;
    } */
    /* .square-shaped canvas{
        
    } */
    /* .square-shaped #canvas-container {
        right: inherit;
        position: inherit;
        top: inherit;
        transform: none;
        display: block;
        margin: auto;
        margin-top: 0;
        margin-bottom: 0;
        outline-color: white;
        outline-width: 2vw;
        outline-style: solid;
        outline-offset: -2vw;
        z-index: 1000;
    } */
    .square-shaped #footer-contents li{
        padding: 2vw;    
        display: inline-block;
        text-shadow: 1px 1px 2px #000000;
    }
    .square-shaped #lives-counter{
        width: 25%;
    }
    .square-shaped .life-icons{
        height: 5vh;
    }
    .square-shaped .popup-window{
        width: 75vw;
        height: 60vw;
        position: absolute;
        outline-width: 1.5vw;
        left: 12.5%;
        top: 20%;
    }
    .square-shaped .popup-window p{
        font-size: 2.5vw;
    }
    .square-shaped #footer-contents{
        padding-left: 0;
        width: 75%;
    }
    .square-shaped #footer-contents li {
        margin-left: auto;
        padding: 1vh;
        list-style: none;
    }
    .square-shaped .mag-hint-icon{
        width: 2vh;
        margin-right: 1vh;
    }
}