:root {
    --primary: #00A24C;
    --secondary: #00FF78;
    --bs-primary: #506aba;
    --bs-secondary: #262fd6;
    --bs-success: #FF9F1C;
    --bs-info: #4d6ac2;
    --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;
}

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

/* myGamer logo size in the white ellipse */
.site-navbar .site-navbar-brand {
    padding-bottom: 39px !important;
}

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

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

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

/* Home: the photo at 48% over the green */
.hero-media::before {
    opacity: 0.48 !important;
}

/*
 * Fourth feature circle: Figma shows a zoomed-in crop of the monitor. 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/slide_1.jpg') 77.3% 80.1% / 240.2% auto no-repeat;
}

/* Signup, login and cancel: the same photo at 48%, with no dark tint over it */
.signup-section::before,
.login-section::before,
.cancel-section::before {
    background-image: url('../img/slide_3.jpg') !important;
    opacity: 0.48 !important;
}

.signup-section::after,
.login-section::after,
.cancel-section::after {
    background-color: transparent !important;
}

/* Login and cancel show the photo less zoomed in than signup does */
.login-section::before,
.cancel-section::before {
    height: calc(100% + 28px) !important;
}

@media (min-width: 992px) {
    .hero-title {
        margin-top: 259px !important;
    }

    .hero-subtitle {
        margin-bottom: 3px !important;
    }

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

    /* The third paragraph is one line here, so the gap below it is bigger */
    .section-one-text + .section-one-text-last {
        margin-bottom: 55px !important;
    }

    .section-one-subtitle + .section-one-text-last {
        margin-bottom: 41px !important;
    }

    .section-two {
        padding-bottom: 133px !important;
    }

    .section-two-img {
        margin-bottom: 23px !important;
    }
}
