#hero-slide {
    margin: 0;
    padding: 0;
    list-style: none;
    height: calc(100dvh - 120px);
}
#hero-slide li {
    display: none;
    position: relative;
    height: 100%;
    overflow: hidden;
}
#hero-slide li.active {
    display: block;
}
#hero-slide li a img:first-child {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: left center;
}
#hero-slide li a img:nth-child(2) {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: left center;
    z-index: 10;
}
#hero-slide li a {
    display: flex;
    padding: 64px;
    text-decoration: none;
    height: calc(100% - 128px);
    align-items: center;
}
#hero-slide li a > div {
    position: relative;
    color: var(--white);
    width: 30%;
}
#hero-slide li a h2 {
    position: relative;
    font-size: 120px;
    line-height: 120px;
    font-family: var(--serif);
    font-weight: normal;
    margin-bottom: 0;
    color: var(--red);
}
#hero-button {
    height: 120px;
    display: flex;
    margin: 0;
    padding: 0;
    list-style: none;
}
#hero-button li {
    flex: 1 1 0;
}
#hero-button {
    border-bottom: 1px solid var(--red);
    margin-bottom: 64px;
}
#hero-button li {
    background-color: var(--sand);
    transition: all 0.7s;
}
#hero-button li.active {
    background-color: var(--red);
    color: var(--sand);
}
#hero-button li:hover {
    background-color: var(--grey);
}
#hero-button button {
    height: 120px;
    font-size: 60px;
    font-family: var(--serif);
    background-color: transparent;
    border: none;
    color: var(--red);
    padding-left: 64px;
    cursor: pointer;
}
#hero-button li.active button,
#hero-button li.active a {
    color: var(--white);
}
#hero-button li a {
    float: right;
    margin-right: 64px;
    margin-top: 36px;
    text-decoration: none;
}

@media screen and (max-width: 1240px) {
    #hero-button button {
        font-size: 40px;
    }
    #hero-button button {
        padding-left: 20px;
    }
    #hero-button li a {
        margin-right: 20px;
    }
}
@media screen and (max-width: 1024px) {
    #hero-slide li a {
        padding: 20px;
    }
}
@media screen and (max-width: 960px) {
    #hero-button {
        display: block;
        height: auto;
    }
    #hero-slide {
        height: calc(100dvh - 240px);
    }
}

@media screen and (max-width: 960px) {
    #hero-slide li a > div {
        display: none;
    }
}

@media screen and (max-width: 500px) {
    #hero-slide li a img:nth-child(2) {
        display: none;
    }
    #hero-slide li a img:first-child {
        object-position: center;
    }
    #hero-button button {
        width: 100%;
        text-align: left;
        height: auto;
    }
    #hero-button li.active a {
        color: var(--white);
    }
    #hero-button li a {
        margin: 0px;
        float: none;
        margin-bottom: 13px;
        margin-left: 20px;
        padding: 0 20px;
        line-height: 30px;
        height: 30px;
    }
    #hero-slide {
        height: calc(100dvh - 212px);
    }
}
