@import url("https://fonts.googleapis.com/css2?family=Space+Mono:wght@400;500;600;700;800;900&&display=swap");

@font-face {
  font-family: "FK";
  src: url(assets/type//FKScreamerLegacyTrial-Upright-BF6571330a902da.otf)
    format("opentype");
}
@font-face {
  font-family: "MonumentUltra";
  src: url("./assets/type/MonumentExtended-Ultrabold.otf");
}

@font-face {
  font-family: "Montreal Bold";
  src: url(assets/type/NeueMontreal-Bold.otf) format("opentype");
}

@font-face {
  font-family: "Montreal";
  src: url(assets/type/NeueMontreal-Regular.otf) format("opentype");
}

/* Font for iOS users */
body.ios h1,
body.ios h2,
body.ios h3,
body.ios h4,
body.ios .rolling-text {
  font-family: "MonumentUltra";
}

/* Font for Android users */
body.android h1,
body.android h2,
body.android h3,
body.android h4,
body.android .rolling-text {
  font-family: "FK";
}

/* Font for PC users */
body.pc h1,
body.pc h2,
body.pc h3,
body.pc h4,
body.pc .rolling-text {
  font-family: "FK";
}
.c_link a {
  font-family: "FK";
}

.project_cont {
  width: 100%;
  height: 80vh;
  display: flex;
  align-items: center;
  background: #f6f8fa;
  border-radius: 30px;
  overflow: hidden;
}

.project_col {
  width: 50%;
  height: 70vh;
  padding-left: 50px;
  padding-bottom: 30px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.project_col_img {
  width: 50%;
  height: 80vh;
  overflow: hidden;
}

.project_col_img img {
  width: 100%;
  height: 100% !important;
  object-fit: cover;
}

.project_col {
  width: 50%;
  height: 70vh;
  padding-left: 50px;
  padding-bottom: 30px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

::-webkit-scrollbar {
  background: rgb(255, 255, 255);
  width: 10px;
}
::-webkit-scrollbar-track {
  display: none;
  max-height: 500px;
  background: #ffffff;
}
::-webkit-scrollbar-thumb {
  background: #000;
}

#cursor {
  position: fixed;
  z-index: 100;
  left: 0;
  top: 0;
  pointer-events: none;
  will-change: transform;
  mix-blend-mode: difference;
}

@media (hover: hover) and (pointer: fine) {
  .cursor__circle {
    width: 64px;
    height: 64px;
    margin-top: -50%;
    margin-left: -50%;
    border-radius: 50%;
    border: solid 1px #0f55e0;
    transition: opacity 0.3s cubic-bezier(0.25, 1, 0.5, 1),
      background-color 0.3s cubic-bezier(0.25, 1, 0.5, 1),
      border-color 0.3s cubic-bezier(0.25, 1, 0.5, 1),
      width 0.3s cubic-bezier(0.25, 1, 0.5, 1),
      height 0.3s cubic-bezier(0.25, 1, 0.5, 1);
  }

  #cursor.arrow .cursor__circle {
    width: 128px;
    height: 128px;
    background-color: #273d46;
    border-color: #000000;
  }

  #cursor.arrow::after {
    content: "";
    position: absolute;
    left: -50%;
    top: -50%;
    width: 100%;
    height: 100%;
    transform: rotate(-45deg);
    background-image: url("https://svgshare.com/i/MzQ.svg");
    background-repeat: no-repeat;
    background-position: center;
  }

  #cursor.subtle .cursor__circle {
    opacity: 0.16;
  }

  #cursor.overlay .cursor__circle {
    width: 48px;
    height: 48px;
    background-color: rgba(227, 222, 193, 0.08);
    border-color: transparent;
  }
}

/* nav  */
nav {
  position: fixed;
  /* transition: background-color 0.4s ease-out; */
  z-index: 1000;
  height: 80px;
  width: 100%;
  background: transparent;
  transition: 0.5s ease;
}

.logo {
  font-size: 18px;
  font-family: "Montreal";
  padding: 20px 0 0 50px;
  /* height: 50px; */
  cursor: pointer;
  opacity: 1;
  transition: 0.5s;
  color: #121212;
}

.logo a {
  text-decoration: none;
  color: #121212;
  font-weight: bold;
}

.logo:hover {
  opacity: 0.5;
}

nav ul {
  float: right;
  margin-right: 50px;
}

