/* Modal styling */
.modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 1; /* Sit on top */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    background-color: rgba(0, 0, 0, 0.5); /* Black background with opacity */
  }
  
  .modal-content {
    background-color: #fefefe;
    margin: 15% auto; /* 15% from the top and centered */
    padding: 20px;
    border: 1px solid #888;
    width: 80%; /* Could be more or less, depending on screen size */
    font-family: 'Press Start 2P', cursive; /* Ensure consistent font */
  }
  
  .modal ul {
    text-align: left;
    list-style-type: none;
    padding: 0;
  }
  
  .modal ul li {
    margin: 10px 0;
  }
  


/* Body */
body {
    text-align: center;
    background-color: #61a2e8;
  }
  
  /* Title */
  #level-title {
    font-family: 'Press Start 2P', cursive;
    font-size: 3rem;
    margin: 5%;
    color: #FEF2BF;
  }
  
  /* Container */
  .container {
    display: flex; /* flexbox to arrange items */
    flex-wrap: wrap; /* Allow items to wrap */
    justify-content: center; /* Center items */
    width: 50%;
    margin: auto;
  }
  
  .row {
    display: flex; /* Use flexbox for each row */
    justify-content: center; /* Center items in the row */
  }
  
  /* Common styles for buttons */
  .btn, .menu-btn {
    font-family: 'Press Start 2P', cursive; /* Apply the same font */
    font-size: 0.9rem;
    margin: 25px;
    padding: 15px;
    display: inline-block;
    cursor: pointer;
    color: white;
    background-color: #444;
    border: 5px solid black;
    border-radius: 10px; /* Slightly rounded corners */
    width: 220px;
    text-transform: uppercase;
    text-align: center;
    transition: background-color 0.3s ease;
  }

  .btn:hover {
    transform: scale(1.1) rotate(5deg); /* Grow by 10% and tilt by 5 degrees */
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.3); /* Add a subtle shadow when hovered */
  }
  
  
  /* Circle and Square Button Styles */

/*Circle*/
  .green {
    background-color: green;
    border: 10px solid black;
    border-radius: 50%; 
    width: 200px;
    height: 200px;
  }
  
  /* Rectangle */
  .red {
    background-color: red;
    border: 10px solid black;
    width: 200px;
    height: 200px;
  }

  /* Circle */
  
  .blue {
    background-color: blue;
    border: 10px solid black;
    border-radius: 50%;
    width: 200px;
    height: 200px;
  }

  /* Rectangle */
  
  .yellow {
    background-color: yellow;
    border: 10px solid black;
    width: 200px;
    height: 200px;
  }
  
  /* Reorder positions */
  .green {
    order: 1;
  }
  
  .yellow {
    order: 2;
  }
  
  .red {
    order: 3;
  }
  
  .blue {
    order: 4;
  }
  
  /* Menu Styling */
  #menu {
    margin-bottom: 20px;
  }
  
  /* Style the menu buttons */
  #start-button, #instructions-button, #reset-button {
    margin: 10px;
  }
  
  /* Apply the same styles for new buttons */
  .menu-btn {
    background-color: #FEF2BF;
    color: #000;
  }
  
  .menu-btn:hover {
    background-color: #e0d497;
  }
  