* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    background-color: #3b3b3b;
}




/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    justify-content: center;
    align-items: center;
    z-index: 10;
}

.modal-content {
    width: 300px;
    background-color: white;
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    position: relative;
}

.modal-content img {
    width: 200px;
    height: 200px;
}

.close {
    position: absolute;
    top: 10px;
    right: 20px;
    font-size: 24px;
    font-weight: bold;
    cursor: pointer;
}

.close:hover {
    color: red;
}


.container {
    display: grid;
    grid-template-columns: repeat(18, 50px);
    grid-gap: 5px;
    justify-content: center;
    width: 80%;
    max-width: 1200px;
    margin: 0 auto;
    background-color: #f0f0f000;
    padding: 20px;
    transition: width 0.3s ease;
  }
  
  /* Ajustes para telas menores diretamente no mesmo bloco */
  @media (max-width: 1024px) {
    .container {
      width: 90%;
    }
  }
  
  @media (max-width: 768px) {
    .container {
      width: 95%;
    }
  }
  
  @media (max-width: 480px) {
    .container {
      width: 100%;
      padding: 10px;
    }
  }