/* common */
@import url("https://fonts.googleapis.com/css?family=Source+Sans+Pro:200,300,400,700");

html, body {
    font-family: 'Source Sans Pro', sans-serif;
    font-weight: 300;
    height: 100%;
}

.btn {
    border-radius: 10pt;
    padding-left: 10pt;
    padding-right: 10pt;
    border: 2px solid transparent;
}

.btn-lg {
    border-radius: 15pt;
    padding-left: 15pt;
    padding-right: 15pt;
    border: 3px solid transparent;
    min-width: 10rem;
}

.btn-primary {
    color: black;
    background-color: #ff9b65;
    border-color: #000000;
}

.btn-secondary {
    color: #ff9b65;
    background-color: #000000;
    border-color: #ff9b65;
}

.btn-secondary:hover,
.btn-secondary:focus,
.btn-secondary:active {
    color: black;
    background: #ff9b65;
    border-color: transparent;
}

@property --ang {
    syntax: '<angle>';
    initial-value: 0deg;
    inherits: true;
}

.btn-golden {
    --ani-grad: conic-gradient(from var(--ang), 
        #ffd700, 
        #ffed4e, 
        #ffd700,
        rgba(255, 215, 0, 0.7),
        rgba(255, 215, 0, 0.3),
        rgba(255, 215, 0, 0.1),
        transparent,
        transparent 70%,
        #ffd700) border-box;
    position: relative;
    color: #000;
    border: 3px solid transparent;
    background: 
        linear-gradient(#ff9b65 0 0) padding-box,
        var(--ani-grad);
    animation: rotate-golden 3s linear infinite;
}

.btn-golden::before {
    content: '';
    position: absolute;
    inset: -8px;
    border: 3px solid transparent;
    border-radius: 23px;
    background: var(--ani-grad);
    filter: blur(8px);
    -webkit-filter: blur(8px);
    opacity: 0.7;
    pointer-events: none;
    z-index: -1;
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    will-change: transform;
    -webkit-mask: radial-gradient(ellipse, black 60%, transparent 70%);
    mask: radial-gradient(ellipse, black 60%, transparent 70%);
}

@keyframes rotate-golden {
    0% { --ang: 0deg; }
    100% { --ang: -360deg; }
}

.font-weight-lighter {
    font-weight: 200;
}

.font-weight-light {
    font-weight: 300;
}

.font-weight-normal {
    font-weight: 400;
}

.font-weight-bold {
    font-weight: 700;
}

.mask-container {
    position: relative;
}

.mask-svg {
    width: 100%;
    position: absolute;
    bottom: 0;
}

.placeholder-bg {
    width: 100%;
    height: 320px;
    background-color: #000000;
}

.duration-1 {
    animation-duration: 0.5s;
}

.duration-2 {
    animation-duration: 1.0s;
}

.duration-3 {
    animation-duration: 1.5s;
}

@keyframes fadein {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@keyframes unblur {
    0% {
        filter: blur(1rem);
    }

    100% {
        filter: blur(0px);
    }
}

@keyframes transform {
    0% {
        transform: translate3d(0, 3rem, 0) rotate3d(0.25, -1, 0, 66.6deg);
    }

    100% {
        transform: translate3d(0, 0, 0);
    }
}

/* Navbar */

.navbar-brand {
    position: absolute;
    top: 10pt;
    right: 10pt;
    width: 100px;
    height: 110px;
}

.navbar-nav {
    background-color: rgba(0, 0, 0, 0.283);
    border: #000000;
    border-radius: 10px;
}

.navbar-nav>li>a {
    padding-top: 5px !important;
    padding-bottom: 5px !important;
    color: white;
    font-weight: 400;
    font-size: 14pt;
}

.navbar-toggler {
    background-color: rgba(0, 0, 0, 0.5);
}

/* teaser */

.teaser-header {
    animation-name: unblur;
}

.teaser-text {
    position: absolute;
    max-height: 300px;
    margin-top: 50pt;
    animation-name: fadein, unblur, transform;
    animation-duration: 2s;
}

.teaser-bg {
    background-repeat: no-repeat;
    background-size: cover;
    background-position: 50% 0%;
    width: 100%;
    height: 800pt;
}

@media screen and (max-width: 300pt) {
    .teaser-text {
        max-height: 100px;
        margin-top: 80pt;
        margin-left: -20pt;
    }

    .teaser-bg {
        background-position: 10% 0%;
        height: 400pt;
    }

    .placeholder-bg {
        height: 100px;
    }
}

@media screen and (min-width: 300pt) and (max-width: 800pt) {
    .teaser-text {
        max-height: 220px;
        margin-left: -30pt;
    }

    .teaser-bg {
        background-position: 10% 0%;
        height: 400pt;
    }
}

@media screen and (min-width: 800pt) and (max-width: 1000pt) {
    .teaser-text {
        max-height: 300px;
    }
    .teaser-bg {
        height: 500pt;
    }
}

/* intro */

/* classes */

.classes .card-text {
    min-height: 130pt;
    text-align: justify;
}

/* prices */

.prices-content {
    background-color: #000000;
}

.prices-bg {
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    min-height: 400pt;
}

/* contact */

.wechat-qr {
    max-height: 400pt;
}

.responsive-map {
    border: 1px solid #000000;
    overflow: hidden;
    padding-bottom: 56.25%;
    position: relative;
    height: 0;
}

.responsive-map iframe {
    left: 0;
    top: 0;
    height: 100%;
    width: 100%;
    position: absolute;
}

/* footer */