.hero-container {
    display: grid;
    min-height: 512px;
    z-index: 2;
    background-color: #f4a8d6;

}

.hero-inner::before {
    content: "";
    width: 100%;
    height: 236px;
    margin-bottom: -500px;
    z-index: 2;
    background-color: #f4a8d6;
    align-self: start;
}

.hero-inner::after {
    content: "";
    width: 100%;
    height: 512px;
    margin-top: -256px;
    z-index: 1;
    background: linear-gradient(0deg, var(--hero-fade-out) 0%, rgba(253, 187, 45, 0) 100%);
    align-self: end;
}

@media(min-width: 1200px) {
    .hero-inner::after {
        content: "";
        width: 100%;
        height: 512px;
        z-index: 1;
        align-self: end;
    }
}

.hero-content {
    justify-self: center;
    padding: 64px 0px;
    box-sizing: border-box;
    width: min(100%, 800px);
    grid-gap: 16px;
    display: grid;
    margin-top: 64px;
    z-index: 3;
}

@media(min-width: 992px) {
    .hero-content {}
}

@media(min-width: 1200px) {
    .hero-content {
        margin-top: 128px;
    }
}

.hero-content :is(h1, h2, h3, h4, p) {
    justify-self: center;
    text-align: center;
    color: #fff;
}

.hero-cover {}

/* - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - */

.hero-content h1 {
    font-weight: 600;
    font-size: 40px;
}

/* - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - */


.hero-content .btn {
    margin-top: 32px;
}

.btn {
    display: grid;
    text-decoration: none;
    justify-self: center;

}

.btn::after {
    content: "";
    grid-row: 1;
    grid-column: 1;
    background-color: var(--colour1);
    opacity: 0;
    border-radius: 24px;
    transition: cubic-bezier(0.175, 0.885, 0.32, 1.275) all .33s;
}

.btn:hover::after {
    transform: scale(1.2);
    opacity: 1;
}

.btn:hover h4 {
    transform: scale(1.2);
    color: #fff;
}

.btn h4 {
    transition: cubic-bezier(0.175, 0.885, 0.32, 1.275) all .33s;
    grid-row: 1;
    grid-column: 1;
    z-index: 2;
    color: var(--colour1);
    padding: 12px 24px;
    box-sizing: border-box;
    border: solid 2px var(--colour1);
    border-radius: 24px;
}

.hero-cover {
    grid-row: 1;
    grid-column: 1;
    width: 100%;
    height: 100%;
    opacity: var(--hero-cover-opacity);
    background-image: url("../img/hero-bg.jpg");
    background-size: cover;
    background-repeat: no-repeat;
    z-index: 1;
}

.hero-inner {
    display: grid;
    grid-row: 1;
    grid-column: 1;
    width: 100%;
    height: 100%;
    z-index: 2;
}

/* - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - */

.sub-hero-content {
    justify-self: center;
    align-self: center;
    z-index: 3;
    color: #fff;
    grid-row: 3;
    grid-column: 1;
    align-content: center;
    justify-content: center;
    display: grid;
    height: 350px;
}

.sub-hero-content h1 {
    color: black;
    background-color: #F7D4E8;
    padding: 20px;
    border-radius: 10px;

    text-align: center;
    justify-self: center;
}

@media (min-width: 1200px) {
    .sub-hero .hero-inner::after {
        content: "";
        width: 100%;
        height: 400px;
        z-index: 1;
        align-self: end;
        margin-top: -400px;
    }
}

/* - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - */
