body {
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    flex-direction: column;
    width: 100vw;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

h2 > img {
    padding: 1em;
    max-width: 100%;
    height: auto;
}

h3 {
    font-family: Lora;
    font-style: normal;
    font-weight: bold;
    font-size: 24px;
    line-height: 31px;
}

p {
    font-family: Lora;
    font-style: normal;
    font-weight: normal;
    font-size: 18px;
    line-height: 26px;
}

nav {
    font-family: Lora;
    font-style: normal;
    font-weight: normal;
    font-size: 24px;
    line-height: 31px;
    /* identical to box height */

    letter-spacing: 0.1em;
    text-transform: uppercase;
    width: 100%;
    background-image: url('./assets/menu_bg.png');
    background-size: contain;
    background-repeat-y: no-repeat;
    background-repeat-x: repeat;
}

nav > ul {
    list-style: none;
    display: flex;
    justify-content: space-evenly;
    flex-wrap: wrap;
    width: 100%;
    padding: 0;
}

nav > ul > li {
    padding: 1rem;
    color: black;
    text-decoration: none;
}
nav > ul > li > a{
    color: black;
    text-decoration: none;
}

.hero {
    display: flex;
    flex-direction: column;
    align-items: center;
}


.om_mig {
    display: flex;
    flex-direction: column;
    align-items: center;
    background-image: url('./assets/om_mig_bg.png');
    padding-top: 5em;
    padding-bottom: 5em;
    width: 100%;
    background-repeat: no-repeat;
    background-size: cover;
}

.galleri {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

.galleri > div {
    display: flex;
    flex-direction: column;
    align-items: center;   
}

.text {
    font-family: Lora;
    font-style: normal;
    font-weight: normal;
    font-size: 18px;
    line-height: 26px;
    max-width: 630px;
    padding: 1em;
}

.wide_text {
    font-family: Lora;
    font-style: normal;
    font-weight: normal;
    font-size: 18px;
    line-height: 26px;
    max-width: 800px;
    padding: 1em;
}

.galleri > div > .text {
    margin-top: 5em;
    margin-bottom: 7em;
}

.images {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    width: 85%;
}

.long_image {
    max-width: 100%;
    height: auto;
}

.images > img {
    margin-top: 3%;
}

.i2 {
    width: 47%;
    height: auto;
}

.i3 {
    width: 32%;
    height: auto;
}

.i4 {
    width: 24%;
    height: auto;
}

@media (max-width: 600px) {
    .i2 {
        width: 100%;
    }

    .i3 {
        width: 100%;
    }

    .i4 {
        width: 100%;
    }
}

.erfarenheter {
    display: flex;
    flex-direction: column;
    align-items: center;
    background-image: url('./assets/erfarenheter_bg.png');
    padding-top: 5em;
    padding-bottom: 5em;
    width: 100%;
    background-repeat: no-repeat;
    background-size: cover;
}


#profilbild {
    width: 579px;
    height: 386px;
}

@media (max-width: 600px) {
    #profilbild {
        width: 80%;
        height: auto;
    }
}

#quote {
    width: 850px;
    height: auto;
    margin-top: -200px;
}

#namn {
    width: 176px;
    height: 92px;
    margin-top: -70px;
}
@media (max-width: 1000px) {
    #quote {
        max-width: 90%;
        height: auto;
        margin-top: -4rem;
    }

    #namn {
        margin-top: 0;
    }
}


.erfarenheter_sub {
    display: flex;
    flex-direction: row;
    align-items: baseline;
    justify-content: flex-start;
    flex-wrap: wrap;
}

.erfarenheter_sub > ul {
    list-style: none;
}

.erfarenheter_sub > strong {
    min-width: 175px;
}

@media (max-width: 820px) {
    .erfarenheter_sub > ul {
        width: 100%;
    }
}
.kontakt {
    display: flex;
    flex-direction: column;
    align-items: center;
    background-image: url('./assets/kontakt_bg.png');
    padding-top: 5em;
    padding-bottom: 5em;
    width: 100%;
    background-repeat: no-repeat;
    background-size: cover;
    background-color: #fef9ca;
}

.kontakt_vagar {
    display: flex;
    justify-content: space-between;
    flex-direction: row;
    align-items: flex-start;
}