/******************************************
/* CSS
/*******************************************/

/* Box Model Hack */
*{
  box-sizing: border-box;
}



/******************************************
/* LAYOUT
/*******************************************/
header, main{
  display: flex;
  clear: both;
  flex-flow: column wrap;
  flex: 1;
}

header{
  height: 5em;

}
/* main{
  background: url('/barbershops-templates/barbershop-websiteOne/img/fashion-8254063_1280.jpg');
  background-size:contain ;
  background-repeat: no-repeat;
} */



/* Styling the nav */
header{
  position:sticky;
  top: 0;
  overflow: hidden;
}
header nav{
  height: 100%;
  background: rgb(5, 5, 5);
}
header nav ul{
  display: flex;
  flex-flow: row wrap;
  justify-content: center;
  gap: 5em;
  font-size: 20px;
  align-items: center;
  height: 100%;
}

header nav ul li a {
  color: white;
  text-decoration: none;
  list-style: none;
}

nav #logo img{
  width: 80px;
}
/* Styling the 3 images */
main{
  display: flex;
  flex-flow: row wrap;
  height: 60em;
}

main > div{
  display: flex;
  flex-flow: column wrap;
  width: 30%;
  flex: 1;
}
/* Left main picture */
.leftMain{
  background: url('https://cdn.pixabay.com/photo/2023/09/15/04/25/fashion-8254063_960_720.jpg');
  opacity: .8;
  background-size: cover;
  background-repeat: no-repeat;
}

/* Center main picture */
.centerMain{
  background: url('https://cdn.pixabay.com/photo/2017/01/14/12/58/barber-1979440_1280.jpg');
  opacity: .789;
  background-size: cover;
  background-repeat: no-repeat;
}

/* Right main picture  */

.rightMain{
  background: url('https://cdn.pixabay.com/photo/2023/09/15/04/26/barber-8254067_960_720.jpg');
  opacity: .8;
  background-size: cover;
  background-repeat: no-repeat;
}

/* About Us section*/

body > #aboutUs{
  display: flex;
  flex-flow: column wrap;
  height: 50em;
  border: 1px solid black;
}

#aboutUs{
  display: flex;
  flex: 1;
  justify-content: center;
  align-items: center;
  text-align: center;
  font-family: "Quicksand", sans-serif;
  font-weight: 100;
}


#aboutUs .aboutUsText{
  width: 50%;
}

#aboutUs p{
  font-size: 1em;
}


#aboutUs h1{
  font-size: 3em;
  padding-top: 20px;
  padding-bottom: 40px;
}

#aboutUs #details{
  font-size: 2.5em;
}

/* Photos section */
#photos{
  display: flex;
  flex-flow: row wrap;
  background: black;
  height:60em;
}

#photos .content{
  display: flex;
  flex-flow: column wrap;
  width: 100%;
  justify-content: center;
}

#photos .content div{
  display: flex;
  width: 50%;
  height:85%;
  border: 10px solid rgb(0, 0, 0);
}

/* Designing each div indivudually */

#photos .content #kidPhoto{
  background: url('https://cdn.pixabay.com/photo/2021/11/23/13/47/barber-6818719_1280.jpg');
  background-size: cover;
  background-repeat: no-repeat;
  opacity: 0.7;
}

#photos .content #kidPhoto h1, #photos .content #normalPhoto h1{
  font-size: 4.5em;
  margin: auto;
  color: white;
  opacity: .55;
}
#photos .content #normalPhoto h1 span{
  color: black;
  opacity: 1;
}

#photos .content #normalPhoto{
  background: url('https://cdn.pixabay.com/photo/2021/11/23/13/40/barber-6818702_960_720.jpg');
  background-size: cover;
  background-repeat: no-repeat;
  opacity: 0.7;
}

/* Services */
#services {
  display: flex;
  flex-flow:column wrap;
  height: 50em;

}
#services .emojiServices{
  text-align: center;
  font-size: 20px;
  padding-top: 20px;
}
#services h1{
  flex-flow: row wrap;
  text-align: center;
  color: black;
  font-size: 4em;
  padding: 10px ;
  font-family:Verdana, Geneva, Tahoma, sans-serif;
  font-weight: 400;
}

/* Services Items */
#services #itemsServices{
  display: flex;
  flex-flow: row wrap;
  flex: 1;
  justify-content: center;
}

#services #itemsServices div{
  width: 30%;
  height: 30%;
  border: 5px solid rgb(255, 255, 255);
  background:rgba(245, 245, 220, 0.082);
  box-shadow: rgba(0, 0, 0, 0.103) 0px 3px 8px;
}

#services #itemsServices div {
  display: flex;
  flex-flow: column wrap;
  
}
#services #itemsServices div p {
  display: flex;
  justify-content: center;
  font-size: 1.4em;
  text-align: center;
  line-height: 1.5em;
  padding: 15px 15px 0px 10px;
}

#services #itemsServices div h3 {
  display: flex;
  justify-content: center;
  font-size: 2em;
  padding:10px 0 0 0;
}

#services #itemsServices div p img{
  width: 2em;
  justify-content: center;
}

/* Location section */
#location{
  height: 40em;
}

#location .contentLocation{
  display: flex;
  flex-flow: column;
  margin: auto;
  width: 30%;
  height: 90%;
  border: 1px solid black;
}

#location .contentLocation h2{
  text-align: center;
  font-size: 3em;
  padding-bottom: 20px;
  font-style: italic;
  text-decoration: underline;
}
#location .contentLocation .hours{
  text-align: center;
}

#location .contentLocation .hours p{
  font-size: 1.8em;
}

#location .contentLocation .hours ul li{
  font-size: 1.5em;
  line-height: 2.5em;
}



#services #itemsServices .bottom{
  width: 30%;
  height: 55%;
}
.site-footer
{
  background-color:#26272b;
  padding:45px 0 20px;
  font-size:15px;
  line-height:24px;
  color:#737373;
}
.site-footer hr
{
  border-top-color:#bbb;
  opacity:0.5
}
.site-footer hr.small
{
  margin:20px 0
}
.site-footer h6
{
  color:#fff;
  font-size:16px;
  text-transform:uppercase;
  margin-top:5px;
  letter-spacing:2px
}
.site-footer a
{
  color:#737373;
}
.site-footer a:hover
{
  color:#3366cc;
  text-decoration:none;
}
.footer-links
{
  padding-left:0;
  list-style:none
}
.footer-links li
{
  display:block
}
.footer-links a
{
  color:#737373
}
.footer-links a:active,.footer-links a:focus,.footer-links a:hover
{
  color:#3366cc;
  text-decoration:none;
}
.footer-links.inline li
{
  display:inline-block
}
.site-footer .social-icons
{
  text-align:right
}
.site-footer .social-icons a
{
  width:40px;
  height:40px;
  line-height:40px;
  margin-left:6px;
  margin-right:0;
  border-radius:100%;
  background-color:#33353d
}
.copyright-text
{
  margin:0
}
@media (max-width:991px)
{
  .site-footer [class^=col-]
  {
    margin-bottom:30px
  }
}
@media (max-width:767px)
{
  .site-footer
  {
    padding-bottom:0
  }
  .site-footer .copyright-text,.site-footer .social-icons
  {
    text-align:center
  }
}
.social-icons
{
  padding-left:0;
  margin-bottom:0;
  list-style:none
}
.social-icons li
{
  display:inline-block;
  margin-bottom:4px
}
.social-icons li.title
{
  margin-right:15px;
  text-transform:uppercase;
  color:#96a2b2;
  font-weight:700;
  font-size:13px
}
.social-icons a{
  background-color:#eceeef;
  color:#818a91;
  font-size:16px;
  display:inline-block;
  line-height:44px;
  width:44px;
  height:44px;
  text-align:center;
  margin-right:8px;
  border-radius:100%;
  -webkit-transition:all .2s linear;
  -o-transition:all .2s linear;
  transition:all .2s linear
}
.social-icons a:active,.social-icons a:focus,.social-icons a:hover
{
  color:#fff;
  background-color:#29aafe
}
.social-icons.size-sm a
{
  line-height:34px;
  height:34px;
  width:34px;
  font-size:14px
}
.social-icons a.facebook:hover
{
  background-color:#3b5998
}
.social-icons a.twitter:hover
{
  background-color:#00aced
}
.social-icons a.linkedin:hover
{
  background-color:#007bb6
}
.social-icons a.dribbble:hover
{
  background-color:#ea4c89
}
@media (max-width:767px)
{
  .social-icons li.title
  {
    display:block;
    margin-right:0;
    font-weight:600
  }
}

/* Footer Style */


/******************************************
/* ADDITIONAL STYLES
/*******************************************/
@media (max-width: 1635px){
  #aboutUs p{
    font-size: 0.8em;
  }
  #aboutUs h1{
    font-size: 2.5em;
    padding-top: 15px;
    padding-bottom: 35px;
  }
  
  #aboutUs #details{
    font-size: 2.5em;
  }
  #photos{
    display: flex;
    flex-flow: row wrap;
    background: black;
    height:56em;
  }
  #photos .content div{
    display: flex;
    width: 48%;
    height:70%;
    border: 8px solid rgb(0, 0, 0);
  }

  /* Services */
  #services .emojiServices{
    text-align: center;
    font-size: 20px;
    padding-top: 20px;
  }
  #services h1{
    flex-flow: row wrap;
    text-align: center;
    color: black;
    font-size: 3.5em;
    padding: 10px ;
    font-family:Verdana, Geneva, Tahoma, sans-serif;
    font-weight: 400;
  }

  #services #itemsServices div p {
    display: flex;
    justify-content: center;
    font-size: 1.2em;
    text-align: center;
    line-height: 1.5em;
    padding: 15px 15px 0px 10px;
  }
  
}

