/*----------------general-----------------*/

video::-webkit-media-controls-overlay-play-button {
    display: none;
}

@font-face {
    font-family: myFont;
    src: url(../font/Plain-Regular.otf);
}

* {
    font-family: myFont;
}

input[type="radio"] {
    -ms-transform: scale(200%); /* IE 9 */
    -webkit-transform: scale(200%); /* Chrome, Safari, Opera */
    transform: scale(200%);
}


body,
html,
.map    {
    margin: 0;
    padding: 0;
    overflow: hidden;
    touch-action: none;
    /*        background-color: aqua;*/
    width: 100%;
    height: 100%;
    
/*
    min-height: 100vh;
  min-height: -webkit-fill-available;
*/
    
/*     background-image: url("../pic/Biskupsky_dvur.jpg");*/
font-size: 1.5vw;
}





/*----------------main-----------------*/

#clickFull {
    display: block;
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    overflow: hidden;
    z-index: 3000;
    background-color: rgba(255, 0, 0, 0.5);
}

#wrapper {
    display: initial;
    

}

#wrapper1 {
    display: none;
}



.contA {
    margin: 0;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    /*        background-color: red;*/
}

.contB {
    margin: 0;
    position: absolute;
    text-align: right;
    top: 0;
    right: 0;
/*    z-index: 10000;*/
    /*        background-color: red;*/


}

.contC {
    margin: 0;
    position: absolute;
    text-align: left;
    bottom: 10px;
    left: 10px;
/*    display: block;*/
/*    z-index: 10000;*/
    /*        background-color: red;*/
    z-index: 100;

}

    
/*
     #answer {
        display: none;
        flex-flow: column wrap;
        justify-content: center;
        align-items: center;
          padding: 0;  
          margin: 0;
        list-style: none;
        position: absolute;
        width: 80vw;
        height: 80vh;
        z-index: 20;
         border-radius: 25px;
        background-color: #bfbfbf;
        top: 50%;
        left: 50%;
         transform:  translate(-50%, -50%);
         text-align: center;
            opacity: 0;
        transition: opacity 0.5s linear;
          min-height: 300px;
          min-width: 1100px;
         
          
} 
*/
    

/*
#legenda {
            display: none;
    margin: 0;
    position: absolute;
    width: calc(95vw - 9vw);
    height: auto;
    text-align: center;
    bottom: 3vh;
    color: black;
    border: 5px solid black;
    pointer-events: none;

    border-radius: 25px;
    background-color: rgba(200, 200, 200, 0.7);
    left: calc(50% + 4.5vw);
    transform: translateX(-50% )
}
*/

#close {
    margin: 0;
    position: absolute;
    text-align: right;
    top: 0;
    right: 0;
    /*        display: none;*/
}

#hvezdy {
/*    width: 100%;*/
    display: none;
    margin: 0;
    position: absolute;
/*    text-align: right;*/
    top: 0;
    left: 0;
    /*        background-color: red;*/
    z-index: 10;
    }

#pom {
    position: absolute;
    top: 10vh;
    left: 0;
    color: red;

}

#debugR {
        position: absolute;
        z-index: 10000;
        right: 0;
        display: block;
        top: 50%;
        transform: translateY(-50%)
      }

.center {
        position: absolute;
        text-align: center;
        top: 0;
        width: 100%;
  
        left: 50%;
        transform: translateX(-50%);
/*        background-color: aqua;*/
        display: inline;
      }
.button {
          position: absolute;
          top: 40px;
           left: 50%;
        transform: translateX(-50%);
    z-index: 200;
    
    
      }

.moznosti {
 text-align: left;
    line-height: 1.5;
    font-size:80%;
    
      }











    /*----------------landscape-----------------*/


@media (orientation: landscape) {
    #vid1 {

        width: 40%;
        height: auto;
        position: absolute;
        top: -60%;
        left: 0;
/*        background-color:aqua*/
        transition: top 1s;
        transition-timing-function: cubic-bezier(.47,1.64,.41,.8)



    }
    
    h1,
    .buttonStyle  {
        border-radius: 2vw;
        font-size: 2rem;
        
    }
    
