/* http://meyerweb.com/eric/tools/css/reset/ 
   v2.0 | 20110126
   License: none (public domain)
*/

html,
body,
div,
span,
applet,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
a,
abbr,
acronym,
address,
big,
cite,
code,
del,
dfn,
em,
img,
ins,
kbd,
q,
s,
samp,
small,
strike,
strong,
sub,
sup,
tt,
var,
b,
u,
i,
center,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td,
article,
aside,
canvas,
details,
embed,
figure,
figcaption,
footer,
header,
hgroup,
menu,
nav,
output,
ruby,
section,
summary,
time,
mark,
audio,
video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
}

html {
  scroll-behavior: smooth;
}
article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section {
  display: block;
}

body {
  line-height: 1;
}

ol,
ul {
  list-style: none;
}

blockquote,
q {
  quotes: none;
}

blockquote:before,
blockquote:after,
q:before,
q:after {
  content: "";
  content: none;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  height: 150px;
  position: sticky;
  top: 0;
  background-color: white;
  z-index: 100;
  box-shadow: inset 0 -0.5px 0 #dc2f02;
}

#mainLogo {
  max-width: 250px;
  max-height: 100px;
  padding: 0 60px;
}

nav {
  display: flex;
  padding: 0 60px;
  font-size: 1rem;
  gap: 4rem;
  font-family: "Quicksand", sans-serif;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  text-shadow:
    -1px 0 white,
    0 1px white,
    1px 0 white,
    0 -1px white;
  font-weight: 400;
}

#hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 5px;
}

#hamburger .bar {
  width: 30px;
  height: 4px;
  background: black;
  border-radius: 2px;
}

#hamburger:hover .bar {
  background: #dc2f02;
  transition: 600ms;
}

#navClose {
  display: none;
  background: transparent;
  border: 2px solid white;
  color: white;
  font-size: 1.5rem;
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  cursor: pointer;
  margin-top: 2rem;
}

nav.active {
  display: flex;
  margin: 0;
}

body {
  background: linear-gradient(to bottom, #ffffff 30%, #dc2f02 40%, #000000 80%);
}

main {
  max-width: 1200px;
  margin: 0 auto;
  padding-top: 60px;
}

.navSelect {
  color: black;
  text-decoration: none;
}

.navSelect:hover,
.navSelect:active {
  color: #dc2f02;
  text-decoration: underline;
  font-weight: 700;
  transition: 600ms;
}

#hero {
  display: flex;
  color: black;
  justify-content: space-between;
  align-items: center;
}

#heroLeft {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  width: 50%;
}

#heroRight {
  width: 50%;
}

#heroLeft > h1 {
  padding-bottom: 4rem;
  font-family: "Quicksand", sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-weight: 900;
  font-size: 3rem;
  text-shadow:
    -1px 0 white,
    0 1px white,
    1px 0 white,
    0 -1px white;
}

#booking {
  font-family: "Quicksand", sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-weight: 600;
  font-size: 1.5rem;
  color: white;
  background-color: black;
  text-decoration: none;
  display: flex;
  justify-content: center;
  align-items: center;
  border: 0.1em solid white;
  border-radius: 1em;
  min-width: 10em;
  min-height: 5em;
  text-shadow: 1px 1px 2px #dc2f02;
  box-shadow: 2px 2px 4px #dc2f02;
}

#mobileBooking {
  display: none;
  font-family: "Quicksand", sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-weight: 600;
  font-size: 1.5rem;
  color: white;
  background-color: black;
  text-decoration: none;
  border: 0.1em solid white;
  border-radius: 1em;
  min-width: 10em;
  min-height: 5em;
  text-shadow: 1px 1px 2px #dc2f02;
  box-shadow: 2px 2px 4px #dc2f02;
}

#top-Video {
  max-height: 450px;
  margin: 0 5rem;
  border-radius: 15px;
  box-shadow: 2px 2px 4px #dc2f02;
}

