@font-face {
    font-family: geely-font;
    src: url("../fonts/geely-font.ttf");
}

@font-face {
    font-family: inter-regular;
    src: url("../fonts/Inter-Regular.ttf");
}

@font-face {
    font-family: opensans-regular;
    src: url("../fonts/Opensans-Regular.ttf");
}

body {
    font-family: opensans-regular;
    color: white;
    background-color: #070e14;
}

b,
strong,
.font-weight-bold {
    font-family: geely-font;
}

h2.title.font-weight-bold {
    font-family: inter-regular;
}

.text-lime {
    color: #A0B742;
}

.cta-buttons .btn.btn-primary {
    margin: 5px 10px;
    width: 200px;
}

.pagination {
    position: fixed;
    top: 50%;
    transform: translateY(-50%);
    right: 20px;
    /* height:320px; */
    font-size: 0.8em;
    z-index: 20;
    list-style: none;
    display: block;
}

.pagination a {
    display: block;
    width: 80px;
    height: 3rem;
    border-radius: 50%;

    color: #fff;
    position: relative;
    padding: 4px;
}

.pagination a.active:after {
    background: transparent;
    border: 1px solid #aaa;
    width: 15px;
    height: 15px;
    right: 4px;
}

.pagination a .hover-text {
    position: absolute;
    right: 30px;
    top: 50%;
    transform: translateY(-50%);
    opacity: 0;
    transition: opacity 0.5s ease;
    text-shadow: 1px 1px 1px black;
}

.pagination a:hover .hover-text {
    opacity: 1;
}

.pagination a:after {
    width: 15px;
    height: 15px;

    display: block;
    background: #aaa;
    border-radius: 50%;
    content: '';
    position: absolute;
    margin: auto;
    top: 0;
    right: 4px;
    bottom: 0;
}

@media screen and (max-width: 768px) {
    .pagination {
        right: 15px;
    }

    .pagination a {
        width: 60px;
        height: 2rem;
        padding: 8px;
    }

    .pagination a.active:after {
        width: 10px;
        height: 10px;
        right: 4px;
    }

    .pagination a:after {
        width: 10px;
        height: 10px;
    }
}

@media screen and (max-width: 420px) {
    .pagination {
        right: 10px;
        top: 7%;
        transform: none;
    }

    .pagination a {
        width: 40px;
        height: 1rem;
        padding: 12px;
    }

    .pagination a.active:after {
        width: 10px;
        height: 10px;
        right: 4px;
    }

    .pagination a:after {
        width: 10px;
        height: 10px;
    }
}

/* video::-webkit-media-controls-enclosure {
    position: absolute;
    top: 0;
    display: block;
} */

.feature .landing {
    min-height: 80vh;
    margin-top: -100px;
}

.feature .landing-caption {
    width: 640px;
    position: absolute;
    /*top: 50%;*/
    /*left: 25%;*/
    /*transform: translate(-50%, -50%);*/
    top: 70%;
    left: 50%;
    transform: translateX(-50%);
    opacity: 0;
    transition: all 1s ease 0s;
}

.feature .landing-caption-urban {
    width: 420px;
    position: absolute;
    top: 50%;
    left: 75%;
    transform: translate(-50%, -50%);
    text-shadow: 1px 1px darkslategrey;
    opacity: 0;
    transition: all 1s ease 0s;
}

.feature.active .landing-caption, .feature.active .landing-caption-urban {
    opacity: 1;
}

.feature .landing-caption p {
    font-size: 1.3rem;
    padding-left: 3rem;
    padding-right: 3rem;
    line-height: initial;
}

@media screen and (max-width: 768px) {
    .feature .landing-caption, .feature .landing-caption-urban {
        position: relative;
        width: 70%;
        left: 50%;
        top: 2%;
        transform: translateX(-50%);
    }

    .feature .landing-caption p, .feature .landing-caption-urban p {
        font-size: 1.2rem;
        padding-left: 2rem;
        padding-right: 2rem;
    }
}

@media screen and (max-width: 420px) {
    .feature .landing {
        margin-top: 0;
    }

    .feature .landing-caption, .feature .landing-caption-urban p {
        position: relative;
        width: 80%;
        left: 50%;
        top: 3%;
        transform: translateX(-50%);
    }

    .feature .landing-caption p, .feature .landing-caption-urban p {
        font-size: 1rem;
        padding-left: 0;
        padding-right: 0;
    }
}

.feature .carousel-indicators {
    margin-left: 5%;
    margin-right: 5%;
    overflow: hidden;
}

.feature .carousel-indicators .home {
    margin: 0;
}

