* {
  margin: 0px;
  padding: 0px;
  box-sizing: border-box;
  list-style: none;
  text-decoration: none;
  user-select: none;
}
html,
body {
  width: 100%;
  height: 100%;
}
:root {
  --primary-font-family: Freight Big Pro;
  --secondary-font-family: Poppins;
  --theme-clr: #f5e41b;
}
/* Loader styles start here. */
#loader {
  width: 100vw;
  height: 100vh;
  background-color: transparent;
  position: fixed;
  top: 0%;
  left: 0%;
  z-index: 2;
  font-size: 1rem;
  background-color: var(--theme-clr);
  color: #ffffff;
  opacity: 1;
  /* display: none; */
}
.yellow {
  width: 100%;
  height: 100%;
  background-color: var(--theme-clr);
  position: absolute;
  bottom: 0%;
  z-index: 5;
}
#loader nav {
  width: 100vw;
  /* height: 10vh; */
  padding: 30px 60px;
  position: fixed;
  top: 0%;
  z-index: 4;
  display: flex;
  justify-content: space-between;
  align-items: center;
  /* background-color: red; */
}
#loaderRightNav {
  width: 50%;
  height: 100%;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 60px;
  text-transform: uppercase;
}
#loaderRightNav a {
  color: #ffffff;
  font-family: var(--secondary-font-family);
  font-weight: 400;
  font-size: 1.1em;
}
#loaderRightNav svg {
  width: 26px;
  height: 26px;
  transform: rotate(45deg);
}
.loaderHeading {
  width: 100%;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  position: relative;
  color: #000000;
  top: 0%;
  z-index: 4;
}
.loaderHeading h1 {
  font-size: 5.5em;
  font-weight: 200;
  font-family: var(--primary-font-family);
  /* position: absolute; */
  /* z-index: 2; */
  line-height: 5vw;
  letter-spacing: -3px;
  font-stretch: condensed;
  user-select: none;
  color: #ffffff;
}
.loaderBottomNav {
  width: 100%;
  position: absolute;
  bottom: 0%;
  z-index: 4;
  padding: 30px 60px;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  font-size: 1rem;
}
.loaderBottomNav a {
  color: #ffffff;
  text-transform: uppercase;
  font-family: var(--secondary-font-family);
  font-size: 1.1em;
}
#loader video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  bottom: 0%;
  z-index: 3;
}
svg {
  cursor: pointer;
}
/* Loader styles end here. */

/* Page 1 styles start here. */
#page1 {
  width: 100vw;
  height: 100vh;
  background-color: var(--theme-clr);
  position: relative;
  top: 0%;
  z-index: 1;
  font-size: 1rem;
  /* display: none; */
}
#mobileRightNav{
  display: none;
}
#page1 nav {
  width: 100vw;
  /* height: 10vh; */
  padding: 30px 60px;
  position: absolute;
  top: 0%;
  z-index: 20;
  display: flex;
  justify-content: space-between;
  align-items: center;
  /* background-color: red; */
}
.core-logo {
  width: 94px;
  height: 21px;
}
#rightNav {
  width: 50%;
  height: 100%;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 60px;
  text-transform: uppercase;
  overflow: hidden;
}
#rightNav > svg {
  width: 26px;
  height: 26px;
  stroke: blueviolet
}
a {
  color: #000000;
  font-family: var(--secondary-font-family);
  font-weight: 400;
  font-size: 1.1em;
  transition: transform 0.5s cubic-bezier(0.89, 0, 1, 0.99);
  position: relative;
}
a::after {
  content: "";
  display: block;
  width: 100%;
  height: 5%;
  position: absolute;
  bottom: 0px;
  background-color: rgb(0, 0, 0);
  border-radius: 20px;
  transform: scaleX(0%);
  transition: transform 0.2s ease-in-out;
}
a:hover::after {
  transform: scaleX(100%);
}
#rightNav svg {
  transform: rotate(45deg);
  transition: transform 0.5s cubic-bezier(0.89, 0, 1, 0.99);
  background-color: var(--theme-clr);
}
.heading {
  width: 100%;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  position: relative;
  color: #000000;
  top: 0%;
  z-index: 1;
}
.heading h1 {
  font-size: 5.5em;
  font-weight: 200;
  font-family: var(--primary-font-family);
  /* position: absolute; */
  /* z-index: 2; */
  line-height: 5vw;
  letter-spacing: -3px;
  font-stretch: condensed;
  user-select: none;
}
.bottomNav {
  width: 100%;
  /* background-color: red; */
  position: absolute;
  bottom: 0%;
  z-index: 1;
  padding: 30px 60px;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  font-size: 1rem;
}
.bottomNav a {
  color: #000000;
  text-transform: uppercase;
  font-family: var(--secondary-font-family);
  font-size: 1.1em;
}
#goToBottom1,
#goToBottom2 {
  height: 17px;
  width: 49px;
}
/* Page 1 styles end here. */

/* Page 2 styles start here. */
#page2 {
  width: 100%;
  height: 100vh;
  background-color: #000000;
  background-size: cover;
  background-position: center;
  color: white;
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  font-size: 1rem;
  /* display: none; */
  font-family: var(--primary-font-family);
}
.mainHeading {
  text-align: center;
  position: relative;
  /* background-color: red; */
  width: 100vw;
  line-height: 4em;
}
.mainHeading h1 {
  text-transform: uppercase;
  font-size: 5em;
  font-weight: 200;
  cursor: pointer;
}
.mainHeading h1:hover {
  font-style: italic;
  color: #000000;
}
.mainHeading h1:hover ~ .firstLine {
  visibility: visible;
}
.firstLine {
  height: 5vh;
  position: absolute;
  display: flex;
  justify-content: center;
  align-items: center;
  text-wrap: nowrap;
  top: 25%;
  overflow: hidden;
  background-color: var(--theme-clr);
  z-index: -1;
  color: #000000;
  user-select: none;
  visibility: hidden;
  transform: scaleY(0%);
  transition: transform 0.2s cubic-bezier(0.78, 0.18, 0.98, 1);
}
.mainHeading h1:hover ~ .firstLine {
  transform: scaleY(100%);
}
.firstLine::after {
  content: "";
  display: block;
  position: absolute;
  top: 0%;
  left: 0%;
  background-color: red;
  height: 100vh;
  z-index: 100;
}
#blur {
  width: 40vw;
  /* height: 29px; */
  height: 10px;
  position: absolute;
  left: 380px;
  z-index: 1;
  background-color: var(--theme-clr);
  box-shadow: 0px 0px 20px 20px var(--theme-clr);
}
.firstLine .line {
  font-family: var(--secondary-font-family);
  animation: anime 5s linear infinite;
}

@keyframes anime {
  from {
    transform: translateX(0%);
  }
  to {
    transform: translateX(-100%);
  }
}
.firstLine .line span {
  margin: 0px 10px;
}
.bottomArrow {
  width: 100vw;
}
.bottomArrow svg {
  position: absolute;
  bottom: 5%;
  left: 50%;
  transform: translate(-50%, 0%);
}
/* Page 2 styles end here. */

/* Page 3 styles start here. */
#page3 {
  width: 100vw;
  height: 2500px;
  background-color: rgb(255, 255, 255);
  padding: 30px 30px 30px 50px;
  overflow: hidden;
  /* display: none; */
}
#page3 > section {
  /* display: flex;
  justify-content: space-evenly;
  align-items: flex-start; */
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}
section .sec {
  max-width: 30vw;
}
section .sec .image {
  max-width: 30vw;
  position: relative;
  height: auto;
  margin-bottom: 20px;
  overflow: hidden;
}
section .sec .image .overlay {
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.135);
  position: absolute;
  z-index: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 3rem;
  line-height: 40px;
  text-align: center;
  color: #ffffff;
  text-transform: uppercase;
  font-family: var(--primary-font-family);
  padding: 20px;
  opacity: 1;
  transition: all 0.2s ease-in-out;
  pointer-events: none;
  overflow: hidden;
}
section .overlay p {
  opacity: 0;
  transition: all 0.2s ease-in-out;
}
section .sec .image:hover .overlay {
  background-color: #000000;
  color: #ffffff;
  opacity: 1;
}
section .sec .image:hover .overlay p {
  opacity: 1;
}

section .sec .image img {
  width: 100%;
  height: 100%;
  position: relative;
  object-fit: cover;
  object-position: center;
  transition: all 0.2s ease-in-out;
}
section .sec .image:hover img {
  transform: scale(1.1);
}

