@font-face {
    font-family:"aspire";
    src: url(../fonts/Aspire-DemiBold.ttf);
}

@font-face {
    font-family:"helvetica Neue";
    src: url(../fonts/HelveticaNeueDeskInterface.ttc)
}


html,body,ul,li,p,img,a,h4{
    margin: 0;
    padding: 0;
}

body{
    max-width: 1735px;
    margin: 0 auto;
    font-family: "helvetica Neue";
    font-size: 16px;
    line-height: 1.5em;
    font-weight: 300;
}

h1,h2,h3{
    font-family: "aspire";
    font-weight: 100;
  
}
.btn{
    width: 100%;
    padding: 10px 0;
    text-align: center;
    text-decoration: none;
    color: white;
    border-radius: 5px;
    display: inline-block;
    border: 1px solid white;
}


.btn:hover{
    background-color:#aaa;
    color: #fff;
}
/*Logo */
header img{

    float: left;
    margin: 0 0 0 2%;  
}
/*Navigation */

    nav #menuBar{
        background-color: black;
        height: 50px;
        margin-bottom: 0;
        border-bottom: 1px solid #333;
        color: white;
        background-image:url(../images/logosmall.png);
        background-repeat: no-repeat;
        background-size: contain;
        background-position: left center;
        
    }
    nav #menuBtn{
        background-image:url(../images/menu.png);
        background-repeat: no-repeat;
        background-size: contain;
        background-position: center;
        width: 60px;
        height: 40px;
        position: absolute;
        right: 20px;
        top:5px;
    }

nav ul{
    font-weight: 400;
    float: left;
    margin-top: 50px;
    
}
nav li{
    list-style: none;
    display: inline-block;
    margin-left: 10px;
    
}
nav li a{
    padding: 1em;
    text-decoration: none;
    text-align: center;
    color: black;
    
}
nav li a:visited{
    text-decoration: none;
}
nav li a:hover{
    text-decoration: underline;
    background-color: black;
    color: white;
}



/*Recent Work Section */
.recentWork{
    margin-top: 20%;
    padding: 0 2% 4% 2%;
    background-color: #222;
    text-align: center;
}

.recentWorkContainer{
    margin: auto;
}

.recentWork h3{
    text-align: center;
    line-height: 3em;
    color: white;
    font-size: 2em;
    margin: 0;

}

/* For small devices (e.g. smartphones) */
.recentWork img {
  max-width: 92%;
  display: inline-block;
}
/* For medium devices (e.g. tablets) */
@media (min-width: 420px) {
  .recentWork img {
    max-width: 48%;
  }
}
/* For large devices (e.g. desktops) */
@media (min-width: 760px) {
  .recentWork img {
    max-width: 24%;
  }
}




/*Section General */
section p{
    padding: 0;
    max-width: 40%;
}
section h2{
    margin:0%;
    font-size: 4em;
    line-height: 1.5em;
   
}
/*back to top selector*/
.returnTop{
    margin: 50%;
    clear: both;
}




#welcomeContainer{
    background: url(../images/headbk.jpg) no-repeat right top;
    min-height:100vh;
}
section#welcome{
    clear: left;
    background: url(../images/headbk.jpg) no-repeat right top;
    min-height:100vh;
}
section:nth-child(2n+3){
    background-color: #000;
}
section#portfolio,#about,#contact{
    min-height: auto;
    padding: 5% 5%;
   /* margin: 0 5%;*/
}
#portfolio > h2{
    color: white;
    text-align: center;
    font-size: 4em;
    line-height: 1.5em;
    
}

/*Welcome Section Stying */
#welcome h1{
    clear: left;
    float: left;
    margin: 10% 0 5% 5%;
    font-size: 10em;
}
#welcome p{
    clear: left;
    max-width: 40%;
    padding: 0;
    margin-left: 5%;
}

/*About Section Stying */

#about h2{
    margin-left: 50%;
}
#about img{
    float: left;
    max-width: 50%;
    height: auto;
}

#about p{
    margin-left: 50%;
    padding: 10px;
   
}

/*Portfolio Section */

#portfolio{
    text-align: center;
}

#portfolio ul{
    border-bottom: 1px solid #fff;
    margin:10px 0;
    padding: 0;
    
}



/* For small devices (e.g. smartphones) */
#portfolio img {
    max-width: 100%;
    display: block;
    margin: auto;
}

#portfolio li{
    display: block;
    margin-bottom: 10px;
    list-style: none;
    padding: 2%;
    
}


/* For medium devices (e.g. tablets) */
@media (min-width: 420px) {
  #portfolio img {
    max-width: 48%;
      display: inline-block;
  }
    
}
/*fix buttons breaking */
    @media (min-width: 534px){
     
        #portfolio li {
        display: inline-block;
        list-style: none;
        padding: 15px;
        margin-left: 10px;
}
   
    
 #portfolio ul{
    border-bottom: 1px solid #fff;
    margin-bottom: 10px;
}

    .btn{
        padding: 10px;
    }
}

/* For large devices (e.g. desktops) */
@media (min-width: 769px) {
  #portfolio img{
    margin: 0;
    width: 15%
}
    
 
    
}

/* Contact Section */

 #contact p{
        max-width: 100%;
    }

.contactForm{
    max-width: 50%;
    margin-top: 2%;

}
.contactForm input[type="text"],
.contactForm input[type="tel"],
.contactForm input[type="email"]{
    font-size: 0.8em;
    width: 70%;
     margin-top: 2%;
    border: 1px solid #444;
    padding: 2%; 
    border-radius: 4px;
    box-sizing: border-box;
}
.contactForm textarea{
    font-size: 0.8em;
    width: 100%;
    height: 170px;
    box-sizing: border-box;
    margin-top: 2%;
    border: 1px solid #444;
    padding: 2%; 
    border-radius: 4px;
}
.contactForm input[type="submit"]{
    font-size: 0.8em;
    margin-top: 2%;
    width: 100%;
    padding: 2%;
    border: 1px solid #444;
    background-color: black;
    color: white;
    border-radius: 4px;
    
}
.clear{
    clear: both;
}

footer{
    color: white;
    min-height:20vh;
    background: #000;
}
footer ul{
    display: inline-block;
}
footer li{
    display: block;
    list-style: none;
    
}
footer li a{
    color: white;
    text-decoration: none;
}
.leftFooter{
    margin-top: 2.5%;
    float: left;
    padding-left: 5%;
    width: 30%;
    text-align: left;
}
.centerFooter{
    margin-top: 2.5%;
    text-align: center;
    width: 30%;
    float: left;
}
.centerFooter p{
    font-size: 0.5em;
    margin-top: 30px; 
}

.rightFooter{
    margin-top: 2.5%;
    float: right;
    width: 30%;
    margin-right: 5%;
    text-align: right;
}

/* try and limit the strech of the display */
@media screen and (min-width: 1200px) {
   section#portfolio,#about,#contact{
       min-height: 50vh;
    }
}
/*ipad pro height */
@media screen and (min-height: 1000px) {
   section#welcome,#portfolio,#about,#contact{
       min-height: auto;
    }

}

/*Bellow 1000px */
@media screen and (max-width: 1000px) {
#welcome h1{
    font-size: 6em;
    }
section#portfolio,#about,#contact{
    min-height: auto;
    padding: 5%;
    }
section#about{
      text-align: center;  
    }
    #about h2{
    margin-left: 0;;
}
#about img{
    float: none;
    max-width: 80%;
    height: auto;
}

#about p{
    max-width: 90%;
    margin: 0;
    padding: 10px;
   
}
    
}
/*Bellow 780px */
@media screen and (max-width: 780px) {
    #contact p{
        max-width: 100%;
    }
    .contactForm{
    max-width: 100%;
}
    .contactForm input[type="text"],
    .contactForm input[type="tel"],
    .contactForm input[type="email"]{
        width: 100%;
    }
    
    .leftFooter{
        display: none;
    }
    .centerFooter{
        clear: left;
         float: none;
        margin: 0 auto;
        width: 100%;
    }
    .rightFooter{
        
        text-align: center;
        width: 100%;
        float: left;
        margin: 5% auto;
        
    }
   
}


@media screen and (max-width:600px){
       body{
        line-height: 1.5;
    }
    section#welcome{
        background: white;
        text-align: center;
        background-image: url(_images/mobbk.jpg);
        background-repeat: no-repeat;
        background-position: top center;
    }
    
    
    #welcome h1{
        float: none;
        clear: both;
        margin: 10% auto;
    }
    #welcome p{
        background-color: rgba(0,0,0,0.3);
        margin: auto;
        max-width:100%;
        color: black;;
    }
}

@media screen and (min-width:901px){
      
    #myMenu{
        display:block !important;
    }
    
    #menuBar{
        display:none;
    }
}


@media screen and (max-width: 900px) {
    
 
    
    header img{
        display: none;
    }

     nav{
        background-color: black; 
    }
    

    
    #myMenu{
        display: none;
    }
    
    nav ul{
        margin: 0;
        padding: 0;
        list-style: none;
        width: 100%;
        float: none;
    }
    
    nav li {
        display: block;
        margin-left: 0;
    }
    
    nav li a:hover {
        background-color: #eee;
        color: black;
    }
          
    nav li a {
        background-color: black;
        color: white;
        border-bottom: 1px solid #333;
        border-bottom: 1px solid #333;
        display: block;
        padding: 5px;
    }
}


