/* @import url("https://fonts.googleapis.com/css2?family=Bai+Jamjuree:ital,wght@0,200;0,300;0,400;0,500;0,600;0,700;1,200;1,300;1,400;1,500;1,600;1,700&display=swap"); */

@import url("css2.css");

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Syne", sans-serif;
  color: #f5f5f5;
}

body {
  width: 100%;
  margin: auto;
  background-color: #000;
}

/* PRELOADER STYLESHEET */

.preloader {
  width: 100vw;
  height: 100vh;
  background-color: #000;
  z-index: 999;
  position: fixed;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* From uiverse.io by @Mike11jr */
.spinner {
  width: 60px;
  height: 60px;
  position: relative;
}

.spinner .dot {
  position: absolute;
  inset: 0;
  display: flex;
  justify-content: center;
}

.spinner .dot::after {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background-color: rgb(12, 180, 231);
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.spinner .dot {
  animation: spin 2s infinite;
}

.spinner .dot:nth-child(2) {
  animation-delay: 100ms;
}

.spinner .dot:nth-child(3) {
  animation-delay: 200ms;
}

.spinner .dot:nth-child(4) {
  animation-delay: 300ms;
}

.spinner .dot:nth-child(5) {
  animation-delay: 400ms;
}

.bg-video-container {
  position: relative;
}

video {
  object-fit: cover;
  position: fixed;
  width: 100%;
  height: 100%;
  z-index: -9;
  left: 0;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}

.bg-video-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #0a0a0ac0;
}

header {
  background-color: #000000;
  position:sticky;
  top: 0px;
  width: 100%;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  z-index: 5;
}

.logo {
  width: 100%;
  max-width: 165px;
  font-family: "Syne", sans-serif;
}

.logo img {
  width: 100%;
  height: 100%;
}

.nav-menu {
  display: flex;
  flex-direction: row;
}

.nav-item {
  margin: 0 25px;
  list-style-type: none;
}

.nav-link {
  color: #fff;
  text-decoration: none;
  position: relative;
}

.nav-link::after {
  content: "";
  width: 0;
  height: 2px;
  background-color: #e94d35;
  bottom: -3px;
  left: 50%;
  position: absolute;
  transition: all 0.3s linear;
}

.nav-link:hover::after {
  width: 100%;
  left: 0;
}

.hamburger {
  display: none;
  cursor: pointer;
}

.hamburger-bar {
  width: 25px;
  height: 1px;
  background-color: #fff;
  display: block;
  margin: 5px auto;
  transition: all 0.3s ease-in-out;
}

/* WRAPPER STYLE SHEET */

.wrapper {
  width: 100%;
  position: relative;
  left: 0;
  top: 100px;
}

/* HERO SECTION */

.hero-section {
  width: 100%;
  padding: 55px 60px 10px;
  display: flex;
  flex-direction: row;
  gap: 5%;
  margin-bottom: 100px;
}

.hero-text {
  width: 60%;
  margin-top: 80px;
}

.hero-text-header {
  margin-bottom: 25px;
}

.waving-hand {
  webkit-animation-duration: 1.2s;
  animation-duration: 1.2s;
  -webkit-animation-iteration-count: infinite;
  animation-iteration-count: infinite;
  -webkit-animation-name: wave;
  animation-name: wave;
  display: inline-block;
  transform-origin: 70% 70%;
  font-size: 1.5rem;
  margin-left: 4px;
}

.typing-container {
  margin-bottom: 30px;
}

.typing-space {
  color: #e94d35;
  font-size: 30px;
  text-transform: uppercase;
}

.main-text h4 {
  margin: 20px 0;
  font-size: 20px;
  line-height: 32px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.main-text h4 img {
  margin: 0 8px;
  width: 16px;
  height: 16px;
}

.hero-button-link {
  text-decoration: none;
}

.hero-btn-container {
  width: 50%;
}

.hero-btn {
  width: 50%;
  height: 50px;
  border: none;
  margin: 0 -0.2em;
  outline: none;
  cursor: pointer;
  transition: 0.3s linear;
}

.hero-btn-one {
  background-color: #e94d35;
}

.hero-btn-one:hover {
  background-color: #d43017;
}

.hero-btn-two {
  background-color: transparent;
  border: 1px solid #f5f5f5;
}

.hero-btn-two:hover {
  text-decoration: underline;
}
.main-container{
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    align-items: center;
    padding-top: 18%;
}
.write-up{
    color: #ffffff;
    font-family: 'Afacad', sans-serif;
    font-size: 18px;
    display: flex;
    flex-direction: column;
    padding-bottom: 10%;
}
.blue-evans h1:nth-child(1){
    color: #4162FF;
}
.para-writeup{
    width: 500px;
    padding-top: 30px;
}
.blue-evans{
    display: flex;
    gap: 10px;
    font-size: 50px;
    font-family: 'Bebas Neue', sans-serif; 
}
.ex-container{
    display: flex;
    flex-direction: row;  
    gap: 5px;
    align-items: center;
} 
.benefits{
    color: #000000;
    width: 4.5em;
    height: 1.3em;
    margin-left: 10px;
    margin-right: 10px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    font-size: calc(0.8em + 8 px);
}
@keyframes auto-scroll { 
    0% {
        transform: translateY(0);
    }
    5% {
        transform: translateY(0);
    }
    10% {
        transform: translateY(-1em);
    }
    30% {
        transform: translateY(-1em);
    }
    35% {
        transform: translateY(-2.2em);
    }
    55% {
        transform: translateY(-2.3em);
    }
    60% {
        transform: translateY(-3.3em);
    }
    80% {
        transform: translateY(-3.3em);
    }
    85% {
        transform: translateY(-4.5em);
    }
    100% {
        transform: translateY(-4.7em);
    }
}
.benefits span {
    animation: auto-scroll 12s infinite ;
    color: #D43017;
}
@keyframes wave {
  0% {
    transform: rotate(0deg);
  }

  50% {
    transform: rotate(35deg);
  }

  100% {
    transform: rotate(0deg);
  }
}

.hero-img {
  width: 35%;
  overflow: hidden;
}

.hero-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 20px;
  filter: grayscale(1);
  transition: all 0.3s linear;
}

.hero-img img:hover {
  filter: grayscale(0);
}

/* MARQUEE SECTION */

.marquee-section {
  width: 100%;
  overflow: hidden;
  padding: 90px 0;
}

.marquee-container {
  transform: rotate(-3deg);
  width: 120%;
}

.marquee3k {
  background-color: #f2f1ef;
  height: 85px;
  display: flex;
  align-items: center;
}

.marquee3k h4 {
  color: #010a12;
  font-size: 18px;
}
.marquee3k h4 span {
  margin: 0 50px;
}

/* ABOUT SECTION */

.about-section {
  width: 100%;
  margin-bottom: 5rem;
  padding: 0 60px;
}

.about-heading {
  margin: 2rem auto;
  width: 50%;
  display: flex;
  justify-content: center;
}

.about-heading h1 {
  font-size: 30px;
  text-transform: uppercase;
  color: #e94d35;
}

.about-container {
  width: 100%;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  padding-top: 3rem;
}

.about-img {
  width: 45%;
}

.about-img img {
  width: 100%;
  height: 100%;
  border-radius: 20px;
  transition: all 0.3s linear;
  filter: grayscale(1);
}

.about-img img:hover {
  filter: grayscale(0);
}

.about-text {
  width: 50%;
  height: 500px;
  padding-top: 5rem;
  padding-right: 15px;
  overflow-x: hidden;
  overflow-y: scroll;
}

.about-text::-webkit-scrollbar {
  width: 7px;
}

.about-text::-webkit-scrollbar-track {
  background: #ddd;
}

.about-text::-webkit-scrollbar-thumb {
  background: #e94d35;
}

.about-text h2 {
  margin-bottom: 2.5rem;
}

.about-text article {
  margin-bottom: 2rem;
}

[data-aos="fade-up1"] {
  transform: translateY(20px);
  opacity: 0;
  transition-property: transform, opacity;
}

[data-aos="fade-up1"].aos-animate {
  transform: translateY(0);
  opacity: 1;
}

/* MY-SKILL SECTION */

.my-skill {
  width: 100%;
  height: auto;
  margin-bottom: 5rem;
  padding: 0 60px;
}

.ms-header {
  margin: 4rem auto;
  width: 50%;
  display: flex;
  justify-content: center;
}

.ms-header h1 {
  font-size: 30px;
  text-transform: uppercase;
  color: #e94d35;
}

.ms-container {
  width: 100%;
  /* height: 620%; */
  display: grid;
  grid-template-rows: repeat(3, 1fr);
  grid-template-columns: repeat(5, 1fr);
  padding: 4rem 10rem;
  background-color: #031626;
  border-radius: 20px;
  row-gap: 30px;
}

.img-container {
  height: 200px;
  /* border: 1px solid red; */
}

.img-container img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.img-container h3 {
  text-align: center;
  margin-bottom: 1rem;
  font-size: 20px;
  font-weight: 600;
}

.img-one {
  animation: float-up-down 3s infinite alternate ease-in-out;
  animation-delay: -7s;
  grid-column: 3/4;
}

.img-two {
  animation: float-up-down 3s infinite alternate ease-in-out;
  grid-column: 2/3;
}

.img-three {
  animation: float-up-down 3s infinite alternate ease-in-out;
  animation-delay: 3s;
  grid-column: 4/5;
}

.img-four {
  animation: float-up-down 3s infinite alternate ease-in-out;
  animation-delay: -5s;
  grid-column: 1/2;
}

.img-five {
  animation: float-up-down 3s infinite alternate ease-in-out;
  animation-delay: 2s;
  grid-column: 3/4;
}

.img-six {
  animation: float-up-down 3s infinite alternate ease-in-out;
  animation-delay: -5s;
  grid-column: 5/6;
}

/* PROJECT SECTION */

.project-section {
  width: 100%;
  margin-bottom: 5rem;
  padding: 0 60px;
}

.project-header {
  margin: 5rem auto;
  width: 50%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.project-header h1 {
  font-size: 30px;
  text-transform: uppercase;
  color: #e94d35;
  margin-bottom: 1rem;
}

.project-container {
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  row-gap: 5rem;
}

.project-item {
  width: 100%;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  padding: 30px 30px;
  border-radius: 6px;
  background-color: #031626;
}

.project-item:nth-child(even) {
  flex-direction: row-reverse;
  padding-left: 100px;
}

.test-img {
  width: 50%;
  display: flex;
  justify-content: center;
}

.test-img-obj {
  width: 100%;
  height: 100%;
  border-radius: 5px;
}

.img1 {
  width: 50%;
  animation: float-up-down 5s infinite alternate ease-in-out;
  animation-delay: -7s;
}

.test-img-obj img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 5px;
}

@keyframes float-up-down {
  0% {
    transform: translateY(15px) rotate3d(0, 0, 0, 0deg);
  }
  100% {
    transform: translateY(-15px) rotate3d(0, 0, 0, 0deg);
  }
}

.project-text-container {
  width: 50%;
  padding: 20px 0;
}

.project-text-container h3 {
  color: #d43017;
  font-size: 22px;
  margin-top: 30px;
}

.project-text-container p {
  margin: 2rem 0 3rem 0;
}

.project-btn {
  width: 100%;
  margin: 2rem 0 3rem 0;
}

.project-btn .btn {
  width: 40%;
  padding: 16px 0;
  color: #fff;
  background-color: #2e485e;
  position: relative;
  cursor: pointer;
  border: none;
  outline: none;
  transition: all 0.3s ease-in-out;
}

.project-btn .btn::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 0;
  background-color: #fff;
  transition: all 0.3s ease-in-out;
}

