/*
Theme Name: Refitus
Author: N A Z
*/

html, body{
    background-color: #f0eff4;
    margin-top: 0!important;
    margin: 0 !important;
    padding: 0 !important;
    font-family: 'Lato', sans-serif;
}
section.main{
    min-height: calc(100vh - 200px);
    padding-top: 100px;
}

nav.custom-nav{
    background-color: #f0eff4;
    height: 100px;
    width: 100%;
    padding: 0 20px;
    position: fixed;
    top: 0;
    position: -webkit-sticky;
    z-index: 100000;
    -webkit-box-shadow: 0px 2px 5px 2px rgba(0,0,0,0.31);
    -moz-box-shadow: 0px 2px 5px 2px rgba(0,0,0,0.31);
    box-shadow: 0px 2px 5px 2px rgba(0,0,0,0.31);
}

.top-nav{
    display: flex;
    margin-bottom: 0!important;
}
.top-nav>li{
    list-style: none;
    padding: 0 30px;
}
.top-nav>li>a{
    color: #00100b;
    text-decoration: none;
    transition: 0.3s ease-in-out;
    text-transform: uppercase;
    letter-spacing: 3px;
}
.top-nav>li>a:hover{
    color: #ba1b1d;
    text-decoration: none;
    transition: 0.3s ease-in-out;
}

.top-nav>li.current-menu-item>a{
    color: #ba1b1d;
}
.footer-nav{
    
    margin-bottom: 0!important;
}
.footer-nav{
    display: flex;
    padding: 0;
    margin: 0;
}
.footer-nav{
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}
.footer-nav>li{
    list-style: none;
    padding: 30px;
}
.footer-nav>li>a{
    font-size: 11px;
    color: #f0eff4;
    text-decoration: none;
    transition: 0.3s ease-in-out;
    text-transform: uppercase;
    letter-spacing: 2px;
}
.footer-nav>li>a:hover{
    color: #ba1b1d;
    text-decoration: none;
    transition: 0.3s ease-in-out;
}
.footer-title{
    font-size: 16px;
    font-weight: bolder;
    color: #f0eff4;
}
footer{
    padding: 30px;
    min-height: 200px;
    width: 100%;
    background-color:#00100b;
    color: #f0eff4;
}
.landing h1{
    color: #f0eff4;
}
.landing{
    min-height: 600px;
    width: 100%;
    padding:100px 0 ; 
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    display: flex;
    justify-content: center;
}
.landing-box{
    display: flex;
    align-items: center;
    justify-content: center;
}
section>div>h2{
    margin-bottom: 50px;
}
section.dark-red{
    padding: 100px 0;
    background-color: #ba1b1d;
    color: #f0eff4;
}
section.dark-red h2::after{
    display: block;
    position: relative;
    left: calc(50% - 25px);
    top: 25px;
    background-color: #f0eff4;
    height: 3px;
    width: 50px;
    content: "";
}
section.light{
    padding: 100px 0;
    background-color: #f0eff4;
    color: #00100b;
}
section.light h2::after{
    display: block;
    position: relative;
    left: calc(50% - 25px);
    top: 25px;
    background-color: #ba1b1d;
    height: 3px;
    width: 50px;
    content: "";
}
.dark{
    color:#00100b ;
}
a.link-button{
    color: #00100b;
    margin-top: 15px;
    padding: 7px 10px;
    border:4px solid #00100b;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 14px;
    font-weight: bold;
    text-decoration: none;
    transition: 0.3s ease;
}
a.link-button:hover{
    color: #f0eff4;
    background-color: #00100b;
   
}
.bars{
    display: none;
}
.client-link{
    text-decoration: none;
    color: #f0eff4;
}
.client-link:hover{

    color: #f0eff4;
}
.client-card{
    padding: 15px;
    background-color: rgba(186, 27, 29, .5);
    background-position: center;
    background-size: cover;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    min-height: 350px;
    -webkit-box-shadow: 0px 2px 5px 2px rgba(0,0,0,0.31);
    -moz-box-shadow: 0px 2px 5px 2px rgba(0,0,0,0.31);
    box-shadow: 0px 2px 5px 2px rgba(0,0,0,0.31);
    
}
.client-card h3{
    z-index: 1;
}
.client-card::after{
    position: absolute; content: ''; display: block; top: 0; left: 0; height: 100%; width: 100%;

    background: rgba(128, 11, 11, 0.7);
    mix-blend-mode: multiply;
}

.client-card h3{
    text-transform: uppercase;
    letter-spacing: 3px;
}

.client-card:hover .overlay{
    opacity: 1;
}

.client-card .overlay{
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    background-color: rgba(186, 27, 29, .5);
    transition: 0.3s ease;
    z-index: 2;
}

.client-header{
    background-position: center;
    background-size: cover;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    height: 100%;
    width: 100%;
}

.client-header .header-box{
    background-color: #f0eff4;
    padding: 30px;
    font-size: 16px;
    position: absolute;
    min-height: 300px;
    min-width: 300px;
    right: 10%;

}

.red{
    color: #ba1b1d;
    text-transform: uppercase;
}
.text-small{
    font-size: 11px;
}
.position-text{
    color: #ba1b1d;
}
.phone-text a,
.email-text a{
    text-decoration: none;
    color: #ba1b1d;
}
@media only screen and (max-width: 960px){

    .logo{
        position: relative;
        z-index: 15;
    }
    .logo img{
        max-width: 100px;
    }
    .bars{
        width: 35px;
        height: 30px;
        margin: 10px 10px;
        position: relative;
        cursor: pointer;
        display: block;
        z-index: 15;
      }
      .bars span{
        background-color:#00100b;
        position: absolute;
        border-radius: 2px;
        transition: .3s cubic-bezier(.8, .5, .2, 1.4);
        width:100%;
        height: 4px;
        transition-duration: 500ms
      }
      .bars span:nth-child(1){
        top:0px;
        left: 0px;
      }
      .bars span:nth-child(2){
        top:13px;
        left: 0px;
        opacity:1;
      }
      .bars span:nth-child(3){
        bottom:0px;
        left: 0px;
      }
      .bars:not(.open):hover span:nth-child(1){
        transform: rotate(-3deg) scaleY(1.1);
      }
      .bars:not(.open):hover span:nth-child(2){
        transform: rotate(3deg) scaleY(1.1);
      }
      .bars:not(.open):hover span:nth-child(3){
        transform: rotate(-4deg) scaleY(1.1);
      }
      .bars.open span:nth-child(1){
        transform: rotate(45deg);
        top: 13px;
      }
      .bars.open span:nth-child(2){
        opacity:0;
      }
      .bars.open span:nth-child(3){
        transform: rotate(-45deg);
        top: 13px;
      }

    .top-nav{
        padding: 0;
    }
    nav.custom-nav{
        position: fixed;
   
    }
    .nav-container-togglable{
        display: none;
    }
    .nav-container-togglable.open{
        position: fixed;
        background-color: #f0eff4;
        z-index: 10;
        top: 0;
        left: 0;
        height: 100vh;
        width: 100%;
        text-align: center;
        display: flex;
        justify-content: center;
        align-items: center;
    }
    .top-nav>li>a{
        color: #00100b;
        font-size: 24px;
        font-weight: bold;
        letter-spacing: 3px;
    }
    .top-nav>li{
        padding:20px 0 ;
    }
    .top-nav{
        display: block;
    }
    }