@font-face {
    font-family: 'FS Me';
    src: url('assets/fonts/FSMe.eot');
    src: url('assets/fonts/FSMe.eot?#iefix') format('embedded-opentype'),
    url('assets/fonts/FSMe.woff2') format('woff2'),
    url('assets/fonts/FSMe.woff') format('woff'),
    url('assets/fonts/FSMe.ttf') format('truetype'),
    url('assets/fonts/FSMe.svg#FSMe') format('svg');
    font-weight: normal;
    font-style: normal;
}
html, body {
    font-family: FS Me,Helvetica,sans-serif;
    margin: 0;
    padding: 0;
}
img {
    max-width: 100%;
}
.container {
    padding-right: 15px;
    padding-left: 15px;
    margin-right: auto;
    margin-left: auto;
}

p {
    line-height: 1.8;
    font-size: 16px;
    text-align:left;
    margin-bottom: 16px;
}
p a {
    color: inherit;
}

h5 {
    font-size: 28px;
    margin-bottom: 24px;
}

h4 {
    font-size: 40px;
    margin-bottom: 24px;
}

a.button {
    border-radius: 32px;
    background-color: #804235;
    color: #ffffff;
    text-decoration: none;
    transition: all .4s;
    padding: 10px 42px 10px 23px;
    white-space: nowrap;
    display: inline-block;
    font-weight: 400;
    position: relative;
    font-size: 16px;
    line-height: 24px;
}
a.button:hover {
    color: #ffffff;
    text-decoration: none;
    transform: scale(1.03);
}

a.button i {
    position: absolute;
    top: 50%;
    right: 20px;
    -webkit-transform: translateY(-50%);
    -o-transform: translateY(-50%);
    transform: translateY(-50%);
    font-weight: 900;
}
/* nav */
header {
    margin: 0;
}
header .header-inner {
    display: flex;
    align-items: center;
}
header .header-inner .site-logo {
    width: 120px;
    height: 120px;
    position: relative;
    left: 15px;
    margin-right: 70px;
}
header .header-inner .site-logo img {
    width: 120px;
    position: absolute;
    -webkit-transition: opacity .2s;
    -o-transition: .2s opacity;
    transition: opacity .2s;
    left: 0;
    top: 50%;
    -webkit-transform: translateY(-50%);
    -o-transform: translateY(-50%);
    transform: translateY(-50%);
}
header .header-inner .navigation-container {
    flex: 1;
    display: flex;
    align-items: center;
}
header .header-inner .navigation-container .menu-primary-container {
    flex: 1;
    display: flex;
    justify-content: flex-end;
}
header .header-inner .navigation-container .menu-primary-container ul {
    display: flex;
    position: relative;
    flex-wrap: wrap;
    list-style: none;
    padding: 0;
    margin: 0;
}
header .header-inner .navigation-container .menu-primary-container ul li {
    padding: 36px 20px 36px 0;
    list-style: none;
    line-height: 1.8;
}
header .header-inner .navigation-container .menu-primary-container ul li a {
    background-color: #ff4500;
}


/* 2 col grid*/
.grid-2 {
    position: relative;
    align-items: baseline;
}
.grid-2 .grid-content {
    display: inline-block;
    position: relative;
    padding: 0;
    margin: 0;
    margin-bottom: 50px;
}
.grid-2 .grid-content .image {
    height: 320px;
    position: relative;
    background: rgba(0,0,0,.1);
    display: block;
    overflow: hidden;
    margin-bottom: 24px;
}
.grid-2 .grid-content .image img {
    position: absolute;
    left: -10000%;
    right: -10000%;
    top: -10000%;
    bottom: -10000%;
    margin: auto;
    min-width: 1000%;
    min-height: 1000%;
    -webkit-transform: scale(.1);
    -o-transform: scale(.1);
    transform: scale(.1);
    width: auto;
    height: auto;
    max-width: none;
    max-height: none;
}

section {
    padding-bottom: 48px;
    padding-top: 48px;
}

section#contact-section {
    background-color: #9bd2f1;
    color: #fff;
}
#contact-section .grid-2 .grid-content:last-of-type {
    margin-bottom: 0;
}

