html {
  
  background-color: #252A36;
  font-family: 'Inconsolata', monospace;
  color: #f1f1f1;
  margin: 0;
  padding: 0;
  scroll-behavior: smooth;
}
  
body {
  margin: 0;
  padding: 0;
}

/* header */

header {
  background-color: #252A36;
  height: 880px;
}

nav a {
  display: inline-block;
  position: relative;
  padding: 24px;
  font-size: 24px;
  font-weight: 700;
  z-index:100
}

li {
  list-style-type: none;
}

a {text-decoration: none; color: #f1f1f1; transition: 0.5s;}

header a:hover {
  color: #f1f1f1;
  text-decoration: none; 
  text-align: center;
  font-weight: 300;
  font-size: 25px;
  transition: 0.25s;
}

header h1 {
  text-shadow: 0px 4px #000000bb;
  position: relative;
  text-align: center;
  top: 295px;
  padding: 0px;
  font-family: 'Inconsolata', monospace;
  font-size: 72px;
  font-weight: 500;
  transition: 0.5s;
  animation-name: heading;
  animation-duration: 0.5s;
  animation-timing-function: ease-in;
}

header h1:hover {
  font-weight: 300;
  font-size: 73px;
  top: 293.5px;
  transition: 0.25s;
  text-decoration: wavy;
}

/* section 1 */

.section1 {
  height: 640px;
  padding-left: 275px;
  padding-right: 275px;
  background-color: #f1f1f1;
  color: #252A36;
  z-index: 100;
  display: inline-block
  justify-content: space-between;
}

.section1 h1 {
  font-size: 50px;
  position: absolute;
  margin-top: 239px;
  width: 615px;
  word-wrap: break-word;
}

.section1 h2 {
  font-size: 24px;
  position: absolute;
  margin-top: 350px;
}
section video {
  position: relative;
  margin-top: 140px;
  border: 2px solid #252A36;
}

/* section 2 */

.section2 {
  color: #f1f1f1;
  height: 278px;
  z-index: 100;
  text-align: center;
  position: relative;
  z-index:100;
}

.section2 h1 {
  font-weight: 500;
  font-size: 50px;
  margin-top: 140px;
  transition: 1s;
}

.section2 h1:hover {
  font-weight: 300;
  transition: 0.25s;
  font-size: 51px;
  margin-top: 138.5px;
}

.section2 p {
  font-size: 31.5px;
  margin-left: 175px;
  margin-right: 175px;
  margin-top: 0px;
}

/* section 3 */

.section3 {
  background-color: #f1f1f1;
  color: #252A36;
  z-index:100;
  height: 500px;
}

.section3 h1 {
  font-size: 50px;
  font-weight: 500;
  text-align: center;
  position: relative;
  top: 140px;
  transition: 1s;
}

.section3 h1:hover {
  font-weight: 300;
  font-size: 51px;
  top: 138.5px;
  transition: 0.25s;
}

.section3 h2 {
  margin-top: 228px;
  font-size: 36px;
  text-align: center;
  position: relative;
}

.section3 a {
  color: #252A36;
  transition: 1s;
}

.section3 a:hover {
  font-weight: 300;
  transition: 0.25s;
}

.section3 button {
  background-color: #252A36;
  color: #f1f1f1;
  font-size: 24px;
  border: none;
  padding: 15px 19px;
  border-radius: 5px;
  font-family: 'Inconsolata', monospace;
  text-align: center;
  margin:0 auto;
  display:block;
  transition: 1s;
  position: relative;
  border: 2px solid #f1f1f1;
}

.section3 button:hover {
  color: #252A36;
  background-color: #f1f1f1;
  transition: 0.25s;
  border: 2px solid #252A36;
}

.section3 button:active {
  color: #f1f1f1;
  background-color: #252A36;
  transition: 0.1s;
}

/* grain */

.grain:after {
  animation: grain 8s steps(10) infinite;
  background-image: url("grain.png");
  content: "";
  height: 300%;
  left: -50%;
  opacity: 0.03;
  position: fixed;
  top: -100%;
  width: 300%;

}

@keyframes grain {
  0%, 100% { transform:translate(0, 0) }
  10% { transform:translate(-5%, -10%) }
  20% { transform:translate(-15%, 5%) }
  30% { transform:translate(7%, -25%) }
  40% { transform:translate(-5%, 25%) }
  50% { transform:translate(-15%, 10%) }
  60% { transform:translate(15%, 0%) }
  70% { transform:translate(0%, 15%) }
  80% { transform:translate(3%, 25%) }
  90% { transform:translate(-10%, 10%) }
}

/* scrollbar */

/* width */
::-webkit-scrollbar {
  width: 10px;
}

/* Track */
::-webkit-scrollbar-track {
  background: #252a3600;
}

/* Handle */
::-webkit-scrollbar-thumb {
  background: #f1f1f1;
}
