*,
*::after,
*::before {
  margin: 0;
  padding: 0;
  box-sizing: inherit;
}

html {
  /* This defines what 1rem is */
  font-size: 62.5%;
}

body {
  box-sizing: border-box;
}

body {
  background-color: #badc58;
  font-family: "Montserrat", sans-serif;
  font-weight: 400;
  line-height: 1.7;
  color: black;
  text-rendering: optimizeLegibility;
  /* display: flex;
  align-items: flex-end;
  justify-content: space-between;
  flex-direction: column; */
  height: 100vh;

  transition: background-color 1s;
}

img {
  max-width: 100%;
}

[class^="icon-"] {
  display: block;
  width: 2rem;
  height: 2rem;
  text-indent: 100%;
  white-space: nowrap;
  overflow: hidden;
  background-image: none;
  -webkit-mask-size: contain;
  mask-size: contain;
  background-color: #fff;
  transition: background-color 0.5s;
}

[class~="icon-facebook"] {
  -webkit-mask-image: url("../img/facebook.svg");
  mask-image: url("img/facebook.html");
}

[class~="icon-instagram"] {
  -webkit-mask-image: url("../img/instagram.svg");
  mask-image: url("img/facebook.html");
}

[class~="icon-instagram"]:hover,
[class~="icon-facebook"]:hover {
  background-color: black;
}

.header__logo {
  width: 10rem;
  height: 10rem;
  position: absolute;
  top: 1rem;
  right: 1rem;
  z-index: 1000;
}
.header__content {
  display: flex;
  flex-direction: column-reverse;
  height: 100%;
}

.main__container,
.main__container__home,
.main__container__where,
.main__container__contact,
.main__container__lookBook {
  margin-top: 0;
  margin-bottom: 0;
}

.main__container,
.main__container__where,
.main__container__contact,
.main__container__lookBook {
  padding: 10rem;
}

.nav-social-container {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
}

.nav__link:link,
.nav__link:visited {
  color: #fff;
  transition: color 0.5s;
}

.nav__link:hover,
.nav__link:active {
  color: black;
}

.aside__link,
.nav__link {
  font-size: 1.6rem;
  text-transform: uppercase;
  font-weight: 700;
  text-decoration: none;
}

.aside__socialContainer {
  display: flex;
}

.aside__listElement:not(:first-child) {
  margin-left: 2rem;
}

.leadText {
  font-size: 1.6rem;
  color: #fff;
  text-align: justify;
  /* width: 70%; */
  margin: 0 auto;
  padding: 1rem;
}

address.leadText {
  font-style: normal;
}

.heading--secondary {
  font-size: 3rem;
  color: #fff;
  text-align: left;
  /* width: 70%; */
  padding: 1rem;
  margin: 0 auto;
  text-transform: uppercase;
}

.header {
  padding: 1rem;
  z-index: 1000;
}

.header__home {
  position: fixed;
  bottom: 0;
  width: 100%;
  padding: 1rem;
  z-index: 1000;
}

.main__contactsContainer a,
.main__locationContainer a,
.main__container a {
  font-size: 1.6rem;
  text-transform: uppercase;
  font-weight: 700;
  text-decoration: none;
  letter-spacing: 0.1rem;
  color: #fff;
  transition: color 0.5s;
}

.main__contactsContainer a:hover,
.main__locationContainer a:hover,
.main__contactsContainer a:active,
.main__locationContainer a:active {
  color: black;
}

/* .main__telContainer .icon {
  margin-right: 1rem;
} */

.lookBook__img {
  width: 100%;
  height: auto;
}

.glider-contain {
  width: 70%;
}

.glider li:not(:last-child) {
  margin-right: 1rem;
}

.glider figcaption {
  color: #fff;
}

.glider-dot {
  color: #fff;
  background: #fff;
  width: 8px;
  height: 8px;
}

.glider-dot.active {
  background: lightgray;
}

.arrow {
  border: solid white;
  border-width: 0 3px 3px 0;
  display: inline-block;
  padding: 1rem;

  /* transform: translateY(50%); */
}

.glider-next {
  transform: rotate(-45deg);
  /* -webkit-transform: rotate(-45deg); */
}

.glider-prev {
  transform: rotate(135deg);
  /* -webkit-transform: rotate(135deg); */
}

.glider-next,
.glider-prev {
  top: 40%;
}

#map {
  width: 100%; /* The width is the width of the web page */
  margin: 0 auto;
  height: 300px; /* The height is 400 pixels */
}

/* The Modal (background) */
.modal {
  display: none; /* Hidden by default */
  position: fixed; /* Stay in place */
  z-index: 1001; /* Sit on top */
  padding-top: 100px; /* Location of the box */
  left: 0;
  top: 0;
  width: 100%; /* Full width */
  height: 100vh; /* Full height */
  overflow: auto; /* Enable scroll if needed */
  background-color: rgb(0, 0, 0); /* Fallback color */
  background-color: rgba(0, 0, 0, 0.9); /* Black w/ opacity */
}

/* Modal Content (Image) */
.modal-content {
  margin: auto;
  display: block;
  width: 80%;
  /* max-height: 100%; */
  max-width: 700px;
}

/* Caption of Modal Image (Image Text) - Same Width as the Image */
#caption {
  margin: auto;
  display: block;
  width: 80%;
  max-width: 700px;
  text-align: center;
  color: #ccc;
  padding: 10px 0;
  height: 150px;
}

/* Add Animation - Zoom in the Modal */
.modal-content,
#caption {
  animation-name: zoom;
  animation-duration: 0.6s;
}

@keyframes zoom {
  from {
    transform: scale(0);
  }
  to {
    transform: scale(1);
  }
}

/* The Close Button */
.close {
  position: absolute;
  top: 15px;
  right: 35px;
  color: #f1f1f1;
  font-size: 40px;
  font-weight: bold;
  transition: 0.3s;
}

.close:hover,
.close:focus {
  color: #bbb;
  text-decoration: none;
  cursor: pointer;
}

.column-container {
  column-count: 2;
}

.main__container,
.main__container__home,
.main__container__where,
.main__container__contact,
.main__container__lookBook {
  width: 100%;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

/* 100% Image Width on Smaller Screens */
@media only screen and (max-width: 700px) {
  .modal-content {
    width: 100%;
  }
  .column-container {
    column-count: 1;
  }
  .leadText {
    padding: 2rem;
  }
  .heading--secondary {
    padding: 2rem;
  }
  .header {
    padding: 2rem;
  }
  body {
    height: auto;
  }
  .header__content {
    height: auto;
  }
  .main__container {
    margin-top: 10rem;
    margin-bottom: 5rem;
  }
  .main__container {
    position: relative;
    top: 0;
    left: 0;
    transform: translate(0, 0);
  }
  .main__container,
  .main__container__where,
  .main__container__contact,
  .main__container__lookBook {
    padding: 0;
  }
  .glider-contain {
    width: 90%;
  }
}

@media only screen and (max-width: 320px) {
  .glider-next,
  .glider-prev {
    top: 35%;
  }
}

@media only screen and (min-width: 1440px) {
  .glider-next,
  .glider-prev {
    top: 45%;
  }
}
