html {
    width: 100%;
    overflow-x: clip;
}

body {
    width: 100%;
    min-width: 320px;
    overflow-x: clip;
}

img,
svg,
video,
canvas {
    max-width: 100%;
}

iframe,
embed,
object {
    max-width: 100%;
}

pre,
code {
    overflow-wrap: anywhere;
}

input,
select,
textarea,
button {
    max-width: 100%;
}

textarea,
input[type="text"],
input[type="email"],
input[type="tel"],
input[type="url"],
input[type="number"],
input[type="password"],
select {
    min-width: 0;
}

.container,
.container-fluid {
    min-width: 0;
}

.row > * {
    min-width: 0;
}

.navbar-brand {
    max-width: calc(100% - 56px);
    white-space: normal;
}

.navbar-brand img {
    max-width: 48px;
    height: auto;
}

.table-responsive {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

@media (max-width: 1199.98px) {
    .navbar .navbar-collapse {
        padding-top: 0.5rem;
    }

    .navbar .navbar-nav {
        align-items: stretch !important;
    }

    .navbar .navbar-nav .nav-link {
        width: fit-content;
        max-width: 100%;
    }

    .possess-footer .footer-detail,
    .possess-footer .footer-link {
        overflow-wrap: anywhere;
    }
}

@media (max-width: 767.98px) {
    .container,
    .container-fluid {
        --bs-gutter-x: 1.25rem;
    }

    .row {
        --bs-gutter-x: 1rem;
    }

    .modal-dialog {
        margin: 0.75rem;
    }

    .modal-content {
        max-height: calc(100vh - 1.5rem);
        overflow-y: auto;
    }

    .possess-footer {
        text-align: center;
    }

    .possess-footer .footer-brand {
        justify-content: center;
    }

    .possess-footer .footer-tagline {
        margin-right: auto;
        margin-left: auto;
    }

    .possess-footer .footer-heading {
        margin-top: 0.5rem;
    }

    .possess-footer .footer-detail {
        justify-content: center;
    }

    .possess-footer .footer-detail span,
    .possess-footer .footer-detail a {
        text-align: left;
    }

    .possess-footer .footer-bottom {
        overflow-wrap: anywhere;
    }
}

@media (max-width: 575.98px) {
    h1 {
        font-size: clamp(1.75rem, 8vw, 2.4rem);
    }

    h2 {
        font-size: clamp(1.4rem, 6.5vw, 2rem);
    }

    .btn:not(.btn-sm) {
        white-space: normal;
    }

    .possess-footer .footer-brand img {
        width: 50px;
        height: 50px;
    }
}