/* Page 3 styles end here. */

/* Footer navbar starts here. */
footer {
  width: 100vw;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  /* background-color: skyblue; */
}
#backToTop {
  width: 100vw;
  /* background-color: green; */
  padding: 50px;
  display: flex;
  justify-content: center;
  align-items: center;
  text-transform: uppercase;
  font-family: var(--secondary-font-family);
  position: relative;
  cursor: pointer;
}
#backToTop svg {
  position: absolute;
  top: 20%;
  transform: rotate(180deg);
  width: 20;
  height: 10px;
}
footer > .foot {
  width: 100vw;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 50px;
  text-transform: uppercase;
  background-color: rgb(0, 0, 0);
}
footer > .foot a {
  color: #ffffff;
  font-family: var(--secondary-font-family);
  font-weight: 400;
  font-size: 1.1em;
  transition: transform 0.5s cubic-bezier(0.89, 0, 1, 0.99);
  position: relative;
}
footer > .foot a::after {
  content: "";
  display: block;
  width: 100%;
  height: 5%;
  position: absolute;
  bottom: 0px;
  background-color: rgb(255, 255, 255);
  border-radius: 20px;
  transform: scaleX(0%);
  transition: transform 0.2s ease-in-out;
}
footer > .foot a:hover::after {
  transform: scaleX(100%);
}
.footRight {
  display: flex;
  gap: 60px;
  color: #ffffff;
}
.footLeft {
  color: #ffffff;
}
/* Footer navbar ends here. */

