@import url('https://fonts.googleapis.com/css?family=Montserrat:400,600|Muli|Droid+Serif:400,400i');

body{
    font-family: 'Montserrat', sans-serif;
}
img{
    display:block;
    max-width:100%;
}
.main-section{
    height:100vh;
    width:100%;
    overflow:hidden;
    position: relative;
}
#top-bar{
    position: absolute;
    top:0;
    left:0;
    padding-left:20px;
    padding-right:20px;
    padding-top:25px;
    width:100%;
    display:-webkit-box;
    display:-ms-flexbox;
    display:flex;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
        -ms-flex-direction: row;
            flex-direction: row;
   -webkit-box-pack: justify;
       -ms-flex-pack: justify;
           justify-content: space-between;
            z-index:99;
    /* color:#fff; */
    /* background-image: -webkit-gradient(linear, left top, left bottom, from(#333), to(Transparent));
    background-image: linear-gradient(#333, Transparent); */
}
.centerlin{
    text-align: center;
    margin-left:50px;
}
.centerlin h2{
    letter-spacing:6px;
    text-transform: uppercase;
}
.centerlin h4{
    font-weight: 200;
    letter-spacing:2px;
}
#logo{
    width:60px;
    
}
.flex-container{
    display:-webkit-box;
    display:-ms-flexbox;
    display:flex;
    -webkit-box-orient:horizontal;
    -webkit-box-direction:normal;
    -ms-flex-direction:row;
    flex-direction:row;
    -webkit-box-pack:center;
    -ms-flex-pack:center;
    justify-content:center;
}
.boxes{
    height:100vh;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    position: relative;
    z-index: 1;
    padding: 0 40px 100px;
    -webkit-transition-duration: 800ms;
    transition-duration: 800ms;
    overflow: visible;
    cursor: pointer;
    display:-webkit-box;
    display:-ms-flexbox;
    display:flex;
   -webkit-box-align:end;
       -ms-flex-align:end;
           align-items:flex-end;
    flex-basis:33.33%;
}
.hero-slides-content {
    position: relative;
    z-index: 1;
    -webkit-transform: translateY(75%);
    transform: translateY(75%);
    -webkit-transition-duration: 800ms;
    transition-duration: 800ms;
    bottom: 0; 
}
.hero-slides-content .line {
    width: 100px;
    height: 1px;
    background-color: #ffffff;
    margin-bottom: 30px;
    display: block; 
}
.boxes .hero-slides-content h2 {
    font-size:2rem;
    color: #ffffff;
    font-weight: 100; 
    margin-bottom:90px;
}
.boxes .hero-slides-content p {
    color: #e8e3e3;
    margin-bottom: 0;
    -webkit-transition-duration: 500ms;
    transition-duration: 500ms;
    margin-top: 140px;
    font-size:13px;
}
.boxes:hover .hero-slides-content {
    -webkit-transform: translateY(0%);
    transform: translateY(0%);
}
.boxes:hover .hero-slides-content p {
    margin-top: 20px;
    margin-bottom: 20px;
}
.slide-background-overlay::after {
    content: '';
    position: absolute;
    height: 60%;
    width: 100%;
    z-index: -1;
    bottom: 0;
    left: 0;
    background: rgba(0, 0, 0, 0.9);
    background: -webkit-gradient(linear, left bottom, left top, from(rgba(286, 8, 21, 0.4)), color-stop(90%, rgba(286, 8, 21, 0.1)), to(rgba(286, 8, 21, 0)));
    background: linear-gradient(to top, rgba(286, 8, 21, 0.4) 0%, rgba(286, 8, 21, 0.1) 90%, rgba(286, 8, 21, 0) 100%);
}
.btn-visit {
    color: #ddd;
    /* display: block; */
    /* width: 40px;
    height: 40px; */
    padding:12px 24px;
    cursor: pointer;
    -webkit-transition: all .3s;
    transition: all .3s;
    border: 2px solid #ddd;
    border-radius: 0;
    margin:20px 0;
    text-decoration: none;
    letter-spacing: 1px;
}
.btn-visit:hover{
    border-color:#333;
    text-decoration:none;
}

@media only screen and (max-width:769px){
    .main-section{
        height:auto;
        overflow: auto;
    }
    .flex-container{
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
            -ms-flex-direction: column;
                flex-direction: column;
    }
    .boxes{
        height:50vh;
        overflow: hidden;
        padding:0 30px 50px;
    }
    .hero-slides-content{
        -webkit-transform: translateY(20%);
                transform: translateY(20%)
    }
    .boxes .hero-slides-content p{
        margin-top:8px;
        margin-bottom:32px;
    }
    .boxes .hero-slides-content h2 {
        margin-bottom:32px;
    }
}
@media only screen and (max-width:600px){
    .centerlin h2{
        font-size: 18px;
        letter-spacing:1px;
    }
    #logo{
        width:36px;
    }
    .centerlin{
        margin-left:auto;
        margin-right:auto;
    }
    #top-bar{
        position:static;
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
            -ms-flex-direction: column;
                flex-direction: column;
        -webkit-box-align: center;
            -ms-flex-align: center;
                align-items: center;
        background-image:url('../img/texture-1_dark.png');
        padding:12px 3px;
        color:#fff;
    }
}.btn {
    position: relative;
    overflow: hidden;
    text-decoration: none;
}
.btn-default {
    color: #222;
    background-color: #ffffff;
    border-color: #e3e3e3;
}
.btn {
    display: inline-block;
    margin-bottom: 0;
    padding: 0 20px;
    font-size: 11px;
    text-align: center;
    vertical-align: middle;
    -ms-touch-action: manipulation;
    touch-action: manipulation;
    cursor: pointer;
    background-image: none;
    border: 1px solid transparent;
    white-space: nowrap;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    text-transform: uppercase;
    color: black;
    -webkit-transition: all .3s;
    transition: all .3s;
    letter-spacing: .2em;
    font-weight: 400;
    line-height: 48px;
    min-width: 180px;
}
.btn:after {
    position: absolute;
    top: 0;
    left: 0;
    width: 110%;
    height: 100%;
    content: '';
    -webkit-transform: skewX(-50deg);
    transform: skewX(-50deg);
    background: -webkit-gradient(linear, right top, left top, from(rgba(245, 245, 245, 0)), color-stop(rgba(245, 245, 245, 0.8)), to(rgba(245, 245, 245, 0))) no-repeat -2em 0;
    background: linear-gradient(to left, rgba(245, 245, 245, 0), rgba(245, 245, 245, 0.8), rgba(245, 245, 245, 0)) no-repeat -2em 0;
    background-size: 2em 100%;
}
.btn:hover {
    background-color: #e30916;
    border-color: #e30916;
    color: #fff;
}
.btn:hover:after {
    -webkit-transition: .7s linear;
    transition: .7s linear;
    background-position: 150% 0;
}
