@font-face {
    font-family: 'icons_test';
    src: url(../fonts/fontello.woff2) format('woff2');
    font-weight: normal;
    font-style: normal;
}

html * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
}

header {
    background-color: white;
}

nav.headernav {
    border-top: .1em solid #282828;
    border-bottom: .1em solid #282828;
}

nav a:link {
    text-decoration: none;
}

.mail-icon::before {
    font-family: 'icons_test';
    content: '\e809';
    color: #282828;
}

.phone-icon::before {
    font-family: 'icons_test';
    content: '\e802';
    color: #282828;
}

.insta-icon::before {
    font-family: 'icons_test';
    content: '\f16d';
    color: #282828;
}

nav i {
    padding: 0 2em;
}

body {
    font-family: roboto-slab, serif;
    font-weight: 400;
    font-style: normal;
    color: #282828;
    background-color: #f4f4f4;
}

main {
    border: .1em solid #282828;
    border-radius: .2em;
    margin: 2em;
    padding: 1.2em;
    background-color: white;
}

aside {
    border: .1em solid #282828;
    border-radius: .2em;
    margin: 2em;
    padding: 1.2em;
    background-color: white;
    overflow: hidden;
}

article {
    margin-bottom: 2.2em;
}

a:link {
    text-decoration: none;
    color: #191919;
    font-weight: bold;
}

a:visited {
    color: #191919;
}

footer {
    border-top: .1em solid #282828;
    background-color: white;
    padding: 0 3.2em;
    text-align: center;
    line-height: 2em;
}

footer nav {
    padding: 1.4em 0 2.2em;
}

footer nav li {
    list-style: none;
}

footer nav a:hover {
    text-decoration: underline;
}

h1 {
    font-size: 2.2em;
    padding-bottom: .1em;
}

h2 {
    font-size: 2em;
    padding-bottom: 1em;
}

h3 {
    font-size: 1.6em;
    padding-bottom: .4em;
}

p {
    font-size: 1.3em;
    line-height: 1.8em;
    text-indent: 1em;
}

p.full {
    text-indent: unset;
    padding-top: 1.2em; 
}

p.contact {
    text-indent: unset;
    padding-top: 2em;
    font-size: 1.6em;
}

footer section {
    border-top: .1em solid #282828;
    padding: 1em;
}

footer section li {
    list-style: none;
}

/* ################################################ */
/* ################################################ */
/* #################### Responsive ################ */
/* ################################################ */
/* ################################################ */

@media (max-width: 767px) {

    header figure {
        padding: 2em 0;
    }

    header figure img {
        width: 200;
    }

    nav.headernav {
        text-align: center;
        padding: 1.2em 0;
    }

    .mail-icon::before {
        font-style: normal;
        font-size: 4em;
    }
    
    .phone-icon::before {
        font-style: normal;
        font-size: 3.1em;
    }
    
    .insta-icon::before {
        font-style: normal;
        font-size: 4em;
    }

    aside article {
        overflow: hidden;
    }

    aside article figure video {
        max-width: 17rem;
        height: auto;
        overflow: hidden;
    }

    p.contact {
        text-align: center;
        font-size: 2.2em;
    }

    footer {
        padding: 0;
    }

    footer section ul {
        padding-top: 2em;
    } 
}


@media (min-width: 768px) {

    header {
        padding-top: 1em;
    }

    header figure {
        text-align: center;   
        padding: .8em 0; 
    }

    header figure img {
        max-width: 500px;
        height: auto;
    }

    nav.headernav {
        padding: 2em .8em 2em 0;
        text-align: right;
    }

    .mail-icon::before {
        font-style: normal;
        font-size: 4em;
    }
    
    .phone-icon::before {
        font-style: normal;
        font-size: 3.2em;
    }
    
    .insta-icon::before {
        font-style: normal;
        font-size: 4em;
    }

    main {
        clear: both;
    }

    article figure {
        margin-top: 2em;
    }

    footer nav li {
        display: inline;
        padding: 0 2em;
    }

    footer section {
        display: flex;
        justify-content: center;
        align-items: center;
        border-bottom: .1em solid #433123;
    }

    footer nav {
        display: inline;
    }

    footer section ul {
        width: 30em;
    }

}