nav ul p {
  display: none;
}

nav ul li {
  display: inline-block;
  line-height: 80px;
  margin: 0 20px;
  z-index: 1001;
}

nav ul li a {
  z-index: 1001;
  color: #121212;
  font-size: 15px;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-family: "Montreal";
  /* font-weight: 500; */
  text-decoration: none;
  padding: 7px 13px;
  border-radius: 3px;
  position: relative;
  font-weight: bold;
}

nav ul li a:before {
  z-index: -1;
  position: absolute;
  width: 0;
  height: 2px;
  left: 0px;
  bottom: 0px;
  content: "";
  background: #2a150c;
  transition: all 0.3s;
}

/* .active-nav:before {
  z-index: -1;
  position: absolute;
  width: 100%;
  height: 2px;
  left: 0px;
  bottom: 0px;
  content: "";
  background: #a08cf6;
  box-shadow: 1px 1px #0fe957, 2px 2px #0fe957, 3px 3px #0fe957, 4px 4px #0fe957;
  transition: all 0.3s;
} */

nav ul li a:hover:before {
  width: 98%;
  color: #2a150c !important;
  text-decoration: none;
}

nav a:hover {
  color: #2a150c !important;
}

.home-home {
  display: none;
}

nav .social-icons {
  display: none;
}

/* nav a:active {
  color: #ffffff !important;


  width: 100%;
  height: 100%;
  left: 0px;
  top: 0px;

  background: #9006060a;
} */

.checkbtn {
  font-size: 30px;
  color: #ffffff;
  float: right;
  line-height: 80px;
  margin-right: 40px;
  cursor: pointer;
  display: none;
}

#check {
  display: none;
}

.add-class-on-scroll {
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
}

@media (max-width: 952px) {
  label .logo {
    padding: 15px 0 0 40px;
  }

  .titlesix {
    font-size: 10rem !important;
    line-height: 10rem !important;
  }

  .side-scroll-div {
    display: none;
  }

  nav ul li a {
    font-size: 16px;
    text-decoration: none;
  }

  nav ul {
    text-align: center;
  }
}

@media (max-width: 900px) {
  .checkbtn {
    display: block;
  }

  nav ul {
    z-index: 1;
    position: fixed;
    width: 100%;
    height: 100vh;
    background: #000;
    top: 0;
    left: -100%;
    padding: 100px 0 0 30px;
    text-align: left;
    transition: all 0.5s cubic-bezier(0.075, 0.82, 0.165, 1);
    backdrop-filter: blur(20px);
  }
  nav ul li {
    display: block;
    margin: 40px 0;
    line-height: 30px;
  }
  nav ul li a {
    font-size: 25px;
    text-decoration: none;
    color: #fff;
  }

  .active-nav {
    color: #fff;
  }

  .home-home {
    display: block;
  }

  nav ul p {
    display: block;
    position: relative;
    padding-left: 10px;
    color: rgb(88, 88, 88);
    font-size: 14px;
    margin-bottom: 80px;
  }

  nav ul p::before {
    content: "";
    position: absolute;
    height: 1px;
    width: 80%;
    top: 40px;
    background: rgb(78, 78, 78);
  }

  nav .social-icons {
    margin-top: 70px;
    display: flex;
  }
  /* a.active {
    text-decoration: none;
    color: #ffffff;
    background: #2196f3;
    box-shadow: 0 0 10px #2196f3, 0 0 40px #2196f3, 0 0 80px #2196f3;
  } */
  #check:checked ~ .menu-board {
    left: 0;
  }
}

.button_container {
  z-index: 100;
  position: relative;
  top: 5%;
  right: 7%;
  transform: translateY(150%);
  height: 27px;
  width: 35px;
  cursor: pointer;
  z-index: 100;
  transition: opacity 0.25s ease;
}
/* .button_container:hover {
  opacity: 0.7;
} */
.button_container.active .top {
  transform: translateY(11px) translateX(0) rotate(45deg);
  background: #5a5a5a;
}
.button_container.active .middle {
  opacity: 0;
  background: #5a5a5a;
}
.button_container.active .bottom {
  transform: translateY(-11px) translateX(0) rotate(-45deg);
  background: #5a5a5a;
}
.button_container span {
  z-index: 100;
  background: #5a5a5a;
  border: none;
  height: 1.5px;
  width: 100%;
  position: absolute;
  top: -10px;
  left: 0;
  transition: all 0.35s ease;
  cursor: pointer;
}

