body{
  background-image:url("background.png");
  font-family:'Trebuchet MS' ,'Lucida Sans Unicode' , 'Lucida Grande' ,'Lucida Sans', Arial ,sans-serif;
  background-size:cover;
  color:white;
  font-size:30px;
  text-align:center;
  animation: fadeIn 0.8s ease-in;
  
}
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
.instructions {
  background: rgba(0,0,0,0.6);
  padding:2px 15px;
  border-radius: 10px;
  width: 40%;
  margin-bottom:5px;
  margin:20px auto;
  font-size: 18px;
}

.instructions h2 {
  color: goldenrod;
  margin-bottom: 10px;
}

.instructions ul {
  
  text-align:left;
  padding-left: 20px;
  gap:3px;
}

.instructions li {
  margin: 5px 0;
}
h1{
  margin-top:80px;
  margin-bottom:80px;
  animation: slideDown 0.8s ease;
  color:goldenrod;
  font-size:70px;
}
@keyframes slideDown {
  from {
    transform: translateY(-50px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}
#message-el{
  font-style:italic;
}
.player-input{
  display:flex;
  flex-direction:column;
  width:200px;
  align-items:center;
  margin: 20px auto;
  margin-bottom:10px;
  gap:18px;
}
.player-setup{
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:10px;
  margin-bottom:40px;

}
input{
  background: rgba(0,0,0,0.6);
  font-size:20px;
  border-radius:4px;
  text-align:center;
  color:white;
  font-weight:bold;
  height:30px;
}
button{
  color:#016f32;
  width:250px;
  background: linear-gradient(135deg, goldenrod, #b8860b);
  font-weight:bold;
  padding:8px 50px;
  border:none;
  border-radius:8px;
  font-size:20px;
  cursor:pointer;
  transition: all 0.2s ease;
  animation:fadeTranslate 0.8s ease forwards;
}
@keyframes fadeTranslate {
  from {
    transform: translateY(20px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}
button:hover{
  background-color: #d4a017;
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(0,0,0,0.3);
}
button:active {
  transform: translateY(1px);
  box-shadow: 0 2px 5px rgba(0,0,0,0.3);
}
button:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(255,215,0,0.5);
}
.buttons{
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:10px;
  margin-bottom:60px;
}

/*  Mobile Responsive Design */
@media (max-width: 768px) {
  .instructions{
    width:95%;
    font-size:14px;
  }
  #message-el{
    width:95%;
    margin:auto;
  }
  .player-input{
    width:100%;
    
  }
  h1{
    font-size:38px;
    margin:30px 0px;
  }
  button{
    width:90%;
  }
  .player-setup{
    width:100%;
  }

  



}