/*UNIVERSAL RULES */

* {
  margin: 0;
}
body{
  font-family: 'PT Sans Narrow', sans-serif;
  text-align: center;
  color: #666;
  margin: 0;
}

a {
  color: #666;
  text-decoration: none;
}
p {
  margin: 30px;
  text-align: left;
  line-height: 50px;
  letter-spacing: 1px;
  font-weight: 500;
  font-size: 18px;
  }

.mainnav {
  letter-spacing: 2px;
  font-size: 20px;
  position: fixed;
  background-color: #1c1c1c;
  width: 100%;
  padding: 20px;
  z-index: 2;
}

.mainnav a {
  margin-right: 40px;
  padding: 5px;
  transition: .3s;
  display: inline-block;
  color: white;
}

.mainnav a:hover{
  color: black;
  background-color: white;
  border-radius: 5px;
  transition: .3s;
}

.mainnav div {
  display: inline-block;
}

.mainnav img {
  display: inline-block;
  margin-bottom: 0;
  width: 80px;
}

.mainnav img {
  padding-top: 5px;
}


h1 {
  margin-top: 50px;
  letter-spacing: 1px;
  text-decoration: none;
  color: #333;
  font-size: 50px;
  font-weight: 500;
}

h2{
  padding-top: 30px;
}

img {
    border-radius: 5px;
}


/*UNIVERSAL RULES */

/*******************************Header */

header section div {
  margin-top: 50px;
}

#main section {
  padding-top: 35px;

}

section h1 {
  padding: 10px 200px 10px 200px;
}

/*******************************Header */


/******************************HOVER TEXT ***/
section #container {
  margin: auto;
}

.hoverbox {
  position: relative;
}

.overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: #1c1c1c;
  overflow: hidden;
  width: 1000px;
  height: 0;
  transition: .5s ease;
  opacity: .5;
  z-index: 1;
}

.hoverbox:hover .overlay {
  bottom: 0;
  height: 50px;
  transition: .5s ease;
  opacity: 1;
}
.hoverbox:hover .hovertext{
  transition: .5s ease;
  opacity: 1;
}

.hovertext {
  opacity: 1;
  position: absolute;
  color: white;
  font-size: 30px;
  padding: 10px;
  white-space: nowrap;
  overflow: hidden;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  transition: .5s ease;
  opacity: 0;
  font-weight: 200;
}

/******************************HOVER TEXT ***/

#WhoWeAre p, #WhatWeUse p, #Reviews p, #WhereWeAre p, #GetinTouch p{
  padding: 20px;

}

#WhoWeAre img{
  margin-top: 50px;
}


.back {
  font-size: 20px;
  font-weight: bold;
  margin: 20px;
  transition: .1s;
}

.back:hover{
  color: grey;
    transition: .5s;
}

#WhatWeDo  h1{
  margin-bottom: 50px;
}
#WhatWeDo div {
  display:block;
  margin: auto;
  width: 1000px;
  height: 100%;
  border-radius: 5px;
  border: 1px solid grey;
  text-align: left;
  padding-bottom: 30px;
  margin-bottom: 5px;
}
#WhatWeDo div p{
  margin: 30px 0px 0px 30px;
}
#WhatWeDo div article {
  display: inline-block;
  line-height: 10px;
}

#WhatWeUse p, #WhereWeAre p, #Reviews p, #WhoWeAre p{
  margin: auto;
  width: 1000px;

}

.aveda {
  margin-top: 20px;
}

#icons div {
  display: inline-grid;
  width: 330px;
  margin-top: 60px;
  margin-bottom: 30px;
}
#icons img {
  padding-left: 85px;
}

.social-icons{
  opacity: 1;
  transition: .3s;
}

.social-icons:hover{
  opacity: .5;
  transition: .3s;

}
#Gallery a {
  width: 1000px;
}
#Gallery img {
  margin-top: 50px;
}
#container {
  width: 1000px;
}

#Reviews a {
  font-weight: bold;
  text-decoration: underline;
  color: #3b5998;
  transition: .3s;
}

#Reviews a:hover {
  color: grey;
  transition: .3s;
}

.hours{
  display:inline-grid;
  width: 1000px;
  height: 100%;
  padding: 5px 10px 5
}
.hours p{
  text-align: center;
}

.special {
  margin-top: 50px;
}


#icon-style2 img {
  margin-right: 20px;
  margin-left: 20px;
  margin-top: 60px;
}


footer {
  background-color: #1c1c1c;
  color: white;
}

footer p {
  padding: 20px;
  letter-spacing: 2px;
  margin-bottom: -2px;
  text-align: center;
}


