@import url('https://fonts.googleapis.com/css?family=Muli:300,700&display=swap');
*{
    box-sizing: border-box;
}
body{
    font-family: 'Muli', sans-serif;
    font-weight:  300;
    font-size: 16px;
    line-height: 1.1em;
    /* max-width: 1440px; */
    margin: 0px auto;
}
h1,h2,h3,h4,h5,h6{
    font-weight: 700;
    line-height: 1.2em;
}
.special{
    font-size: 18px;
line-height: 120.18%;
letter-spacing: 0.13em;
text-transform: uppercase;
}
nav.topbar{
    display:flex;
    height: 75px;
    padding: 10px 10px;
    justify-content: space-between;
    align-items: center;
}
nav.topbar .logo{
    height: 100%;
}
.contact_item{
    display: inline-flex;
    align-items: center;
    margin-left: 28px;
}
.contact_item img{
    margin-right: 10px;
}
header{
    background: url(img/headerbg.jpg);
    background-size: cover;
    background-position: left top;
    min-height: 375px;
    padding: 0px 10px;
    display: flex;
    align-items: center;
    position: relative;
}
header::before{
    content:'';
    display: block;
    position: absolute;
    width: 100%;
    top: 0px;
    left:0px;
    height: 100%;
    background:linear-gradient(358.36deg, rgba(255, 255, 255, 0) 0.91%, rgba(254, 250, 243, 0.58) 97.64%);
}
header .content{
    z-index: 1;
    padding: 10px;
}
h1{
    font-size: 36px;
line-height: 120.18%;

}
p{
    line-height: 1.27em;
}
section{
    padding: 60px 0px ;
}
.centered{
    text-align:center;
}
.centered p{
    max-width:  65%;
    margin: 30px auto 0px;
}
@media (max-width: 1000px){
    .centered p{
        max-width: 90%;
    }
}
nav.carousel{
    display: flex;
    max-width: 550px;
    margin: 0px auto 0px;
    box-shadow: 0px -4px 8px rgba(0, 0, 0, 0.05);
    border-radius: 4px;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    -ms-border-radius: 4px;
    -o-border-radius: 4px;
    overflow: hidden;
    position: relative;
}

nav.carousel .navitem {
    font-size: 14px;
    min-width: 110px;
    text-align: center;
    border-right: 1px solid #eee;
    padding: 15px 0px 10px; 
    background: #fff;
    cursor: pointer;
}


nav.carousel .navitem:last-child{
    border:none;
}
nav.carousel .navitem.active{
    border-bottom: 4px solid rgb(216, 31, 37);
}
nav.carousel .navitem img{
    display: block;
    margin: 0px auto 10px;
}
article.carousel{
    margin-top:-20px;
    position: relative;
    z-index: -2;
    width: 100%;
    min-height:500px;
}
article.carousel .carouselitem{
  display: grid;
  grid-template-columns: 65% 35%;
  align-items: stretch;
  grid-template-areas: ". .";
  min-height: 500px;
  opacity: 0;
  position: absolute;
  width:100%;
  top:0px;
  
  transition: all cubic-bezier(0.165, 0.84, 0.44, 1) .6s;
  -webkit-transition: all cubic-bezier(0.165, 0.84, 0.44, 1) .6s;
  -moz-transition: all cubic-bezier(0.165, 0.84, 0.44, 1) .6s;
  -ms-transition: all cubic-bezier(0.165, 0.84, 0.44, 1) .6s;
  -o-transition: all cubic-bezier(0.165, 0.84, 0.44, 1) .6s;
}
article.carousel .carouselitem.active{
    opacity: 1;
    top:0px;
}

.carouselitem img{
    display:none;
}
.carouselitem .content{
    padding: 90px 20px 90px;
    background: #333;
    color:#fff;
    position: relative;
    
}
.carouselitem .content h2{
    font-size: 24px;
    line-height: 120.18%;
    margin-bottom: 30px;

}
.carouselitem .carimg{
    background-size: cover !important;
    background-position: center !important;
    
}
.carouselitem .content a{
    position: absolute;
    bottom: 30px;
    display: none;

    right:0px;
    border-bottom: 2px solid rgb(172, 25, 30);
    padding-bottom: 10px;
    color: #fff !important;
    text-decoration: none;
    padding-right: 30px;
}
footer{
    background: #212121;
    display: grid;
    grid-template-columns: 65% 35%;
    align-items: center;
    grid-template-areas: ". .";
    padding: 60px 10px 60px;
}
footer .logo-g{
    width:300px;
    max-width: 80%;
    margin: 0px auto;
    mix-blend-mode: multiply;
    display: block;
}
footer .content{
    padding: 0px 20px;
    display: flex;
    
}
footer .content h3{
    color:#fff;
    margin-bottom:20px;
}
footer .content a{
    color: #fff !important;
    text-decoration: none;
    line-height: 2em;
}
footer .col{
    padding: 0px 30px;
    
}
@media (max-width: 800px){
    nav.topbar{
        display: block;
        height: auto;
    }
    nav.topbar .logo{
        display: block;
        height: 50px;
        margin: 0px auto 20px;
    }
    .contact{
        display: flex;
        justify-content: center;
    }
    nav.carousel{
        display: none;
    }

    article.carousel .carouselitem{
        display: block;
        position: relative;
        top:auto;
    opacity: 1;
    }
    article.carousel .carouselitem .carimg{
        min-height: 300px;
    }
    footer{
        display:block;
    }
    footer .content{
        display:block;
        
    }
    footer .col{
        margin-bottom: 60px;
    }
    
}