/*
       h2  {
        
        font-size: 1.5rem;
        
    }
*/
    
           h2  {
        
        font-size: 3vw;
        
    }
    
    
    
         h4  {
        
        font-size: 1rem;
        
    }
    
    input[type=text] {
      width: 90%; /* When specifying this, you can use both px and % */
      height:2rem;
      font-size: 1.5rem
}
 
    
    #vid1.vidon {

        top: -12%;

    }
    
    #vid1.vidoff {

        top: -60%;

    }

    #vid2 {

        width: 40%;
        height: auto;
        position: absolute;
        bottom: -10px;
        right: -40%;
        transition: right 1s;
        transition-timing-function: ease-out;
        



    }
    
    #vid1src {
      
        width: 200%;
    
        height: auto;
        max-width:100%;
       max-height:100%;
/*         border: 2px red;*/


        
    }
    
    #vid2src {
       width: 200%;
        height: auto;
        max-width:100%;
       max-height:100%;
        

        
    }

    .imgSize {

        width: 9vw;
        height: auto;
    }
    
     .starSize {

        width: 9vw;
        height: auto;
    }
    
   
    
    
    #biskContent {
          width: 43%;
        height: 80%;
        position: relative;
        display: flex;
/*          margin:auto;*/
/*          background-color: rgba(255, 255, 255, 0.7);*/
         border-radius: 4vw;
        align-items: center;
          justify-content: center;
        text-align: center;
        background-color: #bfbfbf;
        border: 0.4vw solid black;
        text-decoration: underline;


         }
      
    
#legenda,
#povoleni
{
    display: none;
    margin: 0px;
    padding: 20px;
    position: absolute;
    width: calc(98vw - 15vw);
    /*height: auto;*/
    text-align: top;
    bottom: 10px;
    color: black;
    /*border: 0.25vw solid black;*/
    pointer-events: none;
    /*        z-index: 10;*/
    /*        background-color: purple;*/
    border-radius: 2vw;
    background-color: white;
/*    left: calc(50% + 4.5vw);*/
    left: 50%;
    transform: translateX(calc(-50% + 4.5vw) );
  
    /*justify-content: bottom;*/
    opacity: 0;
    transition: opacity 0.5s linear;
        /*font-size: 2em;*/
    }
    
     #answer {
        display: none;
        flex-flow: column wrap;
        justify-content: center;
        align-items: center;
          padding: 0 2.5vw 0 2.5vw;
          margin: 0;
        list-style: none;
        position: absolute;
        width: calc(98vw - 38vw);
        height: 80vh;
        z-index: 20;
         border-radius: 6vw;
        background-color: #bfbfbf;
        top: 50%;
        left: 50%;
         transform:  translate(-50%, -50%);
         text-align: center;
            opacity: 0;
        transition: opacity 0.5s linear;
            border: 0.4vw solid black;
              min-height: 300px;
/*         min-width: 1100px;*/
         
          
} 

/*    ----------------animace-----------------*/

.blinkStar {
  animation: blinking 1.5s 1;
}

/*
@keyframes blinking {
  0% {
     transform: scale(1.0);
    -webkit-transform: scale(1.0);
  }

  70% {
     transform: scale(1.5);
     -webkit-transform: scale(1.5);
  }

  100% {
    transform: scale(1.0);
    -webkit-transform: scale(1.0);
  }
}
*/

@keyframes blinking {
  0% {
     transform: scale(1.0);
    -webkit-transform:  scale(1.0);

    
    }

  50% {
     transform: translate(4.5vw, 8vh) scale(2.0);
    -webkit-transform: translate(4.5vw, 8vh) scale(2.0);

    
    }
    


  100% {
    transform: translate(0, 0);
    -webkit-transform: translate(0, 0);
  }
}


}

/*----------------portrait-----------------*/


