/**
* Hero.css
*/

.hero {
    position: relative;
    padding-top: 125px;
    background-position: center right;
    background-size: cover;
}
.hero .overlay {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1;
    background-color: rgb(255, 255, 255, 20%);
    display: none;
}
@media only screen and (max-width: 740px) {
    .hero {
        padding-top: 125px;
        background-position: center;
        background-size: cover;
    }
    .hero .overlay {
        display: block;
    }
}

.hero .inner {
    position: relative;
    z-index: 2;
    padding-top: 6rem;
    padding-bottom: 6rem;
    margin: 0 auto;
    width: fit-content;
    max-width: min(90%, 800px);
}
.hero .inner .section1{
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}
.hero h1 {
    text-shadow: 0 0 20px #fff;
    max-width: 24ch;
}
.hero p {
    font-size: 1.1rem;
    max-width: 600px;
}

.hero-button-container {
    position: relative;
    z-index: 2;
    margin: auto;
    width: 90%;
    display: flex;
    justify-content: center;
}
.hero-button {
    padding: 1rem 2rem;
    width: min(360px, calc(50% - 5vw));
    background-color: var(--clr-primary);
    text-align: center;
    font-size: 1.1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .5px;
    color: var(--clr-text-light);
    display: inline-block;
}
.hero-button:not(:last-of-type) {
    margin-right: 5vw;
}
.hero-button:hover {
    text-decoration: underline;
}
@media only screen and (max-width: 430px) {
    .hero-button-container {
        flex-direction: column;
        align-items: center;
    }
    .hero-button {
        min-width: 90vw;
    }
    .hero-button:not(:last-of-type) {
        margin-right: 0;
        margin-bottom: 1rem;
    }
}
@media only screen and (max-width: 560px) {
    .hero-button {
        font-size: 1rem;
        padding: 1rem 0.8rem;
    }
}

@media only screen and (min-width: 800px) {
    .hero .inner {
        margin: 0 5vw 0 auto;
    }
}