.button_container span:nth-of-type(2) {
  top: 0px;
  width: 100%;
}
.button_container span:nth-of-type(3) {
  top: 10px;
}

.hero {
  position: relative;
  background: #fff;
  padding-top: 70px;
}

/* hero img  */

.wrapper-img {
  overflow: hidden;
  position: relative;
  top: 50% !important;
  left: 50%;
  transform: translate(-50%, 0%);
  width: 505px;
  height: 90vh;
}

.hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.box {
  background: #ddd4c9;
  opacity: 1;
  position: absolute;
  top: 0;
  bottom: 0;
  right: 0;
  left: 0;
  z-index: 2;
}

/* header  */

.header {
  position: absolute;
  top: 55%;
  left: 28%;
  transform: translate(-50%, -50%);
}

.header h1 {
  font-size: 150px;
  text-transform: uppercase;
  line-height: 28px;
  margin: 0;
  mix-blend-mode: overlay;
  /* font-family: "MonumentUltra"; */
  color: #212121;
}

.header-1 .letterrr {
  display: inline-block;
  line-height: 1em;
}
.header-2 .letterrr {
  display: inline-block;
  line-height: 1em;
}

/* hero-container */

.sidebar-text {
  position: absolute;
  top: 10%;
  right: 7%;
  transform: translate(-50%, -50%);
  font-size: 40px;
  color: transparent;
  -webkit-text-stroke: 2px #cbaa9c;
}

.projects {
  position: absolute;
  bottom: 10%;
  left: 15%;
  transform: translate(-50%, -50%);
  text-transform: uppercase;
  text-decoration: underline;
}

.about {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  /* padding: 100px 0; */
  /* background: #fcf9f5; */
  background: #fbf8f5;
  height: 70vh;
  z-index: 1;
}

.design_icons {
  position: absolute;
  top: 0;
  left: 20px;
  max-width: 600px;
  z-index: -1;
  opacity: 0.4;
}

.dev_icons {
  position: absolute;
  top: 0;
  right: 20px;
  max-width: 600px;
  z-index: -1;
  opacity: 0.4;
}

.about h3 {
  text-align: center;
  font-size: 40px;
  max-width: 1000px;
  font-family: "Montreal Bold";
  color: #2a150c;
}

.work {
  margin-top: 100px;
}

.container1 {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 15vmin;
  gap: 100px;
}

.row1 {
  width: 50%;
}

.thumb-container {
  position: relative;
  overflow: hidden !important;
}

.img_box {
  overflow: hidden;
  position: relative;
}

.image {
  transform: scale(1);
  transition: 0.8s cubic-bezier(0.215, 0.61, 0.355, 1);
  cursor: pointer;
}

.image:hover {
  transform: scale(1.5) translateY(80px);
}

.overlay {
  position: absolute;
  top: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
}

.overlay2 {
  position: absolute;
  top: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  display: none;
  z-index: 2;
}

.reel_box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.reel_box ion-icon {
  display: none;
  position: absolute;
  top: 30%;
  left: 50%;
  transform: translateX(-50%);
  color: #fff;
  z-index: 1;
  font-size: 30px;
}

.next {
  position: relative;
  top: 40px;
  left: 80px;
}

/* loader  */

.wrapper {
  position: fixed;
  width: 100%;
  height: 100vh;
  background: #ececec;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.float_lottie {
  width: 300px;
  margin-top: -200px;
}

.typing-demo-container {
  display: inline-block;
  overflow: hidden;
  margin-top: -200px;
}

.typing-demo {
  display: inline-block;
  white-space: nowrap;
  border-right: 3px solid;
  font-family: "Space Mono";
  font-size: 18px;
}

@keyframes typing {
  from {
    width: 0;
  }
}

@keyframes blink {
  50% {
    border-color: transparent;
  }
}

.loader {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 8%;
  height: 20vh;
  background: #fff;
  z-index: 2;
}

.thumb-description h1 {
  font-family: "Montreal";
  color: #444444;
  margin-bottom: 30px;
}

.thumb-description p {
  font-family: "Montreal";
}

@media (max-width: 835px) {
  .project_cont {
    border-radius: 20px;
  }

  .project_col {
    width: 100%;
    height: fit-content;
    padding-left: 50px;
    padding-top: 50px;
    padding-bottom: 50px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
  }

  .project_col_img {
    width: 100%;
    height: 60vh;
    overflow: hidden;
  }
}

