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 {
  margin-bottom: 60px;
}

.login-overlay {
    position: absolute;
    top: 50%;
    right: 5%;
    transform: translateY(-50%);
    width: 320px;
    background-color: rgba(255, 255, 255, 0.95);
    border-radius: 10px;
}

#homeCarousel img {
    height: 100vh;
    object-fit: cover;
}

@media (max-width: 768px) {
    .login-overlay {
        position: static;
        transform: none;
        margin: 20px auto;
        width: 90%;
    }
}


/* Make the sidebar a bit narrower on all screen sizes */
.sidebar {
    max-width: 150px; /* adjust to taste */
    min-width: 120px; /* optional */
}

/* Optional: adjust main content margin if needed */
.main-content {
    /* Bootstrap handles the grid, so usually nothing needed here */
}

/* Make nav links smaller to fit narrower sidebar */
.sidebar .nav-link {
    font-size: 0.9rem;
    padding: 0.4rem 0.5rem;
}

.site-header,
.site-footer {
    background-color: #007847; /* emerald green */
    color: #ffffff; /* keep text readable */
}

    .site-header a.nav-link,
    .site-footer a {
        color: #ffffff;
    }

        .site-header a.nav-link:hover,
        .site-footer a:hover {
            color: #d4edda; /* lighter green/white on hover */
        }