html,
body{
    margin: 0;
    position: relative;
    width: 100%;
    height: 100%;
    background-color: #000;
    text-align: center;
}

#wrap{
    position: absolute;
    /* aspect-ratio: 16/9; */
    /* background-color: pink; */
    height: 100%;
    min-height: 300px;
    width: 100%;
    /* max-width: 600px; */
    margin: 0 auto;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
}
@media(orientation: landscape){
    #wrap{
        /* background-color: greenyellow; */
    }
}

#start,
#loading,
#container{
    position: absolute;
    width: 100%;
    height: 100%;
}
#loading{
    background-color: #000;
    z-index: 30;
}
#start{
    background: url(../images/startscreen_jankowski.webp) no-repeat center top #000;
    background-size: contain;
    z-index: 20;
}
#container{
    background-color: #000;
    z-index: 10;
}
#actioncontainer{
    position: absolute;
    bottom: 0;
    left: 0;
    /* left: 10%; */
    width: 100%;
    /* width: 80%; */
    /* height: 80px; */
    /* background-color: red; */
    z-index: 5;
    overflow: auto;
    overflow-y: hidden;
    overflow-x: scroll;
    display: flex;
    justify-content: flex-start;
    flex-wrap: wrap;
    /* align-items: flex-start; */

}
#actioncontainer-slide{
    display: block;
    /* display: flex;
    flex-wrap: nowrap; */
    /* width: 720px; */
    /* justify-content: center; */
    /* justify-content: flex-start; */
    /* padding-left: 150px; */
    width: 100%;
}
.action{
    height: 80px;
    height: auto;
    width: 80px;
    width: 18%;
    max-width: 80px;

    position: relative;
    aspect-ratio: 1;
    border-radius: 50%;
    background-color: #000;
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;

    border: 5px solid white;
    display: inline-block;
    box-sizing: border-box;
    cursor: pointer;
}
.action.active{
    border-color: forestgreen;
    border-color: magenta;
}
.action.inactive{
    opacity: 0.0;
}


video{
    position: absolute;
    width: 100%;
    height: auto;
    z-index: 0;
    left: 50%;
    top: 0;
    transform: translateX(-50%);
    
}
/* @media(orientation: landscape){ */
@media(min-aspect-ratio: 9/16){
    video{
        height: 100%;
        width: auto;
        margin: 0 auto;

    }
    #actioncontainer{
        justify-content: center;
        overflow: auto;
    }
    /* #actioncontainer-slide{
        justify-content: center;
    } */
}

/* .room{
    position: absolute;
    z-index: 500;            
}
.room:hover{
    cursor: pointer;
    background-color: rgba(0,255,0,0.1);
}
#z1{
    left: 33%;
    top: 26%;
    width: 6%;
    height: 16%;
}
#z4{
    left: 62%;
    top: 26%;
    width: 6%;
    height: 16%;
}
#z2{
    left: 41%;
    top: 36%;
    width: 4%;
    height: 9%;
}
#z3{
    left: 55%;
    top: 36%;
    width: 4%;
    height: 9%;
} */

#loading-center{
    position: absolute;
    top: 50%;
    left: 50%;
    width: 150px;
    height: 150px;
    transform: translate(-50%, -50%);
}
#loading-txt,
#loading-spin{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border:20px solid #fff;
    border-radius: 50%;
}
#loading-txt{
    color: #fff;
    font-size: 20px;
    text-align: center;
    text-transform: uppercase;
    font-weight: bold;
    font-family: sans-serif;
    border-color: orange;
    animation: bordercol 3s linear infinite;
    display: flex;
    justify-content: center;
    align-items: center;
    /* background: url(../images/monsterloader.png) no-repeat center bottom; */
    background-size: 100%;
}
#loading-spin{
    border-color: orange;
    border-top-color: transparent;
    border-bottom-color: transparent;
    animation: spinner 1s ease-in-out infinite;
}


@keyframes spinner{
    0%{
        transform: rotate(0);
    }
    100%{
        transform: rotate(360deg);
    }
}
@keyframes bordercol{
    0%{
        border-color: aqua;
    }
    /* 33%{
        border-color: orange;
    }
    66%{
        border-color: magenta;
    } */
    50%{
        border-color: magenta;
    }
    100%{
        border-color: aqua;
    }
}
.action1{
    background-image: url(../images/icon_keks.svg);
}
.action2{
    background-image: url(../images/icon_kitzeln.svg);
}
.action3{
    background-image: url(../images/icon_sektflasche.svg);
}
.action4{
    background-image: url(../images/icon_obst.svg);
}
.action5{
    background-image: url(../images/icon_weihnachtsbaumkugel.svg);
}
.action6{
    background-image: url(../images/icon_Schnee.svg);
}
.action7{
    background-image: url(../images/icon_geschenk.svg);
}
.action8{
    background-image: url(../images/icon_taschenlampe.svg);
}
.action9{
    background-image: url(../images/icon_ausstecherform.svg);
}