@media (max-width: 800px) {
  .about h3 {
    font-size: 32px;
  }
}

/* media queries  */

@media (max-width: 1060px) {
  #character-grid {
    grid-template-columns: repeat(1, 1fr);
  }

  #case-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .project-ps {
    display: flex;
    flex-direction: column;
    gap: 40px;
    margin-top: 3rem;
  }

  .p2,
  .p4 {
    flex-direction: column-reverse;
  }
}

@media (max-width: 900px) {
  .wrapper-img {
    width: 90%;
  }
  .header {
    top: 50%;
    left: 50%;
    text-align: center;
  }
  .img_box {
    height: 100%;
  }
  .image {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  .header h1 {
    font-size: 50px;
    color: #fff;
  }

  .overlay2 {
    display: block;
  }

  .titles span {
    color: #fff;
  }
}

@media (max-width: 560px) {
  .reel_box {
    width: 130px;
    height: 80px;
    border-radius: 10px;
    overflow: hidden;
    position: relative;
    cursor: pointer;
  }

  .reel_box p {
    display: none;
  }

  .reel_box ion-icon {
    display: block;
  }
}

@media (max-width: 550px) {
  .character-container {
    width: 250px !important;
    height: 250px;
    border-radius: 30px;
    position: relative;
    overflow: hidden;
  }

  .home {
    display: none;
  }

  .site-title,
  .site-type {
    font-size: 1.3rem;
  }

  #character-grid {
    margin-left: 50px 10px;
  }
  .about h3 {
    font-size: 28px;
    line-height: 40px;
  }
}

@media screen and (max-width: 370px) {
  .project_ctas {
    flex-direction: column;
    align-items: flex-start;
    height: 7rem;
  }

  #nav {
    width: 100%;
    padding-right: 10px;
  }
}

@media screen and (max-width: 350px) {
  .header h1 {
    font-size: 45px;
  }
}

@media screen and (max-width: 315px) {
  .header h1 {
    font-size: 38px;
  }
}

@media (max-width: 480px) {
  #character-grid {
    margin: 40px 10px;
  }
}

.brag {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #abb1b1;
  position: relative;
  height: 100vh;
  overflow: hidden;
  z-index: 1;
}

.brag h1 {
  color: #d8dfde;
  text-transform: uppercase;
  /* font-family: "MonumentUltra"; */
  font-size: 60px;
  text-align: center;
  max-width: 1200px;
  margin: 0 50px;
}

.brag h1 span {
  color: #fff;
  text-decoration: underline;
  display: inline-flex;
  align-items: center;
}

.work_lottie {
  width: 70px;
}

.handz {
  position: absolute;
  bottom: -70px;
  left: 50%;
  transform: translateX(-50%);
  max-width: 150px;
}

.earth_img {
  max-width: 1000px;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: -1;
  mix-blend-mode: multiply;
  animation: spin 7s infinite linear;
}
@keyframes spin {
  0% {
    transform: translate(-50%, -50%) rotate(45deg);
  }
  50% {
    transform: translate(-50%, -50%) rotate(-45deg);
  }
  100% {
    transform: translate(-50%, -50%) rotate(45deg);
  }
}

footer {
  width: 100%;
  height: 100vh;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  background: #000000;
}

.contact_links {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 1;
  width: 100%;
}

.footer_icons {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  gap: 20px;
  z-index: 1;
  margin: 0 auto;
  width: 100%;
}

.footer_icons ion-icon {
  color: #ffffff;
  font-size: 30px;
  cursor: pointer;
  text-align: center;
}

