/* ========= RESET ========= */
body {
    font-family: 'Comic Sans MS', cursive, sans-serif;
    text-align: center;
    background-color: #F7F7F7;
    margin: 0;
    padding: 0;
  }
  
  /* ========= NAV ========= */
  .nav-container {
    height: 7%;
    background-color: #2c2f36;
    padding: 1rem;
    display: flex;
    justify-content: center;
    gap: 2rem;
    align-items: center;
    flex-wrap: wrap;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    width: 100vw;
    z-index: 1000;
  }
  
  .logo-container {
    display: flex;
    align-items: center;
    gap: 10px;
  }
  
  .logo {
    width: 40px;
    height: 40px;
  }
  
  .site-name {
    color: #fff;
    font-size: 20px;
    font-weight: bold;
    font-family: Arial, sans-serif;
  }
  
  /* ========= MAIN ========= */
  main {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    min-height: 80vh;
  }
  
  .atividade {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 60vw;
    gap: 1rem;
  }
  
  h2 {
    font-size: 24px;
    color: #000;
    margin-bottom: 15px;
  }
  
  .level {
    font-size: 24px;
    font-weight: bold;
    color: #000;
    padding: 2rem;
  }
  
  .sequence-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    background: #fff3e0;
    padding: 10px;
    border-radius: 10px;
  }
  
  .sequence {
    display: flex;
    gap: 8px;
  }
  
  .sequence-item {
    font-size: 28px;
    font-weight: bold;
    padding: 10px;
    background: white;
    border-radius: 8px;
    box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.2);
  }
img{
    width: 45px;
    height: 45px;
}
  
  /* ========= GRID ========= */
  .grid {
    display: grid;
    grid-template-columns: repeat(4, 60px);
    grid-template-rows: repeat(4, 60px);
    gap: 8px;
    margin: 20px auto;
  }
  
  .cedula {
    width: 60px;
    height: 60px;
    border-radius: 10px;
    background-color: #E4C9F9;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: bold;
    color: #aa7cce;
    cursor: pointer;
    transition: transform 0.2s ease, background-color 0.2s ease;
  }
  
  .cedula:hover {
    transform: scale(1.1);
  }
  
  .cedula.colored {
    background-color: #88b0de;
  }
  
  /* ========= BUTTONS ========= */
  .button {
    display: flex;
    gap: 1rem;
  }
  
  button {
    width: 12rem;
    padding: 1rem;
    font-size: 18px;
    font-weight: bold;
    color: white;
    background-color: #42a5f5;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.2s ease;
  }
  
  button:hover {
    background-color: #1e88e5;
    transform: scale(1.1);
  }
  
button:disabled {
    background-color: gray;
    cursor: not-allowed;
  }

#nextButton:enabled {
    background-color: #4caf50; 
  }
  
  #tutorial {
    width: 3rem;
    height: 3rem;
    background-color: #7464eb;
  }
  
  /* ========= MODAL ========= */
  .modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999;
    display: none;
  }
  
  .modal {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    padding: 20px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0px 0px 15px rgba(0, 0, 0, 0.3);
    background: white;
    z-index: 1000;
  }
  
  .modal h2 {
    margin: 0 0 15px;
  }
  
  .modal button {
    background: #ff4081;
    color: white;
  }
  
  .modal button:hover {
    background: #e91e63;
  }
  
  /* ========= FOOTER ========= */
  .footer {
    background-color: #f5f5f5;
    padding: 20px 10px;
    text-align: center;
    border-top: 2px solid #ddd;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  }
  
  .footer-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
    margin-bottom: 10px;
    flex-wrap: wrap;
  }
  
  .footer-logo {
    height: 40px;
    width: auto;
    transition: transform 0.3s ease;
  }
  
  #logoMaior {
    height: 60px;
  }
  
  .footer-logo:hover {
    transform: scale(1.1);
  }
  
  .footer-text {
    font-size: 14px;
    color: #555;
  }
  
  /* ========= TUTORIAL ========= */
  .tutorial {
    background-color: #f8f9fa;
    border: 2px solid #919191; 
    border-radius: 12px;
    padding: 20px;
    text-align: center;
    width: 50%;
    max-width: 500px;
    margin-top: 1rem;
}
