* {
  box-sizing: border-box;
}

body {
  margin: 0;
  padding: 0;
}

/* Hide scrollbar for Chrome, Safari and Opera */
body::-webkit-scrollbar {
  display: none;
}

/* Hide scrollbar for IE, Edge and Firefox */
.body {
  -ms-overflow-style: none;  /* IE and Edge */
  scrollbar-width: none;  /* Firefox */
}

.wrapper {
  width: 100%;
}

h1, h2, h4 {
  font-size: unset;
  font-style: unset;
  font-family: unset;
  font-weight: unset;
}

.title{
  width: 100%;
  position: fixed;
  text-align: center;
  top: 40px;
  left: 0;
  font-family: itc-avant-garde-gothic-pro, sans-serif;
  font-weight: 300;
  font-style: normal;
  font-size: 1.4rem;
  text-decoration: none;
  color: black;
  z-index: 20;
  cursor: default;
}

.info-open-button {
  font-family: itc-avant-garde-gothic-pro, sans-serif;
  font-weight: 300;
  font-style: normal;
  font-size: 1rem;
  position: fixed;
  top: 40px;
  right: 40px;
  z-index: 20;
  cursor: pointer;
}

.info-open-button:hover {
  text-decoration: underline;
}

.contact {
  margin-left: 40px;
  font-family: itc-avant-garde-gothic-pro, sans-serif;
  font-weight: 300;
  font-style: normal;
  font-size: 1rem;
  text-decoration: none;
  color: black;
}

.contact:hover {
  text-decoration: underline;
}

.container {
  width: 100%;
  padding-top: 130px;
  columns: 4;
  column-gap: 40px;
  padding-left: 40px;
  padding-right: 40px;
  padding-bottom: 70px;
}

.container .box {
  width: 100%;
  overflow: hidden;
  break-inside: avoid;
  display: grid;
  grid-template-rows: 1fr;
  grid-template-columns: 1fr;
  text-align: center;
  margin-bottom: 40px;
}

.hover-link {
  grid-column: 1;
  grid-row: 1;
  z-index: 2;
  width: 100%;
  background-color: transparent;
  color: transparent;
  font-family: itc-avant-garde-gothic-pro, sans-serif;
  font-weight: lighter;
  font-style: normal;
  font-size: 1rem;
  box-sizing: border-box;
  padding-left: 20px;
  padding-right: 20px;
  text-decoration: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hover-link:hover {
  color: white;
  background-color: #ad3737e6;
  text-decoration: none;
}

.hl-blue:hover {
  color: white;
  background-color: #628fd9e6;
  text-decoration: none;
}

.hl-purple:hover {
  color: white;
  background-color: #725996e6;
  text-decoration: none;
}



img {
  width: 100%;
  grid-column: 1;
  grid-row: 1;
}

video {
  width: 100%;
  grid-column: 1;
  grid-row: 1;
}

.spacer {
  height: 200px;
}

.clients-list {
  padding: 40px;
  font-family: itc-avant-garde-gothic-pro, sans-serif;
  font-weight: 300;
  font-style: normal;
  font-size: 1rem;
  text-decoration: none;
  color: black;
}

.clients-list a {
  color: white;
  text-decoration: none;
}

.clients-list a:hover {
  color: white;
  text-decoration: underline;
}

.archive {
  padding: 40px;
  padding-top: 0;
  font-family: itc-avant-garde-gothic-pro, sans-serif;
  font-weight: 300;
  font-style: normal;
  font-size: 1rem;
  text-decoration: none;
  color: black;
}

.archive a {
  color: black;
  text-decoration: none;
}

.archive a:hover {
  text-decoration: underline;
}

/* NOTE: gallery style */

#gallerywrapper {
    width:640px;
    height:450px;
    margin:0 auto;
    position:relative;
    font-family:verdana, arial, sans-serif;
}

#gallerywrapper #gallery {
    position:absolute;
    left:0;
    top:0;
    height:450px;
    width:640px;
    overflow:hidden;
    text-align:center;
}

#gallerywrapper #gallery div {
    width:640px; height:900px;
    padding-top:10px;
    position:relative;
}

#gallerywrapper #gallery div img {
    clear:both;
    display:block;
    margin:0 auto;
    border:0;
}

#gallerywrapper #gallery div h3 {
    padding:10px 0 0 0;
    margin:0;
    font-size:18px;
}

#gallerywrapper #gallery div p {
    padding:5px 0;
    margin:0;
    font-size:12px;
    line-height:18px;
}

#gallery .previous{
    display:inline;
    float:left;
    margin-left:80px;
    text-decoration:none;
}

#gallery .next{
    display:inline;
    float:right;
    margin-right:80px;
    text-decoration:none;
}

/* NOTE: about pop-up style */


  .info-content {
    padding-top: 50px;
  }
  .info-content p, .info-content a {
    color: white;
  }
  #open-button {
      position: fixed;
      z-index: 50;
      top: 40px;
      right: 40px;
      color: black;
      font-family: itc-avant-garde-gothic-pro, sans-serif;
      font-weight: 300;
      font-style: normal;
      font-size: 1rem;
      text-decoration: none;
      cursor: pointer;
      }
  #open-button:hover, #close-button:hover {
        text-decoration: underline;
      }

  #about-pop-up {
      position: fixed;
      right: 0px;
      top: 0px;
      width: 100%;
      height: 100%;
      box-sizing: border-box;
      border-bottom: 0px solid chartreuse;
      display: none;
      z-index: 50;
      background-color: #ad3737f2;
      overflow: hidden;
  }
  #close-button {
    position: fixed;
    z-index: 50;
    top: 40px;
    right: 40px;
    color: white;
    font-family: itc-avant-garde-gothic-pro, sans-serif;
    font-weight: 300;
    font-style: normal;
    font-size: 1rem;
    text-decoration: none;
    cursor: pointer;
    }
  
  #p {
      box-sizing: border-box;
      border: solid 0px red;
      width: 50%;
      min-width: 300px;
      padding-top: 70px;
      padding-left: 0px;
      padding-right: 15px;
      position: absolute;
      right: 0;
      top: 0;
      font-family: 'Crimson Pro' sans-serif;
      font-weight: 200;
      font-size: 18px;
      color: #f0f0f9;
  }

  @media (max-width: 322px) {
      #p {
          width: calc(100% - 15px);
          min-width: calc(100% - 15px);
      }

  }


  /* NOTE: project pop up gallery style opt.2 */


  .popup {
    display: none;
    z-index: 500;
    box-sizing: border-box;

  }
  .popup.open {
    display: block;
    z-index: 500;
  }
  .blocker {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    background-color: rgba(255, 255, 255, 0.9);
    z-index: 500;
    box-sizing: border-box;
    border: solid green 0px;
  }
  .popup .contents {
    border: 0px solid red;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: center;
    position: fixed;
    top: 10%;
    left: 10%;
    height: 80%;
    width: 80%;
    z-index: 500;
  }
  .contents {
    border: solid 0px blue;
    box-sizing: border-box;
    height: 100%;
    width: 100%;

  }


/* NOTE: responsive */

@media screen and (max-width: 900px) {
    .container {
      columns: 3;
    }
    .spacer {
      display: none;
    }
}

@media screen and (max-width: 700px) {
    .container {
      columns: 2;
    }
}

@media screen and (max-width: 500px) {
    .container {
      columns: 1;
    }
}