@media (max-width:1535px){
  #aboutUs p{
    font-size: 0.8em;
  }
  #aboutUs h1{
    font-size: 2em;
    padding-top: 10px;
    padding-bottom: 25px;
  }
  
  #aboutUs #details{
    font-size: 2.3em;
  }

  /* Photos */
  #photos{
    display: flex;
    flex-flow: row wrap;
    background: black;
    height:56em;
  }
  #photos .content div{
    display: flex;
    width: 48%;
    height:68%;
    border: 8px solid rgb(0, 0, 0);
  }
  #photos .content #kidPhoto h1, #photos .content #normalPhoto h1{
    font-size: 3em;
    margin: auto;
    color: white;
    opacity: .55;
  }
  /* Services h1 */
  #services h1{
    font-size: 3em;
    padding: 20px ;
    font-weight: 300;
  }
}

@media(max-width:1400px){
  main{
    display: flex;
    flex-flow: row wrap;
    height: 55em;
  }
  main > div{
    display: flex;
    flex-flow: column wrap;
    width: 20%;
    flex: 1;
    height: 100%;
 
  }
  #photos{
    display: flex;
    flex-flow: row wrap;
    background: black;
    height:50em;
  }
  #services h1{
    font-size: 2.7em;
    padding: 20px ;
    font-weight: 300;
  }
  #services .emojiServices{
    font-size: 18px;
    padding-top: 18px;
  }

  #services #itemsServices div p {
    font-size: 1em;
    line-height: 1.5em;
    padding: 15px 15px 0px 10px;
  }

}

@media (max-width:1270px){
  main{
    height: 50em;
  }
  body > #aboutUs {
    height: 80em;
    justify-content: space-around;
  }
  #aboutUs p{
    font-size: 0.8em;
  }
  #aboutUs h1{
    font-size: 2em;

  }
  #aboutUs #details{
    font-size: 2em;
  }
  #photos{
    display: flex;
    flex-flow: row wrap;
    background: black;
    height:45em;
  }
}

@media (max-width:985px){
  /* Nav items  */
  header nav ul{
    justify-content: space-around;
  }
  header nav ul li:nth-child(2), header nav ul li:nth-child(4){
    display: none;
  }

  /* Services items */
  #services #itemsServices .bottom:last-child{
    display: none;
  }
  #services #itemsServices .top{
    height: 40%;
  }
  #services #itemsServices .bottom{
    width: 30%;
    height: 45%;
  }
  #services h1{
    font-size: 2em;
    padding: 10px ;
    font-weight: 300;
  }
  #services .emojiServices{
    padding-top: 15px;
  }
  #services #itemsServices div h3 {
    font-size: 1.5em;
    padding:8px 0 0 0;
  }

  #services #itemsServices div p {
    font-size: 1em;
    line-height: 1.5em;
    padding: 15px 15px 0px 10px;
  }

  /* About us */
  body > #aboutUs {
    height: 60em;
    justify-content: space-around;
  }
  #aboutUs p{
    font-size: 0.5em;
  }
  #aboutUs h1{
    font-size: 2em;
    padding-top: 12px;
    padding-bottom: 30px;
  }
  
  #aboutUs #details{
    font-size: 1.9em;
  }
  /* The map */
  #map{
    display: none;
  }

  /* Photos Section */
  #photos{
    display: flex;
    flex-flow: row wrap;
    background: black;
    height:45em;
  }
  #photos .content div{
    display: flex;
    width: 48%;
    height:70%;
    border: 4px solid rgb(0, 0, 0);
  }

  #photos .content #kidPhoto h1, #photos .content #normalPhoto h1{
    font-size: 2em;
  }
}

@media(max-width:835px){
  main{
    height: 40em;
  }

  /* Services items */
  #services {
    height: 30em;
  }  
  #services #itemsServices .top{
    height: 80%;
  }
  #services #itemsServices .bottom{
    display: none;
  }

  /* Location */
  #location{
    height: 25em;
  }
  #location .contentLocation{
    width: 30%;
    height: 90%;
    border: 1px solid black;
  }

  #location .contentLocation h2{
    font-size: 2em;
    padding-bottom: 15px;
  }

  #location .contentLocation .hours p{
    font-size: 1.4em;
  }
  
  #location .contentLocation .hours ul li{
    font-size: 1em;
    line-height: 2.15em;
  }
  
  
}

