@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;700&display=swap');

:root{
    --primary-color : #54f9ff;
    --focus-text: tan;
    --off-white: #F8F0E3;
}
    body {
        font-family: 'Poppins', sans-serif;
        margin: 0; /* Remove the default margin */
        text-align: center;
        display: flex; /* Add this line */
        justify-content: center; /* Add this line */
        align-items: center; /* Add this line */
        min-height: 100vh; /* Add this line */
        background-image:url("blue-bg.jpg") ;

      }
nav{
    background-color: #009CC5;
    /* border-bottom-left-radius: 2rem ; */
    padding: 0.5rem;
    /* padding-right: 0.5rem ;
    padding-bottom: 0.5rem; */
    color: white;
}
.list-non-bullet{
    list-style: none;
}
.list-item-inline{
    display: inline;
    padding: 0rem 0.5rem;
}
input{
    display: block;
    margin: 1rem auto;
    padding: 0.5rem;
    text-align: center;
    border-radius: 5px;
    border: 2px solid black;
    font-size: 15px;
}
input[type="radio"]{
    display: inline;
    margin-left: 1rem;
}
label{
    margin-right: 1rem;
}
button{
    background-color: #d1ae45;
    /* border: 1px solid var(--primary-color); */
    border-radius: 5px;
    padding: 1rem 3rem;
    font-weight: bold;
    border: none;
    max-width: 200px;
    cursor: pointer;
    color: white;
    margin-top: 1rem;
}
nav .link{
    color: white;
}
.link{
    text-decoration: none;
    padding: 0.5rem 1rem;
    margin-bottom: 0.5rem;
    text-align: center;
}
.link-active{
    font-weight: bold;
}
#output ,#result{
    font-size: 25px;
    font-weight: bold;
    margin-top: 2rem;
}
.question-container{
    display: block;
    border: 1px solid var(--primary-color);
    border-radius: 10px;
    padding: 1rem 0.6rem;
    margin: 1rem auto;
    max-width: 600px;
}
ul{
    padding-inline-start: 0;
}
.fab,.fas{
    font-size: 30px;
    color: var(--primary-color);
    margin: 0 0.5rem;
}
footer{
    margin-top: 5rem;
}
.container {
    max-width: 800px;
    padding: 2rem;
    background-color: white;
    border-radius: 20px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    align-content: center;
    border: 2px dashed;
  }
  .modal {
    display: none;
    position: fixed;
    z-index: 1;
    left: 0;
    top: -2%;
    width: 100%;
    height: 102%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.4);
    animation: fadeIn 0.3s;
  }
  
  @keyframes fadeIn {
    from {opacity: 0;}
    to {opacity: 1;}
  }
  .modal-content {
    background-color: #fefefe;
    margin: 15% auto;
    padding: 20px;
    border: none;
    width: 30%;
    text-align: center;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.3);
    border-radius: 10px;
  }
  .modal-content p {
    font-size: 24px;
    color: #000000;
    margin-bottom: 20px;
  }
  .modal-content .popButton {
    padding: 10px 20px;
    font-size: 24px;
    background-color: #3FBAD9;
    color: #000000;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
  }
  
  .modal-content .popButton:hover {
    background-color: #000000;
  }
  /* Position the button at the top-left corner */
  .howToPlayBtn {
    position: absolute;
    top: 25px;
    left: 10px;
    z-index: 1;
  }
  
  /* Style the button to match the game theme */
  .howToPlayBtn {
    font-family: "Poppins", sans-serif; /* Use the same font as the game */
    font-size: 16px; /* Adjust the font size as needed */
    background-color: #793DAE;  
    /* color: #8460de;  */
    border: none;
    font-weight: bolder;
    background-color: none;
    border-radius: 5px;
    padding: 10px 20px;
    cursor: pointer;
   }
  
  /* Add a hover effect */
  .howToPlayBtn:hover {
    background-color: #c2b7b7; /* Slightly darker purple on hover */
  }

  .close {
    color: #3FBAD9;
    float: right;
    font-size: 24px;
    font-weight: bold;
  }
  
  .close:hover,
  .close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
  }
  .modal-header {
    text-align: center;
    margin-bottom: 10px;
}

.modal-header img {
    max-width: 50%; /* Set the maximum width to 50% of the parent container */
    height: auto; /* Maintain aspect ratio */
    display: block; /* Make the image a block-level element */
    margin: 0 auto; /* Center the image horizontally */
}
.modal-content iframe {
    margin-top: 20px; /* Added margin-top for the iframe */
}
.homeBtn {
  position: absolute;
  top: 145px; /* Adjust the top position as needed */
  left: 10px;
  z-index: 1;

}

/* Style the home button */
.homeBtn button {
  font-family: "Poppins", sans-serif;
  background-color: #793DAE;  
  font-size: 16px; 
  border: none;
  font-weight: bolder;
  border-radius: 5px;
  padding: 15px 20px;
  cursor: pointer;
  /* box-shadow: 5px 10px 10px rgba(0, 0, 0, 0.2); */
  transition: background-color 0.3s ease;
}



