/* Box Model Hack */
* {
     box-sizing: border-box;
}

/* Clear fix hack */
.clearfix:after {
     content: ".";
     display: block;
     clear: both;
     visibility: hidden;
     line-height: 0;
     height: 0;
}

.clear {
	clear: both;
}


/******************************************
/* BASE STYLES
/*******************************************/

html{
  font-size: 62.5%;
  font-family: 'Titillium Web', sans-serif;
  background: #FFFFFF;
  background-image: url(../img/dot-grid.png);
}

a{
  text-decoration: none;
  color: #6f6f93;
}




li{
  list-style: none;
}



/******************************************
/* LAYOUT
/*******************************************/

/* --------- header section ---------- */


header{
  width: 100%;
  height: 45px;
  position: fixed;
  z-index:1;
  margin-bottom: 100px;
  background: #f3f3f6;
  top: 0;

}


 nav > ul{
  display: flex;
  flex-direction: row;
  justify-content: center;
}

header li{
  padding: 0 3%;
  font-size: 1.5rem;

}

nav ul li a{
  padding-bottom: 2px;
}

nav ul li a:hover{
  border-bottom: 2px solid #b8b4b6;
  font-size: 1.6rem;
}

.fas {
  display: flex;
  flex-direction: row;
  width: 100%;
  height: 45px;
  font-size: 3rem;
  margin: 0 20%;

}


/* ---------home section---------- */

#home{
  display: flex;
  width: 100%;
  height: 650px;
  margin-top: 100px;
}

#home > .pic{
  width: 50%;
  height: 650px;
  padding-right: 10%;
  }

.photo{
  width: 100%;
  height: 650px;
  object-fit: contain;
  object-position: right;
}

#home .bio{
  width: 50%;
  height: 750px;
  display: flex;
  flex-direction: column;
  align-content: flex-end;
  margin-top: 50px;
}

.bio > #tony{
  display: flex;
  flex-direction: row;
  justify-content: center;
  width: 100%;
  height: auto;
  margin-bottom: 0;
  padding-right: 3%;
  font-size: 6rem;
}

.bio h2{
  display: flex;
  flex-direction: row;
  justify-content: center;
  width: 100%;
  margin-top: 0;
  padding-right: 3%;
  font-size: 4rem;
}

.bio p{
  display: flex;
  flex-direction: row;
  justify-content: center;
  text-align: center;
  width: 75%;
  margin-left: 10%;
  font-size: 3rem;

}




  .social{
  width: 100%;
  height: 50px;
  display: flex;
  flex-direction: row;
  justify-content: center;
}

.social li{
  font-size: 2rem;
  padding: 0 5%;
  margin-right: 5%;
}

.social li a:hover{
  border-bottom: 2px solid #b8b4b6;
  font-size: 2.5rem;
}

#siteBlurb{
  margin-top: 200px;
  width: 100%;
  height: 200px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-content: center;
  background: #f3f3f6;
  color: black;
  font-size: 3.5rem;
  text-align: center;
}

/* ----------- portfolio section -------------- */


#portfolio{
  display: block;
  width: 100%;
  height: 900px;
  margin-top: 200px;
  background: #f3f3f6;
}


#portfolio > .samples{
  display: flex;
  flex-direction: row;
  justify-content: space-around;
  width: 100%;
  height: 500px;
  text-align: center;
}

#portfolio > h2{
  width: 100%;
  height: 150px;
  text-transform: uppercase;
  font-size: 4.5rem;
  text-align: center;
  margin-bottom: 0;
  padding-top: 45px;
}

.samples{
  margin-top: 15px;
}


.box{
  margin-top: 200px;
  width: 20%;
  height: 350px;
  border: 1px solid black;
  background: white;

}

.box span{
  font-size: 5rem;
  width: 20%;
  height: 350px;
  padding-top: 100px;
  justify-content: center;
  align-items: center;

}

.box1 a{
  display: block;
  height: 350px;
}

.box1{
  background-image: url(../img/salonpage.jpg);
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
}

.box2 a{
  display: block;
  height: 350px;
}

.box2{
  background-image: url(../img/Calculator.png);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.box3 a{
  display: block;
  height: 350px;
}

.box3{
  background-image: url(../img/Horoscope.png);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}


/* --------- xp section ---------- */


#xP > h2{
  width: 100%;
  height: 150px;
  margin-top: 0;
  text-transform: uppercase;
  font-size: 4rem;
  text-align: center;
  padding-top: 100px;

}

.stats{
  width: 100%;
  height: 450px;
  display: flex;
  flex-direction: column;
  font-size: 2.5rem;
  text-align: center;
  padding-top: 25px;
}

.stats ul{
  width: 100%;
  height: auto;
  display: flex;
  flex-direction: column;
  font-size: 2rem;
  text-align: center;

}

/* -------- contact section --------- */

#getInTouch{
  margin-top: 200px;
  width: 100%;
  height: 900px;
  background: #f3f3f6;
  padding-top: 50px;
}

#getInTouch > section > h2{
  text-align: center;
  width: 100%;
  height: 150px;
  font-size: 4.5rem;
  padding-top: 45px;
  text-transform: uppercase;
}