@media (max-width:750px){

   /* About us */
   body > #aboutUs {
    height: 45em;
    justify-content: space-evenly;
  }
  #aboutUs p{
    font-size: 0.5em;
  }
  #aboutUs h1{
    font-size: 2em;
    padding-top: 10px;
    padding-bottom: 20px;
  }
  
  #aboutUs #details{
    font-size: 1.5em;
  }
    /* Photos Section */
    #photos{
      display: flex;
      flex-flow: row wrap;
      background: black;
      height:35em;
    }
    #photos .content div{
      display: flex;
      width: 48%;
      height:60%;
      border: 4px solid rgb(0, 0, 0);
    }

  /* Services */

  #services {
    height: 25em;
  }  
  #services #itemsServices .top{
    height: 80%;
  }

  #services h1{
    font-size: 1em;
    padding: 5px ;
    font-weight: 300;
  }
  #services .emojiServices{
    padding-top: 10px;
  }
  #services #itemsServices div h3 {
    font-size: 1.3em;
    padding:5px 0 0 0;
    text-align: center;
  }

  #services #itemsServices div p {
    font-size: 1em;
    line-height: 1.6em;
    padding: 12px 12px 0px 8px;
  }

    /* Location */
    #location{
      height: 21em;
    }
    #location .contentLocation{
      width: 30%;
      height: 90%;
      border: 1px solid black;
    }
  
    #location .contentLocation h2{
      font-size: 1.5em;
      padding-bottom: 15x;
  
    }
  
    #location .contentLocation .hours p{
      font-size: 1.2em;
      color: green;
    }
    
    #location .contentLocation .hours ul li{
      font-size: 1em;
      line-height: 1.8em;
    }
}


@media(max-width:600px){
  header nav ul li:nth-child(1){
    display: none;
  }
  main{
    height: 30em;
  }
  /* About us */
  body > #aboutUs {
    height: 40em;
    justify-content: space-around;
  }
  #aboutUs p{
    font-size: 0.7em;
  }
  #aboutUs h1{
    font-size: 1.5em;
    padding-bottom: 20px;
  }
  
  #aboutUs #details{
    font-size: 1.3em;
  }
  /* Photos Section */
  #photos{
    display: flex;
    flex-flow: row wrap;
    background: black;
    height:30em;
  }
  #photos .content div{
    display: flex;
    width: 48%;
    height:60%;
    border: 2px solid rgb(0, 0, 0);
  }
}

@media (max-width:510px){
  main{
    height: 28em;
  }
  /* About us */
  body > #aboutUs {
    height: 33em;
    justify-content: space-around;
  }
  #aboutUs p{
    font-size: 0.7em;
  }
  #aboutUs h1{
    font-size: 1.5em;
    padding-bottom: 20px;
  }
  #aboutUs #details{
    font-size: 1.1em;
  }
  /* Photos Section */
  #photos{
    display: flex;
    flex-flow: row wrap;
    background: black;
    height:30em;
  }
  #photos .content div{
    display: flex;
    width: 48%;
    height:60%;
    border: 4px solid rgb(0, 0, 0);
  }
  #photos .content #kidPhoto h1, #photos .content #normalPhoto h1{
    font-size: 1.2em;
  }

  /* Services */
  #services #itemsServices .top:nth-child(3){
    display: none;
  }
  #services h1{
    font-size: 1.3em;
    padding: 5px ;
    font-weight: 300;
  }
  #services .emojiServices{
    padding-top: 10px;
  }
  #services #itemsServices div h3 {
    font-size: 1.1em;
    padding:5px 0 0 0;
    text-align: center;
  }

  #services #itemsServices div p {
    font-size: 1em;
    line-height: 1em;
    padding: 12px 12px 0px 8px;
  }

   /* Location */
   #location{
    height: 20em;
  }
  #location .contentLocation{
    width: 30%;
    height: 90%;
    border: 1px solid black;
  }

  #location .contentLocation h2{
    font-size: 1em;
    padding-bottom: 5x;

  }

  #location .contentLocation .hours p{
    font-size: 1em;
    color: green;
  }
  
  #location .contentLocation .hours ul li{
    font-size: 1em;
    line-height: 1.8em;
  }
}


@media (max-width:450px){
  header nav ul li:nth-child(3){
    display: none;
  }
  
   /* About us */
   body > #aboutUs {
    height: 40em;
  }
  #aboutUs p{
    font-size: 0.5em;
  }
  #aboutUs h1{
    font-size: 1.7em;
    padding-top: 8px;
    padding-bottom: 14px;
  }
  
}