html {
    font-size: 16px;

    --color-navy: #1b2538;
    --color-gold: #bfa56a;
    --color-light: #c9c9c9;
}

.body {
    background-color: var(--color-light);
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

h1 {
    font-family: "PT Serif", serif;
    font-size: clamp(1.5rem, 2.5vw, 3rem);
    font-weight: 900;
}

h2 {
    font-family: "PT Serif", serif;
    font-size: clamp(1.3rem, 2.2vw, 2.5rem);
    font-weight: 900;
}

h3 {
    font-family: "PT Serif", serif;
    font-size: clamp(1.1rem, 2.1vw, 2rem);
    font-weight: 900;
}

h4 {
    font-family: "PT Serif", serif;
    font-size: 1.5rem;
    font-weight: 900;
}

h5 {
    font-family: "PT Serif", serif;
    font-size: 1.0rem;
    font-weight: 200;
}

p {
    font-family: "PT Serif", serif;
    font-size: clamp(0.4rem, 1.1rem, 1.4rem);
    font-weight: normal;
}

@media (min-width: 600px) {
    h4 {
        font-family: "PT Serif", serif;
        font-size: 1.6rem;
        font-weight: 900;
    }
}

@media (min-width: 1024px) {
    h4 {
        font-family: "PT Serif", serif;
        font-size: 1.6rem;
        font-weight: 900;
    }
}

.navbar {
    background-color: #0e1520;
    font-weight: bold;
    color: aliceblue;
}

.navbar-scrolled {
    transition: all 0.2s ease;
    font-family: 'PT Serif', serif;
    font-size: 0.8rem;
    background-color: #0e1520;
    padding: 0px;
}

.navbar-scrolled .navbar-toggler {
    background-color: #c7c7c7;
}

.navbar-scrolled .brand-text {
    font-size: 1.5rem;
    text-wrap-mode: nowrap;
}

.brand {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-top: 5px;
    margin-bottom: 5px;
}

.brand-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.brand-text h3 {
    margin: 0px;
    font-size: max(16px, 0.8rem);
}

.brand-text p {
    margin: 0px;
    font-size: max(14px, 0.6rem);
}

.logo {
    width: 3rem;
    height: auto;
}

.navbar-scrolled .logo {
    width: 2.0rem;
    margin-top: 0px;
    margin-bottom: 0px;
}

.logo-extended {
    width: 16rem;
    height: auto;
}

.topic {
    text-align: center;
    justify-content: center;
    align-items: center;
    background-color: #0e1520;
    padding-top: 6rem;
    padding-bottom: 2rem;
    font-family: "PT Serif", serif;
    font-weight: 700;
    font-style: normal;
    color: gainsboro;

    background-image: url("img/PATTERN2.svg");
    background-size: 80px;
    background-repeat: repeat;
    background-attachment: fixed;
    background-position: center top;

}

hr {
    border: 1px solid var(--color-navy);
    margin: 0px 0px;
    opacity: 100%;
}

.content {
    flex: 1;
}

.footer {
    background-color: #0e1520;
    color: azure;
    margin-top: auto;
}

.footer-grid {
    display: grid;
    gap: 0.1rem;
    grid-template-columns: repeat(1, 1fr);
    justify-content: center;
    align-items: center;
    text-align: center;
    place-items: left;
}

@media (min-width: 600px) {
    .footer-grid {
        grid-template-columns: repeat(1, 1fr);
    }
}

@media (min-width: 1024px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        place-items: center;
    }
}

.footer-card {
    position: relative;
    bottom: 0px;
    text-align: center;
    display: flex;
    padding: 10px;
    text-align: start;
    flex-direction: column;
    justify-content: space-evenly;
    height: auto;
}

.footer-card-contact {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
}

.navbar .navbar-toggler {
    background-color: #556881;
    border: 1px solid transparent;
}

.navbar .navbar-toggler:hover {
    background-color: #C0B37F;
    border: 1px solid transparent;
}

.navbar .nav-link {
    color: #ffffff;
    font-size: 0.9rem;
    white-space: nowrap;
}

.navbar .nav-link:hover {
    color: #C0B37F;
    text-decoration: underline;
}

.logo-container {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 100vw;
    overflow: hidden;
}

.logo-extension {
    flex: 1;
    display: flex;
    align-items: center;
}

.logo-extension-left {
    align-items: end;
    justify-content: end;
}

.logo-extension-right {
    align-items: start;
    justify-content: start;
}

.logo-extension img {
    width: clamp(5rem, 6vw, 7rem);
    height: auto;
}

.logo-center {
    flex: 0 0 auto;
    padding: 0 1rem;
}

.logo-center img {
    width: clamp(2rem, 3vw, 5rem);
    height: auto;
}

.signature-text {
    font-family: "Dancing Script" !important;
}

.accent-text {
    font-family: "Fraunces", serif;
    color: #031229;
    font-weight: 900;
}

.oblique-bottom {
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0% 60%);
}

.oblique-top {
    clip-path: polygon(0 0, 100% 20%, 100% 100%, 0% 100%);
}