@font-face {
    font-family: "Channe";
    src: url("fonts/channe.ttf") format("truetype"),
        url("fonts/channe.otf") format("opentype");
}

@font-face {
    font-family: "Nova";
    src: url("fonts/nova-light.otf") format("opentype");
    font-weight: "regular";
}

@font-face {
    font-family: "Nova";
    src: url("fonts/nova-semibold.otf") format("opentype");
    font-weight: 600;
}

@font-face {
    font-family: "Thunder";
    src: url("fonts/thunder.otf") format("opentype");
}

body {
    background: white;
}

* {
    box-sizing: border-box !important;
}

a {
    display: inline-block;
}

.container-fluid {
    position: relative;
    width: 100%;
    height: 100vh;
    object-fit: cover;
    padding: 0 !important;
    margin: 0 !important;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    background: black;
    opacity: 0.5;
    width: 100%;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 7;
}

.overlay img {
    height: 300px;
    position: absolute;
}

video {
    height: 100vh;
    width: 100%;
    object-fit: cover;
    position: relative;
}

.carousel {
    display: none;
}

.kenburn-slideshow {
    position: absolute;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.kenburn-slideshow {
    position: absolute;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.kenburn-slideshow-image {
    position: absolute;
    width: 100%;
    height: 100%;
    background: no-repeat 50% 50%;
    background-size: cover;
    animation-name: kenburns;
    animation-timing-function: linear;
    animation-iteration-count: infinite;
    animation-duration: 16s;
    opacity: 1;
    transform: scale(1.2);
}

.kenburn-slideshow-image:nth-child(1) {
    animation-name: kenburns-1;
    z-index: 3;
}

.kenburn-slideshow-image:nth-child(2) {
    animation-name: kenburns-2;
    z-index: 2;
}

.kenburn-slideshow-image:nth-child(3) {
    animation-name: kenburns-3;
    z-index: 1;
}

.kenburn-slideshow-image:nth-child(4) {
    animation-name: kenburns-4;
    z-index: 0;
}


@keyframes kenburns-1 {
    0% {
        opacity: 1;
        transform: scale(1.2);
    }

    1.5625% {
        opacity: 1;
    }

    23.4375% {
        opacity: 1;
    }

    26.5625% {
        opacity: 0;
        transform: scale(1);
    }

    100% {
        opacity: 0;
        transform: scale(1.2);
    }

    98.4375% {
        opacity: 0;
        transform: scale(1.21176);
    }

    100% {
        opacity: 1;
    }
}

@keyframes kenburns-2 {
    23.4375% {
        opacity: 1;
        transform: scale(1.2);
    }

    26.5625% {
        opacity: 1;
    }

    48.4375% {
        opacity: 1;
    }

    51.5625% {
        opacity: 0;
        transform: scale(1);
    }

    100% {
        opacity: 0;
        transform: scale(1.2);
    }
}

@keyframes kenburns-3 {
    48.4375% {
        opacity: 1;
        transform: scale(1.2);
    }

    51.5625% {
        opacity: 1;
    }

    73.4375% {
        opacity: 1;
    }

    76.5625% {
        opacity: 0;
        transform: scale(1);
    }

    100% {
        opacity: 0;
        transform: scale(1.2);
    }
}

@keyframes kenburns-4 {
    73.4375% {
        opacity: 1;
        transform: scale(1.2);
    }

    76.5625% {
        opacity: 1;
    }

    98.4375% {
        opacity: 1;
    }

    100% {
        opacity: 0;
        transform: scale(1);
    }
}

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

.visible-xs {
    display: none !important;
}

.banner-content {
    color: white;
    text-align: center;
    margin-left: auto;
    margin-right: auto;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 10;
}

.banner-logo {
    width: 150px;
    margin-bottom: 15px;
}

.banner-content p {
    font-size: 21px;
}

/* Home Styles */
.home-logo {
    position: fixed;
    top: 15px;
    left: 50%;
    transform: translateX(-50%);
    height: 80px;
    z-index: 1000;
}

.home-wrapper {
    height: 100vh;
    min-height: 500px;
    overflow: hidden;
    position: relative;
    display: flex;
}

.home-content {
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    flex-grow: 1;
    flex-basis: 100%;
    padding: 40px 15px;
}

.home-inner {
    position: relative;
    color: white;
    width: 100%;
    text-align: center;
}

.home-inner h2 {
    font-size: 30px;
    font-weight: 400;
    margin-bottom: 20px;
    font-family: 'Channe', sans-serif;
}

.btn-home {
    padding: 10px 25px;
    background: white;
    border-radius: 4px;
    line-height: 1;
    color: #333;
    overflow: hidden;
    font-size: 18px;
    text-decoration: none !important;
    font-weight: 500;
    transition: 0.3s ease;
    font-family: 'Thunder', sans-serif;
}

.btn-home:hover {
    background: #333;
    color: white;
}

.as-background,
.overlay-shadow {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
}

.as-background {
    object-fit: cover;
    transition: 0.4s ease-in-out;
}

.overlay-shadow {
    background: rgba(0, 0, 0, 0.4);
}

@media(max-width: 768px) {
    .home-logo {
        height: 50px;
    }

    .home-wrapper {
        flex-direction: column;
    }
}

/* Extra small devices (phones, 600px and down) */
@media only screen and (min-width: 300px) and (max-width:415px) {
    video {
        display: none;
    }

    .visible-xs {
        display: block !important;
    }
}
