html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
  position: relative;
  min-height: 100%;
}

body {
  height: 100%; /* Gör att sidan alltid fyller hela höjden */
  display: flex;
  flex-direction: column;
  margin: 0; /* Ta bort eventuell marginal */
}

main {
  flex: 1; /* Gör att huvudinnehållet tar upp allt tillgängligt utrymme */
}

footer {
  position: sticky;
  bottom: 0;
  background-color: #f8f9fa; /* Samma bakgrundsfärg som footern */
  z-index: 10; /* Se till att footern ligger över annat innehåll */
}