body {
    color: #fff;
    /* background-color: #020312; */
    font-family: 'Roboto', sans-serif;
    font-size: 1rem;
    margin: 0;
    padding: 0;
}

html {
    font-size: 80%;
}

h1, h2, h3, h4, h5 {
    font-weight: 400;
}

h1, .ts-h1 {
    font-size: 2.5rem;
}

/* -- Align */
.ts-align__vertical {
    display: flex;
    align-items: center;
}

body.has-loading-screen:before {
    background-color: #000;
    content: "";
    height: 100%;
    right: 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 9999;
    transition: 1.5s ease;
    opacity: 1;
}

body.has-loading-screen:after {
    content: url("../../assets/img/loading.svg");
    height: 2.5rem;
    width: 2.5rem;
    position: fixed;
    margin: auto;
    bottom: 0;
    left: 0;
    right: 0;
    opacity: 1;
    transform: scale(1);
    transition: 1.5s ease;
    top: 0;
    z-index: 10000;
}

body.has-loading-screen.loading-done:before {
    width: 0;
}

body.has-loading-screen.loading-done:after {
    transform: scale(0);
    opacity: 0;
}


#ts-hero {
    display: flex;
    height: 100vh;
    position: relative;
    overflow: hidden;
}


.ts-page-wrapper {
    overflow: hidden;
}

.ts-bubble-border {
    display: inline-block;
    position: relative;
    transition: .6s ease;
}

    .ts-bubble-border i {
        background-color: #fff;
        position: absolute;
        transition: .2s ease-in;
    }

        .ts-bubble-border i:nth-child(1) {
            top: 0;
            left: 0;
            height: .1875rem;
            width: 0%;
        }

        .ts-bubble-border i:nth-child(2) {
            height: 0%;
            right: 0;
            top: 0;
            width: .1875rem;
            transition-delay: .2s;
        }

        .ts-bubble-border i:nth-child(3) {
            bottom: 0;
            right: 0;
            height: .1875rem;
            width: 0%;
            transition-delay: .4s;
        }

        .ts-bubble-border i:nth-child(4) {
            height: 0%;
            left: 0;
            bottom: 0;
            width: .1875rem;
            transition-delay: .6s;
        }

        .ts-bubble-border i:nth-child(5) {
            bottom: 0;
            opacity: 0;
            transition-delay: .6s;
            left: 2rem;
        }

            .ts-bubble-border i:nth-child(5):after {
                border-style: solid;
                border-width: .625rem .625rem 0 0;
                border-color: #fff transparent transparent transparent;
                content: "";
                position: absolute;
            }

    .ts-bubble-border .ts-title-rotate {
        left: 0;
        /*padding: 24px 36px;*/
        position: absolute;
        top: 0;
    }

        .ts-bubble-border .ts-title-rotate span {
            padding: 1.5rem 2.25rem;
            display: inline-block;
            position: absolute;
            transition: .8s ease;
            transition-delay: .3s;
            transform: translateY(-0.3125rem) rotate(.02deg);
            opacity: 0;
            white-space: nowrap;
        }

            .ts-bubble-border .ts-title-rotate span.active {
                opacity: 0;
                transform: translateY(-0.3125rem) rotate(.02deg);
            }

    .ts-bubble-border.in .ts-title-rotate span.active {
        opacity: 1;
        transform: translateY(0) rotate(.02deg);
    }

    .ts-bubble-border.in .ts-title-rotate span.out {
        opacity: 0;
        transform: translateY(.3125rem) rotate(.02deg);
    }

    .ts-bubble-border.in i:nth-child(1), .ts-bubble-border.in i:nth-child(3) {
        width: 100%;
    }

    .ts-bubble-border.in i:nth-child(2), .ts-bubble-border.in i:nth-child(4) {
        height: 100%;
    }

    .ts-bubble-border.in i:nth-child(5) {
        opacity: 1;
    }

@media (min-width: 75rem) {
    html {
        font-size: 100%;
    }

    h1, .ts-h1 {
        font-size: 3.5rem;
    }
}

@media (min-width: 62rem) {
    h1, .ts-h1 {
        margin-bottom: 2.5rem;
    }
}