#booking:hover,
#booking:active {
  color: white;
  border: 2px solid white;
  background-color: #dc2f02;
  box-shadow: 2px 2px 4px black;
  transition: 600ms;
}
#mobileBooking:hover,
#mobileBooking:active {
  color: white;
  border: 2px solid white;
  background-color: #dc2f02;
  box-shadow: 2px 2px 4px black;
  transition: 600ms;
}

hr {
  margin: 100px 0;
}

#barbers {
  background-image: url(media/chairs.jpeg);
  background-position: center 0px;
  background-size: cover;
  min-height: 800px;
  display: flex;
  flex-direction: column;
  align-items: center;
  border-radius: 15px;
  will-change: background-position;
  backface-visibility: hidden;
  perspective: 1000px;
}

h2 {
  font-family: "Quicksand", sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-size: 2.5rem;
  font-weight: 900;
  text-shadow:
    -1px 0 black,
    0 1px black,
    1px 0 black,
    0 -1px black;
  color: white;
  padding: 100px 0;
}

.barber-Cards {
  display: flex;
  justify-content: space-around;
  gap: 40px;
}

.card {
  width: 300px;
  height: 450px;
  perspective: 1000px;
}

.flip-Inner {
  position: relative;
  width: 100%;
  height: 100%;
  transition: transform 700ms;
  transform-style: preserve-3d;
}

.card:hover .flip-Inner,
.card:active .flip-Inner,
.card:focus .flip-Inner {
  transform: rotateY(180deg);
}

.flip-Front,
.flip-Back {
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  border-radius: 15px;
}

.flip-Back {
  transform: rotateY(180deg);
  background: white;
  color: black;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-evenly;
  font-family: "Quicksand", sans-serif;
  text-transform: uppercase;
  text-align: center;
  font-size: 1rem;
  letter-spacing: 0.15em;
}

.flip-Back > a {
  background-color: white;
  color: black;
  text-decoration: none;
  border: 0.1em solid black;
  padding: 5px;
  border-radius: 10px;
}

.flip-Back > a:hover,
.flip-Back > a:active {
  color: white;
  border: 2px solid white;
  background-color: #dc2f02;
  box-shadow: 2px 2px 4px black;
  transition: 600ms;
}

.flip-Front img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 15px;
}

#about {
  background-image: url(media/sidewall.jpeg);
  background-position: center 0px;
  background-size: cover;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 800px;
  border-radius: 15px;
  will-change: background-position;
  backface-visibility: hidden;
  perspective: 1000px;
}

.about-Content {
  display: flex;
  justify-content: space-evenly;
  align-items: center;
  margin: 0 80px;
  gap: 40px;
}

.about-Left,
.about-Right {
  font-family: "Quicksand", sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-size: 1.5rem;
  font-weight: 600;
  color: white;
  text-align: center;
  width: 50%;
  text-shadow:
    -1px 0 black,
    0 1px black,
    1px 0 black,
    0 -1px black;
}

.about-Left ul {
  margin: 50px;
  list-style: none;
  line-height: 200%;
}

li > button {
  color: white;
  background-color: transparent;
  border: none;
  text-decoration: none;
  width: 20px;
  height: 20px;
  cursor: pointer;
  font-size: 1.5rem;
}

li > button:hover,
li > button:active {
  color: #dc2f02;
  transition: 400ms;
}

.about-Left ul li {
  position: relative;
}

h3 {
  margin-bottom: 50px;
  font-size: 2rem;
  text-shadow:
    -1px 0 black,
    0 1px black,
    1px 0 black,
    0 -1px black;
}

#info1,
#info2,
#info3,
#info4,
#info5 {
  display: none;
  position: absolute;
  background-color: white;
  color: black;
  font-weight: 100;
  padding: 15px;
  border-radius: 15px;
  border: 2px solid #dc2f02;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
  min-width: 220px;
  width: 260px;
  max-width: calc(100vw - 30px);
  z-index: 9999;
  text-align: center;
  font-size: 1rem;
  opacity: 0;
  transition: opacity 400ms ease-in-out;
  pointer-events: none;
}

