*{
    border: none;
    margin: 0;
}
html{
    position: fixed;
    overflow: hidden;
    height: 100%;
}
body{
    overscroll-behavior: none;
    overflow: hidden;
}
#webcam {
    /* position: fixed;
    right: 0;
    bottom: 0; */
    /* min-width: 100vw;
    min-height: 100vh; */
}

.videoBg{
    position:absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

@media (min-aspect-ratio: 16/9) {
  .videoBg{
   
    width: 100%;
    height: auto;
  }
}
@media (max-aspect-ratio: 16/9) {
  .videoBg {
   
   width:100%; 
    height: 100%;

    padding:0
  }
}
video{
    object-fit:fill
}

canvas {
    display: block; /* fix necessary to remove space at bottom of canvas */
}

/* Add some content at the bottom of the video/page */
.content {
    position: fixed;
    top: 0;
    left: 0;
    /*background: black;*/
    color: #f1f1f1;
    width: 100vw;
    /*height: 100vh;*/
}

#playvideobutton{
    position: absolute;
    z-index: 2;   
}

/* #guicontent{
    position: absolute;
    z-index: 3;
    top:0;
    right: 0;
} */

#rendererDiv{
    width: 100vw;
    height: 100vh;
}

#gameContent{
    display: none;
}

.index_btns_bottom{
    position: absolute;
    bottom: 3vh;
    left: 0;
    right: 0;
    width: 80vw;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: auto;
}

.buttons{
	transition: all .2s ease-in-out;
}

.buttons:active {
	transform: scale(1.1);
	transition: .1s;
}

.index_btn{
    
    margin: auto;
    display: block;
    width: 90px;
    height: 60px;
    margin: 0 10px;
    color: white;
    background: url(../images/btn1.png) no-repeat;
    background-size: contain;
    text-align: center;
    
    padding: 10px;
    cursor: pointer;
}

.back_button{
    background: url(../images/back_button.png) no-repeat;
    background-size: contain;
}

#canvasVideo{
    position: absolute;
}

.home_doki #htmlcontent{
    background: url(../images/background_opacity.png);
    background-size: 100% 100%;
}
.home_doki .home_logo{
    position: absolute;
    left: 6vw;
    top: 4vh;
    width: 35vw;
    display: block;
}
.home_doki .home_title{
    position: absolute;
    left: 5vw;
    top: 14vh;
    width: 76vw;
    display: block;
}

.start_game_content{
    display: none;
}

#isdesktop, #portraitAlert, #loading{
    width: 100%;
    height: 100%;
    display: none;
    text-align: center;
    background: url(../images/FondoWeb.png);
    background-size: 100% 100%;
}

#isdesktop{
    width: 92%;
    padding: 0vw 4vw;
}

.flex_content{
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

#loading{
    display: block;
}

#loading .loading_container{
    width: 60vw;
    height: 40%;
}

#loadingbar_container{
    border: 3px solid white;
    width: 50%;
    height: 25px;
    margin: auto;
    margin-top: 3vh;
}

#loadingbar_content{
    background: black;
    width: 0%;
    height: 100%;
}

#isdesktop img{
    max-width: 100%;
    max-height: 100%;
}

#isdesktop h3, #portraitAlert h3{
    text-align: center;
    font-size: 7vw;
    margin-top: 40vh;
    padding: 0 5%;
    position: relative;
}
#portraitAlert img{
    position: relative;
    /* margin-top: 15vh; */
    /* height: 30vh; */
}

#portraitAlert h3{
    margin-top: 7vh;
    font-size: 8vh;
}

.backover{
    background-color: black;
    width: 100%;
    height: 100%;
    position: fixed;
    top: 0;
    left: 0;
}

/*DOKI 2*/
/*#anim_2{
    background: url(../images/dk2/background.png);
    background-size: 100% 100%;
    width: 100%;
    height: 100%;
}*/

#btn_kd2_start{
    background: url(../images/dk2/btn_comenzar.png) no-repeat;
    background-size: contain;
    width: 135px;
}

.home_doki #anim_2 .home_title{
    width: 91vw;
}

.home_doki #anim_2 .home_logo{
    left: 0;
    right: 0;
    margin: auto;
}

/*power rockers*/
.home_doki #anim_3 .home_title{
    margin: auto;
    left: 0;
    right: 0;
    top: 18vh;
}
.home_doki #anim_3 .home_logo{
    left: 0;
    right: 0;
    margin: auto;
}

.pr_opts{}

.pr_opts a{
    display: block;
    position: absolute;
    width: 34vw;
    margin: auto;
}
.pr_opts a img{
    width: 100%;
}

#propt1{
    top: 30vh;
    left: 0;
    right: 0;
}
#propt2{
    right: 7vw;
    top: 44vh;
}
#propt3{
    top: 60vh;
    left: 0;
    right: 0;
    
}
#propt4{
    left: 7vw;
    top: 44vh;
}
