@import url('https://fonts.googleapis.com/css2?family=Assistant:wght@300;800&family=Roboto+Condensed:wght@700&family=Secular+One&display=swap');
/*

Pixel pusher, exploring creativity as a tool
full names: tshidiso brandon sibiya
alies: @stbrandon
handler :@stbrandondoncanvas
phone: +27 (0) 65 848 7526
email: tshidisosibiya@gmail.com
website : www.tiltdigitalstudio.com
email hello@tiltdigitalstudi.com
handler :@tiltds
*/

*{
    border:0;
    padding: 0;
    margin:0;
    outline: none;
    text-decoration:none;
    list-style:none;
    font-size: 14px;
    color: #000; 
    font-family: 'Assistant', sans-serif;
    font-weight: 300;
    outline: none;
}
html {
    position:relative;
    top:0;
    left: 0;
    width: 100%;
    height:100%; 
    background: #fff;
    overflow-x:hidden;
}
input:focus{
    outline:none;
}
textarea:focus{
    outline:none;
}
/*end rest html*/
body{
    position:relative;
    top:0;
    left: 0;
    width: 100%;
    height:100%; 
    overflow-x:hidden;
    overflow: auto;
}
h1{ 
    font-family: 'Secular One', sans-serif;
}
h2, h3, h4, h5, h6{
    font-family: 'Secular One', sans-serif;
}
p{ 
    font-family: 'Assistant', sans-serif;
}
form, li, a{
    text-decoration: none;
    font-family: 'Roboto Condensed', sans-serif;
}
header{
    display: block;
    z-index:398;
    position: absolute;
    top:0;
    left: 0;
    width: 100%;
    height: 6em; 
    overflow:hidden;  
    background-color: #fff;
} 
/*#nnlogo{ 
    display: inline-block;
    position: absolute;
    top: 0;
    left: 8em; 
    width: 16em;
     height: 6em; 
    background-image: url(../images/rbelogoblack.png);
    background-size: auto 90%;
    background-position: center;
    background-repeat: no-repeat;
    cursor: pointer; 
}*/
#nav-logo{ 
    display: inline-block;
    position: relative;
    top: 0;
    left: 8em; 
    width: 16em;
    height: 100%; 
    background-image: url(../images/rbelogoblack.png);
    background-size: auto 80%;
    background-position: center;
    background-repeat: no-repeat;
    cursor: pointer;
}

#nav-list{ 
    overflow: hidden;
    display: inline-block;
    position: relative;
    top: 0;
    left: 8em; 
    width:  auto;
    margin-left: 8em;
    height: auto;  
    cursor: pointer; 
    transition: all .2s ease-in-out;
}
#nav-list ul{ 
    position: relative;
    top: 0;
    left: 0;
    width: auto;
    height: auto;
    margin:  2em auto;
}
#nav-list ul li{
    position: relative;
    top: 0;
    left: 0;
    width: auto;
    height: auto;
    display: inline-block
}
#nav-list ul li a{
    margin: .2em;
    margin-left: 1em;
    font-size: 1.3em;
    font-weight: 900;
    color: rgba(1,1,1,.8);
}
#nav-list ul li:nth-child(5) {
    font-size: .8em;
} 
#nav-list li a:hover{ 
    color: #70adb5;
}
#header-mobile-btn {
    display: none;
    z-index: 599;
    overflow: hidden;
    float: right;
    position: fixed;
    top:0;
    right: 2em;
    height:2.5em;   
    width: 2.5em;
    margin-top: 2em; 
    cursor: pointer;
}
.header-mobile-opn{
    z-index: 1;
    position: absolute;
    top:0;
    left: 0;
    height:100%;   
    width:100%;   
}
.header-mobile-opn li{
    position: relative;;
    top:0;
    left: 0;
    margin-top: calc( 100% / 7); 
    height: calc( 100% / 7);   
    width: 100%;
    background-color: #70adb5;
    transition: all 0.4s ease-in-out;
}
.header-mobile-opn .slideItem{
    transition: all 0.4s ease-in-out;
    left: 100%;
}
#header-mobile-cls{
    opacity: 0;
    position: absolute;
    top:0;
    left: 0;
    height:100%;   
    width:100%;   
}
#header-mobile-cls li:nth-child(1){
    position: absolute;
    top:50%;
    left:0;
    height: calc( 100% / 7);   
    width: 100%;
    background-color: #cc0033;
    transition: all 0.4s ease-in-out;
    transform: rotate3d(0, 0, 1, 45deg);
}
#header-mobile-cls li:nth-child(2){
    position: absolute;
    top:50%;
    left:0;
    height: calc( 100% / 7);   
    width: 100%;
    background-color: #cc0033;
    transition: all 0.4s ease-in-out;
    transform: rotate3d(0, 0, 1, -45deg);
}
.header-mobile-cls .slideItem{
    transition: all 0.4s ease-in-out;
    left: 100%;
}