.project-btn .btn::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 0;
  background-color: #fff;
  transition: all 0.3s ease-in-out;
}

.project-btn .btn:hover::after,
.project-btn .btn:hover::before {
  height: 2px;
}

.project-btn .btn:hover {
  background-color: #1d2e3c;
}

/* CONTACT STYLE SHEET */

.contact-section {
  width: 100%;
  margin-bottom: 10rem;
  padding: 0 60px;
}

.contact-header {
  width: 50%;
  margin: 5rem auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.contact-header h1 {
  font-size: 30px;
  text-transform: uppercase;
  color: #e94d35;
  margin-bottom: 1rem;
}

.contact-grid-container {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  column-gap: 10%;
}

.contact-grid-item {
  background-color: #031626;
  width: 33.3%;
  height: 150px;
  border-radius: 12px;
  display: flex;
  justify-content: space-evenly;
  align-items: center;
  cursor: pointer;
  transition: all 0.2s linear;
}

.contact-grid-item:hover {
  transform: scale(1.05);
}

.grid-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: #d43017;
  border: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.grid-info h3 {
  margin-bottom: 1rem;
}

.grid-info a {
  text-decoration: none;
}

.grid-icon::before,
.grid-icon::after {
  content: "";
  display: block;
  position: absolute;
  border: 3px solid #d43017;
  left: -10px;
  right: -10px;
  top: -10px;
  bottom: -10px;
  border-radius: 50%;
  animation: animate 1.5s linear infinite;
  backface-visibility: hidden;
}

.grid-icon::after {
  animation-delay: 0.5s;
}

@keyframes animate {
  0% {
    transform: scale(0.5);
    opacity: 0;
  }
  50% {
    opacity: 1;
  }
  100% {
    transform: scale(1.2);
    opacity: 0;
  }
}

/* FOOTER STYLESHEET */

footer {
  background-color: #010a12;
  width: 100%;
  height: 70px;
  padding: 50px 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-direction: row;
}

.footer-logo {
  width: 60px;
  height: 60px;
}

.footer-logo img {
  width: 100%;
  height: 100%;
}

.footer-text {
  width: 50%;
}

.footer-text h5 {
  font-size: 14px;
  background: linear-gradient(-45deg, #ffffff, #ffffff, #d43017, #e94d35);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-size: 300%;
  animation: pulsing 8s ease-in-out infinite;
  -webkit-animation: pulsing 8s ease-in-out infinite;
}

@keyframes pulsing {
  0% {
    background-position: 0 50%;
  }

  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0 50%;
  }
}

.social-links {
  display: flex;
  flex-direction: column;
  width: 50%;
}

.social-links h3 {
  font-size: 18px;
  margin-bottom: 0.65rem;
}

.social-container {
  display: flex;
  flex-direction: row;
  gap: 1.5rem;
}

.social-links a {
  text-decoration: none;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background-color: #d43017;
  border: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  transition: all 0.3s linear;
}

.social-links a:hover {
  transform: scale(1.1);
}

/* RESPONSIVE MEDIA QUERY */

@media screen and (min-width: 320px) {
  .wrapper {
    padding-top: 20px;
  }

  header {
    padding: 10px 20px;
  }

  .hamburger {
    display: block;
  }

  .hamburger.active .hamburger-bar:nth-child(2) {
    opacity: 0;
  }

  .hamburger.active .hamburger-bar:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
  }

  .hamburger.active .hamburger-bar:nth-child(3) {
    transform: translateY(-5px) rotate(-45deg);
  }

  .nav-menu {
    position: fixed;
    right: -100%;
    top: 75px;
    flex-direction: column;
    width: 100%;
    height: 75vh;
    text-align: center;
    transition: 0.3s linear;
    padding-top: 10px;
  }

  .nav-menu.active {
    right: 0;
    background-color: #000;
  }

  .nav-menu li {
    margin: 25px 0;
  }

  .nav-btn {
    display: none;
  }

  .nav-menu li a {
    font-size: 17px;
    font-weight: 600;
    line-height: 17px;
  }

  .hero-section {
    flex-direction: column;
    padding: 40px 35px;
    margin-bottom: 0;
  }

  .hero-text {
    margin: 0;
    width: 100%;
  }
  .hero-img {
    width: 100%;
  }

  .hero-btn-container {
    margin-bottom: 2rem;
    width: 100%;
  }

  .marquee-section {
    padding: 50px 0;
    margin-left: -3px;
  }

  .about-section {
    padding: 0 35px;
  }

  .about-container {
    flex-direction: column;
    padding-top: 1rem;
  }

  .about-heading h1 {
    font-size: 24px;
  }

  .about-img {
    display: none;
  }

  .about-text {
    width: 100%;
    padding-top: 0;
    padding-right: 0;
    height: auto;
    overflow-y: hidden;
  }

  .my-skill {
    padding: 0 20px;
  }

  .ms-header h1 {
    font-size: 24px;
  }

  .ms-container {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    padding: 3rem;
    row-gap: 50px;
    column-gap: 30px;
  }

  .img-container {
    height: auto;
    width: 50%;
  }

  .img-one,
  .img-two,
  .img-three,
  .img-four,
  .img-five,
  .img-six {
    animation-delay: 0s;
  }

  .project-section {
    padding: 0 20px;
  }

  .project-header {
    width: 100%;
  }

  .project-header h1 {
    font-size: 24px;
  }

  .project-header p {
    font-size: 14px;
  }

  .project-item {
    flex-direction: column;
  }

  .project-text-container,
  .test-img {
    width: 100%;
  }

  .project-item:nth-child(even) {
    flex-direction: column;
    padding-left: 30px;
  }

  .project-btn {
    width: 100%;
    margin: 0;
  }

  .contact-section {
    padding: 0 20px;
    margin-bottom: 5rem;
  }

  .contact-header {
    width: 100%;
  }

  .contact-header h1 {
    font-size: 24px;
  }

  .contact-grid-container {
    flex-direction: column;
    row-gap: 20px;
  }

  .contact-grid-item {
    width: 100%;
  }

  footer {
    flex-direction: row;
    height: auto;
    padding: 10px 30px;
    gap: 20px;
  }

  .social-links {
    width: 50%;
    align-items: end;
  }

  .footer-text {
    margin-left: 5px;
  }
}

