* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  color: #fff;
}

html,
body {
  width: 100vw;
  height: 100vh;
  overflow-x: hidden;
  background: #0a0a0a;
  font-family: "Times New Roman";
}

.loader {
  position: fixed;
  width: 100vw;
  height: 100vh;
  clip-path: polygon(0 100%, 100% 100%, 100% 0, 0 0);
}
.loader .img {
  position: absolute;
  width: 100vw;
  height: 100vh;
  clip-path: polygon(0 100%, 100% 100%, 100% 100%, 0 100%);
}
.img img{
  width: 100%;
  height: 100%;
  object-fit: cover;
}


.overlay {
  position: fixed;
  width: 100vw;
  height: 100vh;
  background: #0f0f0f;
  color: #fff;
  display: flex;
  clip-path: polygon(0 100%, 100% 100%, 100% 0, 0 0);
}

.col {
  width: 100%;
  /* padding: 1em; */
}
h2 {
  margin: 0;
  clip-path: polygon(0 0, 100% 0, 100% 0, 0 0);
  font-size: 59px;
  font-weight: 400;
  text-transform: uppercase;
  line-height: 1;
}

.col:nth-child(2) h2 {
  font-size: 24px;
  text-align: right;
  color: gray;
}
.col:nth-child(2) h2 span {
  color: #fff;
}

/* part2 */


.wrapper {
  width: 100%;
  height: 100%;
}

.wrapper .container {
  width: 96%;
  margin: 0px auto;
}
.divider {
  width: 100%;
  height: 2px;
  background: #fff;
}
.whitespace {
  width: 100%;
  height: 80px;
}

/* navbarr */
.navbarr .navbarr-container {
  display: flex;
  padding: 12px 0;
  font-size: 16px;
  justify-content: space-between;
}
.navbarr .navbarr-container .site-title {
  flex-grow: 1;
}
.navbarr .navbarr-container .site-type {
  flex-grow: 1;
}
.navbarr .navbarr-container .site-year {
  flex-grow: 2;
  text-align: right;
}
/* header */

.header {
  margin: 80px 0;
  z-index: 2 !important;
}
.header .header-container h1 {
  font-family: "Times New Roman";
  font-size: 9rem;
}
@media screen and (max-width: 900px) {
  .header .header-container h1 {
    font-size: 5.4rem;
  }
}
/* hero-img */

.hero-image {
  width: 100%;
  margin-top: -300px;
}
.hero-image::after {
  content: "";
  display: table;
  clear: both;
}

.hero-image .hero-image-container {
  width: 40%;
  float: right;
}

.hero-image .hero-image-container img {
  width: 100%;
}

@media screen and (max-width: 900px) {
  .hero-image {
    margin-top: 40px;
  }
  .hero-image .hero-image-container {
    width: 100%;
  }
}

/* section-header */

.section-header .section-header-container {
  display: flex;
  padding: 12px 0;
  font-size: 16px;
  justify-content: space-between;
}

.about {
  width: 100%;
}

.about::after {
  content: "";
  display: table;
  clear: both;
}
.about .about-container {
  width: 70%;
  float: right;
}
.about-container p {
  text-align: justify;
  margin: 40px 0;
  font-size: 36px;
}
@media screen and (max-width: 900px) {
  .about .about-container {
    width: 100%;
  }
  .about-container p {
    font-size: 24px;
  }
}

/* projects */

.menu__item {
  position: relative;
  padding: 0 6vw;
}
.menu__item-link {
  text-decoration: none;
  display: inline-block;
  cursor: pointer;
  position: relative;
  -webkit-text-stroke: 1.5px #fff;
  /* -webkit-text-fill-color: transparent;
  color: transparent; */
  transition: opacity 0.4s;
}

.menu__item-link::before {
  all: initial;
  font-family: "Times New Roman";
  counter-increment: menu;
  position: absolute;
  bottom: 60%;
  pointer-events: none;
}

.menu__item-link:hover {
  transition-duration: 0.1s;
  opacity: 0;
}
.menu__item-av {
  pointer-events: none;
  position: absolute;
  height: 50vh;
  max-height: 400px;
  opacity: 0;
  left: 100%;
  top: 50%;
  transform: translate3d(calc(-100% - 6vw), -30%, 0) translate3d(0, 20px, 0);
}
.menu__item-link:hover + .menu__item-av {
  opacity: 1;
  transform: translate3d(calc(-100% - 6vw), -30%, 0) rotate3d(0, 0, 1, 4deg);
  transition: all 0.4s;
}
.menu {
  --offset: 20vw;
  --move-initial: calc(-25%+ var(--offset));
  --move-final: calc(-50% + var(--offset));
  font-size: 10vw;
}

.marquee {
  position: absolute;
  top: 0;
  left: 0;
  overflow: hidden;
  color: #fff;
  pointer-events: none;
  mix-blend-mode: difference;
}
.marquee__inner {
  width: fit-content;
  display: flex;
  position: relative;
  animation: marquee 5s linear infinite;
  animation-play-state: paused;
  opacity: 0;
  transition: opacity 0.1s;
}
.menu__item-link:hover ~ .marquee .marquee__inner {
  animation-play-state: running;
  opacity: 1;
  transition-duration: 0.4s;
}
.menu__item-link,
.marquee span {
  white-space: nowrap;
  font-size: 5vw;
  padding: 0 1vw;
  font-weight: 900;
  line-height: 1.2;
}
.marquee span {
  font-style: italic;
}
@keyframes marquee {
  0% {
    transform: translate3d(var(--move-initial), 0, 0);
  }
  100% {
    transform: translate3d(var(--move-final), 0, 0);
  }
}

/* clients */
.clients .clients-container p {
  font-family: "Times New Roman";
  font-size: 40px;
  line-height: 100px;
}

.grid-container {
  display: grid;
  text-align: center;
  grid-template-columns: repeat(5, 1fr);
  gap: 10px;
}
@media screen and (max-width: 900px) {
  .clients .clients-container p {
    font-size: 36px;
    line-height: 50px;
    text-align: justify;
  }
}

/* socials*/
.socials {
  padding: 10px 0;
}
.contact {
  margin-bottom: 5px;
  
}
.socials,
.contact a {
  text-decoration: none;
  cursor: pointer;

}
@media screen and (max-width: 900px) {
  .contact {
    font-size: 20px;
    text-align: center;
  }
  .grid-container{
    font-size: 24px;
  }
}
/* footer */
.footer {
  margin: 10px;
  text-align: center;
}

/* media */

@media screen and (max-width: 450px) {
  .menu__item-av {
    display: none;
  }
  .header .header-container h1 {
    font-size: 3.5rem;
    text-align: center;
  }
  .about-container p {
    text-align: center;
  }
  .grid-item{
    font-size: 20px;
  }
  .grid-container {
    grid-template-columns: repeat(2, 1fr);
    text-align: center;
  }
  .menu__item-link {
    font-size: 15vw;
  }
  .contact {
    text-align: center;
    font-size: 16px;
  }
  .overlay{
    display: grid;
  }
  .all-rights-reserved{
    font-size: 10px;
  }
}
