:root {
  --theme-color: #faf7f0;
  --theme-color2: #e8ddc4;
  --theme-color3: #bfa35d;
  --theme-font-color: #231f5d;
  --white-color: #fff;
  --black-color: #000;
  /* Text Variables */
  /* font Weights */
  --font-100: 100;
  --font-200: 200;
  --font-300: 300;
  --font-400: 400;
  --font-500: 500;
  --font-600: 600;
  --font-700: 700;
  --font-800: 800;
  --font-900: 900;

  /* font-Sizes */

  --title-font: 3rem;
  --sub-title-font: 1.5rem;
  --para-font: 1rem;

  /* Bg images */
  --mauliBg-Left: url(/assets/img/mauliBgLeft.svg);
  --mauliBg-Right: url(/assets/img/mauliBgRight.svg);
  --bldgBg-Left: url(/assets/img/bldgBg.svg);
  --bldgBg-Right-Blue: url(/assets/img/bldgBgBlue.svg);

  /* Animations */

  --slide-distance: -100px;
  --transition: all 0.6s ease-out;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
    scroll-behavior: smooth;
}
body {
  font-family: "Open Sans", sans-serif;
  color: var(--theme-font-color);
}
h1,
h2,
h3,
h4,
h5,
h6,
p,
a,
li {
  font-weight: var(--font-100);
}
.slide-animate,
.slide-animate-right,
.fade-animate {
  opacity: 0;
  transition: var(--transition);
}

.slide-animate {
  transform: translateX(calc(-1 * var(--slide-distance)));
}

.slide-animate-right {
  transform: translateX(var(--slide-distance));
}

.fade-animate {
  transform: none; /* No translation for fade */
}

.slide-animate.visible,
.slide-animate-right.visible,
.fade-animate.visible {
  opacity: 1;
  transform: translateX(0);
}
a {
  text-decoration: none;
}

li {
  text-decoration: none;
  list-style: none;
}

header {
  display: flex;
  justify-content: center;
}

.topNav {
  display: flex;
  position: absolute;
  padding-top: 2rem;
  width: 80vw;

  & .logoContainer {
    width: 3rem;
  }

  & nav {
    display: flex;
    justify-content: space-between;
    flex-direction: column;

    & hr {
      border: 0;
      height: 2px;
      background-image: linear-gradient(
        to right,
        rgba(0, 0, 0, 0),
        rgba(255, 255, 255, 0.75),
        rgba(255, 255, 255, 0)
      );
    }
  }

  & nav ul {
    display: flex;
    justify-content: center;
    width: 75vw;
  }
  & nav ul li {
    margin-right: 5rem;
  }
  & nav ul li a {
    color: var(--white-color);
    font-weight: var(--font-100);
    font-size: var(--sub-title-font);
  }
}

header iframe {
  width: 99vw;
  height: 100vh;
}

.linearDwgDiv {
  position: absolute;
  right: -2.5rem;
  bottom: -3rem;
}

#eleganceSection {
  width: 99vw;
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  align-items: center;
  background-color: var(--theme-color);
  background-image: var(--mauliBg-Left);
  background-repeat: no-repeat;
}

.eleganceTextSection {
  display: flex;
  width: 50vw;
  justify-content: space-evenly;
  transform: translateX(2rem);

  & h2 {
    font-size: var(--title-font);
  }

  & p:first-child {
    text-align: right;
  }

  & p {
    font-size: var(--sub-title-font);
  }
  & hr {
    margin: 0 5rem;
  }
}

.eleganceImgHeight img {
  height: 68vh;
  width: 40vw;
  object-fit: cover;
  transition: 1s;
}

.eleganceImgHeight {
  height: 68vh;
  width: 40vw;
  border-radius: 2rem;
  overflow: hidden;
  border: var(--theme-color3) 2px solid;
}

.eleganceImgHeight img:hover {
  scale: 1.1;
  border-radius: 2rem;
}

.eleganceImgContainer {
  width: 99vw;
  display: flex;
  justify-content: space-evenly;
}

