#hero {
    display: grid;
    grid-template-columns: auto auto;
    grid-template-rows: auto auto;
    grid-column-gap: 0px;
    grid-row-gap: 0px;
    align-items: center;
    align-content: stretch;
    justify-content: space-around;
    padding: 0 100px;
    border-radius: 30px 30px 0 0;
}

#hero .content {
    height: 100%;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    grid-area: 1 / 1 / 2 / 2;
}

#illustration {
    height: 100%;
    width: fit-content;
    display: flex;
    justify-content: end;
    align-items: flex-end;
    grid-area: 1 / 2 / 3 / 3;
    margin-top: 20px;
}

#hero h1 {
    font-family: var(--font-primary);
    font-size: 3.5rem;
    color: #355872;
    font-weight: 400;
    line-height: 1.2;
    margin-bottom: 10px;
}

#hero p {
    font-family: var(--font-secondary);
    font-size: 1rem;
    font-weight: 400;
    color: #355872;
    line-height: 1.2;
    margin: 0;
}

#hero #hero-buttons {
    height: 100%;
    width: 100%;
    grid-area: 2 / 1 / 3 / 2;
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    align-content: stretch;
    justify-content: start;
    column-gap: 15px;
}

.hero-button {
    height: 2rem;
    width: 10rem;
    position: relative;
    display: flex;
    align-self: center;
    align-items: center;
    justify-content: center;
    color: #2c506b;
    background-color: transparent;
    border: 1px solid #2c506b;
    border-radius: 50px;
    overflow: hidden;
    cursor: pointer;
    transition: color 0.3s ease;
}

.hero-button::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background-color: #e5f2fd;
    z-index: 0;
    transition: transform 0.5s ease;
    transform: translateX(0);
}

.hero-button:hover::before {
    transform: translateX(100%);
}

.hero-button span {
    position: relative;
    z-index: 1;
    font-family: var(--font-secondary);
    font-weight: 200;
    font-size: 1.2rem;
    line-height: 1.2;
    text-decoration: none;
    padding: 0rem;
    cursor: pointer;
    color: #2c506b;
}

#illustration img {
    width: 28rem;
}


/* ===================================================================== */
@media (max-width: 1376px) {
    #hero {
        padding: 0 60px;
    }
}

@media (max-width: 1174px) {
    #hero h1 {
        font-size: 3rem;
        margin-top: 10px;
    }

    #hero p {
        font-size: 0.9rem;
    }

    #illustration img {
        width: 26rem;
    }
}

@media (max-width: 1088px) {
    #hero {
        padding: 0 40px;
    }
}

@media (max-width: 1000px) {
    #hero {
        padding: 0 20px;
    }
}

@media (max-width: 970px) {
    #hero .content {
        justify-content: end;
    }

    #hero h1 {
        font-size: 2.5rem;
    }

    #hero p {
        font-size: 0.9rem;
    }

    #illustration img {
        width: 24rem;
    }
}

@media (max-width: 824px) {
    #hero {
        padding: 20px;
    }

    #hero .content {
        justify-content: center;
    }

    #hero #illustration #large {
        width: 18rem;
    }

    #hero h1 {
        font-size: 2rem;
        margin: 10px 0 5px 0;
    }

    #hero p {
        font-size: 0.8rem;
    }

    #hero #hero-buttons .book-now-dark {
        width: 8rem;
    }

    #hero #hero-buttons .book-now-dark span {
        font-size: 1rem;
        padding: 0;
    }

    #hero #hero-buttons .hero-button {
        width: 8rem;
    }

    #hero #hero-buttons .hero-button span {
        font-size: 1rem;
        padding: 0;
    }

    #illustration {
        margin: 0;
    }
}

@media (max-width: 614px) {
    #hero {
        display: flex;
        flex-direction: column;
        padding: 20px 10px;
        gap: 0;
    }

    #hero .content {
        align-items: center;
        margin-bottom: 10px;
    }

    #hero .content h1 {
        text-align: center;
        font-size: 1.8rem;
        letter-spacing: 0px;
    }

    #hero .content p {
        text-align: center;
        margin-bottom: 12px;
        letter-spacing: 1px;
    }

    #hero #hero-buttons {
        width: fit-content;
    }

    #hero #hero-buttons .book-now-dark span {
        font-size: 0.9rem;
    }

    #hero #hero-buttons .hero-button span {
        font-size: 0.9rem;
    }
}