@media screen and (min-width: 768px) {
  .hero-text {
    text-align: center;
  }
  .hero-img {
    width: 50%;
    align-self: center;
  }

  .hero-btn-container {
    margin: 0 auto 2rem;
    width: 60%;
  }

  .about-container {
    padding-top: 3rem;
  }

  .about-text {
    text-align: center;
  }

  .ms-container {
    display: grid;
  }

  .contact-section {
    margin-bottom: 10rem;
  }

  .contact-header {
    width: 50%;
  }

  .contact-header h1 {
    font-size: 30px;
  }

  .contact-grid-container {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    column-gap: 20px;
  }

  .contact-grid-item {
    width: 45%;
  }

  /* .social-links {
    width: 30%;
  } */
}

@media screen and (min-width: 981px) {
  header {
    padding: 0 60px;
    height: 95px;
  }

  /* .logo {
    width: 200px;
    height: 70px;
  } */

  .nav-menu {
    display: flex;
    flex-direction: row;
    position: static;
    height: auto;
    padding: 0;
  }

  .nav-menu li {
    margin: 0 25px;
  }

  .hamburger {
    display: none;
  }

  .hero-section {
    flex-direction: row;
    padding: 55px 60px 10px 55px;
  }

  .hero-text {
    width: 60%;
    text-align: left;
    margin-top: 80px;
  }
  .hero-img {
    width: 35%;
  }

  .hero-btn-container {
    width: 50%;
    margin: 0 0 2rem;
  }

  .about-section {
    padding: 0 60px;
  }

  .about-container {
    flex-direction: row;
  }

  .about-img {
    display: block;
  }

  .about-text {
    width: 50%;
  }

  .about-text {
    width: 50%;
    height: 500px;
    padding-top: 5rem;
    padding-right: 15px;
    overflow-x: hidden;
    overflow-y: scroll;
    text-align: start;
  }

  .about-heading h1 {
    font-size: 30px;
  }

  .my-skill {
    padding: 0 60px;
  }

  .ms-header h1 {
    font-size: 30px;
  }

  .ms-container {
    padding: 4rem 10rem;
  }

  .project-section {
    padding: 0 60px;
  }

  .project-header h1 {
    font-size: 30px;
  }

  .project-item {
    flex-direction: row;
  }

  .test-img {
    width: 43%;
  }

  .project-text-container {
    width: 50%;
  }

  .project-item:nth-child(even) {
    flex-direction: row-reverse;
  }
}

@media screen and (min-width: 1160px) {
  .typing-space {
    font-size: 30px;
  }

  .ms-container {
    padding: 4rem 15rem;
  }
}