.aboutUsSection {
  padding-left: 7vw;
  height: 50vh;
  background-color: var(--theme-color2);
  display: flex;
  justify-content: space-between;
  align-items: center;
  & h2 {
    font-size: var(--title-font);
    background-image: var(--bldgBg-Left);
    background-repeat: no-repeat;
    padding-top: 4rem;
    padding-left: 5rem;
    height: 8rem;
  }
  &.aboutUsSection p {
    width: 40vw;
    margin-top: 2rem;
  }
  & img {
    height: 50vh;
  }
}
.currProjectSection {
  padding: 5rem 5rem;
  display: flex;
  width: 99vw;
  align-items: center;
  background-image: var(--mauliBg-Left);
  background-repeat: no-repeat;
}
.currProjectText {
  width: 30vw;
  display: flex;
  flex-direction: column;

  & h2 {
    color: var(--theme-color3);
    font-size: calc(var(--sub-title-font) + 0.7rem);
    background-image: var(--bldgBg-Right-Blue);
    background-repeat: no-repeat;
    padding-top: 4rem;
    background-position: right;
    padding-right: 5rem;
    height: 8rem;
    text-align: right;
  }
  & h1 {
    font-size: calc(var(--title-font) + 0.7rem);
    text-align: right;
  }

  & p {
    text-align: right;
  }

  & p:first-of-type {
    color: var(--theme-color3);
    text-align: right;
  }
}

.currProjectImgContainer {
  display: flex;

  & .currProjectImg img {
    height: 70vh;
    width: 15vw;
    object-fit: cover;
    border-radius: 1rem;
    border: var(--theme-color3) 1px solid;
    box-shadow: 0.1rem 0.1rem 1rem var(--black-color);
  }

  & .currProjectImg:nth-child(2) {
    transform: translateX(-4rem);
    z-index: -1;
  }
  & .currProjectImg:nth-child(3) {
    transform: translateX(-8rem);
    z-index: -2;
  }
  & .currProjectImg:nth-child(4) {
    transform: translateX(-12rem);
    z-index: -3;
  }
}

.locationSection {
  display: flex;
  align-items: center;
  justify-content: space-evenly;
  background-color: var(--theme-color2);
  padding: 2rem 0;

  & h2 {
    font-size: var(--title-font);
  }
  & hr {
    border: 0;
    height: 2px;
    width: 10rem;
    background-image: linear-gradient(
      to right,
      rgba(0, 0, 0, 0),
      var(--theme-font-color),
      rgba(255, 255, 255, 0)
    );
  }

  & .locationSocialIcon {
    display: flex;
    justify-content: space-between;
    padding-top: 1rem;
    & img {
      width: 4rem;
    }
  }

  & iframe {
    width: 60vw;
    height: 60vh;
    border-radius: 1rem;
    border: var(--theme-color3) 3px solid;
  }
}

.getintouchSection {
  display: flex;
  justify-content: space-between;
  align-items: center;
  & .getinTouchOuter {
    padding: 4rem 0 4rem 4rem;
  }
  & h2 {
    font-size: var(--title-font);
  }

  & img {
    width: 1.5rem;
  }

  & .getinTouchInner {
    display: flex;
    margin-top: 1.5rem;
  }
  & .getinTouchInner img {
    margin-right: 1rem;
  }
  & a {
    color: var(--theme-font-color);
  }
  & .mauliBg {
    width: 12vw;
  }
}

.copySection {
  display: flex;
  align-items: center;
  justify-content: space-evenly;
  background-color: var(--theme-font-color);

  & p,
  a {
    color: var(--white-color);
  }

  & a {
    margin: 0 1rem;
  }
  & img {
    width: 4rem;
    box-shadow: var(--white-color) 0 0 0.1rem;
  }
}

#up {
  border-radius: 50%;
  width: 50px;
  height: 50px;
  background-color: var(--theme-color3);
  color: #fff;
  align-items: center;
  justify-content: center;
  box-shadow: 0.5px 1px 5px 1px rgba(0, 0, 0, 0.5);
  transition: var(--transition-speed);
  cursor: pointer;
  color: #fff;
  text-decoration: none;
  font-size: 25px;
  font-weight: bolder;
  position: fixed;
  bottom: 20px;
  right: 30px;
  display: none;
}

#up:hover {
  background-color: var(--theme-color3);
}


@media screen and (max-width: 1600px) {
  .topNav {
    width: 75vw;
    & nav ul {
      width: 70vw;
    }
  }
  .linearDwgDiv {
    right: 8rem;
    bottom: -1.4rem;
  }
  .linearDwgDiv img {
    width: 11rem;
  }

  .eleganceTextSection {
    & h2 {
      font-size: calc(var(--title-font) - 0.5rem);
    }
  }
}
