html {
    font-size: 14px;
    position: relative;
    min-height: 100%;
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

body {
    margin-bottom: 60px;
    font-family: 'Arimo', sans-serif;
}

/* Fonts */
@font-face {
    font-family: 'Tactic Sans Bold';
    src: url('/fonts/tactic-sans-bold.woff2') format('woff2'), url('/fonts/tactic-sans-bold.woff') format('woff'), url('/fonts/tactic-sans-bold.eot') format('embedded-opentype');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}

.text-gold {
    color: #FFD700;
    font-family: 'Tactic Sans Bold', sans-serif;
}

/* ===================== */
/*   CAROUSEL STYLING    */
/* ===================== */

/* Carousel */
.rotating-banner {
    position: relative;
    width: 100%;
    max-width: 1280px;
    margin: 2rem auto;
    overflow: hidden;
}

/* Each slide stacked */
.carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    z-index: 0;
}

    /* Active slide visible */
    .carousel-slide.active {
        opacity: 1;
        z-index: 1;
        position: relative; /* lets active image give the container its height */
    }

    /* Images scale properly */
    .carousel-slide img.banner-image {
        width: 100%;
        height: auto;
        display: block;
    }
    /* Award icon pinned inside the slide */
    .carousel-slide .award-icon {
        position: absolute;
        bottom: 20px;
        right: 20px;
        width: 120px; /* larger on desktop */
        height: auto;
        z-index: 2;
        opacity: 0.9;
    }

/* Tablet */
@media screen and (max-width: 992px) {
    .carousel-slide .award-icon {
        width: 100px;
    }
}

/* Mobile */
@media screen and (max-width: 576px) {
    .carousel-slide .award-icon {
        width: 60px;
    }
}


/* ===================== */
/*   REASONS TO JOIN     */
/* ===================== */

.edge-flush {
    margin: 2rem auto; /* white gap above + below */
    padding: 0;
    max-width: 1280px; /* same width as carousel */
}

    .edge-flush img {
        display: block;
        width: 100%;
        height: auto; /* maintain natural aspect ratio */
    }

/* ===================== */
/*   OVERLAY TEXT        */
/* ===================== */

.banner-text-overlay {
    position: absolute;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    color: #fff;
    z-index: 3; /* above award icon */
    text-shadow: 2px 2px 6px rgba(0,0,0,0.7);
    text-transform: uppercase;
    text-align: center;
    width: 100%;
}

    .banner-text-overlay h1,
    .banner-text-overlay h2 {
        font-family: 'Tactic Sans Bold', sans-serif;
    }

    .banner-text-overlay h1 {
        font-size: 12rem;
        font-weight: 900;
        margin-bottom: 0.2rem;
        color: #fff;
    }

    .banner-text-overlay h2 {
        font-size: 3.6rem;
        font-weight: 700;
        margin-bottom: 1rem;
        color: #fff;
    }

@media screen and (max-width: 768px) {
    .banner-text-overlay h1 {
        font-size: 4rem;
    }

    .banner-text-overlay h2 {
        font-size: 1.4rem;
    }
}

@media screen and (max-width: 576px) {
    .banner-text-overlay {
        top: 10px;
    }
}

/* ===================== */
/*   OTHER UTILITIES     */
/* ===================== */

.full-width-strip {
    width: 100%;
    background-color: #FFD700;
    margin: 0;
    font-family: 'Tactic Sans Bold', sans-serif;
}

    .full-width-strip h2 {
        margin: 0 !important;
    }

.border-gold {
    border-color: #FFD700 !important;
}

.cta-join {
    background-color: #FFD700 !important;
    color: #000 !important;
    font-family: 'Tactic Sans Bold', sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    font-weight: 700;
    border-radius: 999px;
    padding: 0.4rem 1rem;
    border: none;
    display: inline-block;
    text-decoration: none;
}

    .cta-join:hover {
        background-color: transparent !important;
        color: #FFD700 !important;
        border: 2px solid #FFD700;
    }

/* News ticker full width */
#blogBanner {
    position: relative;
    overflow: hidden;
    background-color: #fff;
    white-space: nowrap;
    border-bottom: 1px solid #eee;
    width: 100vw;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
}
