/* start-styles.css */
.cover-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
  z-index: -1;
}

body {
  margin: 0;
  padding: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  background-color: #282c34;
  font-family: Arial, sans-serif;
  color: white;
}

/* Styling for the start screen container */
.start-screen {
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}

/* Title (h1) styles */
.start-screen h1 {
  font-size: 110px;
  color: #f4c0c0;
  text-shadow: 
  -7.5px -7.5px 6px #b83535,  
  7.5px -7.5px 6px #b83535,  
  -7.5px 7.5px 6px #b83535,  
  7.5px 7.5px 6px #b83535;
  margin-bottom: 0px;
}

.start-screen h3 {
  font-size: 30px;
  color: white;
  text-shadow: 
  -1.5px -1.5px 12px #b83535,  
  1.5px -1.5px 12px #b83535,  
  -1.5px 1.5px 12px #b83535,  
  1.5px 1.5px 12px #b83535;
  margin-bottom: 190px;
}

/* h2 styles */
.start-screen h2 {
  font-size: 25px;
  color: white;
  text-shadow: 
  -1.5px -1.5px 0 #b83535,  
  1.5px -1.5px 0 #b83535,  
  -1.5px 1.5px 0 #b83535,  
  1.5px 1.5px 0 #b83535;
  margin-bottom: 50px;
}

/* Button styles */
.start-screen #playButton {
  padding: 18px 65px;
  color: #ffffff; 
  font-size: 4.2rem;
  text-shadow: 
  -4px -4px 0 #b83535,  
  4px -4px 0 #b83535,  
  -4px 4px 0 #b83535,  
  4px 4px 0 #b83535;
  background-color: #2bccf9;
  border: 5px solid #0191b8;
  border-radius: 50px;
  cursor: pointer;
  transition: background-color 0.3s;
}

/* Button hover effect */
.start-screen #playButton:hover {
  background-color: #21b6f1;
}

.start-screen #howToButton {
margin-top: 20px;
padding: 12px 50px;
color: #ffffff; 
font-size: 1.7rem;
text-shadow: 
-1px -1px 0 rgb(215, 128, 112),  
1px -1px 0 rgb(215, 128, 112),  
-1px 1px 0 rgb(215, 128, 112),  
1px 1px 0 rgb(215, 128, 112);
background-color: rgb(216, 48, 47);
border: 5px solid #a50101;
border-radius: 50px;
cursor: pointer;
transition: background-color 0.3s;
}

.start-screen #howToButton:hover {
background-color: rgb(206, 21, 21);
}

/* Modal styles */
.modal {
  display: none; /* Hidden by default */
  position: fixed; /* Stay in place */
  z-index: 1; /* Sit on top */
  left: 0;
  top: -5px;
  width: 100%; /* Full width */
  height: 100%; /* Full height */
}

.modal-content {
  background-color: #d83737;
  margin: 5% auto; /* 15% from the top and centered */
  padding: 20px;
  border: 4px solid #930000;
  width: 72%; /* Could be more or less, depending on screen size */
  text-align: center;
  border-radius: 50px;
}

.modal-content h2 {
  font-size: 2.5rem;
  margin-top: 5px;
  margin-bottom: 15px;
}

.close {
  color: #aaa;
  float: right;
  font-size: 70px;
  font-weight: bold;
  margin-top: -5px;
}

#how-to-play {
  width: 100%;
  height: 100%;
}

.close:hover,
.close:focus {
  color: black;
  text-decoration: none;
  cursor: pointer;
}

#window {
  width: 100%;
height: 100vh;
background: black;
position: relative;
overflow: hidden;
position: absolute;
top: 0px;
left: 0;
bottom: 0px;
overflow: hidden;
background: black;
}

#scale-window {
position: relative;
margin: auto;
width: 1770px;
height: 1000px;
border-radius: 5px;
transform-origin: top left;
box-sizing: content-box;
overflow: hidden;
background: rgb(249, 242, 228);
}