@font-face {
    font-family: 'Aileron';
    src: url('Aileron-Thin.woff2') format('woff2'), url('Aileron-Thin.woff') format('woff');
    font-weight: 300;
    font-style: normal;
    /*font-display: swap;*/
}

html {
    font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

html {
  position: relative;
  min-height: 100%;
}

body {
  font-family: 'Montserrat';
  margin-bottom: 60px;
}

.scrolled-down {
    transform: translateY(-100%);
    transition: all 0.3s ease-in-out;
}

.scrolled-up {
    transform: translateY(0);
    transition: all 0.3s ease-in-out;
}

.scrolled-load {
    transform: translateY(-200px);
}

.navbar-nav .nav-item.active .nav-link,
.navbar-nav .nav-item:hover .nav-link {
    color: #619ea0 !important;
}

/*.front {
    background-color: blue;
    height: 91vh;
    position: relative;
    z-index: 2;
    width: 100%;
}

.video {
    height: 100vh;
    width: 100%;
    margin-top: -100vh;
    position: sticky;
    top: 0;
}*/

.background-video {
    height: 900px;
    width: 100vw;
    object-fit: cover;
    position: fixed;
    left: 0;
    right: 0;
    top: 70px;
    bottom: 0;
    z-index: -2;
}

.background-cover {
    background-color: rgba(50, 50, 50, 0.8);
    height: 900px;
    width: 100vw;
    object-fit: cover;
    position: fixed;
    left: 0;
    right: 0;
    top: 70px;
    bottom: 0;
    z-index: -1;
}

/*@media (max-width: 750px) {
    #background-video {
        display: none;
    }

    body {
        background: url("https://assets.codepen.io/6093409/river.jpg");
        background-size: cover;
    }
}*/

.page-bg {
    z-index:500;
    opacity: 100;
    position: fixed;
    top: 0;
    left: 0;
    height: 100vh;
    width: 100vw;
    /*background: url(http://studi0.ml/EzJsucI.jpg) no-repeat center center fixed;*/
    background-color: black;
    background-size: cover;
    animation-name: fadeOut;
    animation-iteration-count: 1;
    animation-timing-function: ease-in-out;
    animation-duration: 3s;
    animation-fill-mode: forwards;
    animation-delay:4s;
}

@keyframes fadeOut {
    100% {
        opacity: 0;
    }

    0% {
        opacity: 1;
    }
}

/*phone device*/
@media screen and (min-width: 400px) {
    .AnimatedLogo{
        width:90vw;
        object-fit: contain;
    }
    .LandingImage {
        /*background-size: 250%;
        background-position-x: -350px;
        height: 600px;*/
        height: 600px;
        background-size: cover;
        background-position: center top;
    }
    .myHeader {
        font-family: 'Aileron';
        font-weight: 100;
        font-size: 35px;
    }

}

/*tablet device*/
@media screen and (min-width: 767px) {
    .AnimatedLogo {
        width: 550px;
        object-fit: contain;
    }

    .LandingImage {
        /*background-size: 150%;
        background-position-x: -200px;
        height: 900px;*/
        height: 750px;
        background-size: cover;
        background-position: center top;
    }
    .myHeader {
        font-family: 'Aileron';
        font-weight: 100;
        font-size: 55px;
    }

}

/*laptop device*/
@media screen and (min-width: 1300px) {
    .AnimatedLogo {
        width: 550px;
        object-fit: contain;
    }
    .LandingImage {
        /*background-size: 100%;
        height: 900px;*/
        height: 900px;
        background-size: cover;
        background-position: center top;
    }
    .myHeader {
        font-family: 'Aileron';
        font-weight: 100;
        font-size: 55px;
    }

}

/*Large Screen > 1080 device*/
@media screen and (min-width: 1921px) {
    .AnimatedLogo {
        width: 550px;
        object-fit: contain;
    }
    .LandingImage {
        /*
        background-size: 100%;
        height: 900px;*/
        height: 900px;
        background-size: cover;
        background-position: center top;
    }
    .myHeader {
        font-family: 'Aileron';
        font-weight: 100;
        font-size: 55px;
    }

}