* {
  margin: 0;
  /* font-family: aeonik; */
  padding: 0;
  box-sizing: border-box;
}
html,
body {
  width: 100%;
  height: 100%;
}
#main {
  background-color: black;
}
nav {
  display: flex;
  padding: 20px 30px;
  justify-content: space-between;
  align-items: center;
  z-index: 999;
  position: fixed;
}
nav h1 {
  font-weight: 900;
  font-family: gilroy;
  margin-right: 48vw;
}
#nleft a {
  margin-right: 3vw;
  font-family: neue machina;
  color: #000000b5;
  text-decoration: none;
}
#loader {
  width: 100%;
  background-color: rgb(0, 0, 0);
  height: 100vh;
  text-align: center;
  justify-content: center;
  align-items: center;
  display: flex;
  position: fixed;
  display: none;
}
#loader #yellow {
  width: 100%;
  background-color: #f5e41b;
  height: 100%;
  z-index: 8;
  position: absolute;
}
#loader video {
  z-index: 7;
  width: 100%;
  height: 100%;
  position: absolute;
  object-position: center;
  object-fit: cover;
}
#loader h1 {
  z-index: 9;
  position: relative;
  line-height: 5.5vw;
  letter-spacing: -3px;
  color: white;
  font-weight: 100;
  font-size: 6.5vw;
}
#page1 {
  width: 100%;
  background-color: #f5e41b;
  height: 100vh;
  text-align: center;
  justify-content: center;
  align-items: center;
  display: flex;
}
#page1 h1 {
  line-height: 5.5vw;
  letter-spacing: -3px;
  font-weight: 100;
  font-size: 6.5vw;
}
#page2 {
  width: 100%;
  background-color: #000000;
  height: 100vh;
  color: white;
  text-align: center;
  justify-content: center;
  align-items: center;
  display: flex;
  position: relative;
  flex-direction: column;
}
#elem {
  width: 100%;
  /* background-color: red; */
  position: relative;
  /* height: 35vh; */
  overflow: hidden;
  cursor: pointer;
  /* flex-direction: column; */
  /* justify-content: center; */
  /* align-items: center; */
  /* display: flex; */
}
#elem h1 {
  font-family: neue machina;
  font-weight: 200;
  line-height: 7vw;
  font-size: 8vw;
  position: relative;
  z-index: 50;
  /* transition-delay: .2s; */
  /* display: inline; */
}
#elem:hover .moving {
  opacity: 1;
}
#elem:hover h1 {
  font-style: italic;
  font-weight: 100;
}
#elem:hover .moving {
  transform: translate(-50%, -50%) scaleY(1);
}
#elem:hover .moving .moving-in h5 {
  opacity: 1;
}
#elem .moving {
  white-space: nowrap;
  /* z-index: 40; */
  display: inline-block;
  top: 50%;
  transform: translate(-50%, -50%) scaleY(0);
  position: absolute;
  padding: 2px 0;
  background-color: #f5e41b;
  transition: all ease 0.3s;
  white-space: nowrap;
  width: 100%;
  /* position: relative; */
  overflow: hidden;
  opacity: 0;
}
.moving .blur {
  background: linear-gradient(to right, #f5e31bf0, #f5e41b, #f5e31bee);
  width: 40%;
  z-index: 8;
  height: 100%;
  left: 50%;
  box-shadow: 10px 0px 30px 70px #f5e41b, -10px 0px 20px 70px #f5e41b;
  top: 50%;
  transform: translate(-50%, -50%);
  position: absolute;
  /* background-color: red; */
}
#elem .moving .moving-in {
  display: inline-block;
  /* display: flex; */
  /* display: flex; */
  /* background-color: #F5E41B; */
  white-space: nowrap;
  animation-name: moving;
  animation-timing-function: linear;
  animation-duration: 7s;
  animation-iteration-count: infinite;
  /* display: none; */
}
#elem .moving .moving-in h5 {
  display: inline-block;
  color: rgb(0, 0, 0);
  font-family: gilroy;
  font-weight: 450;
  margin-right: 35px;
  font-size: 12.5px;
  opacity: 0;
  /* transition-delay: 0.5s; */
  transition: all ease 1s;
}
@keyframes moving {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-100%);
  }
}

#page3 {
  width: 100%;
  background-color: #ffffff;
  min-height: 100%;
}

img {
  width: 100%;
  height: 100%;
  transition: all ease 0.5s;
}
#img {
  width: 100%;
  margin: 0 1em 1em 0;
  /* padding-bottom: 1em ; */
  filter: brightness(110%);
  /* position: relative; */
  /* border: 2px solid red; */
  /* background-color: red; */
  transition: all ease 0.5s;
  overflow: hidden;
}
#img:hover {
  cursor: pointer;
}
#img #overlay {
  text-align: center;
  justify-content: center;
  align-items: center;
  display: flex;

  background-color: black;
  width: 100%;
  height: 100%;
  /* pad: 2vw; */
  /* display: none; */
  z-index: 9;
  position: absolute;
  opacity: 0;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  transition: all ease 0.5s;
}
#overlay p {
  color: rgb(255, 255, 255);
  padding: 0 30px;
  font-size: 2em;
  transition: all ease 0.6s;
}
#img:hover #overlay {
  opacity: 1;
}
#img:hover img {
  scale: 1.1;
}

.list {
  /* column-count: 3; */
  padding: 30px;
  /* background-color: red; */
  width: 100%;
  /* min-height: 100%; */
  columns: 300px;
}

@media (max-width: 600px) {
  img {
    width: 100%;
    margin-bottom: 1em;
  }

  .list {
    columns: 150px;
  }
}

@media (max-width: 400px) {
  img {
    width: 100%;
    margin-bottom: 1em;
  }

  .list {
    columns: 150px;
  }
}
footer {
  width: 100%;
  height: 10vh;
  /* background-color: rebeccapurple; */
  align-items: center;
  flex-direction: column;
  justify-content: flex-start;
  display: flex;
}
footer h1 {
  font-family: neue machina;
  color: white;
  /* display: inline-block; */
  /* background-color: white; */
  font-size: 1.2vw;
}
footer h1:hover {
  cursor: pointer;
}
footer .foot {
  height: 30vh;
  width: 100%;
  background-color: #f5e41b;
}