#info1.show,
#info2.show,
#info3.show,
#info4.show,
#info5.show {
  display: block;
  opacity: 1;
  pointer-events: auto;
}

#gallery {
  background-image: url(media/backwall.jpeg);
  background-position: center 0px;
  background-size: cover;
  min-height: 800px;
  display: flex;
  flex-direction: column;
  align-items: center;
  border-radius: 15px;
  will-change: background-position;
  backface-visibility: hidden;
  perspective: 1000px;
}

#gallery > h2 {
  font-family: "Quicksand", sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-size: 2.5rem;
  font-weight: 900;
  text-shadow:
    -1px 0 black,
    0 1px black,
    1px 0 black,
    0 -1px black;
  color: white;
  padding-top: 100px;
  padding-bottom: 20px;
}

.showcase {
  display: flex;
  width: 100%;
  flex-direction: column;
  gap: 20px;
}

.photos {
  max-width: 250px;
  max-height: 300px;
  border-radius: 15px;
}

.row1 {
  display: flex;
  gap: 100px;
  margin-left: 100px;
}

.row2 {
  display: flex;
  justify-content: center;
  width: 100%;
  gap: 100px;
  margin-left: 100px;
}

#contact {
  background-image: url(media/barberstation.jpeg);
  background-position: center 0px;
  background-size: cover;
  min-height: 800px;
  display: flex;
  flex-direction: column;
  align-items: center;
  border-radius: 15px;
  will-change: background-position;
  backface-visibility: hidden;
  perspective: 1000px;
}

.contact-Content {
  display: flex;
  justify-content: space-evenly;
  align-items: center;
  gap: 50px;
  margin: 60px;
}

.divider {
  width: 2px;
  height: 550px;
  background-color: #dc2f02;
}

.contact-Right,
.contact-Left {
  display: flex;
  flex-direction: column;
  color: white;
  font-family: "Quicksand", sans-serif;
  font-weight: 600;
  text-align: center;
  font-size: 1.5rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  line-height: 200%;
  height: 100%;
  text-shadow:
    -1px 0 black,
    0 1px black,
    1px 0 black,
    0 -1px black;
}

.contact-Left a {
  color: #dc2f02;
  text-decoration: none;
  font-weight: 600;
}

footer {
  background-color: black;
  min-height: 200px;
  display: flex;
  justify-content: center;
  align-items: center;
  color: white;
  font-family: "Quicksand", sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-size: 1.5rem;
  text-align: center;
}

@media (max-width: 1192px) {
  header {
    height: 100px;
  }

  #mainLogo {
    max-width: 150px;
    max-height: 80px;
  }

  #info1,
  #info2,
  #info3,
  #info4,
  #info5 {
    min-width: 200px;
    width: 240px;
    font-size: 0.9rem;
    padding: 12px;
  }

  nav {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: fixed;
    top: 0;
    right: 0;
    width: 100%;
    height: 100vh;
    background: black;
    color: white;
    z-index: 1000;
    text-align: center;
    padding: 0;
    gap: 20px;
  }

  .navSelect {
    color: white;
    font-size: 2rem;
    text-decoration: none;
    margin: 0.4rem 0;
  }

  .navSelect:hover,
  .navSelect:focus {
    color: #dc2f02;
    text-decoration: underline;
    transition: 600ms;
  }

  nav.active {
    display: flex;
  }

  #navClose {
    display: none;
  }

  #navClose {
    display: block;
  }

  #hamburger {
    display: flex;
    margin-right: 60px;
  }

  main {
    max-width: 800px;
    margin: 0 auto;
  }

  hr {
    margin: 80px 10px;
  }

  h2 {
    font-size: 1.75rem;
    margin-top: 1.25rem;
  }

  #gallery > h2 {
    font-size: 1.75rem;
    margin-top: 1.25rem;
  }

  h3 {
    font-size: 1.4rem;
  }

  .barber-Cards {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 80px 0;
  }

  .about-Left,
  .about-Right,
  .contact-Left,
  .contact-Right {
    font-size: 1.1rem;
  }

  .about-Left ul {
    margin: 0px;
  }

  .row1,
  .row2 {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-left: 0px;
  }

  .photos {
    max-width: 250px;
    max-height: 300px;
  }

  iframe {
    max-width: 250px;
    height: 400px;
    border-radius: 15px;
  }
}

