* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

@font-face {
    font-family: 'zabars';
    src: url('assats/fonts/zabars.ttf') format('truetype');

}

body {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    height: 100vh;
    font-family: 'zabars', Arial, Helvetica, sans-serif;
    background-image: url('img/desertBack.png');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    overflow: hidden;
}

h1 {
    font-size: 64px;
    text-shadow: 2px 2px rgba(0, 0, 0, 0.5);
    letter-spacing: 5px;
    margin-bottom: 10px;
}

canvas {
    background-color: black;
    width: 100%;
    height: 100%;
}

.start {
    width: 720px;
    height: 480px;
    position: relative;
    z-index: 1;    
}

.startImages {
    width: 100%;
    height: 100%;
}

.startButton {
    width: 70px;
    height: 60px;
    font-size: 64px;
    position: absolute;
    top: 410px;
    left: 45%;    
    cursor: pointer;
    transition: 0.5s ease-in-out;
}

.startButton:hover {
    transform: scale(1.1);
}

.Instructions{
    position: absolute;
    top: 410px;
    left:2%;
    width: 100px;
    height: 50px;
    font-size: 64px;    
    cursor: pointer;
    transition: 0.5s ease-in-out;
}

.Instructions:hover {
    transform: scale(1.1);
}

.impressum{
    position: absolute;
    top: 410px;
    right: 19%;
    width: 100px;
    height: 50px;
    font-size: 64px;    
    cursor: pointer;
    transition: 0.5s ease-in-out;
}

.impressum:hover {
    transform: scale(1.1);
}

.fullScreenButtonStyle {
    position: absolute;
    bottom: 25px;
    right: 10px;
    width: 100px;
    height: 50px;
    font-size: 32px;
    text-align: center;
    cursor: pointer;
    z-index: 10;

}

.SoundButton {
    position: absolute;
    bottom: 20px;
    right: 100px;
    width: 100px;
    height: 50px;
    font-size: 32px;
    text-align: center;
    cursor: pointer;
    z-index: 100;
}

.replayButtonStyle {
    position: absolute;
    top: 40px;
    right: 50px;
    width: 100px;
    height: 50px;
    font-size: 32px;
    text-align: center;
    cursor: pointer;
    z-index: 100;
}

.flipMobile {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    width: 100%;
    height: 50vh;
    gap: 20px;
    font-size: 32px;
}

.flipMobile img {
    width: 100px;
    height: 100%;
}

.leftBtn {
    position: absolute;
    bottom:50px;
    left: 0px;
}

.rightBtn {
    position: absolute;
    bottom: 50px;
    left: 200px;
}

.upBtn {
    position: absolute;
    bottom: 50px;
    right: 200px;
}

.bottleBtn {
    position: absolute;
    bottom: 55px;
    right: 100px;
}

.backWindowStyle{
    position: absolute;
    top: 25px;
    right: 120px;
    cursor: pointer;
}

.backWindowStyle img{
    width: 80px;
    height: 80px;
}

.impressumData{
    font-size: 32px;    
}

.impressumDataButton{
    position: absolute;
    top: 40px;
    right: 50px;
    width: 100px;
    height: 50px;
    font-size: 32px;
    text-align: center;
    cursor: pointer;   
}

.instructionsDataButton{
    position: fixed;
    top: 410px;
    right: 150px;
    width: 100px;
    height: 50px;
    font-size: 32px;
    text-align: center;
    cursor: pointer;   
}

.instructionsData{
    font-size: 32px; 
    overflow: auto;
    width: 720px;
    height: 480px;   
}

.instructionsData::-webkit-scrollbar {
    width: 12px; /
}

.instructionsData::-webkit-scrollbar-thumb {
    background: orange;
    border-radius: 35px;
}

.instructionsData::-webkit-scrollbar-thumb:hover {
    background: #555;
}

.instructionsData::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 35px;
}

@media only screen and (max-width: 950px) {
    .start {
        width: 100%;
    }

    h1 {
        display: none;
    }

    .fullScreenButtonStyle {
        display: none;
    }

    .SoundButton {
       top: 45px;
        right:-10px;
    }

}

@media screen and (max-height: 480px) {
    .start {
        height: 100vh;
    }

    .startButton {
        top: 10px;
        left: 5%;
    }

    .Instructions{
        display: none;
    }

    .impressum{
        top: 10px;
        right: 25%;        
    }

    .impressumData{
        margin-left: 10px;        
        font-size: 24px;
    }

    .impressumTitle{
        display: block;
    }
}

@media only screen and (min-width: 950px){
    .bottleBtn{
        display: none;
    }

    .upBtn{
        display: none;
    }

    .rightBtn{
        display: none;
    }

    .leftBtn {
        display: none;
    }
}