/* triangle banner*/
section.banner {
    width: 100%;
    margin: 0;
    padding: 0;
    overflow: hidden;
}
.colourful-background {
    background-color: #804235;
    position: relative;
    color: white;
    background-image: url('./assets/images/dim-hou-2P6Q7_uiDr0-unsplash.jpg');
    background-size: cover;
    background-position: 50%;
    padding: 0 50px 120px;
}
.colourful-background .container {
    position: static;
    z-index: 6;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    min-height: 50vh;
}
.colourful-background .container .content {
    position: relative;
    z-index: 7;
    top: 0;
    bottom: 0;
    text-align: center;
}
.colourful-background .container .content h1 {
    max-width: 100%;
    margin-top: 5%;
    margin-bottom: 5%;
    font-size: 28px;
    font-weight: 600;
}
.colourful-background .container .content p {
    font-size: 24px;
    line-height: 1.8;
    text-align: center;
}

footer {
    background-color: #4c4e52;
    color: #fff;
    font-size: 12px;
    overflow: hidden;
}
footer .main-footer {
    padding-top: 80px;
    margin-left: auto;
    margin-right: auto;
}
footer .main-footer .row {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    margin-right: -15px;
    margin-left: -15px;
}
footer .main-footer .row > div:first-child{
    margin-bottom: 0!important;
    -webkit-box-ordinal-group: 2;
    -ms-flex-order: 1;
    order: 1;
    -webkit-box-flex: 0;
    -ms-flex: 0 0 25%;
    flex: 0 0 25%;
    max-width: 25%;
    position: relative;
    width: 100%;
    padding-right: 15px;
    padding-left: 15px;
}
footer .main-footer .row > div:first-child > h4{
    font-size: 16px;
    margin-bottom: 24px;
    margin-top: 0;
}
footer .main-footer .row > div:first-child > p{
    opacity: .5;
    display: block;
    margin: 5px 0;
    color: #fff;
    font-size: 12px;
}
footer .main-footer .row > div:nth-child(2){
    display: block!important;
    -webkit-box-ordinal-group: 3;
    -ms-flex-order: 2;
    order: 2;
    flex-basis: 0;
    -webkit-box-flex: 1;
    -ms-flex-positive: 1;
    flex-grow: 1;
    max-width: 100%;
    position: relative;
    width: 100%;
    padding-right: 15px;
    padding-left: 15px;
}
footer .main-footer .row > div:nth-child(3){
    display: block!important;
    -webkit-box-ordinal-group: 4;
    -ms-flex-order: 3;
    order: 3;
    flex-basis: 0;
    -webkit-box-flex: 1;
    -ms-flex-positive: 1;
    flex-grow: 1;
    max-width: 100%;
    position: relative;
    width: 100%;
    padding-right: 15px;
    padding-left: 15px;
}
footer .main-footer .row > div:nth-child(4){
    margin-bottom: 0!important;
    -webkit-box-ordinal-group: 5;
    -ms-flex-order: 4;
    order: 4;
    -webkit-box-flex: 0;
    -ms-flex: 0 0 8.33333%;
    flex: 0 0 8.33333%;
    max-width: 8.33333%;
    position: relative;
    width: 100%;
    padding-right: 15px;
    padding-left: 15px;
    flex-direction: column;
    display: flex;
}
footer .main-footer .row > div:nth-child(4) > a {
    border: 1px solid #fff;
    border-radius: 50%;
    width: 22px;
    height: 22px;
    text-align: center;
    opacity: 1;
    cursor: pointer;
    margin: 5px 0 16px 0;
}
footer .main-footer .row > div:nth-child(4) > a:hover {
    border: 1px solid #fff;
    border-radius: 50%;
    width: 22px;
    height: 22px;
    text-align: center;
    opacity: 1;
    cursor: pointer;
}
footer .main-footer .row > div:nth-child(4) > a > p {
    margin: 5px 0;
    color: #fff;
}
footer .main-footer .row > div:nth-child(4) > a > i {
    padding-top: 5.3px;
    opacity: 1;
    font-size: 12px;
    color: white;
}
footer .main-footer .row > div:last-child{
    display: block!important;
    -webkit-box-ordinal-group: 6;
    -ms-flex-order: 5;
    order: 5;
    -webkit-box-flex: 0;
    -ms-flex: 0 0 33.33333%;
    flex: 0 0 33.33333%;
    max-width: 33.33333%;
    position: relative;
    width: 100%;
    padding-right: 15px;
    padding-left: 15px;
}

