/*----------------------------------------   Globals   ----------------------------------------*/
* {
   box-sizing: border-box;
   margin: 0;
   scroll-behavior: smooth;
}

body {
   background-color: #05171e;
   background-image: url("./assets/img/Praerie.jpg");
   background-position: center;
   background-size: cover;
   color: #fefefe;
   font-family: "Rye", Arial, Helvetica, sans-serif;
   min-height: 100vh;
   display: flex;
   flex-direction: column;
}

.maxContent {
   max-width: 1440px;
   margin-left: auto;
   margin-right: auto;
}

.container {
   display: flex;
   align-items: center;
   flex-direction: column;
   justify-content: center;
}

h1 {
   text-align: center;
   font-size: 40px;
   text-shadow: 4px 4px 4px rgba(0, 0, 0, 0.5);
   margin-block-start: 0;
   color: yellow;
}

.d_none {
   display: none;
}

canvas {
   background-color: black;
   border: 30px ridge brown;
   border-radius: 50px;
   box-shadow: 0 0 15px 5px rgba(123, 75, 58, 0.7);
   display: block;
}

.center {
   display: flex;
   align-items: center;
}

hr {
   margin-top: 5px;
   margin-bottom: 5px;
}

/*----------------------------------------   Header   ----------------------------------------*/
header {
   background-color: brown;
   text-align: left;
   align-content: center;
   height: 80px;
   display: flex;
   align-items: center;
}

header img {
   width: 250px;
   margin-left: 20px;
}

/*-------------------------------------   Main Content   -------------------------------------*/
main {
   flex: 1;
}

.start-screen {
   position: fixed;
   top: 0;
   left: 0;
   width: 100%;
   height: 100%;
   background-color: rgba(0, 0, 0, 0.8);
   justify-content: center;
   align-items: center;
   flex-direction: column;
   z-index: 100;
}

#start-image {
   width: 80%;
   max-width: 700px;
   margin-bottom: 20px;
}

.info-screen {
   display: flex;
   justify-content: space-around;
   flex-direction: column;
   width: 95%;
   background-color: black;
   height: 100%;
   border-radius: 10px;
   padding: 10px;
}

.controlls {
   width: 100%;
   display: flex;
   align-items: center;
   justify-content: space-around;
   font-size: 16px;
   color: yellow;
}

.arrow {
   width: 16px;
   height: 16px;
}

.fullscreen {
   cursor: pointer;
   width: 30px;
   height: 30px;
}

.mute {
   cursor: pointer;
   width: 30px;
   height: 30px;
}

.explanation {
   font-size: 16px;
   color: #d33b21;
}

.game-over-screen {
   position: fixed;
   top: 0;
   left: 0;
   width: 100%;
   height: 100%;
   background-color: rgba(0, 0, 0, 0.9);
   display: flex;
   justify-content: center;
   align-items: center;
   flex-direction: column;
   z-index: 100;
}

.game-over-screen img {
   height: 50%;
   max-width: 700px;
   margin-bottom: 20px;
}

.game-over-screen .start-button {
   padding: 15px 30px;
   font-size: 18px;
   background-color: #ffcc00;
   border: none;
   cursor: pointer;
   font-family: "Arial", sans-serif;
   border-radius: 5px;
}

.game-over-screen .start-button:hover {
   background-color: #e6b800;
}

.start-screen-buttons {
   display: flex;
   justify-content: space-around;
   gap: 20px;
}

.overlay {
   position: fixed;
   top: 0;
   left: 0;
   width: 100%;
   height: 100%;
   background: rgba(0, 0, 0, 0.7);
   display: none;
   justify-content: center;
   align-items: center;
   z-index: 9999;
}

.overlay-content {
   background: black;
   padding: 20px;
   border-radius: 10px;
   text-align: center;
   width: 80%;
   max-width: 600px;
   font-family: "Arial", sans-serif;
}

/*----------------------------------------   Footer   ----------------------------------------*/
footer {
   background-color: brown;
   position: relative;
   bottom: 0;
   left: 0;
   right: 0;
   height: 80px;
   align-content: center;
   font-family: Verdana, Tahoma, sans-serif;
}

footer a {
   color: #fefefe;
}

.footerText {
   color: white;
   font-size: 12px;
   text-align: center;
}

footer img {
   width: 30px;
   height: 30px;
}

footer img:hover {
   transform: scale(0.9);
   filter: drop-shadow(0px 0px 5px gold);
}