.greetings {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

@keyframes animate {
  0% {
    opacity: 1;
    transform: translateY(0);
  }
  100% {
    opacity: 0;
    transform: translateY(-1000px);
  }
}

.greetings p {
  font-size: 24px;
  position: absolute;
  display: block;
  bottom: -150px;
  animation: animate 10s linear infinite;
  color: #fff;
}

.greetings p:nth-child(1) {
  left: 25%;
  animation-duration: 0s;
}

.greetings p:nth-child(2) {
  left: 10%;
  animation-duration: 2s;
  animation-duration: 12s;
}

.greetings p:nth-child(3) {
  left: 70%;
  animation-delay: 4s;
}

.greetings p:nth-child(4) {
  left: 40%;
  animation-delay: 0s;
  animation-duration: 18s;
}

.greetings p:nth-child(5) {
  left: 65%;
  animation-delay: 0s;
}

.greetings p:nth-child(6) {
  left: 85%;
  animation-delay: 3s;
}

.greetings p:nth-child(7) {
  left: 30%;
  /* animation-delay: 7s; */
}

.greetings p:nth-child(8) {
  left: 50%;
  animation-delay: 5s;
  animation-duration: 11s;
}

.greetings p:nth-child(9) {
  left: 20%;
  animation-delay: 2s;
  animation-duration: 35s;
}

.greetings p:nth-child(10) {
  left: 85%;
  animation-delay: 0s;
  animation-duration: 11s;
}

.wave {
  animation-name: wave-animation; /* Refers to the name of your @keyframes element below */
  animation-duration: 2.5s; /* Change to speed up or slow down */
  animation-iteration-count: infinite; /* Never stop waving :) */
  transform-origin: 70% 70%; /* Pivot around the bottom-left palm */
  font-size: 50px !important;
}

@keyframes wave-animation {
  0% {
    transform: rotate(0deg);
  }
  10% {
    transform: rotate(14deg);
  } /* The following five values can be played with to make the waving more or less extreme */
  20% {
    transform: rotate(-8deg);
  }
  30% {
    transform: rotate(14deg);
  }
  40% {
    transform: rotate(-4deg);
  }
  50% {
    transform: rotate(10deg);
  }
  60% {
    transform: rotate(0deg);
  } /* Reset for the last half to pause */
  100% {
    transform: rotate(0deg);
  }
}

/* .section[data-bg="#000"] {
  color: #fff;
} */

.project_head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  width: 100%;
  margin-top: 100px;
}

.project_head h3 {
  /* font-family: "MonumentUltra"; */
  font-size: 35px;
  text-transform: uppercase;
}

.project_header {
  display: flex;
  align-items: center;
  gap: 10px;
}

.project_header ion-icon {
  font-size: 30px;
  transform: rotate(-45deg);
  margin-top: -7px;
}

.project_info {
  max-width: 500px;
}

.project_info p {
  font-family: "Montreal";
  line-height: 30px;
  font-size: 18px;
}

.dark_p {
  color: #282828;
  font-family: "Montreal";
  line-height: 30px;
  font-size: 18px;
  max-width: 600px;
}

.pro_h2 {
  color: #282828;
  font-family: "Montreal" !important;
  font-weight: bold;
  line-height: 45px;
  max-width: 600px;
  margin-bottom: 30px;
}

.project_img {
  max-width: 2000px;
  height: 100%;
  overflow: hidden;
  margin-top: 50px;
  /* border-radius: 10px; */
}

.project_img img,
.project_img video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* .work_slide {
  height: 100vh !important;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
} */

.more_img_wrapper {
  display: flex;
  align-items: flex-start;
  gap: 30px;
  margin-bottom: 30px;
}

.more_img {
  background: #1a1823;
}

.more_img img,
.more_img video {
  max-width: 400px;
  /* height: 100%; */
  /* object-fit: cover; */
}

.case_btn {
  width: 180px;
  height: 50px;
  background: #1c1c1c;
  /* border: 1px solid #828282; */
  display: grid;
  place-items: center;
  border-radius: 50px;
  color: #fff;
  font-weight: 600;
  /* margin-top: 40px; */
  font-family: "Montreal";
  transition: 0.3s;
}

.case_btn:hover {
  background: #f8f8f8;
  color: #1b1b1b;
}

.role_home {
  color: #939393;
  font-family: "Montreal";
}

.more_work {
  display: grid;
  place-items: center;
  /* margin: 100px auto 0 auto; */
  /* height: 30vh; */
}

.more_work a {
  width: 250px;
  height: 60px;
  background: #000;
  color: #fff;
  border-radius: 50px;
  font-family: "Montreal";
  text-decoration: none;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: 0.3s;
}

.more_work a:hover {
  background: #fff;
  color: #000;
  border: 1px solid #000;
}

.more_work a span {
  margin-left: 10px;
  margin-top: -15px;
  font-size: 13px;
  color: #a9a9a9;
}

.project_header_wrap {
  display: flex;
  flex-direction: column;
}

