/*
 * GBHub landing ("cover") styles.
 *
 * Adapted from Bootstrap's classic "cover" example — the same look DefaultDB's
 * home.html was written against (its <link> to css/cover.css never shipped, so
 * the page fell back to inline styles). GBHub authors it properly here and
 * extends it with the two-product split layout (DefaultDB | LoanDB).
 */

a,
a:focus,
a:hover {
    color: #fff;
}

.btn-secondary,
.btn-secondary:hover,
.btn-secondary:focus {
    color: #333;
    text-shadow: none; /* Prevent inheritance from `body` */
}

body {
    text-shadow: 0 .05rem .1rem rgba(0, 0, 0, .5);
    box-shadow: inset 0 0 5rem rgba(0, 0, 0, .5);
}

.cover-container {
    max-width: 60em; /* wider than DefaultDB's 42em to fit two product columns */
}

/* Masthead nav */
.nav-masthead .nav-link {
    padding: .25rem 0;
    font-weight: 700;
    color: rgba(255, 255, 255, .5);
    background-color: transparent;
    border-bottom: .25rem solid transparent;
}

.nav-masthead .nav-link:hover,
.nav-masthead .nav-link:focus {
    border-bottom-color: rgba(255, 255, 255, .25);
}

.nav-masthead .nav-link + .nav-link {
    margin-left: 1rem;
}

.nav-masthead .active {
    color: #fff;
    border-bottom-color: #fff;
}

/* Two-product split hero */
.product-col {
    padding: 1.5rem 1rem;
}

.product-col img.product-logo {
    height: 4.5rem;
    width: auto;
    margin-bottom: 1rem;
}

.product-col h2 {
    font-family: 'Noto Sans', sans-serif;
    font-weight: 600;
}

/* Vertical divider between the two product columns (md and up). */
.product-divider {
    border-left: 1px solid rgba(255, 255, 255, .25);
}

@media (max-width: 767.98px) {
    .product-divider {
        border-left: 0;
        border-top: 1px solid rgba(255, 255, 255, .25);
    }
}

/* Sign-up call to action below the product split */
.cta-section {
    margin-top: 4.5rem;
}

.btn-cta {
    padding: .85rem 3.5rem;
    font-size: 1.35rem;
    color: #fff;
    background-image: linear-gradient(240deg, #d6249f, #285AEB);
    border: none;
}

.btn-cta:hover,
.btn-cta:focus {
    color: #fff;
    filter: brightness(1.1);
}