@font-face {
    font-family: 'Sweco Sans';
    src: local('SwecoSans-Medium'),
        url('../assets/fonts/SwecoSans-Medium.woff2') format('woff2');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Sweco Sans';
    src: local('Sweco Sans Bold Italic'), local('SwecoSans-BoldItalic'),
        url('../assets/fonts/SwecoSans-BoldItalic.woff2') format('woff2');
    font-weight: bold;
    font-style: italic;
    font-display: swap;
}
@font-face {
    font-family: 'Sweco Sans';
    src: local('SwecoSans-Regular'),
        url('../assets/fonts/SwecoSans-Regular.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Sweco Sans';
    src: local('Sweco Sans Medium Italic'), local('SwecoSans-MediumItalic'),
        url('../assets/fonts/SwecoSans-MediumItalic.woff2') format('woff2');
    font-weight: 500;
    font-style: italic;
    font-display: swap;
}
@font-face {
    font-family: 'Sweco Sans';
    src: local('Sweco Sans Italic'), local('SwecoSans-Italic'),
        url('../assets/fonts/SwecoSans-Italic.woff2') format('woff2');
    font-weight: normal;
    font-style: italic;
    font-display: swap;
}
@font-face {
    font-family: 'Sweco Sans';
    src: local('Sweco Sans Bold'), local('SwecoSans-Bold'),
        url('../assets/fonts/SwecoSans-Bold.woff2') format('woff2');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}

*{
    margin: 0;
    padding: 0;
}

html, body{
    height: 100%;
    
}

body{
    display: flex;
    flex-direction: column;
    font-family: 'Sweco Sans'
}

h1, .h1 {
    margin: 0 0 0.44em 0;
    font-weight: 400;
    font-size: 40px;
    line-height: 1;
}

h2, .h2 {
    margin: 0 0 0.44em 0;
    font-weight: 400;
    font-size: 32px;
    line-height: 1;
}

h3, .h3 {
    margin: 0 0 0.44em 0;
    font-weight: 500;
    font-size: 30px;
    line-height: 35px;
}

 @media screen and (min-width: 768px){
    h1, .h1 {
        font-size: 55px;
    }

    h2, .h2 {
        font-size: 45px;
    }
 }

h4, .h4 {
    margin: 0 0 0.44em 0;
    font-weight: 500;
    font-size: 24px;
    line-height: 1.22em;
}

h5, .h5 {
    margin: 0 0 0.44em 0;
    font-weight: 500;
    font-size: 20px;
    line-height: 1;
}

p{
    margin-bottom: 8px;
    line-height: 25px;
}

main{
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.italic{
    font-style:italic;
}

.no-wrap{
    text-wrap: nowrap
}

.mb-16{
    margin-bottom: 16px;
}

.header{
    display: flex;
    height: 94px;
    align-items: center;
    padding: 0 50px;
}

.logo{
    width: 150px; 
}

.content{
    background: #F3F3F0;
    max-width: 865px;
    padding: 64px 32px;
}

@media screen and (min-width: 768px){
    .content{
        padding: 64px;
    }
}

.content a{
    text-decoration: none;
    color: #000;
    position: relative;
    box-shadow: inset 0px -6px 0px 0px #9dd354;
    transition: box-shadow .2s;
}

.content a:focus,
.content a:hover{
    box-shadow: inset 0px -17px 0px 0px #9dd354;
}

footer{
    background: #3f3f42;
    color: white;
    display: flex;
    justify-content: center;
    padding: 32px;

}

footer .icon{
    display: inline-block;
    height: 16px;
    width: 16px;
    background-image: url("../assets/img/linkedin.png");
    background-size: cover;
    position: relative;
    top: 2px;
    margin: 0px 4px;
}

footer a:link{
    color: white;
    text-decoration: none;
}

footer a:focus,
footer a:hover{
    opacity: 0.7;
}

a:visited{
    color: inherit;
}