#head{
    z-index: 400;
    /*display: block;*/
    display:none;
    position: fixed;
    top:0;
    left:0;
    height: 100%;  
    width: 100%;
    overflow: hidden;
    overflow-y: auto;
    background-color: #ffffff;
    transition: all 0.8s ease-in-out;
}
#head ul{
    margin: 0 auto;
    position: absolute;
    top:calc(50% + 1em);
    left:10%;
    transform: translateY(calc(-50% + 1em));
    height: auto;   
    width:90%;
    text-align: left;
}
#head li{
    line-height: 180%;
    margin:0;
    font-weight:900;
}
#head li a{
    font-size:2.6em;
    transition: all 0.4s ease-in-out;
}
#head li a:hover{
    color: #70adb5;
    transition: all 0.4s ease-in-out;
}
#head li a.active{
    font-size:2em;
    color: #cc0033;
}
#head ul li:nth-child(5) {
    font-size: 1em;
} 
@media only screen and (max-width : 1090px) {
    #nav-list{ 
        display: inline-block;
        left: 4em;    
        margin-left: 4em;
    }
}
@media only screen and (max-width : 1023px) {
    #nav-logo, #nnlogo{  
        left: 4em; 
    }
    #nav-list{ 
        display: inline-block;
        left: 4em;    
        margin-left: 2em;
    }
}
@media only screen and (max-width : 900px) {
    #nav-logo, #nnlogo{  
        left: 4em; 
    }
    #nav-list{  
        display: none;
    }
    #header-mobile-btn {
        display: block;
    } 
} 
@media only screen and (max-width : 800px) {
    #head li{
        font-size:1.6em;
    }
        #nav-logo, #nnlogo{  
        left: 2em; 
    }
}
@media only screen and (max-width : 600px) {  
    #nav-logo, #nnlogo{  
        left: 1em; 
    }
    #head li{
        font-size:1.3em;
    }
}
@media only screen and (max-width : 360px) {
    #head li{
        font-size:1.2em;
    }
}
@media only screen and (max-height : 400px) {
    #head li{
        font-size:1.2em;
    }
}
.coverOther{
    position: relative;
    top:0;
    left: 0;
    width: 100%;
    height: auto; 
}
.companySec{
    padding-top: 16em;
    padding-bottom: 4em;
    position: relative;
    top:0;
    left: 0;
    width: 100%;
    height: auto; 
}
.cpCompetition{

    background-image: url(../imgs/slide/rbephotography.jpg);

    background-attachment: fixed;
    background-size: cover;
}
.cpCompany{

    background-image: url(../imgs/slide/rbestudio.jpg);

    background-attachment: fixed;
    background-size: cover;
}
.cpServices{

    background-image: url(../imgs/slide/rbemix.jpg);

    background-attachment: fixed;
    background-size: cover;
}
.companySec:after {
    z-index: 1;
    position: absolute;
    content: " ";
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    background-color: rgba(127, 95, 101,.3);
    /*background-color: rgba(255, 0, 0,.3);*/
}
.companySec{
    display: flex;
    flex-direction: column;
    align-items: center;
}
.compItems{ 
    z-index: 2;
    height: auto;
    width: 80%; 
    color: #fff;
    text-align: left;
}
.companySec h2{  
    font-size: 2em;
    color: #fff;
}
.companySec h1{
    font-size: 7em;
    color: #fff;
    line-height: 90%;
}
.companySec p{  
    font-size: 1.2em;
    color: #fff;
    font-weight: 300;
    width: 70%;
}
.compItems a {
    color:  #70adb5;
}
@media only screen and (max-width : 1023px) {
    companySec{
        padding-top: 8em;
    }
    .compItems{ 
        width: 80%; 
    }
    .companySec h2{  
        font-size: 1.6em;
        color: #fff;
    }
    .companySec h1{
        font-size: 5em;
        color: #fff;
        line-height: 90%;
    }
    .companySec p{   
        font-size: 1.2em;
        color: #fff;
        width: 80%;
    }
}
@media only screen and (max-width : 600px) {
    companySec{
        padding-top: 8em;
    }
    .compItems{ 
        width: 80%; 
    }
    .companySec h2{  
        font-size: 1.4em;
        color: #fff;
    }
    .companySec h1{
        font-size: 3em;
    }
    .companySec p{  
        font-size: 1.2em;
        font-weight: 300;
        width: 100%;
    }
}
.companyDetails {
    overflow: hidden;
    position: relative;
    top:0;
    left: 0;
    width: 100%;
    height: auto;
    background-color: #fff;
    text-align: center;
}
.cd{
    margin: 0 auto;
    overflow: hidden;
    display: inline-block;
    position: relative;
    top:0;
    left: 0;
    width: 90%;
    height: auto; 
    text-align: left; 
    margin-top: 6em;
    padding-top: 2em;
    padding-bottom: 2em;
}
.cd h3{
    font-size: 2em;
}
.cd p{
    padding: 1em;
    font-size: 1.6em;
}
.cdBox{
    overflow: hidden;
    display: inline-block;
    position: relative;
    top:0;
    left: 0;
    width: calc(40% - 4em);
    height: auto; 
    text-align: left;
    margin: 3em;
    margin-top: 6em;
    padding-top: 2em;
    padding-bottom: 2em;
}
.cdBox h3{
    font-size: 4em;
}
.cdBox p{
    font-size: 1.6em;
}
.cdBoxes{
    overflow: hidden;
    display: inline-block;
    position: relative;
    top:0;
    left: 0;
    width: 100%;
    height: auto; 
    text-align: left;
    margin: 6em auto;

    padding-top: 2em;
    padding-bottom: 2em;
}
.cdBoxes h3{
    text-align: center;
    font-size: 3em;
}
.cdBoxes p{
    font-size: 1.6em;
}
.cdBoxes ul li{
    font-size: 4em;
}
.cdBoxes-info {
    display: inline-block;
    position: relative;
    top:0;
    left: 5%;
    width: calc(45% - 1em);
    height: 3em;
    text-align: left;
}
.cdBoxes-details{
    display: inline-block;
    position: relative;
    top:0;
    left: 0;
    width: calc(50%);
    height: auto; 
    text-align: left;
}
.cd-color-top{
    padding-top: 10em;
    padding-bottom: 10em;
    background-color: #000;
    color: #fff;
}
.cd-color{ 
    color: #fff;
}
.cd-color-top h3, .cd-color-top li{
    color: #fff;
}
.cd-color h3, .cd-color li{
    color: #000;
}
.cd-color-top h3{
    font-size: 5em;
    color: #000;
    top: -50%; 
    background-color: #70adb5;
}
.cd-color h3{    
    font-size: 5em;
    color: #000;
    background-color: #70adb5;
    padding: .2em;
    top: -4em;
    left: .5em;
    position: absolute;
    width: 8em;
}
@media only screen and (max-width : 1023px) {
    .cd-color h3{
        width: 8em;

        font-size: 3em;
    }
    .cd-color li{
        font-size: 3em;
    }
}
@media only screen and (max-width : 800px) {
    .cd-color h3{    
        font-size: 3em;
        color: #000;
        background-color: #70adb5;
        padding: .2em;
        top: -1em;
        left: 0;
        position: relative;
        width: auto;
    }
    .cdBoxes div{
        position: relative;
        left: 0;
        width: 90%;
        display: block;
        margin: 0 auto;
    }
    .cdBoxes-details{
        left: 5%;
        width: 90%;
        margin: 2em auto;
        margin-left: 2em;
    }
    .cdBoxes ul li{
        font-size: 3em;
    }
    .cdBox{

        width: calc(50% - 5em);
        height: auto; 
        text-align: left; 
        margin: 6em auto;
    }
    .cdBox h3{
        font-size: 2.6em;
    }


    .cdBox p{
        font-size: 1.2em;
        width: 80%;
    } 
    .cd-color-top{
        padding-top: 8em;
        padding-bottom: 8em;
    }
}
@media only screen and (max-width : 600px) {
    .cdBoxes-details{
        left: 6%;
        width: 90%;
        margin: 2em auto; 
    }
    .cdBoxes ul li{
        font-size: 2.2em;
    }
    .cdBox{
        padding-bottom: 0;
        margin: 1em auto;
        width: calc(90% - 5em);
    }
    .cdBox p{
        font-size: 1.4em;
        width: 80%;
    } 
    .cd-color-top h3{
        font-size: 3em;
    }
    .cd-color h3{   
        top: -.4em; 
        font-size: 2.4em;
    }
    .cd-color-top ul{
        padding-top: 2em;
        padding-left: 1em;
    }
     .cd-color-top{
        padding-top: 5em;
        padding-bottom: 5em;
    }
     .cd-color{
        padding-top: 2em;
        padding-bottom: 0em;
    }

}