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

body{
    font-family: 'zabars', Arial, Helvetica, sans-serif; 
    background-image: url('../img/5_background/wild-west.jpg');
    background-position: center;
    background-size: cover;
    background-repeat: repeat;
    overflow: hidden;
    color: white;
    margin: 0;
    padding: 0;
}

canvas{
    position: absolute;
    z-index: -10;
    border-radius: 30px;
    outline: 8px solid #E65100;
    transform: translate(0,50px);
}

.position-canvas{
    height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transform: translate(0,-80px);
}

p, h2, h3, h4, h5, span{
    font-family: Arial;
} 

p{
    font-size: 20px;
    text-align: center;
    line-height: 1.5;
}

h1{
    font-size: 60px;
    margin: 20px;
    letter-spacing: 5px;
    text-shadow: 4px 4px 8px rgba(230,81,0,0.8);
}

h2{
    font-size: 50px;
    margin: 20px 0;
}

h3{
    font-size: 48px;
    text-align: center;
    margin: 30px;
}

h4{
    font-size: 20px;
    line-height: 0;
    margin: 25px 0;
}

h5{
    font-size: 16px;
    line-height: 0;
    margin: 20px 0;
}

span{
    font-size: 16px;
    text-align: left;
}

.bg-picture-canvas{
    position: relative;
    z-index: 0;
    width: 720px;
    height: 480px;
    background-image: url('../img/9_intro_outro_screens/start/startscreen_1.png');
    background-size: 100% 100%;
    border-radius: 30px;
    outline: 8px solid #E65100;
}

.bg-trait-keyb{
    background-image: url('../img/9_intro_outro_screens/start/trait-keyboard.png');
    background-size: 100% 100%;
}

.rotate-screen{
    height: 350px;
    width: 100%;
}

.navbar{
    min-width: 360px;
    padding: 15px 10px 0 10px;
}

.control-bar{
    position: absolute;
    z-index: 10;
    height: 55px;    
    width: 680px;
    padding: 0 20px;
    transform: translate(0,315px);
    display: flex;
    justify-content: space-between;
}

.start-game-container, .loading{
    position: absolute;
    z-index: 10;
    height: 385px;
    width: 100%;
}

.endscreen{
    position: absolute;
    z-index: 8;
    height: 100vh;
    width: 100%;
}

.loading{
    z-index: 8;
}

.bg-loading{
    height: 110px;
    width: 350px;
    background-color: rgba(26, 192, 208, 0.35);
    border-radius: 15px;
}

.size-icon{ 
    height: 32px;
    width: 32px;
    margin: 0 5px;
    border-radius: 2px;
    border: 2px solid white;
}

.data-protection{
    width: 100%;
}

button{
    font-family: 'zabars', Arial, Helvetica, sans-serif; 
    font-size: 32px;
    margin-top: -55px;
    height: 80px;
    width: 160px;
    border-radius: 10px;
    border: 4px solid #E65100;
    background-color: #b58033;
}

button:hover, .size-icon:hover, .button-data-protection:hover{
    cursor: pointer;
    transform: scale(1.15);
}

.button-data-protection, .endscreen-button{
    font-size: 28px;
    color: black; 
    margin: 0px 15px; 
    height: 45px;
    width: 140px;
    padding: 6px;
    background-color: #b58033;
}

.endscreen-button{
    background-image: linear-gradient(to right, #dec095,#b58033);
}

.button-dp-shadow{
    box-shadow: 3px 5px #0e0d0d; 
}
.button-shadow{
    box-shadow: 3px 5px #0e0d0d;  
}

.impressum{
    height: 365px;
    padding: 0 50px;
    overflow: auto;
}

.control-icon{ 
    height: 45px;
    width: 45px;
    border-radius: 30px;
    border: 5px solid white;
}

.control-icon:hover{
    transform: scale(1.15);
    filter: invert(80%) sepia(72%) saturate(739%) hue-rotate(14deg) brightness(109%) contrast(102%);
}

.distance-control-keys{
    display: flex;
    justify-content: space-around;
    width: 180px;
    height: 100%;
}

.loader{
    font-size: 72px;
    display: inline-block;
    font-family: Arial, Helvetica, sans-serif;
    font-weight: bold;
    color: #28206b;
    box-sizing: border-box;
    text-shadow: 0 0 2px #FFF, 0 0 1px #FFF, 0 0 1px #FFF;
    letter-spacing: 2px;
    position: relative;
  }
  .loader::after{
    content: 'Loading';
    position: absolute;
    left: 0;
    top: 0;
    color: #FFF;
    width: 100%;
    height: 100%;
    overflow: hidden;
    box-sizing: border-box;
    animation: animloader 6s linear infinite;
  }
  
  @keyframes animloader{
    0%{
      width: 0%;
    }

    100%{
      width: 100%;
    }
  }

.position-loading{
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: -28px;
}

.d-none{
    display: none;
}