body {
    font-family: 'Roboto Condensed', sans-serif;
}

h2, .h2 {
    font-size: 2.5rem;
}

section [id] {
    scroll-margin-top: 100px;
}

nav.navbar {
    position: sticky;
    top: 0;
    left: 0;
    right: 0;
    z-index: 99;
}

.navbar-brand {
    width: 200px;
    transition: width 0.3s;
}

.active .navbar-brand {
    width: 150px;
}

.navbar-nav .nav-item {
    font-size: 1.2rem;
}

.navbar-nav .nav-item .nav-link {
    color: black;
}

.navbar-nav .nav-item:not(:last-child) {
    margin-right: 5%;
}

a {
    color: #124673;
}

#hero {
    position: relative;
    color: white;
}

#hero video {
    min-height: 500px;
    height: 50vh;
    width: 100%;
    object-fit: cover;
}

#hero h1 {
    position: absolute;
    bottom: 8rem;
    left: 7vw;
    right: 7vw;
    font-weight: bold;
}

#hero #learn-more {
    position: absolute;
    bottom: 3rem;
    left: 7vw;
    right: 7vw;
    font-weight: bold;
    letter-spacing: 1px;
}

.x-margin {
    margin-left: 7vw;
    margin-right: 7vw;
}

.header-line {
    position: relative;
}
.header-line:after {
    content: '';
    position: absolute;
    left: calc(100% + 1rem);
    top: 50%;
    width: 12rem;
    height: 3px;
    background-color: var(--primary);
}

.slick-slide {
    width: 30rem;
    margin-right: 1rem;
}
.carousel {
    margin-left: -7vw;
    margin-right: -7vw;
}
.carousel .card-img-top {
    width: 100%;
    height: 20rem;
    object-fit: cover;
}
.carousel .card {
    /*margin-top: 1rem;*/
    margin-bottom: 1.5rem;
}
.carousel .card-title {
    font-weight: bold;
}
/*.carousel .card-body {
    min-height: 11rem;
}*/

/* show a little bit on the right without center mode */
.slick-list {
    padding-top: 0 !important;
    padding-right: 20% !important;
    padding-left: 7vw !important;
    padding-bottom: 0 !important;
}

.slider-progress-bar {
    position: relative;
    height: 3px;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.1);
}
.slider-progress-meter {
    position: absolute;
    height: 100%;
    width: 0;
    top: 0;
    left: 0;
    background-color: #c1272d;
    transition: width 0.5s;
}

p {
    font-family: 'Roboto', sans-serif;
    font-size: 0.95rem;
    line-height: 1.5;
}

.lead {
    font-size: 1.1rem;
    line-height: 2;
    font-weight: 300;
}

h4, .h4 {
    font-size: 1.25rem;
}

.faded {
    opacity: 0.75;
}

.gray-portion-top {
    position: absolute;
    top: 0;
    right: -7vw;
    left: 0;
    height: 12vh;
    background-color: var(--light);
}

.gray-portion-bottom {
    position: absolute;
    bottom: 0;
    right: -7vw;
    left: -7vw;
    height: 12vh;
    background-color: var(--light);
}

.extra-top-pad-for-deco {
    padding-top: 5rem;
    margin-top: 5rem;
}

.midway-design-1 {
    position: absolute;
    right: -7vw;
    top: 0;
    transform: translateY(-50%);
    pointer-events: none;
    width: 25vw;
    height: auto;
}

.midway-design-2 {
    position: absolute;
    left: 0;
    top: 0;
    transform: translateY(-50%);
    pointer-events: none;
    height: 10rem;
    width: auto;
}

.midway-design-3 {
    position: absolute;
    top: 100%;
    right: calc(9vw + 7vw);
    transform: translateY(-50%);
    pointer-events: none;
    max-width: 25vw;
    height: auto;
}

#contact-details {
    font-size: 1.1rem;
}
#contact-details i {
    width: 2rem;
}
#contact-details a {
    font-weight: bold;
    color: var(--secondary);
}
#contact-details div {
    margin-bottom: 0.5rem;
}

#mobile_menu {
    height: 100vh;
    background: var(--primary);
    display: flex;
    align-items: center;
    color: white;
    width: 0;
    position: fixed;
    top: 0;
    right: 0;
    z-index: 100;
    transition: all 0.5s ease-in;
}
#mobile_menu.active {
    width: 100%;
    position: fixed;
    transition: all 0.25s ease-in;
}
@media only screen and (max-width: 500px) {
    #mobile_menu.active {
        width: 100%;
        position: fixed;
        transition: all 0.25s ease-in;
    }
}
#mobile_menu.active a i {
    opacity: 0;
    transition: opacity 0.25s ease-in;
}
#mobile_menu .closenav {
    position: fixed;
    top: 2rem;
    right: 1rem;
    opacity: 0;
    display: none;
}
#mobile_menu.active h3, #mobile_menu.active .closenav  {
    opacity: 1;
    display: block;
    transition: opacity 1s ease-in;
}
#mobile_menu .nav-link {
    color: white;
    text-align: center;
    font-size: 1.5rem;
}
#mobile_menu nav {
    width: 100%;
}
#mobile_menu ul {
    list-style: none;
    padding-left: 0;
}

#hero h1 {
    font-size: 2rem;
}

#hero #learn-more {
    font-size: 1.2rem;
}

.header-line:after {
    max-width: 2rem;
}

#hero #learn-more a:hover {
    text-decoration: none !important;
}

@media (max-width: 500px) {
    .navbar-brand {
        width: 150px;
    }
}

@media (min-width: 768px) {
    #hero video {
        height: 50vh;
    }

    #hero h1 {
        font-size: 5vw;
    }

    #hero #learn-more {
        font-size: 1rem;
    }

    .header-line:after {
        max-width: 30vw;
    }
}

@media (min-width: 992px) {
    #hero video {
        height: 85vh;
    }

    #hero h1 {
        font-size: 4vw;
    }

    #hero #learn-more {
        font-size: 1rem;
        font-weight: 500;
        text-decoration: none !important;
    }

}