/* Media Query for Large Devices. */
@media (width < 1025px) {
  #main {
    width: 100vw;
    overflow: hidden;
  }
  #loader nav {
    padding: 25px 25px;
  }
  #loaderRightNav a {
    display: none;
  }
  #loaderRightNav svg {
    width: 20px;
    height: 20px;
    transform: rotate(0deg);
  }

  .loaderHeading h1 {
    font-size: 4.5em;
    font-weight: 100;
    line-height: 5vw;
  }
  .loaderBottomNav {
    padding: 25px 25px;
    font-size: 0.9rem;
  }
  /* Loader styles end here. */

  /* Page 1 styles start here. */
  #page1 nav {
    padding: 25px 25px;
  }
  #rightNav a {
    display: none;
  }
  #rightNav > svg {
    width: 20px;
    height: 20px;
    transform: rotate(0deg);
  }

  .heading h1 {
    font-size: 4.5em;
    font-weight: 100;
    line-height: 5vw;
  }
  .bottomNav {
    padding: 25px 25px;
    font-size: 0.9rem;
  }
  /* Page 1 styles end here. */

  /* Page 2 styles start here. */
  #page2 {
    font-size: 0.8rem;
  }
  /* Page 2 styles end here. */

  /* Page 3 styles start here. */
  #page3 {
    height: max-content;
    padding: 30px;
  }
  #page3 > section {
    grid-template-columns: repeat(2, 1fr);
  }
  section .sec {
    max-width: 50vw;
    margin-right: 20px;
  }
  section .sec3 {
    max-width: 100vw !important;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-column-start: 1;
    grid-column-end: -1;
    gap: 5px 20px;
  }
  section .sec .image {
    max-width: 50vw;
  }
  section .sec .image .overlay {
    font-size: 3rem;
  }

  /* Page 3 styles end here. */

  /* Footer navbar starts here. */

  #backToTop {
    padding: 40px;
  }
  footer > .foot {
    padding: 30px;
  }
  /* Footer navbar ends here. */
}
/* Media Query for Medium Devices. */
@media (width < 769px) {
  #main {
    width: 100vw;
    overflow: hidden;
  }
  #loader nav {
    padding: 20px 25px;
  }
  #loaderRightNav a {
    display: none;
  }
  #loaderRightNav svg {
    width: 18px;
    height: 18px;
  }

  .loaderHeading h1 {
    font-size: 3.5em;
  }
  /* Loader styles end here. */

  /* Page 1 styles start here. */
  #page1 nav {
    padding: 20px 25px;
  }
  #rightNav a {
    display: none;
  }
  #rightNav > svg {
    width: 18px;
    height: 18px;
  }

  .heading h1 {
    font-size: 3.5em;
  }
  .bottomNav {
    padding: 25px 25px;
    font-size: 0.9rem;
  }
  .bottomNav svg {
    height: 15px !important;
    width: 40px !important;
  }
  /* Page 1 styles end here. */

  /* Page 2 styles start here. */
  #page2 {
    font-size: 0.7rem;
  }
  /* Page 2 styles end here. */

  /* Page 3 styles start here. */
  #page3 {
    padding: 10px;
  }
  section .sec {
    margin-right: 10px;
  }
  section .sec3 {
    gap: 5px 10px;
  }
  /* Page 3 styles end here. */

  /* Footer navbar starts here. */

  footer > .foot a {
    font-size: 1em;
  }
  /* Footer navbar ends here. */
}
/* Media Query for Small Devices. */
@media (width < 481px) {
  #main {
    width: 100vw;
    overflow: hidden;
  }
  #loader {
    height: 87vh;
  }
  #loader nav {
    padding: 30px 30px;
  }
  #loaderRightNav a {
    display: none;
  }
  #loaderRightNav svg {
    width: 18px;
    height: 18px;
  }
  .loaderHeading {
    width: 30vw;
    margin: auto;
  }
  .loaderHeading h1 {
    font-size: 2.5em;
    line-height: 30px;
  }
  .loaderBottomNav {
    padding: 30px 30px;
    font-size: 0.8rem;
  }
  .loaderBottomNav svg {
    height: 15px !important;
    width: 25px !important;
  }

  /* Loader styles end here. */

  /* Page 1 styles start here. */
  #page1 {
    height: 87vh;
  }


  #page1 nav {
    padding: 30px 30px;
  }
  .core-logo {
    width: 85px;
    height: 20px;
  }
  #mobileRightNav{
    width: 30vw;
    height: 15vh;
    position: absolute;
    right: 5%;
    bottom: -140%;
    background-color: #918500;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    text-transform: uppercase;
    gap: 15px;
    transition: all 0.5s ease-in-out;
    transform: translateX(250px);
  }
  #mobileRightNav a{
    color: #ffffff;
    text-decoration-color: #ffffff !important;
  }
  a::after {
    background-color: rgb(255, 255, 255);
  }
  #rightNav > svg {
    width: 18px;
    height: 18px;
  }
  .heading {
    width: 30vw;
    margin: auto;
  }
  .heading h1 {
    font-size: 2.5em;
    line-height: 30px;
  }
  .bottomNav {
    padding: 30px 30px;
    font-size: 0.8rem;
  }
  .bottomNav svg {
    height: 15px !important;
    width: 25px !important;
  }
  /* Page 1 styles end here. */

  /* Page 2 styles start here. */
  #page2 {
    font-size: 0.6rem;
    /* display: none; */
  }
  .mainHeading {
    line-height: 4.5em;
  }
  .mainHeading h1 {
    font-weight: 100;
  }
  .mainHeading h1:active {
    font-style: italic;
    color: #000000;
  }
  .mainHeading h1:active ~ .firstLine {
    visibility: visible;
  }
  .firstLine {
    height: 2vh;
  }
  .mainHeading h1:active ~ .firstLine {
    transform: scaleY(100%);
  }
  #blur {
    width: 60vw;
    left: 80px;
  }
  .bottomArrow {
    width: 100vw;
  }
  .bottomArrow svg {
    display: none;
  }
  /* Page 2 styles end here. */

  /* Page 3 styles start here. */
  #page3 {
    padding: 10px;
  }
  #page3 > section {
    grid-template-columns: 1fr;
  }
  section .sec {
    max-width: 100vw;
  }

  section .sec3 {
    display: block;
  }
  section .sec .image {
    max-width: 100vw;
    margin-bottom: 10px;
  }
  section .sec .image .overlay {
    font-size: 2rem;
    line-height: 30px;
    padding: 30px;
  }
  /* Page 3 styles end here. */

  /* Footer navbar starts here. */

  #backToTop svg {
    top: 15%;
  }
  footer > .foot {
    flex-direction: column;
    padding: 30px;
    gap: 25px;
  }
  footer > .foot a {
    font-size: 1em;
  }
  .footRight {
    display: flex;
    flex-direction: column;
    gap: 25px;
  }
  /* Footer navbar ends here. */
}