﻿html {
  font-size: 14px;
}


@media (min-width: 768px) {
   
    body {

        font-size: 12px;
    }
}

/* Large monitors */
@media (min-width: 1200px) {
    .container {
        max-width: 1140px;
        margin: 0 auto;
        font-size: 18px;
    }
}
.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;
}

.form-floating > .form-control-plaintext::placeholder, .form-floating > .form-control::placeholder {
  color: var(--bs-secondary-color);
  text-align: end;
}

.form-floating > .form-control-plaintext:focus::placeholder, .form-floating > .form-control:focus::placeholder {
  text-align: start;
}
.navbar .dropdown-toggle {
    color: #000 !important;
}

/* Dropdown items default + hover/focus */
.dropdown-menu .dropdown-item {
    color: #000;
}
.img-wrapper {
    position: relative;
    display: inline-block;
    width: 100%; /* fluid width */
}

    .img-wrapper img {
        width: 100%;
        height: auto;
        display: block;
    }

.overlay-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
   
    padding: 0.5em 1em;
    border-radius: 4px;
    /* Fluid font size that adapts to screen width */
    font-size: clamp(0.8rem, 2.5vw, 1.5rem);
    text-align: center;
    white-space: normal; /* allow wrapping */
    max-width: 90%; /* prevent overflow on narrow screens */
    word-wrap: break-word;
}
.overlay-text--center {
    top: 50%;
    left: 50%;
    right: auto;
    bottom: auto;
    transform: translate(-50%, -50%);
   
    border-radius: 6px;
}
.table td, .table th {
    vertical-align:middle;
    text-align: center;
}
.table img {
    max-width: 100px;
    height: auto;
}

.full-width {
    width: 100%;
    border-collapse: collapse; /* cleaner borders */
}

    .full-width th, .full-width td {
        padding: .5rem;
    }