.feature .carousel-indicators a {
    margin-right: 1rem;
    opacity: 0.3;
    cursor: pointer;
}

.feature .carousel-indicators a:hover {
    opacity: 0.5;
}

.feature .carousel-indicators a.active {
    background: none;
    opacity: 1;
}

.feature .carousel-indicators a img {
    width: 120px;
}

@media screen and (max-width: 768px) {
    .feature .carousel-indicators {
        display: -webkit-box;
    }

    .feature .carousel-indicators a {
        margin-right: 0.5rem;
    }

    .feature .carousel-indicators a img {
        width: 80px;
    }
}

@media screen and (max-width: 539px) {
    .cta-buttons .btn.btn-primary {
        margin: 10px 5px;
    }
}

@media screen and (max-width: 420px) {
    .feature .carousel-indicators {
        display: -webkit-box;
    }

    .feature .carousel-indicators .home {
        margin-top: -0.3em;
    }

    .feature .carousel-indicators a {
        margin-right: 0.4rem;
    }

    .feature .carousel-indicators a img {
        width: 60px;
        margin-bottom: 0.4rem;
    }
}

.feature .carousel-item {
    height: 100vh;
    /* width: 100vw; */
}

.feature .carousel-item .main-caption {
    text-align: left;
    bottom: 25%;
    right: 45%;
    left: 10%;
    padding: 0;
    opacity: 0;
    transition: all 1s linear 0s;
}

.feature.active .carousel-item .main-caption {
    opacity: 1;
}

.feature .carousel-item .side-caption {
    top: 0;
    right: 0;
    left: 100%;
    width: 50%;
    height: 100%;
    text-align: left;
    padding-left: 12%;
    padding-top: 12%;
    padding-right: 64px;
    padding-bottom: 0;
    transition: all 0.5s ease 0s;
}

.feature .carousel-item.active .side-caption {
    left: 50%;
}

.feature .side-caption:after {
    content: "";
    background-image: url("../img/side-bg.png");
    background-size: 100% 100%;
    background-position: top right;
    background-repeat: no-repeat;
    opacity: 0.7;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    position: absolute;
    z-index: -1;
}

@media screen and (max-width: 768px) {
    .feature .carousel-item .main-caption {
        text-align: left;
        bottom: 20%;
        right: 30%;
        left: 10%;
        padding: 0;
        opacity: 0;
        transition: all 1s linear 0s;
    }

    .feature .carousel-item .main-caption .desc {
        font-size: 1.2em;
    }

    .feature .carousel-item .side-caption {
        bottom: 18%;
        left: 0;
        width: 65%;
        height: auto;
        text-align: left;
        padding-left: 12%;
        padding-top: 12%;
        padding-right: 64px;
        padding-bottom: 0;
        font-size: 0.9em;
        transition: all 0.5s ease 0s;
    }

    .feature .carousel-item.active .side-caption {
        left: 20%;
    }

    .feature .carousel-item .side-caption .title {
        font-size: 1.8em;
    }

    .feature .carousel-item .side-caption .desc {
        font-size: 1.2em;
    }

    .feature .side-caption:after {
        background: none;
    }
}

@media screen and (max-width: 420px) {
    .feature .carousel-item .main-caption {
        text-align: left;
        top: 56%;
        right: 20%;
        left: 10%;
        padding: 0;
        opacity: 0;
        transition: all 1s linear 0s;
    }

    .feature .carousel-item .side-caption {
        top: 58%;
        left: 100%;
        width: 75%;
        height: auto;
        text-align: left;
        padding: 0;
        transition: all 0.5s ease 0s;
    }

    .feature .carousel-item.active .side-caption {
        left: 10%;
    }

    .feature .carousel-item .main-caption .title {
        font-size: 2em;
    }

    .feature .carousel-item .main-caption .desc {
        font-size: 0.9em;
    }

    .feature .carousel-item .side-caption .title {
        font-size: 1.3em;
    }

    .feature .carousel-item .side-caption .desc {
        font-size: 0.9em;
    }

    .feature .side-caption:after {
        display: none;
    }
}

.feature .main-caption .title {
    font-family: inter-regular;
}

.feature[data-section-name='gallery'] {
    opacity: 0;
    transition: all 0.5s ease 0s;
}

.feature.active[data-section-name='gallery'] {
    opacity: 1;
}

@media screen and (max-width: 768px) {
    .feature .landing-caption, .feature .landing-caption-urban p {
        top: 0%;
    }
}

@media screen and (max-height: 500px) and (max-width: 320px){
    .feature .landing-caption, .feature .landing-caption-urban p {
        top: -20%;
    }
}