@font-face {
    font-family: 'zabras';
    src:url('./font/zabars.ttf') format('truetype'); 
}

body{
    display: flex;
    flex-direction: column;
    align-items: center;
    background-image: url("./img/bg.png");
    background-position: top;
    background-repeat: no-repeat;
    background-size: cover;
    font-family: 'zabras', Arial, Helvetica, sans-serif;
    font-size: 32px;
    letter-spacing: 3px;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5);
    margin: 0;
    height: 100vh;
}

a {
    text-decoration: none;
    color: black;
  }

.title{
    margin-block-end: 0;
    margin-block-start: 0;
    margin: 20px 0 20px 0;
}

#fullscreen{
    position: relative !important;
    height: 480px;
    width: 860px;
    max-width: 100vw;
    max-height: 100vh;
}

.introscreen{
    display: flex;
    justify-content: center;
    background-image: url("./img/img_pollo_locco/img/9_intro_outro_screens/start/startscreen_1.png");
}

.gameButton{
    position: absolute;
    top: 30px;
    font-family: 'zabras', Arial, Helvetica, sans-serif;
    font-size: 48px;
    padding: 5px 30px 5px 30px;
    border-radius: 8px;
    background-color: #FFDE01;
    cursor: pointer;
}

#preloader{
    width: 100%;
    height: 100%;
    position: absolute;
    top:0;
    z-index: 2;
    background: #FFDE01 no-repeat center center;
    background-image: url(./img/halfcircle.gif);
    background-size: 10%;
    font-size: 48px;
    text-align:center;
}

.rotate{
    display: none;
    justify-content: center;
    align-items: center;
    text-align: center;
    flex-direction: column;
    background: #FFDE01 no-repeat center center;
}

.rotate img{
    width: 30%;
    margin-top: 20px;
}

.manual{
    align-items: center;
    justify-content: space-evenly;
    background: #FFDE01 no-repeat center center;
}

.manual-img-center{
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    margin-top: 15px;
}

.manual-icons{
    width: 100px;
    height: 100px;
}

.closeIcon{
    width: 70px;
    cursor: pointer;
}

.manual-pictures{
    width: 12%;
}

canvas{
    background-color: black;
    width: 100%;
    height: 100%;
    display: block;
}

.canvas{
    position: relative;
}

.d-none{
    display: none;

}
.d-flex{
    display: flex;
}

.movement{
    margin-left: 30px;
    padding-bottom: 20px;
    flex-direction: column;
    border: 1px solid black;
    border-radius: 30px;
}

.impressum{
    flex-direction: column;
    p{
        margin-block-start: 0;
        margin-block-end: 0;    
    }
    h1{
        margin-block-start: 0;
        margin-block-end: 0;    
    }
    h2{
        margin-block-start: 0;
        margin-block-end: 0;    
    }
    font-family: Arial, Helvetica, sans-serif;
    text-shadow: none;
    font-size: 24px;
}

.datenschutz{
    font-family: Arial, Helvetica, sans-serif;
    text-shadow: none;
    font-size: 24px;
    overflow-y: scroll;
    h1 {
        font-size: 47px;
        font-weight: 700;
        margin-block-start: 0;
        margin-block-end: 0;
      }
      
      h2 {
        font-size: 27px;
        font-weight: 700;
        margin-block-start: 0;
        margin-block-end: 0;
      }
      
      h3 {
        font-size: 20px;
        font-weight: 400;
        margin-block-start: 10px;
        color: #2A3647;
      }
}

.links{
    display: flex;
    flex-direction: column;
    font-size: 24px;
    bottom: 20px;
    right: 10px;
    a{
        margin: 10px;
    }
}

.pointer{
    cursor: pointer;
}

.displayNone{
    display: none;
}

.widthHeight100{
    width: 100%;
    height: 100%;
}

.border-radius20{
    border-radius: 20px;
}

.overlay{
    z-index: 2;
    position: absolute;
    top: 5px;
    right: 5px;
}

.overlay img{
    height: 35px;
    width: 35px;
    cursor: pointer;;
    margin: 10px;
}

.overlay img:hover{
    transform: scale(1.2);
}

.endscreen{
    z-index: 1;
    position: absolute;
    top: 0px;
    justify-content: center;
    align-items: center;
}

.badEndBg{
    background-image: url("./img/img_pollo_locco/img/9_intro_outro_screens/game_over/oh\ no\ you\ lost!.png");
}

.goodEndBg{
    background-image: url("./img/img_pollo_locco/img/9_intro_outro_screens/game_over/won_2.png");
    background-size: contain !important;
}

.backgroundImage{
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
}

.game-btns{
    display: flex;
    position: absolute;
    bottom: 0;
    z-index: 2;
    width: 100%;
    justify-content: space-between;
}

#btnLeft{
    width:70px;
    height: 70px;
    margin-right: 10px;
}

#btnRight{
    width: 67px;
    height: 67px;
}

.btn-container-movement{
    display: flex;
    flex-wrap: wrap-reverse;
    align-content: center;
    margin: 10px;
}

.btn-container-jumpthrow{
    right: 0;
    position: absolute;
    display: flex;
}

.div-throw{
    background-color: orange;
    width: 65px;
    height: 65px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    margin-top: 11px;
    border: solid;
    margin-right: 20px;
    margin-left: 10px;
}

#btnJump{
    width: 70px;
    height: 70px;
    margin-top: 10px; 
}

#btnThrow{
    width: 70px;
    height: 70px;
}

.rotate-txt{
    padding: 20px;
}


@media only screen and (max-width: 860px){
    canvas{
        width: 100%;
    }
}

@media (hover:hover){
    .game-btns{
        display:none;
    }
}  

@media(max-width: 650px){
    .rotate{
        display: flex;
    }
    .canvas{
        display: none;
    }
    .introscreen{
        display: none;
    }
    .overlay{
        display: none;
    }
    .manual{
        display: none;
    }
}


@media only screen and (max-height: 480px){
    .title{
        display: none;
    }
    .border-radius20{
        border-radius: 0;
    }
    canvas{
        height: 100%;
    }
}
