:root {
    /* VARIABLES */

    --color--white: white;
    --font-family--body: Generalsans, sans-serif;
    --color--gray-1: #5f5f60;
    --font-family--heading: "Instrument Sans", sans-serif;
    --dark: #0d283e;
    --color--heading: var(--dark);
    --color--light-gray-alt: #f2f3f4;
    --color--black: #222;
    --color--light-gray: #d2d2d2;
    --color--primary: #e57f3b;
    --color--transparent: transparent;
}
.hero {
    position: relative;
    height: 450px;
}
.hero__img,
.hero__img img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}
.hero__content {
    position: absolute;
    z-index: 2;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: white;
    width: calc(100% - 4rem);
    max-width: 1000px;
}

.hero__content .icon {
    font-size: 60px;
    margin-bottom: 1rem;
    color: var(--color--primary);
}

.hero__content p {
    font-size: 18px;
    color: var(--color--light-gray);
    font-weight: 400;
}

.hero__overlay {
    background-image: linear-gradient(rgba(13, 40, 62, 0.75), rgba(13, 40, 62, 0.75));
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}
#contain-img img {
    object-fit: contain;
}

/*kitchen table link*/
.hero__kitchen-table-link {
    position: fixed;
    z-index: 100;
    bottom: 20px;
    right: 20px;
}

.hero__kitchen-table-link a {
    padding: 15px 25px;
    background: var(--color--primary);
    border: 1px solid var(--color--primary);
    border-radius: 60px;
    color: var(--color--white);
    font-weight: 500;
    display: flex;
    gap: 10px;
    align-items: center;

    transition: all 0.2s ease;
}
.hero__kitchen-table-link a:hover {
    background: var(--color--white);
    color: var(--color--primary);
}

@media (max-width: 992px) {
    .hero {
        height: 550px;
        margin-bottom: 0;
    }
    .hero__content {
        top: 42%;
        width: 100%;
        max-width: calc(100% - 4rem);
    }
    .hero__content h1 {
        font-size: 35px;
    }
    .hero__content p {
        font-size: 20px;
        line-height: 1.2;
    }

    /*kitchen table link*/
    .hero__kitchen-table-link {
        bottom: 0;
        left: 0;
        right: 0;
    }
    .hero__kitchen-table-link a {
        padding: 10px 20px;
        border-radius: 10px 10px 0 0;
        justify-content: center;
    }
}
