:root {
    --color-primary: #032B4E;
    --color-secondary: #718035;
    --color-tertiary: #5698C1;
    --color-tint: #F2F2F2;
    --color-body: #747474;
    --font-heading: 'Libre Baskerville', sans-serif;
    --font-lead: 'Montserrat', serif;
    --font-body: 'Montserrat', sans-serif;
    --fs-sm: clamp(0.88rem, -0.08vi + 0.9rem, 0.83rem);
    --fs-base: clamp(0.94rem, 0.11vi + 0.91rem, 1rem);
    --fs-md: clamp(1rem, 0.36vi + 0.91rem, 1.2rem);
    --fs-lg: clamp(1.07rem, 0.68vi + 0.9rem, 1.44rem);
    --fs-xl: clamp(1.14rem, 1.07vi + 0.87rem, 1.73rem);
    --fs-xxl: clamp(1.22rem, 1.56vi + 0.82rem, 2.07rem);
    --fs-xxxl: clamp(1.3rem, 2.17vi + 0.75rem, 2.49rem);
    --border-radius: 15px;
}


body { 
    line-height: 1.45;
    background-color: white;
    font-size: var(--fs-base);
    font-family: var(--font-body);
    color: var(--color-body);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

html {
}

/* TYPE */

/* Fluid Typography Scale */

h1, .fs-h1 {
    color: var(--color-primary);
    font-family: var(--font-heading);
    font-size: var(--fs-xxxl);
    text-transform: uppercase;
}
h2, .fs-h2 {
    color: var(--color-primary);
    font-family: var(--font-heading);
    font-size: var(--fs-xxl);
    text-transform: uppercase;
}
h3, .fs-h3 {
    color: var(--color-primary);
    font-family: var(--font-heading);
    font-size: var(--fs-xl);
     text-transform: uppercase;
}
h4, .fs-h4 {
    color: var(--color-primary);
    font-family: var(--font-heading);
    font-size: var(--fs-lg);
     text-transform: uppercase;
}
h5, .fs-h5 {
    color: var(--color-primary);
    font-family: var(--font-heading);
    font-size: var(--fs-md);
     text-transform: uppercase;
}
h6, .fs-h6 {
    color: var(--color-primary);
    font-family: var(--font-heading);
    font-size: var(--fs-sm);
     text-transform: uppercase;
}
p, .fs-p {
    font-size: var(--fs-base);
}

.fs-sm {
    font-size: var(--fs-sm);
}

.fs-md {
    font-size: var(--fs-md);
}

.fs-lg {
    font-size: var(--fs-lg);
}

.fs-xl {
    font-size: var(--fs-xl);
}



a {
    color: var(--color-primary);
    text-decoration: none;
}

a:hover {
    color: var(--color-secondary);
    text-decoration: underline;
}

p {
    margin-bottom: 20px;
    font-family: var(--font-body);
}

p.lead {
    font-family: var(--font-lead);
}

.btn {
    border-radius: var(--border-radius);
}

.btn-primary {
    color: #fff;
    background-color: var(--color-primary);
    border: 0;
    text-decoration: none;
}

.btn-primary:hover {
    color: #fff;
    background-color: var(--color-secondary);
    border: 0;
    text-decoration: none;
}

.btn-secondary {
    color: #fff;
    background-color: var(--color-secondary);
    border: 0;
    text-decoration: none;
}

.btn-secondary:hover {
    color: #fff;
    background-color: var(--color-primary);
    border: 0;
    text-decoration: none;
}

.btn-tertiary {
    color: #fff;
    background-color: var(--color-tertiary);
    border: 0;
    text-decoration: none;
}

.btn-tertiary:hover {
    color: #fff;
    background-color: var(--color-primary);
    border: 0;
    text-decoration: none;
}

/* LAYOUT */

header {
    background-color: rgba(255,255,255,0.4);
    color: white;
    width: 100%;
    position: absolute;
    top: 0;
    z-index: 2;
}

.subHeader {
    background-color: var(--color-primary);
    font-size: 0.8rem;
    padding: 10px 0;
    text-align: right;
}

.subHeader a {
    color: var(--color-secondary);
}

.navbar {
    padding: 0;
}

.navbar-brand {
    background-color: rgba(255,255,255,0.6);
    
    & img {
        padding: 15px;
    }
}

.navbar-nav .nav-item {
    padding-left: .5rem !important;
    padding-right: .5rem !important;
}

.navbar-nav .nav-link {
    color: var(--color-primary);
    font-family: var(--font-heading);
    font-size: var(--fs-base);
    text-transform: uppercase;
    padding-left: 0px !important;
    padding-right: 0px !important;
    border-bottom: 1px solid transparent;
}

.navbar-nav .nav-link:hover {
    text-decoration: none;
    border-bottom: 1px solid var(--color-body);
}

.navbar-nav .nav-link.active {
    color: var(--color-primary);
    font-size: var(--fs-base);
    text-transform: uppercase;
    padding-left: 0px !important;
    padding-right: 0px !important;
    border-bottom: 1px solid var(--color-body);
}

.contact-nav .nav-link {
    color: var(--color-primary);
    font-size: var(--fs-sm);
    text-transform: uppercase;
}

.contact-nav .nav-link.social {
    padding: .5rem;
}

.btn-group button:first-child {
    margin-right: 4px;
}

.pic-montage {
    border-top: 1px solid white;
}

.pic-montage .row div {
    height: 500px;
}

.pic-montage .row div img {
    height: 100%;
    width: 100%;
    object-fit: cover;
    object-position: 50% 20%;
}

.tint {
    background-color: var(--color-tint);
}

footer {
    background-color: whote;
    color: var(--color-body);
    padding: 30px 0;
}

footer a, footer .nav-link {
    color: var(--color-body);
    text-transform: uppercase;
}

footer a:hover, footer .nav-link:hover {
    color: var(--color-secondary);
    text-transform: uppercase;
}

.home-video {
    position: relative;
    z-index: 1;
    
    & .watermark {
        position: absolute;
        bottom: 0;
        left: 0;
        z-index: 10;
        opacity: 0.5;
    }
    
    & .watermark.faded {
        opacity: 0.5;
    }
    
    & video {
        width: 100%;
        height: 100%;
        object-fit: cover;
        pointer-events: none;
    }
    
}

.container-map {
    position: relative;
    z-index: 1;
    
    & .watermark {
        position: absolute;
        bottom: 0;
        left: 0;
        z-index: 2;
        opacity: 0.5;
        pointer-events: none;
    }
}

.offcanvas-body {
    flex-direction: column;
}

#map {
    height: 650px;
}