@media (orientation: portrait) {
    #vid1 {

        width: auto;
        height: 40%;
        position: absolute;
        top: -60%;
        left: 0;
/*        background-color:aqua*/
        transition: top 1s;
        transition-timing-function: cubic-bezier(.47,1.64,.41,.8)


    }
    
    h1,
    .buttonStyle  {
        border-radius: 2vh;
        font-size: 4rem;
        
    }
    
         h2  {
        
        font-size: 4vw;
        
    }
    
/*
             h2  {
        
        font-size: 3rem;
        
    }
*/
    
    
         h4  {
        
        font-size: 2rem;
        
    }
    
    input[type=text] {
      width: 90%; /* When specifying this, you can use both px and % */
      height:4rem;
      font-size: 3rem
}
    
  #vid1.vidon {

        top: -3%;

    }
    
      #vid1.vidoff {

        top: -60%;

    }

    #vid2 {

        width: auto;
        height: 40%;
        position: absolute;
        bottom: 0;
        right: -60%;
        transition: right 1s;
        transition-timing-function: ease-out;
/*        background-color:aqua*/


    }
    
     #vid1src {
   width: auto;
        height: 200%;
         max-width:100%;
         max-height:100%;
/*          border: 2px red;*/
         
         
    

        
    }
    
    #vid2src {
         width: auto;
        height: 200%;
         max-width:100%;
         max-height:100%;
        

        
    }

    .imgSize {
        width: auto;
        height: 9vh;
    }
    
    .starSize {
        width: auto;
        height: 15vw;
    }
    
          #biskContent {
          width: 75%;
        height: 43%;
position: relative;
        display: flex;
/*          margin:auto;*/
/*          background-color: rgba(255, 255, 255, 0.7);*/
         border-radius: 4vh;
        align-items: center;
          justify-content: center;
              text-align: center;
                     text-align: center;
        background-color: #bfbfbf;
        border: 0.4vh solid black;
              text-decoration: underline;
          



         }
    
#legenda,
#povoleni
    {
    display: none;
    margin: 10px;
    padding: 0px 2.5vh 0px 2.5vh;
    position: absolute;
    width: calc(98vw - 15vh);
    height: auto;
    text-align: left;
    bottom: 10px;
    color: black;
    /*border: 0.4vh solid black;*/
    pointer-events: none;
    /*        z-index: 10;*/
    /*        background-color: purple;*/
    border-radius: 2vh;
/*    background-color: rgba(200, 200, 200, 0.7);*/
    background-color: white;
    left: 50%;
/*    transform: translateX(-50% );*/
    transform: translateX(calc(-50% + 4.5vh) );
    opacity: 0;
    transition: opacity 0.5s linear;
        align-items: center;
          justify-content: center;
    
    }
    
#answer {
        display: none;
        flex-flow: column wrap;
        justify-content: center;
        align-items: center;
          padding: 0 2.5vh 0 2.5vh;
          margin: 0;
        list-style: none;
        position: absolute;
        width: 80vw;
        height: calc(98vh - 38vh);
        z-index: 20;
         border-radius: 6vw;
        background-color: #bfbfbf;
        top: 50%;
        left: 50%;
         transform:  translate(-50%, calc(-50% - 5vh));
         text-align: center;
            opacity: 0;
        transition: opacity 0.5s linear;
            border: 0.4vh solid black;
                min-height: 300px;
/*         min-width: 1100px;*/
         
          
} 
/*    ----------------animace-----------------*/

.blinkStar {
  animation: blinking 1.5s 1;
}

/*
@keyframes blinking {
  0% {
     transform: scale(1.0);
    -webkit-transform: scale(1.0);
  }

  70% {
     transform: scale(1.5);
     -webkit-transform: scale(1.5);
  }

  100% {
    transform: scale(1.0);
    -webkit-transform: scale(1.0);
  }
}
*/

@keyframes blinking {
  0% {
     transform: scale(1.0);
    -webkit-transform:  scale(1.0);

    
    }

  50% {
     transform: translate(8vw, 4.5vh) scale(2.0);
    -webkit-transform: translate(8vw, 4.5vh) scale(2.0);

    
    }
    


  100% {
    transform: translate(0, 0);
    -webkit-transform: translate(0, 0);
  }
}

}
