header{
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 3px;
  background-color: black;
  color: white;
  font-family: mono;
  position: sticky;
  top: 0;
  left: 0;
  width: calc(100% - 6px);
  height: 42px;
  margin: 0
}
#mark{
  margin: 0 0 0 10px;
  padding: 0
}
nav a{
  color: white;
}
a{
  text-decoration: none;
}
nav{
  padding-top: 4px;
  margin-right: 8px
}
body{
  background-color: #E5E5E5;
  text-align: center;
  margin:0;
}
html{
  scroll-padding-top: 3.5rem;
  box-sizing: border-box;
}
#welcome-section{
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  font-size: 2.3rem;
}
#welcome-section h1{
  width: 100%;
  text-align: center;
  margin: 0;
  margin-top: -50px;
  text-shadow: 3px 3px 3px #ababab;
}
#welcome-section p{
  margin: 0;
  width: 100%;
  text-align: center;
}
#projects{
  height: 85vh;
  max-height: 2380px;
  min-height: 1000px;
  margin-bottom: 100px;
  width: 99%;
  background-color: #E5E5E5;
  color: black;
  border-top: 7px solid black;
  padding-top: 20px;
}
#projects h1{
  font-size: 3rem;
  font-family: "audiowide",mono;
  text-shadow: 3px 3px 3px #ababab;
  width: 100%
}
#projects h1 a{
  text-decoration: underline
}
#contact{
  height: 3vh;
  background-color: black;
  color: snow;
  border: 2px solid  red;
  padding: 40px 0
}
ul li{
  padding: 3px 10px
}
#project-container{
  height: fit-content;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-evenly;
}
#illustration{
  width: 49vw;
  text-align: center;
  max-width: 500px;
}
#illustration img{
  width: 90vw;
  max-width: 440px;
  margin: 0 auto;
}
#illustration h3{
  font-family: mono;
  font-size: 1.5rem
}
#project-description{
  width: 49vw;
  max-width: 500px;
}
#project-description h3{
  font-family: mono;
  font-size: 1.5rem
}
.cubes{
  display: grid;
  grid-template-columns: 1fr 1fr;
  justify-items: center;
  gap: 25px;
  max-width: 500px;
  
}

.cube{
  border: 5px solid;
  border-radius: 1.5rem;
  border-image: linear-gradient( purple, orange) 1;
  height: 140px;
  width: 160px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  padding: 0;
  text-align: center;
  
}
.cube p{
  max-width: 145px;
  letter-spacing: 0.7px;
  font-size: 1.2rem;
}
#grayout{
  filter: grayscale(100%);
}

#contact a{
  color: red;
  font-size: 1.4rem;
  font-family: mono;
}



#contact a:hover{
  color: snow
}
#down{
  margin-bottom: -10px;
}
#doubledown{
  margin-bottom: -20px;
}


@media (max-width:1025px) {
  #projects{
    height: 1800px;
  }
  #project-container{
    flex-direction: column;
    align-items: center;
  }
  #project-description{
    width: 100%
  }
  #illustration{
    width: 100%
  }
  
}

@media (max-width:450px) {

  #welcome-section h1{
    font-size: 1.7rem;
  }
  #projects h1{
    font-size: 2rem;
    font-family: "audiowide",mono;
    text-shadow: 3px 3px 3px #ababab;
    width: 100%
  }
  #projects h3{
    font-size: 1.2rem;
  }
  #welcome-section p{
    font-size: 1rem;
  }
  #projects{
    height: 1700px;
    
    width: 100%;
  }
  #project-container{
    flex-direction: column;
    align-items: center;
    margin: 0 auto;
  }
  #project-description{
    width: 98%;
    max-height: 840px;
  }
  .cube{
    height: 160px;
    width: 75%;
  }
  .cube p{
    max-width: 120px;
    letter-spacing: 0.7px;
    font-size: 1.1rem;
  }
  #illustration{
    margin: 0;
    padding: 0;
  }
  #illustration img{
    margin: 0 ;
  }
  header{
    font-size: 0.7rem;
  }

  html{
    margin: 0;
    padding: 0;
    
  }
  body{
    max-width: 100%;
  }
 

}

@media (max-width: 360px){
  .cubes{
    display: grid;
    grid-template-columns: 1fr ;
    justify-items: center;
    gap: 25px;
    max-width: 500px;
  }
  #projects{
    min-height: 2250px;
    height: 350vh;
    max-height: 2350px;
    width: 100%;
    margin: 0;
  }
  header{
    flex-direction: column;
    height: max-content;
    align-items: center;
    justify-content: center;
  }
  nav{
    display: flex;
    justify-content:space-around;
    align-items: baseline;
    padding: 0 auto;
    width: 100%;
  }

  header nav,#mark{
    margin: 0 auto;
  }

}