/* POPUP BOX */

.popUpBoxBar {
    min-height: 700px;
}
.popUpBox {
    position: relative;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
    display: flex;
    justify-content: center;
    align-items: center;  
    color: white;
    flex-direction: column;
    text-align: center;
}

.popUpBox > div {
    z-index: 2;
    position: relative;
    top: 10%;
-webkit-transition: all 0.4s ease-in-out 0s;
    -moz-transition: all 0.4s ease-in-out 0s;
    transition: all 0.4s ease-in-out 0s;
}

.popUpBox .infoBox {
    text-align: center;
    display: flex;
    flex-direction: column;
    position: relative;
    -webkit-transition: all 0.4s ease-in-out 0s;
    -moz-transition: all 0.4s ease-in-out 0s;
    transition: all 0.4s ease-in-out 0s;
    top: 50%;
    left: 50%;
    opacity: 0;
    -webkit-transform: translate(-50%,-50%);
    -ms-transform: translate(-50%,-50%);
    transform: translate(-50%,-50%);
}

.popUpBox:hover > div {
    top: 0%;
}

.popUpBox:hover .infoBox {
    top: 40%;
    opacity: 1;
}

.popUpBox p {
    font-size: 1.3rem;
    font-weight: 100;
    max-width: 34ch;
    margin: 0 auto 30px auto;
}

.popUpBox .infoBox .btn {
    width: 50%;
    margin: 0 auto;

}

.popUpBox h3 {
    text-transform: uppercase;
    font-size: 3.5rem;
    font-weight: 100;
    margin-bottom: 20px;
    line-height: 4rem;
}


.popUpBox::before {
    content: "";
    position: absolute;
    top: 0px;
    right: 0px;
    bottom: 0px;
    left: 0px;
    background-color: rgba(0,0,0,0.75);
    z-index: 1;
}


/* ZOOM BOX */

.zoomBoxBar {
    min-height: 450px;
}

.zoomBox {
    position: relative;
    color: white;
    text-align: center;
    overflow: hidden;
    background-color: black;
    background-clip: content-box;
}

