@font-face {
  font-family: 'IBM Sans';
  src: url(ibmplexsans-text.woff2), url(ibmplexsans-text.woff);
  font-weight: 400;
}
@font-face {
  font-family: 'IBM Sans';
  src: url(ibmplexsans-semibold.woff2), url(ibmplexsans-semibold.woff);
  font-weight: 600;
}

body {
  font-family: IBM Sans, Helvetica;
  font-size: 21px;
  line-height: 1.286em;
  font-weight: 600;

  background-color: #fbfff1;
  color: #000000;
}

#app {
  padding: 40px;
}

.hero-wrap {
  display: flex;

  cursor: pointer;
}

.gallery-wrap {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: auto;
  column-gap: 40px;
  row-gap: 40px;
}

#scroll {
  position: fixed;
  bottom: 0;
  left: 0;
  
  width: 100%;
  
  padding: 20px;
  
  color: #CCE8CC;
}
.scroll-wrap {
  display: flex;
  justify-content: center;
}
/* On Scroll hide/show Scroll */
.hide {
    opacity:0;
    left:-100%;
  
 transition: all 0.42s;
}
.show {
    opacity:1;
    left:0;
  
  transition: all 0.42s;
}

#footer {
  margin-top: 40px;
}

.note {
  display: block;
  
  margin-top: 20px;
  
  color: #CCE8CC;
}

a {
  color: #3d52d5;
  text-decoration: none;
}

svg {
  width: 100%;
  height: 100%;
}

/* Night Mode enabled styles */
.night-mode {
  background-color: #000000;
  color: #fbfff1;
  fill: #fbfff1;

  transition: all 0.23s;
}
/* End Night Mode */

/* desktop styles */
@media only screen and (min-width: 1024px) {
  #hero {
    margin-bottom: 0;
  }
  .hero-wrap {
    align-items: center;
  }
  .self-portrait {
    width: 13.403vw;
    margin-right: 40px;
  }
  .welcome-text {
    width: 29.375vw;
  }
}

/* tablet styles */
@media only screen and (min-width: 577px) and (max-width: 1023px) {
  .welcome-text {
    width: 39.583vw;
  }

  .gallery-wrap {
    column-gap: 80px;
    row-gap: 80px;
  }
}

/*tablet and mobile styles */
@media only screen and (max-width: 1023px) {
  #hero {
    margin-bottom: 40px;
  }
  .hero-wrap {
    flex-direction: column;
    align-items: center;
  }

  .self-portrait {
    width: 37.5vw;

    margin-bottom: 20px;
  }

  .welcome-text {
    font-size: 0.75em;
    font-weight: 400;
    line-height: 1.25em;
    text-align: center;
  }
}

/* phone styles */
@media only screen and (max-width: 576px) {
  #app {
    padding: 20px;
  }

  .welcome-text {
    width: 100%;
  }

  .gallery-wrap {
    grid-template-columns: 1fr;
    column-gap: 40px;
    row-gap: 20px;
  }

  .footer-wrap {
    display: flex;
    justify-content: center;
  }
}
