.hero {
    display: flex;
    width: 100%;
    background: url(../img/main_hero.jpg) no-repeat center center fixed;
    background-attachment: scroll;
    background-size: cover;
    align-items: center;
    justify-content: center;
    min-height: calc(100vh - var(--header-height));
    height: calc(100vh - var(--header-height));
    margin-top: var(--header-height);
}

.overlay {
    width: 100%;
    height: 100%;
    display: flex;
    background-color: #00000079;
    justify-content: center;
    align-items: center;
}


.hero h1 {
    color: var(--bg-primary);
    font-size: 5em;
    text-shadow: 0px 0px 42px rgba(0, 0, 0, 0.66);
    text-align: center;
    font-weight: 800;
    padding: 4rem;
    width: 100%;
}

.overlay .wrapper {
    padding: 2rem;
}
.overlay .wrapper button {
    display: block;
    text-align: center;
    margin: 0 auto;
    color: var(--bg-primary);
    background-color: var(--main-color);
    padding: 12px 20px;
    border-radius: 50px;
    font-size: 20px;
    border: 1px solid var(--bg-primary);
}
.overlay .wrapper button a{
    width: 100%;
    height: 100%;
}

.overlay .wrapper button:hover {
    background-color: var(--bg-primary);
    border: 1px solid var(--main-color);
    color: var(--main-color);
}


.services {
    margin: 4rem auto;
}

.services-bg {
    background-color: var(--main-color);
}

.services .wrapper h2,
.services .wrapper h4 {
    text-align: center;
    font-size: 3em;
    margin: 0.5rem auto;
    font-weight: 700;
    text-decoration: underline;
}

.services .wrapper h4 {
    margin-bottom: 1rem;
    margin-top: 0;
}

.services .wrapper p {
    text-align: center;
    font-size: 18px;
}

.services-bg {
    color: var(--bg-primary);
    padding: 4rem 0;
}


.service {
    display: flex;
    padding: 4rem 0;
}

.service_img {
    flex: 0 0 50%;
}
.service_img img {
    border-radius: 15px;
    width: 80%;
}
.service_name {
    flex: 0 0 50%;
    padding: 2rem;
}

.service_name {
    display: flex;
    flex-direction: column;
    text-align: center;
    align-items: center;
    justify-content: center;
}


.service_name h3 {
    text-align: center;
    font-size: 2em;
    font-weight: 600;
    margin: 10px auto;
}

@media only screen and (max-width: 1080px) {

    .hero h1 {
        padding: 0rem;
        margin-bottom: 1rem;
        font-weight: 600;
        font-size: 2em;
    }
    .services .wrapper h2,
    .services .wrapper h4 {
        font-size: 2em;
        font-weight: 500;
    }

    .service {
        text-align: center;
        padding: 1rem;
        display: block;
    }

    .service_name {
        display: block;
    }

    .service_img img {
        margin: 0 auto;
    }

    .service_name h3 {
        font-size: 1.7em;
    }

    .services .wrapper p {
        font-size: 16px;
        width: 100%;
    }

}