
*{
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  background-color: #f7f7f7;
  overflow-x: hidden;
  max-width: 2000px;
  margin: 0 auto;
}
html {
  scroll-behavior: smooth;
}

.container {
  margin: 3rem;
}

/*-----navbar scroll ---*/


.main-tool-bar {
  height: 80px;
  background: #f7f7f7;
  text-align: center;
  color: #0e1111;
  position: fixed;
  width: 100%;
  left: 0;
  top: 0;
z-index: 2;
  transition: ease 0.4s;
}


/*Text--------__*/
.text_container {
  margin-top: 5rem;
  /*background-color: green;
  border-left: 5px solid #000;*/
  width: 27rem;
  padding: 25px;

}

p {
  font-family: 'Montserrat', sans-serif;
}


/*Gallery*/
.row {
  display: flex;
  margin: 0 -1rem;
  /* justify-content: flex-end; */
}

.row + .row {
  margin-top: 2rem;
}

.row--1 {
  align-items: center;
}

.col {
  width: calc((min(100vw, 2000px) - 10rem) / 3 - 7px);
  max-width: calc((min(100vw, 2000px) - 10rem) / 3 - 7px);
  margin: 0 1rem;
}

.col--1-1 {
  width: calc((min(100vw, 2000px) - 10rem) / 3 * 2 + 2rem - 14px);
  max-width: calc((min(100vw, 2000px) - 10rem) / 3 * 2 + 2rem - 14px);
}


.col img:not(.img--comp) {
  max-width: 100%;
}

.container h1 {
  font-family: 'Playfair Display', serif;
  font-size: 10rem;
  font-weight: 100;
  line-height: 11rem;

}

.container {
  margin-top: 7rem;
}

.col--1-3:hover img {
  background-color: #0e1111;
  opacity: 0.3;
}
.middle {
  position: relative;
}

.col--1-3:hover .middle {
  opacity: 1;
}

.text {
  position: absolute;
  color: black;
  font-size: 16px;
}


.bottomline {
  font-size: 1rem;
  font-weight: 300;
  display: block;
  font-family: 'Montserrat', sans-serif;
  padding-top: 1rem;
  max-width: 500px;

}

/*Slider*/

* {box-sizing: border-box;}

.img-comp-container {
  position: relative;
  height: calc((min(100vw, 2000px) - 10rem) / 2); /*should be the same height as the images*/
  width: calc((min(100vw, 2000px) - 10rem) / 3);
}

.img-comp-img {
  position: absolute;
  width: auto;
  height: auto;
  overflow:hidden;

}

.img-comp-img img {
  display:block;
  vertical-align:middle;
  width: calc((min(100vw, 2000px) - 10rem) / 3);
  height: calc((min(100vw, 2000px) - 10rem) / 2); 
}

.img-comp-slider {
  position: absolute;
  z-index:9;
  cursor: ew-resize;
  /*set the appearance of the slider:*/
  width: 40px;
  height: 40px;
  background-color: #2196F3;
  opacity: 0.7;
  border-radius: 50%;
}





/*Queries*/

/* Screen sizes between 1201px and 1500px */
@media only screen and (max-width: 1500px) {
  .container h1 {
    font-size: 9rem;
  }
}

/* Screen sizes between 1024px and 1200px (iPad landscape) */
@media only screen and (max-width: 1200px) {
  .container h1 {
    font-size: 7rem;
  }
  .bottomline {
    font-size: 0.9rem;
  }
  .lookdescription {
    font-size: 0.8rem;
  }
  h2 {
    font-size: 1.3rem;
  }

}

/* Screen sizes between 768px and 1023px (iPad portrait) */
@media only screen and (max-width: 1023px) {
  .container h1 {
    font-size: 6rem;
    line-height: 5rem;
  }
  .row {
    flex-wrap: wrap;
    justify-content: flex-start;
  }

  .col {
    /*flex-basis: 50%;*/
  }

}

/* Screen sizes between 350px and 767px (smartphone) */
@media only screen and (max-width: 767px) {
  .row {
    flex-direction: column;
  }
  .container h1 {
    font-size: 5rem;
    line-height: 5rem;
  }


body {
  margin: 0;
}
.row {
  flex-direction: column;
  align-items: center;
  margin: 0;
}
.col {
  width: calc(min(100vw, 2000px) - 6rem);
  max-width: calc(min(100vw, 2000px) - 6rem);
  margin-bottom: 3rem;
  margin: 3rem 0 0 0;
}
.img-comp-img img, .img-comp-container {
  width: calc(min(100vw, 2000px) - 6rem);
  height: calc((min(100vw, 2000px) - 6rem) / 2 * 3);
}
.row + .row {
  margin: 0;
}


}

/* Screen sizes smaller 350px (small smartphone) */
@media only screen and (max-width: 350px) {
}




