/* aldrich-regular - latin */
@font-face {
  font-family: "Aldrich";
  font-style: normal;
  font-weight: 400;
  src: url("./fonts/aldrich-v17-latin-regular.eot"); /* IE9 Compat Modes */
  src: local(""),
    url("./fonts/aldrich-v17-latin-regular.eot?#iefix")
      format("embedded-opentype"),
    /* IE6-IE8 */ url("./fonts/aldrich-v17-latin-regular.woff2") format("woff2"),
    /* Super Modern Browsers */ url("./fonts/aldrich-v17-latin-regular.woff")
      format("woff"),
    /* Modern Browsers */ url("./fonts/aldrich-v17-latin-regular.ttf")
      format("truetype"),
    /* Safari, Android, iOS */
      url("./fonts/aldrich-v17-latin-regular.svg#Aldrich") format("svg"); /* Legacy iOS */
}

/* open-sans-regular - latin */
@font-face {
  font-family: "Open Sans";
  font-style: normal;
  font-weight: 400;
  src: url("./fonts/open-sans-v34-latin-regular.eot"); /* IE9 Compat Modes */
  src: local(""),
    url("./fonts/open-sans-v34-latin-regular.eot?#iefix")
      format("embedded-opentype"),
    /* IE6-IE8 */ url("./fonts/open-sans-v34-latin-regular.woff2")
      format("woff2"),
    /* Super Modern Browsers */ url("./fonts/open-sans-v34-latin-regular.woff")
      format("woff"),
    /* Modern Browsers */ url("./fonts/open-sans-v34-latin-regular.ttf")
      format("truetype"),
    /* Safari, Android, iOS */
      url("./fonts/open-sans-v34-latin-regular.svg#OpenSans") format("svg"); /* Legacy iOS */
}

canvas {
  display: flex;
}

body {
  height: 100%;
  /* top and bottom fixed to 0 would accomplish the samething, BUT since height percentage is dependent on the parent elements height, I'm using height:100% here to cascade down in order to allow the section and section:before to be designated as height:100%. */
  margin: 0;
  position: relative;
  width: 100%;
}

#particles-js {
  position: relative;
  width: 99%;
  height: 98vh;
  background: white;
}

@media screen and (max-width: 600px) {
  h1 {
    font-size: 30px;
  }
}

@media screen and (min-width: 600px) {
  h1 {
    font-size: 45px;
  }
}

h1 {
  font-family: "Aldrich", sans-serif;
  font-weight: 500;
  letter-spacing: 1px;
}

.middle {
  position: absolute;
  top: 40%;
  left: 50%;
  transform: translate(-50%, -50%);
}
.middle2 {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: left;
  width: 100%;
  height: 50vh;

  /* Scroll Snap */
  scroll-snap-align: center;
}

.middleBottom {
  position: absolute;
  width: 80%;
  top: 70%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
}

.topleft {
  position: absolute;
  top: 0;
  left: 16px;
}

.fbg {
  background-attachment: fixed;
  background-position: 0% top;
  background-size: cover;
}

.section {
  background: cover;
  height: 100%;
  position: relative;
  text-align: center;
  width: 100%;
}

.sectionabs {
  height: 70%;
  position: absolute;
  text-align: center;
  width: 70%;
}