@media (max-width: 992px) {
  .brag h1 {
    font-size: 40px;
    text-align: center;
    max-width: 1200px;
    margin-top: -100px;
  }

  .brag h1 span {
    color: #fff;
    text-decoration: underline;
    display: inline-flex;
    align-items: center;
  }

  .project_head {
    flex-direction: column;
    gap: 40px;
  }

  .project_header_wrap {
    flex-direction: row;
    align-items: flex-start;
    justify-content: space-between;
    width: 100%;
  }

  /* .case_btn_wrap {
    margin-top: -40px;
  } */

  .work_lottie {
    width: 70px;
  }
}

@media (max-width: 950px) {
  .c_link a {
    font-size: 50px;
  }
}

@media (max-width: 768px) {
  .project_header_wrap {
    flex-direction: column;
    gap: 20px;
  }

  .brag h1 {
    width: 100%;
  }
}

/* @media (max-width: 635px) {
  .c_link a {
    font-size: 30px;
  }
} */
@media (max-width: 620px) {
  .project_header h3 {
    font-size: 20px;
  }
  .brag {
    margin: 0 20px;
  }
  .brag h1 {
    font-size: 35px;
  }
  .work_lottie {
    width: 40px;
  }
}

@media (max-width: 530px) {
  .rolling-text {
    line-height: 50px;
    height: 50px;
  }
  .c_link a {
    font-size: 40px;
  }
}
@media (max-width: 600px) {
  .header {
    width: 100%;
  }
  .titles {
    width: 100%;
    margin: 30px auto;
  }

  .leftside {
    width: 100%;
    height: 400px;
    overflow: hidden;
    border-radius: 40px !important;
  }
  .rightside {
    width: 100%;
    height: 400px;
    overflow: hidden;
    border-radius: 40px !important;
  }
  .leftside img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  .rightside img,
  .rightside video {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
}

@media (max-width: 450px) {
  .brag h1 {
    font-size: 30px;
  }
  .brag {
    margin: 0;
    height: 60vh;
  }
  .work_lottie {
    width: 50px;
  }
  .earth_img {
    width: 700px;
  }
  .handz {
    width: 100px;
  }
  footer {
    height: 70vh;
  }
}

@media (max-width: 360px) {
  .rolling-text {
    line-height: 40px;
    height: 40px;
  }
  .c_link a {
    font-size: 30px;
  }
}

@media (max-width: 500px) {
  .project_tabs {
    flex-wrap: wrap;
    justify-content: center;
  }
  .work_slide {
    display: none;
  }
  .more_work {
    margin-bottom: 50px;
  }
  html,
  body {
    overflow-x: hidden;
    overflow-y: auto;
  }
}

@media (max-width: 470px) {
  .p_tab p {
    font-size: 16px !important;
  }

  .typing-demo {
    display: inline-block;
    white-space: nowrap;
    border-right: 3px solid;
    font-family: "Space Mono";
    font-size: 16px;
  }
}

.project_tabs {
  display: flex;
  align-items: center;
  gap: 30px;
  margin: 100px auto 50px auto;
  justify-content: center;
}

.p_tab {
  display: flex;
  align-items: center;
  gap: 7px;
  cursor: pointer;
  transition: 0.3s;
  text-decoration: none;
}

.p_tab:hover {
  opacity: 0.6;
  text-decoration: none;
}

.p_tab span {
  margin-top: -30px;
  font-weight: bold;
  color: #969696;
  font-family: "Montreal";
}

.p_tab p {
  font-size: 20px;
  font-family: "Montreal";
  color: #000;
}

.active_p_tab {
  background: #393939;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px 30px 5px 30px;
  border-radius: 50px;
  margin-top: -10px;
}

.active_p_tab p {
  color: #fff !important;
}

.leftside,
.rightside {
  color: rgba(0, 0, 0, 0.4);
  padding: 2%;
  text-align: left;
}

@media (min-width: 600px) {
  .leftside_cover,
  .rightside_cover {
    -webkit-flex: 1;
    flex: 1;
    background: none;
    margin: 0 50px;
  }

  .leftside {
    width: 100%;
    height: 600px;
    overflow: hidden;
    border-radius: 40px !important;
  }

  .leftside img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 40px !important;
  }

  .rightside {
    width: 100%;
    height: 600px;
    overflow: hidden;
    border-radius: 40px !important;
  }

  .rightside img,
  .rightside video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 40px !important;
  }
}
