
body {
  font-family: 'Times New Roman', serif;
  background: hwb(75 25% 73%);
  color: #fff;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 100vh;
  overflow: hidden;

}


.filter-overlay {
position: absolute;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  /* mix-blend-mode: overlay; Change to multiply, screen, overlay, etc. */
  opacity: 0.6;
  z-index: 10000;
  filter: url(#filter);
}


header {
  width: 100%;
  display: flex;
  padding: 10px 5px;
  border: 6px double #ffffff;
  font-size: 14px;
  text-transform: uppercase;
  filter: url(#displacementFilter2);
  background: hwb(75 25% 73%);
  justify-content: space-between;
  align-items: center;
  z-index: 1000;
}

.logo {
  margin-left: 65%;
  list-style: none;
  flex: auto;
  display: flex;
  column-gap: 50px;
  align-content: space-between;
  align-items: flex-start;
  flex-direction: row;
  justify-content: center;
filter: invert();
}

nav ul {
  margin-right: 35%;
  list-style: none;
  flex: auto;
  display: flex;
  column-gap: 60px;
  align-content: space-between;
  align-items: flex-start;
  flex-direction: row;
  justify-content: center;
  font-family: 'Arial Narrow', Arial, sans-serif;
  font-size: 20px;
  color: rgb(255, 255, 255);
  z-index: 10000;

}


nav a {
  text-decoration: none;
  color: white;
}

aside {
position: absolute;
  top: 0;
  width: 2.4%;
  height: 100vh;
  background: hwb(0 12% 88%);

background-image: url(image/dithered-vertical.png);
background-repeat: revert;

/* filter: url(#noise); */

z-index: -100;
}

.side-text {
  top: -2%;
position: fixed;
  font-size: 13px;
  flex: auto;
  display: flex;
  align-content: stretch;
  align-items: center;
  justify-content: center;
  font-family:  'Arial Narrow', Arial, sans-serif;
  color: rgb(255, 255, 255);
  writing-mode: vertical-rl;
  text-orientation: upright;
  padding: 0 1.1%;
  font-weight:600 ;
}


.carbonbadge{

position: fixed;
bottom: -1%;
right: 0;
scale: 0.8;
filter: grayscale();
mix-blend-mode: hard-light;

}
.grain {
position: absolute;
  width: 100vw;
  height: 100vh;
  top: 0; left: 0;
  background-image: url(image/noise.png);
background-size: auto;
background-repeat: repeat;
  opacity: 0.10;
  mix-blend-mode: hard-light; 
  pointer-events: none;
  z-index: 9999;
  /* animation: noise 5s steps(5) infinite; */
}



main {
  display: flex;
  justify-content: center;
  width: 90%;
  height: 70vh;
    background: hwb(75 25% 73%);

  max-width: 1400px;
  /* padding: 5% 0; */
  border: 6px double #ffffff;
  text-align: center;
  flex-grow: 1;
  background-size: contain;
  mix-blend-mode: normal;
  filter: url(#displacementFilter2);
  align-items: center;
  align-content: center;
  flex-wrap: nowrap;
  flex-direction: row;
}

.main-about {
  display: flex;
  width: 70vw;
  height: 100vh;
  max-width: 1400px;
  /* padding: 5% 0; */
  border: 6px double #ffffff;
  flex-grow: 0;
  mix-blend-mode: screen;
  filter: url(#displacementFilter2);
  flex-wrap: nowrap;
  flex-direction: row;
}

.hidden {
  display: none;
}

#screen {
  scale: 0.45;
  position: relative;
top: 50%;
/* left: 5vw; */
}
nav ul {
align-items: center;
  column-gap: 50px;
  justify-content: center;
  width: 76.4%;
}


.left {
  left: 0%;
  
}

.right {
  right: 0%;
}

button {
  background: rgba(0, 0, 0, 0);
  position: absolute;
  text-decoration: none;
  z-index: 1000;
  border: black;
  font-family: monospace;
user-select: none;

}


#reset {
  color: #fff;
  font-size: 6.5em;
  display: flex;
  max-width: 1200px;
  /* padding: auto; */
  font-family: 'Times New Roman', Times, serif;
  /* filter: url(#displacementFilter); */
  text-shadow: 5px #000;
}


.content h1 {
  font-size: 50px;
  font-weight: bold;
  filter: blur(1px);
}

.content img {
  max-width: 100%;
  filter: contrast(150%) grayscale(100%);
}

footer {
  width: 100%;
  padding: 3px;
  text-align: center;
  font-size: 14px;
  justify-content: center;
  display: flex;
  border: 6px double #ffffff;
position: absolute;
  bottom: 0;
  left: 0;
  background: hwb(0 12% 88%);
  filter: url(#displacementFilter2);

}

#hide{
  visibility: hidden;
}

.real-footer{
  width: 100%;
  padding: 5px 0 4px 0;
  text-align: center;
  font-size: 14px;
  justify-content: center;
  display: flex;
position: absolute;
  bottom: 1%;
  left: 0;
  font-family:  'Arial Narrow', Arial, sans-serif;
color: rgb(255, 255, 255);
font-weight: bold;
background-image: url(image/dithered-horizontal.png);
background-size: contain;
}

#description{
  max-width: 700px;
  padding: 0% 5%;
}

@media screen and (max-width: 1075px) and (min-width: 841px) {


  #reset{
    font-size: 3em;
  }

}


@media screen and (max-width: 975px) and (min-width: 841px) {


  .real-footer{
    padding: 15px 0 4px 0;
  }

}
@media screen and (max-width: 840px) and (max-height: 700px) {
  #reset {
    font-size: 3em;
        filter: url(#displacementFilter);

  }

  #screen{
    margin-top: -10%;
scale: 0.4;

  }
  #description{
    margin: 2% 5%;
  }

}

@media screen and (max-width: 840px) {

  body{
    max-height: 1200px;
  }

  header{
    font-size: 10px;
    flex-direction: column;
    justify-content: space-between;
    margin: 0 auto;
    border-left: none;

  }
    #reset {
    top: 10%;
    font-size: 3em;
        filter: url(#displacementFilter);

  }
  #description{
    margin: 2% 5%;
  }

  #screen{
    margin-top: -10%;
scale: 0.3;
  }

  .logo {
    margin-left: 0%;
    list-style: none;
    flex: auto;
    display: flex;
    column-gap: 20px;}

  aside{
    display: none;
  }
  .side-text {

    display: none;
  }

  main{
    width: 100vw;
    max-height: 100%;
    border: none;
  }
  #reset {
    font-size: 4em;
  }
footer{
  display: none;
  bottom: 0;
  max-height: 300px;
  position: sticky;
}
.real-footer{
  position: relative;
  bottom: 0;
  max-height: 300px;
  position: sticky;
  background-size: cover;


}


}

@media screen and (min-width: 1944px) {
header{
  justify-content: space-around;
}

  main{
    width: 100vw;
    max-width: 90%;
    /* max-height: 100%;
    height: calc(100vh - 200px); */
  }

  .side-text{
    font-size: 1.1em;
  }

  #reset {
    font-size: 8em;
  }

  footer{
    max-height: 100vh;
font-size: 1.8em;
    /* display: none; */
    bottom: 0;
    max-height: 600px;
    position: absolute;
  }
  .real-footer{
    max-height: 100vh;
    position: absolute;
    bottom: 0;
    max-height: 600px;
    font-size: 1.4em;

    background-size: cover
  
  }

  nav ul{
    font-size: 2em;

  }
}