/********** Template CSS **********/
:root {
    --primary: #0081CB;
    --secondary: #FFAA37;
    --light: #e3e9e7;
    --dark: #12141D;
}

.back-to-top {
    position: fixed;
    display: none;
    right: 45px;
    bottom: 45px;
    z-index: 99;
}

.my-6 {
    margin-top: 6rem;
    margin-bottom: 6rem;
}

.py-6 {
    padding-top: 6rem;
    padding-bottom: 6rem;
}

h1 {
    font-family: 'Yanone Kaffeesatz', sans-serif;
    text-transform: uppercase;
    color: var(--dark);
}

/*** Spinner ***/
#spinner {
    opacity: 0;
    visibility: hidden;
    transition: opacity .5s ease-out, visibility 0s linear .5s;
    z-index: 99999;
}

#spinner.show {
    transition: opacity .5s ease-out, visibility 0s linear 0s;
    visibility: visible;
    opacity: 1;
}


/*** Button ***/
.btn {
    font-weight: 500;
    transition: .5s;
}

.btn.btn-primary,
.btn.btn-secondary {
    color: #FFFFFF;
}

.btn-square {
    width: 38px;
    height: 38px;
}

.btn-sm-square {
    width: 32px;
    height: 32px;
}

.btn-lg-square {
    width: 48px;
    height: 48px;
}

.btn-square,
.btn-sm-square,
.btn-lg-square {
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: normal;
}


/*** Navbar ***/
.navbar.fixed-top {
    transition: .5s;
}

.navbar .navbar-nav .nav-link {
    padding: 24px 15px;
    color: var(--dark);
    font-size: 18px;
    font-weight: 600;
    outline: none;
}

.navbar .navbar-nav .nav-link:hover,
.navbar .navbar-nav .nav-link.active {
    color: var(--primary);
}

@media (max-width: 991.98px) {
    .navbar .navbar-nav .nav-link {
        padding: 10px 0;
    }
}


/*** Header ***/
#home {
    background: url(../img/bg-header.png) left top no-repeat;
}

#home h1,
#home h3 {
    font-family: 'Yanone Kaffeesatz', sans-serif;
    font-weight: 500;
}

#home h1 {
    line-height: 0.9em;
}

#home h1>div {
    font-size: 0.9em;
}

@media (max-width: 991.98px) {
    #home h1 {
        font-size: calc(1.3rem + 2.7vw);
    }

    #home h1>div {
        font-size: 0.95em;
    }
}

@media (max-width: 1199.98px) {
    #home h1 {
        font-size: calc(1.275rem + 2.7vw);
    }

    #home h1>div {
        font-size: 0.925em;
    }
}

@media (max-width: 1399.98px) {
    #home h1 {
        font-size: calc(1.575rem + 2.7vw);
    }

    #home h1>div {
        font-size: 0.915em;
    }
}

@media (max-width: 991.98px) {
    #home h1 {
        font-size: calc(1.575rem + 3.9vw);
    }
}