.zoomBox a {
    height: 100%;
    width: 100%;
    overflow: hidden;
    display: block;
}

.zoomBox img {
    height: 100%;
    width: 100%;
    object-fit: cover;
    opacity: 1;
    transition: all .5s;
}

.zoomBox div h3 {
    z-index: 2;
    position: absolute;
    color: white;
    text-transform: uppercase;
    font-size: 0.9rem;
    -webkit-transition: all 0.4s ease-in-out 0s;
    -moz-transition: all 0.4s ease-in-out 0s;
    transition: all 0.4s ease-in-out 0s;
    top: 50%;
    left: 50%;
    opacity: 0;
    -webkit-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
}

.zoomBox:hover div h3 {
    top: 50%;
    opacity: 1;
}

.zoomBox:hover img {
    transform: scale(105%);
    opacity: 0.6;
}



/* UTILITIES */

.centered {
    display: flex;
    justify-content: center;
    align-items: center;
}

.object-fit {
    object-fit: cover;
    height: 100%;
    width: 100%;
}

.clamp {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;  
  overflow: hidden;
}

.picScale {
    overflow: hidden;
}

.picScale a img {
    object-fit: cover;
    height: 100%;
    width: 100%;
    -webkit-transition-property: all;
    -webkit-transition-duration: 0.5s;
    -webkit-transition-timing-function: ease;
}

.picScale a:hover img {
    transform: scale(1.03);
}

.btn-text:hover {
    text-decoration: none;
}

.btn-text span {
    display: inline-block;
    transition: 0.2s ease-in;
}

.btn-text:hover span {
    transform: translateX(50%);
}

.bg-primary {
    background-color: var(--color-primary) !important;
}

.bg-secondary {
    background-color: var(--color-secondary) !important;
}

.text-primary {
    color: var(--color-primary) !important;
}

.text-secondary {
    color: var(--color-secondary) !important;
}

.text-shadow {
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.35);
}

iframe[title^='YouTube video player'] {
    aspect-ratio: 16 / 9;
    width: 100%;
    height: auto;
}

.fadeInUp-scroll {
    opacity: 0;
    transform: translateY(0px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fadeInUp-scroll.visible {
    opacity: 1;
    transform: translateY(0px);
    transition-delay: 0.5s;
}


/* RESPONSIVE */

.navbar-toggler {
    color: white;
    background-color: var(--color-primary);
    padding: 10px;
}

@media (max-width: 992px) {
    
    .offcanvas {
        background-color: var(--color-primary);
    }
    
    .offcanvas:before {
        content: ' ';
        display: block;
        position: absolute;
        left: 0;
        top: 0;
        width: 100%;
        height: 100%;
        opacity: 0.05;
        background-image: url('./images/watermark.svg');
        background-repeat: no-repeat;
        background-position: 0 0;
        background-size: cover;
        z-index: 1;
    }
    
    .offcanvas-body {
        display: flex;
        flex-grow: unset;
        z-index: 10;
    }    
    
    .offcanvas-header {
        z-index: 10;
    }
    
    .offcanvas-header .btn-close {
        background: none;
        color: white;
        opacity: 1;
        margin: 0 auto;
    }
    
    .navbar-nav .nav-link {
        color: white;
        text-align: center;
    }
    
    .navbar-nav .nav-link.active {
        color: white;
        background-color: rgba(255, 255, 255, 0.1);
        border-bottom: 0;
    }
    
    .contact-nav  {
        margin-top: 30px;
    }
    
    .contact-nav .nav-item  {
        width: 100%;
    }
    
    .contact-nav .nav-link {
        text-align: center;
        color: white;
        padding-left: .5rem !important;
        padding-right: .5rem !important;
    }
    
    #map {
        height: 350px;
    }
}

@media (max-width: 768px) {
    
    footer .nav {
        flex-direction: column;
        justify-content: center !important;
        text-align: center;
    }
        
    .pic-montage .row div {
        height: 300px;
    }
    
    .home-video .watermark {
        object-fit: contain;
        width: 100%;
        height: 100%;
        object-position: bottom left;
    }
    
    .home-video img {
        object-fit: cover;
        width: 100%;
        height: 100%;
        object-position: center center;
    }
        
}

@media (max-width: 576px) {
    
    .navbar-brand {
        & img {
            width: 270px;
        }
    }
        
    .home-video {
        height: 400px;
    }
}