body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 10px;
    background-color: #012169;
    color: #fff;
    transition: background-color 0.3s ease; /* Smooth transition color change */
}

/* Change page background when the checkbox is checked */
body:has(#toggle:checked) {
  background-color: #f4f4f4;
  color: #012169;
}            

.checkbox {
  display:flex;
  justify-content: flex-end;
  margin-right:20px;
  }

.container {
  display: grid;
  gap: 15px;
  padding: 10px;
  max-width: 1800px;
  margin: 0 auto;
}

.block {
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 15px;
    text-align: center;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s ease-in-out;

    &:hover {
      transform: translateY(-5px);
    }

    img {
      max-width: 170px;
      height: auto;
      max-height: 65px;
      margin-bottom: 10px;
      border-radius: 4px;
    }

    p {
      line-height: 1.4;
      font-size:1.1em;
      color: #a53860;
      margin: 0;
      margin-top:auto;
    }
}


/* Mobile-first: 1 column */
.container {
    grid-template-columns: 1fr;
}

/* Medium screens: 2 columns */
@media (min-width: 600px) {
    .container {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Large screens: 3 columns */
@media (min-width: 900px) {
    .container {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Extra large screens: 4 columns */
@media (min-width: 1200px) {
    .container {
        grid-template-columns: repeat(4, 1fr);
    }
  }
/* Sper large screens: 6 columns */
@media (min-width: 1800px) {
    .container {
        grid-template-columns: repeat(6, 1fr);
    }

}