/* SEJ-CSS-Version 0.1 */

/* CSS Variables */

:root {
  --primary: #000; /*#ddd;*/
  --dark: #fff; /*#333;*/
  --light: #fff;
  --shadow: 0 1px 5px rgba(104, 104, 104, 0.8);
}

html {
  box-sizing: border-box;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--light); /*var(--dark);*/
}

body {
  background: #fff; /*#ccc;*/
  margin: 0.5rem;
  line-height: 1.4;
}

h1,
h2,
h3,
h4 {
  text-align: center;
}

.btn {
  background: var(--dark);
  color: var(--primary);
  padding: 0.6rem 1.3rem;
  text-decoration: none;
}

img {
  max-width: 100%;
}

.wrapper {
  display: grid;
  grid-gap: 20px;
}

/* Navigation */

.main-nav ul {
  display: grid;
  grid-gap: 20px;
  padding: 0;
  list-style: none;
  grid-template-columns: repeat(5, 1fr);
  align-items: flex-end;
  justify-content: center;
}

.main-nav .hide {
  display: none;
}

.main-nav a {
  background: var(--primary);
  display: block;
  text-decoration: none;
  padding: 0.8rem;
  text-align: center;
  color: var(--light); /*var(--dark);*/
  text-transform: uppercase;
  font-size: 1.1rem;
  box-shadow: var(--shadow);
}

.main-nav a:hover {
  background: var(--primary); /*var(--dark);*/
  color: var(--light);
}

/* Navigation Ends */

/* Top Container */

.top-container {
  display: grid;
  grid-gap: 20px;
  grid-template-areas:
    "showcase showcase top-box-a"
    "showcase showcase top-box-b";
}

/* Showcase */

.showcase {
  grid-area: showcase;
  min-height: auto;
  min-width: 600px;

  
  /*background: url("img/Frontdoor.PNG");
  background-size: cover;
  background-position: center;*/
  /*padding: 3rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: end;
  box-shadow: var(--shadow);*/

  /*width: calc(33.33333% - 10px);*/
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: cover;   
  background-color:var(--primary);
  

}

.showcase h1 {
  font-size: 4rem;
  margin-bottom: 0;
  color: var(--light);
}

.showcase p {
  font-size: 1.3rem;
  margin-top: 0;
  color: var(--light);
}

/* Top Box */
.top-box {
  background: var(--primary);
  display: grid;
  align-items: center;
  justify-items: center;
  box-shadow: var(--shadow);
  padding: 1.5rem;
}

.top-box .price {
  font-size: 2.5rem;
}

.top-box-a {
  grid-area: top-box-a;
}

.top-box-b {
  grid-area: top-box-b;
}

/* Boxes */

.boxes {
  display: grid;
  /*grid-gap: 20px; */
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  justify-items: center;
}

.box {
  background: var(--primary);
  text-align: center;
  padding: 1.5rem 2rem; /*1.5top & bottom 2left & right */
  box-shadow: var(--shadow);
}

.portfolio .box {
  box-shadow: none;
}

/* Top Container Ends */

/* Info */

.info {
  background: var(--primary);
  box-shadow: var(--shadow);
  text-align: center;
  display: grid;
  grid-gap: auto; /*30px; */
  grid-template-columns: repeat(2, 1fr);
  padding: 1rem;
}

.info p {
  text-align: left;
}

/* Info Ends */

/* Portfolio */

.portfolio {
  display: grid;
  grid-gap: 0px;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

.portfolio img {
  width: 100%;
  box-shadow: var(--shadow);
}

.Barber1-Portfolio {
  background-color: #000;
}

.Barber2-Portfolio {
  background-color: #ccc;
}

.Barber3-Portfolio {
  background-color: #999111;
}

.Barber4-Portfolio {
  background-color: #000fff;
}

* {
  box-sizing: border-box;
}

/* Slideshow container */
.slideshow-container {
  max-width: 1000px;
  position: relative;
  margin: auto;
}

/* Hide the images by default */
.mySlides {
  display: none;
}

/* Next & previous buttons */
.prev,
.next {
  cursor: pointer;
  position: absolute;
  top: 50%;
  width: auto;
  margin-top: -22px;
  padding: 16px;
  color: white;
  font-weight: bold;
  font-size: 18px;
  transition: 0.6s ease;
  border-radius: 0 3px 3px 0;
  user-select: none;
}

/* Position the "next button" to the right */
.next {
  right: 0;
  border-radius: 3px 0 0 3px;
}

/* On hover, add a black background color with a little bit see-through */
.prev:hover,
.next:hover {
  background-color: rgba(0, 0, 0, 0.8);
}

/* Caption text */
.text {
  color: #f2f2f2;
  font-size: 15px;
  padding: 8px 12px;
  position: absolute;
  bottom: 8px;
  width: 100%;
  text-align: center;
}

/* Number text (1/3 etc) */
.numbertext {
  color: #f2f2f2;
  font-size: 12px;
  padding: 8px 12px;
  position: absolute;
  top: 0;
}

/* The dots/bullets/indicators */
.dot {
  cursor: pointer;
  height: 15px;
  width: 15px;
  margin: 0 2px;
  background-color: #bbb;
  border-radius: 50%;
  display: inline-block;
  transition: background-color 0.6s ease;
}

.active,
.dot:hover {
  background-color: #717171;
}

/* Fading animation */
.fade {
  -webkit-animation-name: fade;
  -webkit-animation-duration: 1.5s;
  animation-name: fade;
  animation-duration: 1.5s;
}

@-webkit-keyframes fade {
  from {
    opacity: 0.4;
  }
  to {
    opacity: 1;
  }
}

@keyframes fade {
  from {
    opacity: 0.4;
  }
  to {
    opacity: 1;
  }
}

/* Portfolio Ends */

/* Footer */

footer {
  margin-top: 2rem;
  background: var(--primary); /*var(--dark);*/
  color: var(--light);
  text-align: center;
  padding: 1rem;
}
/* Footer Ends */

/* Media Queries */

@media (max-width: 700px) {
  .top-container {
    grid-template-areas:
      "showcase showcase"
      "top-box-a top-box-b";
  }

  .showcase {
    min-width: auto;
  }

  .showcase h1 {
    font-size: 2.5rem;
  }

  .showcase .logo-hide {
    display: none;
  }

  .main-nav ul {
    grid-template-columns: 1fr;
  }
  .main-nav .hide {
    display: grid;
  }

  #icon-top {
    display: none;
  }

  .icon-top {
    size: h2;
  }

  .info {
    grid-template-columns: 1fr;
  }

  .info .btn {
    display: block;
    text-align: center;
    margin: auto;
  }

  .info iframe {
    width: auto;
    height: auto;
  }
}

@media (max-width: 500px) {
  .top-container {
    grid-template-areas:
      "showcase"
      "top-box-a"
      "top-box-b";
  }

  img {
    max-width: 100%;
  }
}

/* Media Queries End */
