@font-face {
    font-family: 'BoldPixels';
    src: url('fonts/BoldPixels.ttf') format('truetype');
    src: url('fonts/BoldPixels.otf') format('opentype');
}
*{
    /* justify-items: center; */
    /* justify-self: center; */
    text-align: center;
    /* background-color: rgb(255, 149, 100); */
    background-color: rgb(253, 121, 60);
    font-family: BoldPixels;
}
*::selection{
    background-color: rgba(179, 72, 22, 0.788);
    /* background-color: white; */
}
body{
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}
.container{
    margin-top: 20%;
    /* align-items: center; */
    /* align-self: center; */
    /* align-content: center; */
    /* justify-content: center; */
    /* justify-items: center; */
}

h1{
    font-size: 55px;
    margin: 15px;
}
#start-btn{
    background-color: rgb(255, 109, 46);
}

#start-btn, input, #rules-btn{
    height: 30px;
    /* margin-left: 25px; */
    font-size: 25px;
    margin-bottom: 10px;
}
#rules-btn{
    margin-left: 10px;
    background-color: rgb(202, 106, 15);
}
img{
    width: 65px;
    height: 65px;
    overflow: hidden;
    padding: 0px;
}

button{
    /* background-color: rgb(255, 149, 100); */

}
button:hover{
    /* color: rgb(182, 42, 0); */
    color: rgb(78, 18, 0);
}
h3{
    font-size: 26px;
    margin: 10px;
    /* margin-top: ; */
}
#description, p, li{
    text-align: left;
    align-items: start;
    justify-items: start;
    padding: 5px;
    font-size: 20px;
}
#description{
    /* margin-top: 80px; */
}
.popup-overlay {
  display: none; /* Hidden by default */
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5); /* Semi-transparent background */
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

.popup-content {
    background-color: rgb(221, 98, 41);
    padding: 50px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transform: scale(0.8); /* Initial state for animation */
    opacity: 0; /* Initial state for animation */
    transition: transform 0.3s ease-out, opacity 0.3s ease-out; /* Smooth transition */
    text-align: left;
    align-items: start;
    justify-content: start;
    justify-items: start;
}
.popup-content *{
    background-color: rgb(221, 98, 41);
    text-align: start;
    align-items: start;
    justify-items: start;
    justify-self: left;
}
.popup-content h2{
    font-size: 35px;
    margin: 0px;
    /* text-align: start;
    align-items: start;
    justify-self: start; */
}
li{
    font-size: 30px;
    padding: 5px;
    /* text-align: start;
    align-items: start;
    justify-items: start; */
}

/* Animation for showing the pop-up */
.popup-overlay.show .popup-content {
  transform: scale(1);
  opacity: 1;
}

/* Optional: Animation for closing (can be reversed) */
.popup-overlay.hide .popup-content {
  transform: scale(0.8);
  opacity: 0;
}

#closePopupBtn{
    height: 30px;
    /* margin-left: 25px; */
    margin-right: 25px;
    font-size: 25px;
    margin-bottom: 0px;
    background-color: rgb(220, 125, 7);
}

@media screen and (max-width: 450px) {
  body {
    /* font-size: 1px; */
    /* background-color: white; */
    margin-top: 30%;
  }
  input{
    margin-right: 50px;
    margin-left: 50px;
    margin-top: 30px;
    margin-bottom: 20px;
  }
}