@media (max-width: 850px) {
  main {
    max-width: 600px;
    margin: 0 auto;
  }

  #info1,
  #info2,
  #info3,
  #info4,
  #info5 {
    min-width: 180px;
    width: 220px;
    font-size: 0.85rem;
    padding: 12px;
  }

  hr {
    margin: 65px 15px;
  }

  #hero {
    flex-direction: column;
  }

  #heroLeft {
    width: 100%;
    padding: 0 20px;
  }

  #heroLeft > h1 {
    font-size: 2rem;
  }

  #booking {
    display: none;
  }

  #mobileBooking {
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1rem;
    margin: 60px auto;
  }

  .about-Content {
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    align-items: center;
    margin: 20px;
    gap: 40px;
  }

  .about-Left,
  .about-Right {
    width: 100%;
  }

  .showcase {
    display: flex;
    flex-direction: row;
    margin: 20px;
  }

  .row1,
  .row2 {
    display: flex;
    flex-direction: column;
    width: 50%;
  }

  .divider {
    width: 550px;
    height: 2px;
  }

  .contact-Content {
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    align-items: center;
    margin: 20px;
    gap: 40px;
  }

  .contact-Left,
  .contact-Right {
    width: 100%;
  }

  iframe {
    max-width: 400px;
    height: 250px;
    border-radius: 15px;
    margin: auto;
  }

  #mainLogo {
    padding: 0 30px;
  }

  #hamburger {
    padding: 0;
    margin-right: 30px;
  }
}
@media (max-width: 645px) {
  main {
    max-width: 400px;
    margin: 0 auto;
  }

  #mainLogo {
    padding: 0 15px;
  }

  #hamburger {
    padding: 0;
    margin-right: 15px;
  }

  #info1,
  #info2,
  #info3,
  #info4,
  #info5 {
    min-width: 170px;
    width: 90vw;
    max-width: calc(100vw - 20px);
    font-size: 0.8rem;
    padding: 10px;
  }

  .divider {
    width: 445px;
  }

  hr {
    margin: 50px 20px;
  }

  h2 {
    font-size: 1.5rem;
  }

  #gallery > h2 {
    font-size: 1.5rem;
  }

  h3 {
    font-size: 1.2rem;
  }

  .about-Left,
  .about-Right,
  .contact-Left,
  .contact-Right {
    font-size: 1rem;
  }

  .divider {
    width: 320px;
  }
  #barbers img {
    margin-top: 0px;
  }

  .card:hover .flip-Inner {
    transform: rotateY(180deg);
    margin-top: 0px;
  }

  .photos {
    max-width: 150px;
    max-height: 250px;
  }

  iframe {
    max-width: 350px;
    height: 200px;
    border-radius: 15px;
    margin: auto;
  }
}

@media (max-width: 475px) {
  main {
    max-width: 350px;
    margin: 0 auto;
  }

  #mainLogo {
    padding: 0 8px;
  }

  #hamburger {
    padding: 0;
    margin-right: 8px;
  }

  #info1,
  #info2,
  #info3,
  #info4,
  #info5 {
    min-width: 160px;
    width: 85vw;
    max-width: calc(100vw - 20px);
    font-size: 0.75rem;
    padding: 10px;
  }

  .divider {
    width: 300px;
  }

  hr {
    margin: 40px 15px;
  }

  iframe {
    max-width: 300px;
    height: auto;
    border-radius: 15px;
  }
}
