:root {
    --primary: #BDEA4E;
    --secondary: #BDEA4E;
    --bs-primary: #1943c5;
    --bs-secondary: #4daf52;
    --bs-success: #FF9F1C;
    --bs-info: #1943c5;
    --bs-warning: #FFC107;
    --bs-danger: #D7263D;
    --bs-light: #FFF2E2;
    --bs-dark: #2C1A1D;
    --bs-btn-border-color: #FF6B35;
    --btn-animation: 0.45s all;
    --transform: scale(1.05);
}
.overlay {
  background: linear-gradient(45deg, #000000d9, transparent);
  border-radius:20px;
}

.btn:hover {
    transition: var(--btn-animation);
    transform: var(--transform);
}
.bg-primary {
    background:var(--bs-primary) !important;
}

.btn-primary {
    background: var(--bs-info) !important;
    outline-color: var(--bs-primary) !important;
    border-color: var(--bs-btn-border-color) !important;
}

.btn-secondary {
    background: var(--bs-secondary) !important;
    outline-color: var(--bs-secondary) !important;
    border-color: var(--bs-btn-border-color) !important;
}

.text-bg-dark {
    background:var(--bs-secondary) !important;
}

/* ---- Sportall design (Figma "Sportall" page). The template CSS loads after this file, so these need !important ---- */

/* Logo on a black ellipse */
.site-navbar .site-navbar-brand {
    padding-bottom: 53px !important;
    background-color: #000 !important;
}

.site-navbar .logo-img {
    width: 165px !important;
}

/* Lime is too light for text on the white nav box */
.site-navbar .site-navbar-links .nav-link:hover,
.site-navbar .site-navbar-links .nav-link:focus {
    color: #000 !important;
    text-decoration: underline;
}

@media (max-width: 991.98px) {
    .site-navbar .site-navbar-brand {
        padding-bottom: 37px !important;
    }

    .site-navbar .logo-img {
        width: 114px !important;
    }
}

/* Home: photo on black, and a lime wave (thin black edge) under the text */
.hero-section {
    background-color: var(--primary) !important;
}

.hero-media {
    background-color: #000 !important;
}

.hero-media::before {
    opacity: 0.45 !important;
}

.hero-wave path {
    fill: var(--primary) !important;
    stroke: #000;
    stroke-width: 1px;
    vector-effect: non-scaling-stroke;
}

/* 2px wider than the section so the outline only shows along the curve, not down the right edge */
.hero-wave {
    width: calc(max(100%, 1280px) + 2px) !important;
}

@media (max-width: 991.98px) {
    .hero-wave {
        width: calc(100% + 2px) !important;
    }
}

/* Black text and outlines on the lime areas */
.hero-subtitle,
.hero-support,
.hero-support a {
    color: #000 !important;
}

.hero-support a:hover {
    color: #000 !important;
    text-decoration-thickness: 2px;
}

.hero-buttons .ellipse-btn,
.section-one .ellipse-btn {
    border-color: #000 !important;
    color: #000 !important;
}

.hero-buttons .ellipse-btn:hover,
.hero-buttons .ellipse-btn:focus,
.section-one .ellipse-btn:hover,
.section-one .ellipse-btn:focus {
    background-color: #000 !important;
    color: var(--primary) !important;
}

.section-one {
    padding-bottom: 64px !important;
    background-color: var(--primary) !important;
}

.section-one-content,
.section-one-title,
.section-one-subtitle {
    color: #000 !important;
}

/*
 * Fourth feature circle: Figma shows a zoomed-in crop of the pitch. An <img> cannot zoom its own picture
 * in every browser, so its picture is moved out of view and the crop is drawn as its background instead.
 */
.section-two-item:nth-child(4) .section-two-img {
    object-position: -9999px 0 !important;
    background: url('../img/product_1.jpg') 47.7% 79.6% / 337.8% auto no-repeat;
}

/* Signup, login and cancel: the stadium photo, lighter, under a darker black tint */
.signup-section::before,
.login-section::before,
.cancel-section::before {
    background-image: url('../img/slide_2.jpg') !important;
    opacity: 0.6 !important;
}

.signup-section::after,
.login-section::after,
.cancel-section::after {
    background-color: rgba(0, 0, 0, 0.59) !important;
}

@media (min-width: 992px) {
    .hero-subtitle {
        margin-bottom: 3px !important;
    }

    .section-one-img {
        min-height: 590px !important;
    }

    .section-two {
        padding-top: 35px !important;
        padding-bottom: 71px !important;
    }

    .login-wave {
        top: 161px !important;
        height: calc(100% - 160px) !important;
    }
}