#getInTouch form{
  width: 100%;
  height: 250px;
  margin-top: 100px;
  display: flex;
  flex-direction: column;
}

#getInTouch input{
  width: 30%;
  height: 75px;
  margin-left: 35%;
  margin-top: 20px;
  border: none;
  font-size: 1.5rem;
  border-radius: .5rem;
}

#getInTouch label{
  width: 20%;
  height: 20px;
  margin-left: 40%;
  font-size: 1.5rem;
  text-transform: uppercase;
  padding: 10px 0;
  text-align: center;

}

#getInTouch textarea{
  width: 30%;
  height: 200px;
  margin-left: 35%;
  margin-top: 20px;
  padding-bottom: 200px;
  font-size: 1.5rem;
  border: none;
  border-radius: .5rem;
}

button{
  width: 10%;
  margin-left: 45%;
  margin-top: 10px;
  background: #6f6f93;
  border-style: none;
  font-size: 1.5rem;
  border-radius: 1rem;
  color: #ffffff;
}




/******************************************
/* Media Query
/*******************************************/

/* @media screen and (max-width: 600px) {
  header > #topNav{
    overflow: hidden;
    position: relative;
  }

}

@media screen and (max-width: 600px) {
  header > #topNav > ul .links{
    display: none;
  }


}

@media screen and (min-width: 1080px){
  .fas{
    display: none;

  }

}

@media screen and (max-width: 600px) {
  .fas{
    width: 100%;
    height:45px;
    display: block;
    margin-left: 100px;
    padding-left: 80%;


  }

} */

@media screen and (max-width: 600px) {
  header{
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-content: center;
    margin: 0;
    padding: 0;
  }

}


@media screen and (max-width: 600px) {
  .social{
    border-left: 25px solid #b8b4b6;
    border-right: 25px solid #b8b4b6;

  }

}



@media screen and (max-width: 600px) {
 #home{
   display: block;
   width: 100%;
   height: 975px;
   margin: 0;
   padding-top: 50px;

 }
}


@media screen and (max-width:600px) {
  #home > .pic{
    display: block;
    width: 75%;
    height: 300px;
    margin-top: 50px;
    margin-left: 12%;
    padding: 0;
    border: none;
  }
}
@media screen and (max-width:600px) {
  .photo{
    width: 100%;
    height: 375px;
    margin: 0;
    border: none;
  }

}




@media screen and (max-width:600px) {
  #home .bio{
    display: inline-block;
    width: 100%;
  }
}

@media screen and (max-width:600px) {
  .bio > #tony{
    font-size: 4rem;
    margin-top: 100px;
  }

}
@media screen and (max-width:600px) {
  .bio h2{
    font-size: 2.5rem;
  }

}

@media screen and (max-width:600px) {
  .bio p{
    font-size: 2rem;
  }

}


@media screen and (max-width:600px) {
  .social, .social li{
  padding: 5px 0 ;
  width: 100%;
  text-align: center;
  background: #f3f3f6;
  }
}



@media screen and (max-width:600px) {
  #portfolio{
    display: inline-block;
    width: 100%;
    height: 1675px;
  }
}

@media screen and (max-width:600px) {
  #portfolio > .samples{
    display: block;
    width: 100%;
    height: 900px;
    margin-top: 50px;
  }
}

@media screen and (max-width:600px) {
  .box{
    display: inline-block;
    width: 90%;
    height: 350px;
    margin: 2px 5%;
  }
}
@media screen and (max-width:600px) {
  .box:hover{
    display: inline-block;
    width: 95%;
    height: 350px;
    margin: 0 2.5%;
    padding: 0;
  }
}

@media screen and (max-width:600px) {
  #getInTouch label{
    display: inline-block;
    width: 100%;
    height: auto;
    margin: 0;
    padding: 5px 0;
    text-align: center;
  }

}



@media screen and (max-width:600px) {
  #getInTouch input{
    display: inline-block;
    width: 90%;
    margin: 0 5%;
  }

}

@media screen and (max-width:600px) {
  #getInTouch input:hover{
    display: inline-block;
    width: 90%;
    margin: 0 5%;
    border: 1px solid #b8b4b6;
  }

}

@media screen and (max-width:600px) {
  #getInTouch textarea{
    display: inline-block;
    width: 90%;
    height: 350px;
    margin: 0 5%;
  }

}

@media screen and (max-width:600px) {
  #getInTouch textarea:hover{
    display: inline-block;
    width: 90%;
    height: 350px;
    margin: 0 5%;
    border: 1px solid #b8b4b6;
  }

}

@media screen and (max-width:600px) {
  button{
    width: 90%;
    margin: 10px 5%;
    padding: 2px 0;
    background: #6f6f93;
    border-style: none;
    font-size: 1.5rem;
    border-radius: 1rem;
    color: #ffffff;
  }
}

@media screen and (max-width:600px) {
  button:hover{
    width: 95%;
    margin: 10px 2.5%;
    padding: 4px 0;
    background: #b8b4b6;
    border-style: none;
    font-size: 1.5rem;
    border-radius: 1rem;
    color: #ffffff;
  }
}


@media screen and (max-width: 600px) {
  #xP{
    display: block;
    text-align: center;
    margin: 0;
    padding: 0;
  }

}
