/* BAKGRUND */

html {
    background-color: #f4efe3;
}

/* SECTION */

.fp-tableCell {
    display: table-cell;
    vertical-align: top;
}
/* TEXTFORMATTERING */

h3, h4, h5, h6{
    font-family: dinosaur, sans-serif;
    font-weight: 500;
    font-style: normal; 
}

h1 {
    color: #f4efe3;
    font-family: poppins, sans-serif;
    font-weight: 700;
    font-style: normal;
    text-transform: uppercase;
    font-size: 5em;
}

h2 {
    color: #2e6645;
    font-family: poppins, sans-serif;
    font-weight: 700;
    font-style: normal;
    text-align: center;
    font-size: 3em;
    margin-top: 1em;
    margin-bottom: 0.5em;
    line-height: 1.2em;

}

h4 {
    font-size: 2em;
}

p {
    font-family: soleil, sans-serif;
    font-weight: 300;
    font-style: normal;
    line-height: 1.2em; 
}

.Hambu a {
    font-family: poppins, sans-serif;
    font-weight: 700;
    font-style: normal;
    color: #2e6645;
}


.credits {
    text-align: left;
    color: #ece7d9;
    font-family: dinosaur, sans-serif;
    font-weight: 500;
    font-style: normal; 
    position: absolute;
    bottom: 15%;
    left: 1%;
}




.vanstrafooter a{
    font-family: dinosaur, sans-serif;
    font-weight: 500;
    font-style: normal;
    color: #f4efe3;
}

#AlInReTEXT a{
    font-family: soleil, sans-serif;
    font-weight: 300;
    font-style: normal; 
    color: #f4efe3;
    text-align: center;
    font-size: 0.8em;
}

#fp-nav ul li .fp-tooltip {
    font-family: poppins, sans-serif;
    font-weight: 700;
    font-style: normal;
    text-transform: uppercase;
}

/* LÄNK FORMATTERING*/



#AlInReTEXT a, .vanstrafooter a, .Hambu a{
    text-decoration: none;
}
#AlInReTEXT a:hover, .vanstrafooter a:hover, .Hambu a:hover{
    color: #e09b4b;
}

/* FORMULÄR FORMATTERING */

.form{
    border: solid 0.1em #2e6645;
    border-radius: 2em;
    padding: 1em;
    margin: 0.5em 0em;
    outline: none;
    width: 35em;
    font-family: soleil, sans-serif;
    box-shadow: 0.1em 0.1em 0.3em #c4c4c4

}

.form:focus {
    border: solid 0.1em black;
    border-radius: 2em;
}

textarea {
    resize: none;
    height: 10em; 
}

.storknapp{
    border-radius: 2em;
    padding: 0.5em 1em;
    font-family: poppins, sans-serif;
    font-weight: 700;
    font-style: normal;
    text-transform: capitalize;
    color: white;
    width: 10em;
    margin: 0em 0.5em 2em 0.5em;
    cursor: pointer;
    background-color: #D27722;
    border:  solid 0.1em #D27722;

}

/* NAV MENY */
#gronlogga {
    display: none;
}
nav {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 1em;
    z-index: 3;
    background-color: none;

}

nav img {
    width: 3em;
}

.Hambu {
    display: flex;
    flex-direction: row;
    align-items: center;
}

.Hambu a{
    margin: 0.5em 3.5em;
}

#hamburger {
    visibility:hidden;
}

#fp-nav ul li a span {
    background: #2e6645;
}

#fp-nav ul li .fp-tooltip {
    color: #2e6645;
}



/* FOOTER */



footer{
    background-color: #2e6645;
    color: #f4efe3;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding: 3em 4em;
    margin: auto;
    height: auto;
    padding-bottom: 10em;
}

/* VÄNSTRA FOOTER */

.vanstrafooter {
    display: flex;
    flex-direction: column;
}

.vanstrafooter a {
    margin: 0.5em 0em;
}

.socialamedier {
    margin-top: 1em;
}


/* MITTEN FOOTER */

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