footer .small-print {
    padding: 0 10%;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 10px;
}
footer .small-print > .company-info {
    font-size: 8.4px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    margin-right: -15px;
    margin-left: -15px;
    padding-right: 15px;
    padding-left: 15px;
}
footer .small-print > .company-info > div:first-child {
    -webkit-box-flex: 0;
    -ms-flex: 0 0 50%;
    flex: 0 0 50%;
    max-width: 50%;
    font-size: 11.2px;
    opacity: 0.5;
    margin-bottom: 10px;
}
footer .last-small-print {
    padding: 0 10%;
    margin-right: auto;
    margin-left: auto;

}
footer .last-small-print > .bottom-row {
    -ms-flex-wrap: wrap;
    flex-wrap: nowrap;
    margin: 20px -15px;
}
footer .last-small-print > .bottom-row > div:first-child {
    -webkit-box-flex: 0;
    -ms-flex: 0 0 16.66667%;
    flex: 0 0 16.66667%;
    max-width: 16.66667%;
    position: relative;
    width: 100%;
    padding-right: 15px;
    padding-left: 15px;
}
footer .last-small-print > .bottom-row > div:last-child {
    margin-top: 0!important;
    margin-bottom: 8px;
    -webkit-box-flex: 0;
    -ms-flex: 0 0 83.33333%;
    flex: 0 0 83.33333%;
    max-width: 83.33333%;
    position: relative;
    width: 100%;
    padding-right: 15px;
    padding-left: 15px;
}
footer .last-small-print > .bottom-row > div:last-child > p {
    opacity: .5;
    display: block;
    color: #fff;
    font-size: 12px;
    margin-top: 0;
    margin-bottom: 0;
}
footer > div:last-child {
    width: 100%;
}
footer > div:last-child > .row {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    flex-direction: row;
}
footer > div:last-child > .row > div {
    padding: 8px;
    text-align: center;
    flex-basis: 0;
    -webkit-box-flex: 1;
    -ms-flex-positive: 1;
    flex-grow: 1;
    max-width: 100%;
}
footer > div:last-child > .row > div:first-child {
    background-color: #c71585;
    color: #ff8c00;
}
footer > div:last-child > .row > div:nth-child(2) {
    background-color: #66cdaa;
    color: #6c4891;
}
footer > div:last-child > .row > div:nth-child(3) {
    background-color: #b5ca52;
    color: #01517a;
}
footer > div:last-child > .row > div:nth-child(4) {
    background-color: #9bd2f1;
    color: #804235;

}
footer > div:last-child > .row > div:last-child {
    background-color: #f7be1f;
    color: #ff4500 !important;
}

footer > hr:first-of-type {
    opacity: 0;
}
footer .footer-logo {
    width: 100px;
    height: auto;
    margin-top: 5px;
} 

@media (min-width: 576px) {
    .colourful-background .container .content h1 {
        font-size: 48px;
    }
    .container {
        max-width: 540px;
    }
    #contact-section .grid-2 {
        flex-direction: column;
    }
    #contact-section .grid-2 .grid-content {
        width: 100%;
        margin: 0;
        margin-bottom: 64px;
    }
    .grid-2 {
        display: flex;
    }
    footer .last-small-print > .bottom-row {
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
    }
}
@media (min-width: 768px) {
    .container {
        max-width: 720px;
    }
    #contact-section .grid-2 {
        flex-direction: column;
    }
    #contact-section .grid-2 .grid-content {
        width: 100%;
        margin: 0;
        margin-bottom: 64px;
    }
}
@media (min-width: 992px) {
    .container {
        max-width: 960px;
    }
    section#about .text {
        width: 66%;
    }
    #contact-section .grid-2 {
        flex-direction: row;
    }
    #contact-section .grid-2 .grid-content {
        width: 48%;
        margin: 0;
    }
    #contact-section .grid-2 .grid-content:first-of-type {
        margin-right: 4%;
    }
}
@media(min-width:1200px) {
    .container {
        max-width: 1140px;
    }
}