* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html,
body {
  height: 100%;
  width: 100%;
}
#loader {
  height: 100vh;
  width: 100%;
  position: fixed;
  background-color: #000000;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  z-index: 99;
  /* display: none;  */
}

#loader h1 {
  font-size: 4.5vw;
  font-weight: 100;
  line-height: 5vw;
  position: relative;
  z-index: 9;
  letter-spacing: -3px;
}
#loader video {
  height: 100%;
  width: 100%;
  object-fit: cover;
  position: absolute;
  z-index: 6;
}
#yellow1 {
  height: 100%;
  position: absolute;
  width: 100%;
  background-color: #f5e41b;
  z-index: 7;
}
#yellow2 {
  height: 100%;
  position: absolute;
  width: 100%;
  background-color: #f5e41b;
  z-index: 8;
}
#nav {
  position: absolute;
  width: 100%;
  z-index: 10;
  padding: 30px 50px;
  color: rgb(33, 32, 32);
  font-weight: 900;
  font-size: 25px;
}
#main {
  background-color: #000000;
}
#page1 {
  height: 100vh;
  width: 100%;
  background-color: #f5e41b;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: rgb(8, 8, 8);
}
#page1 h1 {
  font-size: 4.5vw;
  font-weight: 100;
  line-height: 5vw;
  letter-spacing: -3px;
}
#page2 {
  height: 100vh;
  width: 100%;
  background-color: #000000;
  background-size: cover;
  background-position: center;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: #ffffff;
  flex-direction: column;
}
.elem {
  /* background-color: red; */
  width: 100%;
  position: relative;
  cursor: pointer;
}
.elem .moving .blur {
  position: absolute;
  width: 30%;
  height: 100%;
  left: 50%;
  top: 50%;
  background-color: #000000;
  transform: translate(-50%, -50%);
  background: linear-gradient(to right, #f5e31bf0, #f5e41b, #f5e31bf6);
  box-shadow: 10px 0px 20px #f5e41b, -3px 0px 20px #f5e41b;

  z-index: 8;
}

.elem h2 {
  font-size: 7.5vw;
  text-transform: uppercase;
  font-weight: 100;
  position: relative;
  line-height: 8vw;
  z-index: 9;
  transition: all ease 0.6s;
  font-style: normal;
}

.elem .moving {
  height: 25px;
  background-color: #ece061;
  width: 100%;
  white-space: nowrap;
  padding: 10px 0;
  position: absolute;
  top: 50%;
  padding: 0.7px 0;
  transform: translate(0, -45%) scaleY(0);
  transition: all ease 0.3s;

  cursor: pointer;
}

.elem .moving .moving-in {
  display: inline-block;
  font-size: 20px;
  white-space: nowrap;
  animation-name: moving;
  animation-duration: 15s;
  animation-iteration-count: infinite;
  animation-timing-function: linear;
}
.elem .moving .moving-in h5 {
  color: black;
  display: inline-block;
  font-size: 8px;
  font-family: gilroy;
  text-transform: uppercase;
  margin-right: 35px;
  opacity: 0;
  transition: all ease 0.3s;
  transition-delay: 0.3s;
}

@keyframes moving {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-100%);
  }
}
.elem:hover .moving {
  transform: translate(0, -45%) scaleY(1);
}
.elem:hover .moving h5 {
  opacity: 1;
}
.elem:hover h2 {
  font-style: italic;
}

#page3 {
  min-height: 100vh;
  width: 100%;
  background-color: #ffffff;
}
.image-container {
  padding: 20px;
  display: flex;
  align-items: flex-start;
  flex-wrap: wrap;
}
.image-div {
  width: 26vw;
  overflow: hidden;
  position: relative;
  margin-left: 70px;
  margin-top: 30px;
}
.image-div img {
  height: 100%;
  width: 100%;
  object-position: center;
  object-fit: cover;
  border-radius: 5px;
}
.overlay {
  height: 100%;
  width: 100%;
  position: absolute;
  background-color: #00000000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2px;
  transition: all ease 0.5s;
  z-index: 9;
}
.overlay p {
  font-size: 2.5vw;
  text-transform: uppercase;
  text-align: center;
  color: #ffffff;
  line-height: 2.4vw;
  opacity: 0;
}
.image-div:hover .overlay {
  background-color: #000000;
}
.image-div:hover .overlay p {
  opacity: 1;
}
.image-div:hover img {
  scale: 1.2;
}
#footer {
  height: 40vh;
  width: 100%;
  background-color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-direction: column;
  gap: 40px;
}
#footer #foot {
  height: 50%;
  width: 100%;
  background-color: #000000;
}
#footer h2 {
  font-family: gilroy;
  text-transform: uppercase;
  font-size: 1vw;
  cursor: pointer;
}
/*   
#page1 {
  height: 100vh;
  width: 100%;
  background-color: rgb(0, 0, 0);
}
#page2 {
  height: 100vh;
  width: 100%;
  background-color: rgb(22, 18, 13);
  display: flex;
  align-items: center;
  justify-content: center;
}
#page2 img {
  height: 500px;
  width: 400px;
  object-fit: cover;
  object-position: center;
}
#page3 {
  height: 100vh;
  width: 100%;
  background-color: rgb(94, 77, 54);
} */