/*====================RESPONSIVE====================*/
@media screen and (max-width : 1024px){

  .mainnav a { margin-right: 15px; font-size: 20px; }
  #WhoWeAre p, #WhatWeUse p, #Reviews p, #WhereWeAre p { width: 800px; }
  #WhoWeAre img, #WhereWeAre iframe, #Gallery img, #WhatWeDo div, #Specials img { width: 800px; }
  #icons img { width: 130px; }
  #icons div { width: 300px; }
  #container { width: 800px; }
  .overlay { width: 800px; }
  .hours { width: 800px;}
   #main img {margin-top: 130px;}
   h1 {margin-top: 100px;}
  }

@media screen and (max-width : 800px){
  .mainnav a { margin-right: 15px; font-size: 20px; }
  #WhoWeAre p, #WhatWeUse p, #Reviews p, #WhereWeAre p { width: 650px; }
  #WhoWeAre img, #WhereWeAre iframe, #Gallery img, #WhatWeDo div, #Specials img { width: 650px; }
  #icons img { width: 130px; padding-left: 20px; }
  #icons div { width: 200px; }
  #container { width: 650px; }
  .overlay { width: 650px; }
  .hours { width: 650px;}
  h1{ margin-top: 70px; }

 .hovertext { font-size: 25px;}
 #main img {margin-top: 180px;}

}

@media screen and (max-width : 640px){

  .mainnav a { margin-right: 30px; font-size: 20px; }
  #WhoWeAre p, #WhatWeUse p, #Reviews p, #WhereWeAre p { width: 440px; }
  #WhoWeAre img, #WhereWeAre iframe, #Gallery img, #WhatWeDo div, #Specials img { width: 440px; }
  #icons img { width: 80px; }
  .aveda {width: 300px;}
  #icons div { width: 130px; margin-top: 20px;}
  #container { width: 440px; }
  .overlay { width: 440px; }
  .hours { width: 440px;}
  h1 {width: 200px; margin-top: 100px;}
  .hovertext {font-size: 18px;}
  #WhoWeAre img { margin-top: 130px; }
  }


@media screen and (max-width : 414px){

  .mainnav a { margin-right: 25px; margin-left: 5px; font-size: 20px; }
  .mainnav img { margin-right: 10px;}
  #WhoWeAre p, #WhatWeUse p, #Reviews p, #WhereWeAre p { width: 380px; }
  #WhoWeAre img, #WhereWeAre iframe, #Gallery img, #WhatWeDo div, #Specials img { width: 380px; }
  .aveda { width: 350px;}
  #icons img { width: 90px; margin-right: 50px;}
  #icons div { width: 115px;}
  #container { width: 380px;}
  .aveda {width: 320px;}
  .overlay { width: 380px; }
  .hours { width: 300px;}
  h1 {font-size: 20px; width: 200px; text-align: left; margin-top: 100px;}
  .hovertext {font-size: 16px;}
  #main img {margin-top: 180px;}
}

@media screen and (max-width : 375px){


  .mainnav a { margin-right: 20px; font-size: 18px; }
  #WhoWeAre p, #WhatWeUse p, #Reviews p, #WhereWeAre p { width: 330px; }
  #WhoWeAre img, #WhereWeAre iframe, #Gallery img, #WhatWeDo div, #Specials img { width: 350px; }
  #icons img { width: 130px; }
  #icons div { width: 200px; margin-left: 25px;}
  #container { width: 350px;}
  .aveda {width: 300px;}
  .overlay { width: 350px; }
  .hours { width: 350px;}
  h1 {width: 40px;}
  .hovertext {font-size: 14px;}
  #main img {margin-top: 160px;}

}

@media screen and (max-width : 360px){

  .mainnav a { margin-right: 20px; font-size: 18px; }
  #WhoWeAre p, #WhatWeUse p, #Reviews p, #WhereWeAre p { width: 340px; }
  #WhoWeAre img, #WhereWeAre iframe, #Gallery img, #WhatWeDo div, #Specials img { width: 340px; }
  #icons img { width: 130px;}
  #icons div { width: 200px; margin-left: 20px;}
  #container { width: 340px;}
  .aveda {width: 300px;}
  .overlay { width: 340px; }
  .hours { width: 340px;}
  h1 { width: 200px;}
  .hovertext {font-size: 14px;}
  #main img {margin-top: 160px;}

}

@media screen and (max-width : 320px){

  .mainnav a { margin-right: 20px; font-size: 18px; }
  #WhoWeAre p, #WhatWeUse p, #Reviews p, #WhereWeAre p { width: 310px; }
  #WhoWeAre img, #WhereWeAre iframe, #Gallery img, #WhatWeDo div, #Specials img { width: 310px; }
  #icons img { width: 50px; }
  #icons div { width: 90px; margin-left: 6px;}
  #container { width: 310px;}
  .aveda {width: 200px;}
  .overlay { width: 310px; }
  .hours { width: 310px;}
  h1 {width: 40px;}
  .hovertext {font-size: 14px;}
  #main img {margin-top: 160px;}

}