.mittenfooter img {
    width: 7em;
    margin: 1.8em;
}

/* HÖGRA FOOTERN */
.appar2{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: auto;
    width: 12em;
}

.appar img{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

}

#apple2app {
    width: 12em;
    margin: 0.5em;
}

#google2app {
    width: 12em;
    margin: 0.5em;
}

#AlInReTEXT {
    width: 12em;
    padding: 0em 0.5em;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
}

#AlInReTEXT a{
    margin: 0.3em;
}


/* MOBIL */

@media screen and (max-width: 1024px) {
    main {
        background-image: none;
    }
    
    #hamburger {
        display: inline;
        position: relative;
        cursor: pointer;
        width: 2em;
        height: 2em;
        margin-top: 1em;
        visibility: visible;

    }


    main {
        width: 100%;
    }

    #forstaloggan {
        display: none;
    }
    .hamburgerBar {
        position: fixed;
        width: 2em;
        height: 0.2em;
        background-color: #2e6645;
        border-radius: 1em;
    }

    .hamburgerBar:nth-child(1) { top: 1em; right: 1.5em; }
    .hamburgerBar:nth-child(2) { top: 1.5em; right: 1.5em;}
    .hamburgerBar:nth-child(3) { top: 2em; right: 1.5em;}

    .active #hamburger .hamburgerBar:nth-child(1) {
        top: 1.5em;
        right: 1.5em;
        -webkit-transform-origin: center;
        -webkit-transform: rotate(-45deg); 
        transform-origin: center;
        transform: rotate(-45deg); 
    }

    .active #hamburger .hamburgerBar:nth-child(2) {
        opacity: 0;
    }

    .active #hamburger .hamburgerBar:nth-child(3) {
        top: 1.5em;
        right: 1.5em;
        -webkit-transform-origin: center;
        -webkit-transform: rotate(45deg); 
        transform-origin: center;
        transform: rotate(45deg); 
    }
    .Hambu{
        display: none;
    }

    #hamburger{
        display: inline;
    }

    #nav.active #hamburger{
        margin-top: 0.5em;
        position: relative;
        right: 0;
        top: 0;
    }

    #nav.active #forstaloggan{
        display: none;
    }

    #nav.active ul {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        margin-top: 1em;
        height: 100vh;
        position: relative;
    }


    #nav {
        width: 100%;
        font-size: 1.3em;
        display: flex;
        flex-direction: row;
        justify-content: center;
        z-index: 4;
        position: fixed;
    }

    #nav.active li{
        padding: 1em;
        font-size: 0.9em;
        text-align: center;

    }

    nav {
        margin: 0em;
        display: inline;
    }

    #nav.active #gronlogga {
        display: inline;
    }

    #nav.active {
        background-color: #f4efe3;
    }

    #forstaloggan {
        margin: auto;
        padding-top: 1em;
        position: fixed;
    }

    h2 {
        font-size: 2em;
        margin: 1em 1em 1em 1em;
    }

    h4 {
        font-size: 1.6em;
    }

    h1 {
        font-size: 2em;
    }

    p{
        margin: 0em 1em 2em 1em;
        font-size: 0.9em;
        width: auto;
    }

    .form{
        width: 15em;
    }

    footer {
        flex-direction: column;
        height: auto;
        margin: auto;
        padding: 0em;
        padding-bottom: 3em;
    
    }

    .vanstrafooter {
        order: 2;
        align-items: center;
        justify-content: center;
        margin: 0.5em;
    }

    .vanstrafooter img {
        width: 3em;
    }
    
    
    
    .mittenfooter {
        order: 1;
        margin: auto;
        margin-bottom: 2.5em;
    }

    .hografooter {
        order: 3;
        margin: 0.5em;
        margin-bottom: 2em;


    }

    #AlInReTEXT a{
        justify-content: flex-end;
    }
    
    .credits {
        text-align: center;
        font-size: 0.8em;
    }


}



@media screen and (max-width: 557px) {
    .Hambu li a{
        font-size: 0.8em;
    }

}
