/* Global Styles & Reset */
* {
  box-sizing: border-box;
}
@font-face {
  font-family: 'zabras'; 
  src: url('../fonts/Zabars.ttf') format('truetype'); 
  font-style: normal;
}

h1 {
  font-family: "zabras",Arial, Helvetica, sans-serif;
  font-size: 5rem;
  color: #ffd000;
  text-shadow: 
    3px 3px 0px #000, 
    6px 6px 5px rgba(0, 0, 0, 0.5); 
}



/* Body Layout & Background */
body {
  margin: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height:100dvh;
  background-image: url("../img/desert-background.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
}

/* Container for Controllers */
.containerControlerL,
.containerControlerR {
  position: relative;
  display: flex;
}

/* General settings for arrows and buttons */
.arrow,
.button {
  position: absolute;
  width: 35px;
  height: 35px;
  border-radius: 50%;
  z-index: 10;
  cursor: pointer;
}

/* Positioning of the arrows */
#arrowTop {
  top: 206px;
  left: 68px;
}

#arrowRaight {
  top: 244px;
  left: 105px;
}

#arrowBottom {
  top: 278px;
  left: 70px;
}

#arrowLeft {
  top: 242px;
  left: 34px;
}


/* Positioning of the gamepad buttons */
#xButton {
  top: 74px;
  left: 55px;
}

#aButton {
  top: 110px;
  left: 92px;
}

#bButton {
  top: 146px;
  left: 57px;
}

#yButton {
  top: 110px;
  left: 21px;
}

#home {
  top: 336px;
  left: 31px;
}

/* Controller container & image */
#controllerContainer {
  display: flex;
  position: relative;
}

#controllerContainer img {
  height: 485px;
  margin-bottom: 2px;
}

/* Fullscreen container */
#fullscreen {
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Canvas element */
canvas {
  display: block;
}


.popup {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 1);
  color: white;
  justify-content: center;
  align-items: center;
  text-align: center;
  font-size: 1.5em;
  display: flex;
  flex-direction: column;
}
#popup{
  display: none;
}
.popup p {
  padding: 20px;
}
.popup img{
  width: 80%;
  margin-bottom: 0 !important;
}
/* Imprint */
.back-button {
  position: absolute;
  top: 10px; 
  left: 10px; 
  z-index: 1000; 
 cursor: pointer; 
}

.imprintContainer{
  font-family: Arial, sans-serif;
  line-height: 1.6;
  margin: 20px;

}
.backIcon{
  width: 50px;
}
.headerImprint{
  color: #333;
}
.imprint {
  background-color: #f9f9f9;
  padding: 20px;
  border-radius: 8px;
 
 
}




/* Responsive adjustments */
@media (max-width: 1060px) {
  .containerControlerL,
  .containerControlerR {
    display: none;
  }
  h1{
    display: none;
  }
}

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

@media only screen and (max-height: 720px) {
  canvas {
    height: 100dvh;
  }
  
  .containerControlerL,
  .containerControlerR {
    display: none;
  }
  h1{
    display: none;
  }
}

@media (max-width: 500px){
 .imprint{
  margin-top: 50px ;
 }  
}
