.hero-section {
    padding: 0px !important;
    color: #ffffff;
    background-color: black;
    overflow: hidden;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero-section > picture {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    opacity: 0.4;
}
.hero-section > picture img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-section > div {
    max-width: 1000px;
    margin: auto;
    position: relative;
}

.hero-section header {
    margin: auto;
    padding-inline: 15px;
    padding-top: 100px;
    padding-bottom: 80px;
}
.hero-section header h1 {
    max-width: 750px;
    font-size: 40px;
    padding-left: 2px;
    line-height: 50px;
    padding-bottom: 12.5px;
}
.hero-section header p {
    max-width: 600px;
    font-size: 22.5px;
    font-weight: 600;
    padding-left: 5px;
}
.hero-section header a {
    background-color: #026873;
    color: #ffffff;
    display: flex;
    justify-content: center;
    align-items: center;
    max-width: 250px;
    height: 70px;
    text-decoration: none;
    border-radius: 15px;
    margin-top: 25px;
    padding: 10px;
    font-size: 25px;
    font-weight: 800;
    border: 3px solid #026873;
}
.hero-section header a:active {
    max-width: 240px;
    height: 65px;
    margin-inline: 5px;
    margin-top: 27.5px;
    margin-bottom: 2.5px;
}

/* hovrar över call to action-knapp */
@media (hover:hover) {
    .hero-section header a:hover {
        /* sista två siffror för transparens */
        background-color: #02687399;
    }
}

/* tablet layout */
@media only screen and (min-width: 600px) {
    .hero-section header {
        padding-inline: 30px;
        padding-top: 120px;
    }

    .hero-section header h1 {
        font-size: 55px;
        line-height: 65px;
    }
}

/* desktop layout */
@media only screen and (min-width: 769px) {
    .hero-section header {
        padding-bottom: 140px;
    }
    .hero-section > picture {
        opacity: 0.5;
    }
    .hero-section > div {
        width: 1000px;
    }
}