@font-face {
    font-family: 'InterBold';
    src: url('../fonts/Inter-Bold.ttf');
}

@font-face {
    font-family: 'InterLight';
    src: url('../fonts/Inter-Light.ttf');
}

@font-face {
    font-family: 'InterMedium';
    src: url('../fonts/Inter-Medium.ttf');
}

@font-face {
    font-family: 'CoveredByYourGrace';
    src: url('../fonts/CoveredByYourGrace-Regular.ttf');
}

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

body {
    font-family: "InterLight";
}

.btn {
    -webkit-border-radius: 0 !important;
    -moz-border-radius: 0 !important;
    border-radius: 0 !important;
}

#layout-header {
    width: 100%;
    height: 100px;
    background-color: #ffffff;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;
}

#layout-subheader {
    width: 100%;
    min-height: 275px;
    background-color: #DAD1CB;
    font-family: InterBold;
    font-size: 40px;
    color: #ffffff;
    text-align: center;
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    justify-content: center; /* align horizontal */
    align-items: center; /* align vertical */
}

#layout-carousel {
    width: 100%;
    height: 550px;
    background-color: #DAD1CB;
    font-family: InterBold;
    color: #ffffff;

    background-size: cover;
    position: relative;
}

.layout-carousel {
    width: 100%;
    position: absolute;
    top: 0;
    z-index: 1;
}

.layout-carousel-title {
    background: rgba(92, 149, 65, 0.9);
    font-size: 25px;
    text-align: center;
    padding: 20px;
}

.layout-carousel-title-cont {
    width: 100%;
    position: absolute;
    bottom: 50px;
}


.layout-carousel-img {
    height: 550px;
    object-fit: cover;
    object-position: center top;
}

@media(max-width: 950px) {
    .layout-carousel-title {
        font-size: 20px;
        line-height: 1.3;
        padding: 10px;
    }

    #layout-carousel {
        width: 100%;
        height: 500px;
    }

    .layout-carousel-img {
        height: 500px;
    }
}

#layout-subheader .subtitle {
    position: absolute;
    font-size: 20px;
    font-family: InterMedium;
    bottom: 5px;
    text-align: right;
}

@media (min-width: 920px) {
    #layout-subheader .subtitle {
        width: 900px;
        margin: auto;
    }
}

@media (max-width: 919px) {
    .post-content {
        width: 100%;
    }
    #layout-subheader {
        font-size: 30px;
    }
}

#layout-header .menu {
    color:  #54565a;
    font-size: 18px;
    float: right;
    width: 125px;
    margin-top: 35px;
    text-align: center;
}

#layout-menu-icon {
    width: 60px;
    height: 60px;
    /*background-color: grey;*/
    position: fixed;
    top: 20px;
    right: 10px;
    color:  #54565a;
    font-size: 40px;
    text-align: center;
}

@media (min-width: 906px) {
    #layout-menu-icon {
        display: none;
    }

    #layout-menu-mobile {
        display: none;
    }
}

.href {
    display:inline-block;
    width:100%;
    height:100%;
    text-decoration: none;
    color: #d6d1ca;
}

#layout-header .menu:hover {
    color: #cbe100;
}

#layout-header .menu a:hover {
    color: #cbe100;
}

#layout-menu-mobile .menu a:hover {
    color: #cbe100;
}

.menu-selected {
    font-family: InterBold;
    color: #55c2de;
}

.menu-selected a {
    color: #55c2de;
}

#layout-menu-mobile {
    width: 100%;
    background-color: #ffffff;
    position: fixed;
    top: -500px;
    transition: all .3s;
    box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;
}

#layout-menu-mobile .menu {
    color: #ffffff;
    font-size: 20px;
    width: 100%;
    height: 80px;
    text-align: center;
    padding-top: 35px;
}
#layout-menu-mobile .right {
    border-bottom: solid 1px;
}

.layout-menu-mobile-open {
    top: 100px !important;
    z-index: 10000;
}

@media (max-width: 905px) {
    #layout-header .menu {
        display: none;
    }
}

/* Tablet */
@media (min-width: 768px) {

}

#layout-header-img {
    width: 110px;
    margin-top: 5px;
    margin-left: 30px;
}

.layout-footer {
    width: 100%;
    background-color: #E6E7E9;
    box-shadow: #888888 0px 2px 8px 2px;
    margin-top: 20px;
    padding-top: 30px;
    position: relative;
    overflow: hidden;
    padding-left: 12%;
    padding-right: 12%;
}

.layout-footer-block {
    float: left;
    width: 25%;
    height: 300px;
}

.layout-footer-block1 {
    width: 35%;
}

.layout-footer-block4 {
    width: 15%;
}

.layout-footer-title {
    font-family: InterBold;
    font-size: 19px;
    color: #5c9541;
}

.layout-footer-text {
    font-family: InterMedium;
    font-size: 16px;
    color: #54565a;
    line-height: 1.7;
}

.layout-footer-text a {
    text-decoration: none;
    color: #54565a;
}

.layout-footer-footer {
    width: 76%;
    font-family: InterLight;
    text-align: center;
    position: absolute;
    font-size: 14px;
    bottom: 10px;
}

#layout-footer-img {
    width: 150px;
}

@media(max-width: 1370px) {
    .layout-footer {
        padding-left: 6%;
        padding-right: 6%;
    }

    .layout-footer-footer {
        width: 88%;
    }
}

@media(max-width: 1000px) {
    .layout-footer-block {
        float: left;
        width: 50%;
    }
}

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