:root {
    --primary: #5F7F30;
    --secondary: #96C519;
    --bs-primary: #c5b319;
    --bs-secondary: #75af4d;
    --bs-success: #FF9F1C;
    --bs-info: #96c519;
    --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);
}

.logo {
    width:4.5em !important;
}
.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 Recipe design (Figma "My Recipe" page). The template CSS loads after this file, so these need !important ---- */

/* Round black logo with a white ellipse behind its see-through cut-outs */
.site-navbar .site-navbar-brand {
    position: relative;
    width: 220px !important;
    height: 218px !important;
    margin-top: -79px !important;
    padding: 0 !important;
    background-color: transparent !important;
}

.site-navbar .site-navbar-brand::before {
    content: "";
    position: absolute;
    top: 14px;
    left: 1px;
    width: 217px;
    height: 202px;
    background-color: #fff;
    border-radius: 50%;
}

.site-navbar .logo-img {
    position: relative;
    width: 220px !important;
}

@media (max-width: 991.98px) {
    .site-navbar .site-navbar-brand {
        width: 150px !important;
        height: 149px !important;
        margin-top: -54px !important;
    }

    .site-navbar .site-navbar-brand::before {
        top: 10px;
        left: 1px;
        width: 148px;
        height: 138px;
    }

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

/*
 * Photo backgrounds: slide_3.jpg has another brand's logo in its middle (x 320-480 of 800),
 * so the layer is made wider than the section and only its left part is shown, as in Figma.
 */
.hero-media::before {
    left: -20.2% !important;
    right: auto !important;
    width: 324% !important;
    background-size: cover !important;
    background-position: 0 100% !important;
    opacity: 0.35 !important;
}

.signup-section::before,
.login-section::before,
.cancel-section::before {
    left: -17.6% !important;
    right: auto !important;
    width: 300% !important;
    background-image: url('../img/slide_3.jpg') !important;
    background-size: cover !important;
    background-position: 0 50% !important;
    opacity: 0.35 !important;
}

/* Green tint (the primary colour at 62%) instead of the black one */
.signup-section::after,
.login-section::after,
.cancel-section::after {
    background-color: rgba(95, 127, 48, 0.62) !important;
}

.section-one-img {
    object-position: 71% 50% !important;
}

@media (min-width: 992px) {
    .hero-title {
        margin: 272px 0 0 -32px !important;
    }

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

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

    .section-two {
        padding-top: 119px !important;
        padding-bottom: 57px !important;
    }

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

    .signup-wave {
        top: 183px !important;
        height: calc(100% - 182px) !important;
    }

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