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

}
html {
  scroll-behavior: auto;
  /*background-color: red;*/
}

/*-----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;
}


#navlist {
    display: flex;
    align-items: center;
    height: 80px;
}

#navlist li:first-child {
  margin-right: auto;
}

#navlist a {
    display: block;
    text-decoration: none;
    margin:2rem;
    
}
#logo {
    color: #0e1111;
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
}
ul {
  list-style: none;
}
li{
  display: list-item;
  font-family: 'Montserrat', sans-serif;
}

li a {
  color: #0e1111;

}
 */

#darkbox { width:1280px; height:720px; position:fixed; top:0; left:0; background-color:rgba(0,0,0,0.81); overflow: hidden; text-align:center;}
.darkboximg { padding:1rem 3rem; max-width: 100%; max-height: 95%; }


.overflow--open {
overflow: hidden;
}



/*Gallery*/
.row {
  display: flex;
  width: 100%;
}

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

.col {
  flex-basis: 33.333333%;
  padding: 1rem;
}


.col img {
  max-width: 100%;
}

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

}

.container h1 .topline {
  font-size: 2rem;
  font-weight: 300;
  display: block;
  font-family: 'Montserrat', sans-serif;

}


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

  .container h1 .topline {
    font-size: 1.8rem;

  }
}

/* Screen sizes between 1024px and 1200px (iPad landscape) */
@media only screen and (max-width: 1200px) {
  .container h1 {
    font-size: 7rem;
    line-height: 5rem;
  }

  .container h1 .topline {
    font-size: 1.5rem;

  }
}

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

  .container h1 .topline {
    font-size: 1.3rem;

  }
}

/* Screen sizes between 350px and 767px (smartphone) */
@media only screen and (max-width: 767px) {
  html, html body, body #wrapper {
    min-width: 0 !important;
    max-width: none !important;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
    }
    h1 {
      font-size: 8rem;
      font-weight: 100;
    }
    p {
    font-size: 0.8rem;
    }
  
  .row {
    flex-direction: column;
    overflow: hidden;
  }
  .row--1 {
    align-items: flex-start;
    }
  .container {
    margin-top: 4rem;
  }
  .container h1 {
    line-height: 2rem;
    font-size: 3rem;
  }
  .container h1 .topline {
    font-size: 1rem;
  }


}

/* Screen sizes smaller 350px (small smartphone) */
@media only screen and (max-width: 350px) {
  .container {
    margin: 1rem;
  }
  .row--1 {
    margin-top: 5rem;
  }
}

