@import url('https://fonts.googleapis.com/css2?family=Nunito:ital,wght@0,200..1000;1,200..1000&display=swap');
@import url('https://fonts.googleapis.com/css2?family=DM+Serif+Text:ital@0;1&family=Foldit:wght@100..900&family=Nunito:ital,wght@0,200..1000;1,200..1000&display=swap');

body {
    display: flex;
    flex-direction: column;
    background-color: #CAE6F2;
    color: black;
    font-family: "Nunito", serif;
    font-weight: 600;
    font-style: normal;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    width: 100%;
    min-height: 100vh;
}

main {
    margin: 0;
    padding: 0;
    width: 100%;
    flex: 1;
}

footer {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #0E2630;
    color: #A0C5D4;
    width: 100%;
    height: 60px;
}

footer p {
    margin: 0px;
    text-align: center;
    font-size: 20px;
    text-shadow: rgba(0,255,208,1) 0px 0px 21px;
}

.site-header {
    background-color: #376476;
    color: white;
    width: 100%;
}

.site-header .container-fluid {
    min-height: 90px;
}

.header-title {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #173F4F;
    border: 4px solid #A0C5D4;
    font-size: 30px;
    color: #A0C5D4;
    border-radius: 15px;
    padding: 10px 25px;
    font-family: "DM Serif Text", serif;
    font-weight: 400;
    font-style: italic;
    text-shadow: 0px 0px 5px #69AEC9;
    min-width: 180px;
}

.header-nav {
    width: 100%;
}

.header-nav .nav {
    flex-wrap: nowrap;
}

@media (min-width: 992px) {
    .header-nav {
        max-width: 50%;
    }

    .header-title {
        max-width: 220px;
    }
}

.header-nav .header-link {
    color: white;
    font-weight: 700;
    font-size: 1.5rem;
    text-shadow: 0px 0px 5px #69AEC9;
    border: 2px solid transparent;
    border-radius: 0px;
    padding: 0.75rem 1.75rem;
    transition: opacity 0.3s ease, border-color 1s ease, background-color 1s ease;
}

.header-nav .header-link:hover {
    opacity: 0.7;
}

.header-nav .header-link.active {
    animation: borderFadeIn 1s forwards;
}

.header-nav .header-link.active:hover {
    opacity: 1;
}

@keyframes borderFadeIn {
    0% {
        border-color: transparent;
        background-color: transparent;
    }

    100% {
        border-color: #A0C5D4;
        background-color: #173F4F;
    }
}

.text p {
    font-size: 22px;
    color: black;
    line-height: 1.6;
    text-align: left;
    margin: 20px 5px;
}

.image {
    position: relative;
}

.image img,
.map-iframe {
    border: 5px solid #335F71;
    border-radius: 10px;
    object-fit: cover;
    -webkit-box-shadow: 0px 0px 178px 11px rgba(1,151,221,0.48);
    -moz-box-shadow: 0px 0px 178px 11px rgba(1,151,221,0.48);
    box-shadow: 0px 0px 178px 11px rgba(1,151,221,0.48);
}

.map-iframe {
    width: 100%;
    height: 100%;
}

section {
    border-bottom: 5px solid #0E2630;
    width: 100%;
    height: auto;
}

section:last-of-type {
    border-bottom: 0px solid #0E2630;
    margin-bottom: 60px;
}

.section-title {
    font-size: 36px;
    color: #376476;
    margin: 30px 0px;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: bold;
    text-align: left;
    text-shadow: rgba(1,151,221,0.74) 0px 0px 45px;
}

.hidden-link {
    text-decoration: none;
    color: transparent;
    opacity: 1;
}

.hidden-link:hover {
    opacity: 0.5;
}

span.bold {
    font-weight: bold;
}

.contact-modal .modal-dialog {
    max-width: 700px;
}

.contact-modal-content {
    border-color: #A0C5D4;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    background-color: #173F4F;
    border: 5px solid #A0C5D4;
    border-radius: 8px;
    color: white;
}

.contact-modal-content .btn-close {
    filter: invert(1);
    opacity: 0.8;
}

.contact-modal-content .btn-close:hover {
    opacity: 1;
}

@media (max-width: 1081px) {
    .site-header .container-fluid {
        min-height: 250px;
    }

    .header-title {
        width: 80%;
        font-size: calc(1.8rem + 0.5vw);
    }

    .header-nav {
        max-width: 100%;
    }

    .section-title {
        text-align: center !important;
        margin: 0px 0px 30px !important;
    }

    .text p {
        text-align: center;
    }
}
