
@font-face {
    font-family: 'mfreds';
    src: url('/assets/fonts/MFredsDiamonds-Regular.eot');
    src: url('/assets/fonts/MFredsDiamonds-Regular.eot?#iefix') format('embedded-opentype'),
    url('/assets/fonts/MFredsDiamonds-Regular.woff2') format('woff2'),
    url('/assets/fonts/MFredsDiamonds-Regular.woff') format('woff'),
    url('/assets/fonts/MFredsDiamonds-Regular.ttf') format('truetype'),
    url('/assets/fonts/MFredsDiamonds-Regular.svg#MFredsDiamonds-Regular') format('svg');
    font-weight: normal;
    font-style: normal;
}

.home_banner {
    min-height: 0;
}
.navbar-wrap {
    padding: 0;
}
.navbar.navbar-default.navbar-fixed-top.main-nav {
    position: fixed;
    padding: 24px 0;
    background-color: #fff;

}
.crossfade {
    position: relative;
    min-height: 500px;
    height:100vh;
    width: 100%;
    background-color: #000;
}

.crossfade > figure {
    animation: imageAnimation 25s linear infinite 0s;
    backface-visibility: hidden;
    background-size: cover;
    background-position: center center;
    color: transparent;
    opacity: 0;
    position: absolute;
    bottom: 0;
    left: 0;
    top: 89px;
    width: 100%;
    z-index: 0;
    margin: 0;
    padding: 0;
}

.header-container {
    display: flex;
    justify-content: center;
    align-items: center;
    position: absolute;
    bottom: 0;
    left: 0px;
    top: 89px;
    width: 100%;
    text-transform: uppercase;
    text-rendering: optimizeLegibility;
}

#home-header:after {
    content: '';
    display: block;
    padding-bottom: 100%;
}

.home-header__content {
    width: 100%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.home-header__content a {
    display: block;
    margin-top: 3rem;
    color: #d0523a;
    font-family: 'nobel', serif;
    font-size: 30px;
    letter-spacing: 3px;
    font-weight: bold;
}

.header-container h1 {
    font-family: 'nobel', serif;
    font-size: 7rem;
    letter-spacing: 10px;
    font-weight: bold;
    margin: 0 0 30px 0;
}

.header-container h3 {
    font-family: 'nobel', serif;
    font-size: 2.3rem;
    letter-spacing: 3px;
    margin: 0;
    padding: 1rem 2rem 0;
}
.header-container p {
    margin-top: 30px;
}

.crossfade > figure:nth-child(1) {
    background-image: url('/assets/images/PortsideCarousel-1.jpg');
}
.crossfade > figure:nth-child(2) {
    animation-delay: 5s;
    background-image: url('/assets/images/PortsideCarousel-2.jpg');
}
.crossfade > figure:nth-child(3) {
    animation-delay: 10s;
    background-image: url('/assets/images/PortsideCarousel-3.jpg');
}
.crossfade > figure:nth-child(4) {
    animation-delay: 15s;
    background-image: url('/assets/images/PortsideCarousel-4.jpg');
}
.crossfade > figure:nth-child(5) {
    animation-delay: 20s;
    background-image: url('/assets/images/PortsideCarousel-6.jpg');
}
.crossfade .button_link {
    background: #fff;
    color: #183259;
}
.crossfade .button_link:hover {
    color: #ea4d35;
}

@keyframes imageAnimation {
    0% {
        animation-timing-function: ease-in;
        opacity: 0;
    }
    8% {
        animation-timing-function: ease-out;
        opacity: 1;
    }
    17% {
        opacity: 1
    }
    25% {
        opacity: 0
    }
    100% {
        opacity: 0
    }
}

#home-header {
    position: relative;
    width: 35%;
    color:#fff;
    background: rgba(30, 36, 76, 0.65);
    border-radius: 50%;
}

@media (max-width: 1439px) {
    #home-header {
        width: 50%;
    }
}

@media (max-width: 1280px) {
    #home-header {
        width: 70%;
    }
}

@media (max-width: 425px) {
    #home-header {
        width: 90%;
    }
    .header-container h1 {
        font-size: 5.5rem;
    }
    .header-container h3 {
        font-size: 2rem;
    }
    .header-container a {
        font-size: 2rem;
    }
}

@media (max-width: 1024px) {
    .crossfade {
        height:calc(100vh - 75px)
    }
    .crossfade > figure {
        top:0
    }
    .crossfade > .header-container {
        top:0
    }
}