@import url('https://fonts.googleapis.com/css2?family=Lora:ital,wght@0,400..700;1,400..700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Lora:ital,wght@0,400..700;1,400..700&family=Rubik:ital,wght@0,300..900;1,300..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Black+Ops+One&display=swap');


* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  /* font-family: sans-serif;*/
  /* font-family: "Lora", serif; */
  font-family: "Rubik", sans-serif;
  font-optical-sizing: auto;
  font-style: normal;
}

html,
body {
  height: 100%;
  width: 100%;
}



/* var(--color38) */

:root {
  --color1: white;
  --color2: black;
  --color3: gray;
  --color4: whitesmoke;
  --color5: rgba(128, 128, 128, 0.1);
  --color6: #d8d8d8;
  --color7: #e9ecef;
  --color8: #dd0b8c;
  --color9: #0a83ec;
  --color10: #17b069;
  --color11: #f1f1f1;
  --color12: rgba(0, 0, 0, 0.12);
  --color13: #ff8e07;
  --color14: gainsboro;
  --color15: #f5f5f5;
  --color16: #0a58ca;
  --color17: rgba(0, 0, 0, 0.1);
  --color18: #FC6D6D;
  --color19: rgba(0, 0, 0, 0.25);
  --color20: #ff1919;
  --color21: orange;
  --color22: rgba(0, 0, 0, 0.5);
  --color23: (128, 128, 128, 0.5);
  --color24: #1d1f20;
  --color25: #80808029;
  --color26: #dee2e6;
  --color27: #dee2e6ed;
  --color28: #bfd7ee;
  --color29: rgba(128, 128, 128, 0.401);
  --color30: rgb(200, 200, 200);
  --color31: rgb(50, 183, 50);
  --color32: #0d6efd;
  --color33: #dee2e6;
  --color34: #ffc107;
  --color35: rgb(6, 163, 6);
  --color36: green;
  --color37: #008d00;
  --color38: #adb5bd;
  --color39: #495057;
  --color40: cornflowerblue;
  --color41: #dee2e62e;
  --color42: #f8f9fa;
  --color43: #5e62662e;

}

body.dark-mode {
  background-color: var(--color2);
  color: var(--color1);
  background: var(--color2);
  --color33: #373b3e;
  --color24: #1d1f20;


  nav {
    background: var(--color2);
  }

  .logo {
    color: var(--color1);

  }

  nav ul li a {
    color: var(--color1);
  }

  nav ul li a:hover {
    color: var(--color2);
    background-color: var(--color7);
  }

  .home-container {
    background: var(--color2);
  }

  .wrapper .static-txt p {
    color: var(--color1);
  }

  .my-text-101,
  .my-text-102 {
    color: var(--color1);
  }

  .dynamic-txts li span::after {
    background: var(--color2);
    border-left: 2px solid var(--color2);
  }

  .box::after {
    background: var(--color38);
    border-radius: 50%;

  }

  .wrapper2 span {
    margin-left: 1rem;
  }

  .wrapper2 {
    color: var(--color1);
    margin-top: 0.8rem;
  }

  .home-btn1-b2 {
    border: 2px solid var(--color1);
    color: var(--color1);
  }

  .home-btn1-b2:hover {
    background-color: var(--color1);
    color: var(--color2);
  }

  .skill-name {
    color: var(--color1);
  }

  .skill-per::before {
    background: var(--color39);
  }

  .skill-per::after {
    background: var(--color39);
  }

  .about-title h3 {
    color: var(--color40);
  }

  .my-info-details ul li span {
    color: var(--color38);
  }

  .boxxxx {
    color: var(--color1);
  }

  .home-scroll-down a i:hover {
    color: var(--color1);
  }

  .scroll-up a i:hover {
    color: var(--color1);
  }

  .portfolio-btns h5 {
    box-shadow: 0px 0px 20px 0px var(--color25);
    color: var(--color2);
  }

  .sliding-hr {
    width: 80%;
    height: 5px;
    border: none;
    background: linear-gradient(to right, var(--color1), var(--color2), var(--color1));
    background-size: 200% 200%;
    animation: colorSlide 5s ease infinite;
    margin: auto;
  }



  .testimonial-card .test-card-body {
    color: var(--color2);
    border: 1px solid var(--color1);

  }

  .testimonial-card .test-card-body {
    color: var(--color1);
  }

  .testimonial-card .test-card-body {
    background-color: var(--color2);
    box-shadow: 2px 2px 20px var(--color12);
     /* padding: 20px;
   height: 350px; 
    word-wrap: break-word; */
  }

  .menu-icon i {
    color: var(--color1);
  }

  #menuList {
    background: var(--color2);
    color: var(--color1);
  }

  .spinner {
    --color: var(--color1);

  }

  .twitter-icon {
    color: var(--color1);
  }

  .owl-nav .owl-prev i,
  .owl-nav .owl-next i {
    padding: 10px !important;
    border-radius: 50%;
    font-size: 18px !important;
    /* background: none; */
    color: var(--color1);
    cursor: pointer;
    transition: 0.4s;
  }

  .contact-form1-box1 input {
    /* padding: 1rem 2rem; */
    border: 1px solid var(--color1);
    /* border-radius: 5px; */
    background-color: var(--color2);
    color: var(--color1);

  }

  .contact-form1-box2 input,
  .contact-form1-box2 textarea {
    /* padding: 1rem 2rem; */
    border: 1px solid var(--color1);
    /* border-radius: 5px; */
    color: var(--color1);
    background-color: var(--color2);
  }

  .contact-form1-box1 input::placeholder, .contact-form1-box2 input::placeholder,
  .contact-form1-box2 textarea::placeholder {
    color: var(--color1);
    opacity: 1;
  }

  .contact-item {
    background-color: var(--color2);
}

.review-form {
    border: 1px solid var(--color1);
    background-color: var(--color2);
    /* margin: 2rem 0; */
}
.review-input input {
    /* padding: 1rem 2rem; */
    border: 1px solid var(--color1);
    /* border-radius: 5px; */
    /* width: 100%; */
    color: var(--color1);
    background-color: var(--color2);
}
.review-input textarea {
    /* padding: 1rem 2rem; */
    border: 1px solid var(--color1);
    /* border-radius: 5px; */
    /* width: 100%; */
    background-color: var(--color2);
    color: var(--color1);
}
.review-cl-1 {
    background-color: var(--color2);
    /* padding: 1rem 0; */
    color: var(--color1);
    border: 1px solid var(--color1);
}

.review-input input::placeholder, .review-input textarea::placeholder {
    color: var(--color1);
    opacity: 1;
  }

  .contact-form1-btn {    
    color: var(--color1);
    background-color: var(--color36);
    border: 1px solid var(--color36);
}
.review-btn {
    color: var(--color1);
    background-color: var(--color36);
    border: 1px solid var(--color36);
}
.contact-form1-btn:hover, .review-btn:hover {    
    border: 1px solid var(--color1);

}
    .message-box {
        color: var(--color1);

    }

.portfolio-container{
  background-color: var(--color43);
}
.about-container{
  background-color: var(--color43);
}
.contact-container{
  background-color: var(--color43);
}

}


nav {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  padding: 10px 30px;
  display: flex;
  align-items: center;
  justify-content: space-around;
  background: var(--color1);
  /* position: relative; */
  height: 95px;
  box-shadow: 0 3px 10px var(--color5);
  border-bottom: 1px solid var(--color6);
}

.logo {
  color: var(--color2);
  text-decoration: none;
  font-family: "Black Ops One", system-ui;
}

.logo h1 {
  font-family: 'Black Ops One', system-ui;
  margin-bottom: 0;
}

nav ul {
  display: flex;
  gap: 35px;
  align-items: center;
  margin-bottom: 0;
}

nav ul li a {
  color: var(--color2);
  text-decoration: none;
}

nav ul li {
  list-style-type: none;
}


nav ul li {
  padding: 0.3rem;
}

nav ul li:hover {
  background: var(--color4);
  border-radius: 6px;
}

.menu-icon {
  display: none;
}

.menu-icon i {
  color: var(--color2);
  font-size: 30px;
}


#alertContainer {
  position: fixed;
  top: 100px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 555;
  width: 90%;
}

/* profile pic animation  */

.box {
  position: relative;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  overflow: hidden;
  margin-left: 8rem;
}

.box::before {
  content: '';
  position: absolute;
  inset: -10px 140px;
  background: linear-gradient(315deg, var(--color8), var(--color9));
  transition: 0.4s;
  animation: animate 3s linear infinite;
}

.box:hover::before {
  inset: -20px 0px;
}

@keyframes animate {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

.box::after {
  content: '';
  position: absolute;
  inset: 6px;
  background: var(--color2);
  border-radius: 50%;
  z-index: 1;
}

.content {
  position: absolute;
  inset: 15px;
  border: 3px solid var(--color9);
  z-index: 3;
  border-radius: 50%;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

.content img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: 0.5s;
  pointer-events: none;
  z-index: 3;
}

.box:hover .content img {
  opacity: 0;
}

.content h2 {
  position: relative;
  font-size: 1.5em;
  text-align: center;
  color: var(--color1);
  font-weight: 600;
  letter-spacing: 0.05em;
}

.content h2 span {
  font-weight: 300;
  font-size: 0.75em;
}

.content a {
  position: relative;
  margin-top: 10px;
  padding: 10px 20px;
  background: var(--color1);
  color: var(--color2);
  border-radius: 25px;
  font-weight: 500;
  font-size: 1.25em;
  letter-spacing: 0.05em;
  text-decoration: none;
  transition: 0.4s;
}

.content a:hover {
  letter-spacing: 0.3em;
}

/* profile pic animation  */

/* about skills progress bar code  */


.skills {
  max-width: 500px;
  min-width: 300px;
  padding: 0 20px;
}

.skill {
  margin-bottom: 2rem;
}

.skill-name {
  font-size: 18px;
  font-weight: 700;
  color: var(--color2);
  text-transform: uppercase;
  margin: 10px 0 0 0;
}

.skill-bar {
  height: 6px;
  background: var(--color7);
  border-radius: 3px;
}

.skill-per {
  height: 6px;
  background: var(--color10);
  border-radius: 3px;
  position: relative;
  animation: fillBars 2.5s 1;
}

.skill-per::before {
  content: attr(per);
  position: absolute;
  padding: 4px 6px;
  background: var(--color11);
  border-radius: 4px;
  font-size: 12px;
  top: -35px;
  right: 0;
  transform: translateX(50%);
}

.skill-per::after {
  content: "";
  position: absolute;
  width: 10px;
  height: 10px;
  background: var(--color7);
  top: -12px;
  right: 0;
  transform: translateX(50%) rotate(45deg);
  border-radius: 2px;
}

.skill-per-70 {
  width: 70%;
}

.skill-per-75 {
  width: 75%;
}

.skill-per-80 {
  width: 80%;
}

.skill-per-85 {
  width: 85%;
}

.skill-per-90 {
  width: 90%;
}

.skill-per-95 {
  width: 95%;
}

.skill-per-100 {
  width: 100%;
}

@keyframes fillBars {
  from {
    width: 0;
  }

  to {
    width: 100%;
  }
}

/* about skills progress bar code  */



/* testimonials-section  */

.testimonials-section {
  width: 100%;
  padding: 0px 8%;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  flex-wrap: wrap;
}

.testimonials-section .section-header {
  max-width: 700px;
  text-align: center;
  margin: 4rem auto 2rem;
}

.section-header h1 {
  position: relative;
  font-size: 1.75rem;
  margin-bottom: 0;
}

.testimonials-container {
  position: relative;
}

.testimonials-container .testimonial-card {
  padding: 1rem;
  max-height: 500px;
}

.testimonial-card .test-card-body {
  background-color: var(--color1);
  box-shadow: 2px 2px 20px var(--color12);
  padding: 20px;
  height: 350px;
  word-wrap: break-word;
}

.test-card-body .quote {
  display: flex;
  align-items: center;
}

.test-card-body .quote i {
  font-size: 45px;
  color: var(--heading-clr);
  margin-right: 20px;
}

.test-card-body .quote h2 {
  color: var(--heading-clr);
}

.test-card-body p {
  margin: 1rem;
  font-size: 14px;
  line-height: 1.5;
  color: var(--text-clr);
}

.test-card-body .ratings {
  margin-top: 20px;
  text-align: center;
}

.test-card-body .ratings i {
  font-size: 17px;
  color: var(--color13);
  cursor: pointer;
}

.testimonial-card .profile {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 2rem;
}

.profile .profile-image {
  width: 55px;
  height: 55px;
  border-radius: 50%;
  overflow: hidden;
  margin-right: 15px;
}

.profile .profile-image img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
}

.profile .profile-desc {
  display: flex;
  flex-direction: column;
}

.profile-desc span:nth-child(1) {
  font-size: 25px;
  font-weight: bold;
  color: var(--primary-clr);
  max-width: 100%;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;

}

.profile-desc span:nth-child(2) {
  font-size: 15px;
  color: var(--text-clr);
  max-width: 100%;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  text-align: center;
}

.client-r-1 {
  height: 100px;
  /* border: 1px solid red; */
  margin: 10px;
  overflow: hidden;
}


.owl-nav {
  position: absolute;
  right: 20px;
  bottom: -10px;
}

.owl-nav button {
  border-radius: 50% !important;
}

.owl-nav .owl-prev i,
.owl-nav .owl-next i {
  padding: 10px !important;
  border-radius: 50%;
  font-size: 18px !important;
  color: var(--color3);
  cursor: pointer;
  transition: 0.4s;
}

.owl-nav .owl-prev i:hover,
.owl-nav .owl-next i:hover {
  color: var(--color2);
}

.owl-dots {
  margin-top: 15px;
}

.owl-dots .owl-dot span {
  background-color: var(--color14) !important;
  padding: 6px !important;
}

.owl-dot.active span {
  background-color: var(--color3) !important;
}

/* testimonials-section  */



/* text animation for titles  */
.sliding-hr {
  width: 80%;
  height: 5px;
  border: none;
  background: linear-gradient(to right, var(--color15), var(--color16), var(--color7));
  background-size: 200% 200%;
  animation: colorSlide 5s ease infinite;
  margin: auto;
}

@keyframes colorSlide {
  0% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }

  100% {
    background-position: 0% 50%;
  }
}

/* text animation for titles  */

/* dark-mode and light mode code  */

.mode-toggle {
  background-color: var(--color1);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  cursor: pointer;
  box-shadow: 0 0 50px 20px var(--color17);
  line-height: 1;
}

.mode-input {
  display: none;
}

.mode-icon {
  grid-column: 1 / 1;
  grid-row: 1 / 1;
  transition: transform 500ms;
}

.icon--moon {
  transition-delay: 200ms;
  color: var(--color2);
}

.icon--sun {
  transform: scale(0);
  color: var(--color2);
}

#switch:checked+.icon--moon {
  transform: rotate(360deg) scale(0);
}

#switch:checked~.icon--sun {
  transition-delay: 200ms;
  transform: scale(1) rotate(360deg);
}

/* dark-mode and light mode code  */


.animated-text {
  font-size: 34px;
  font-weight: 600;
  max-width: 600px;
  min-width: 300px;
}

.wrapper2 {
  display: none;
}

.wrapper {
  display: flex;
  align-items: baseline;
  height: 77px;
}

.wrapper .static-txt p {
  color: var(--color2);
  font-size: 42px;
  font-weight: 500;
}

.wrapper .dynamic-txts {
  margin-left: -12px;
  height: 90px;
  line-height: 90px;
  overflow: hidden;
}

.dynamic-txts li {
  list-style: none;
  color: var(--color18);
  font-size: 60px;
  font-weight: 500;
  position: relative;
  top: 0;
  animation: slide 12s steps(4) infinite;

}

@keyframes slide {
  100% {
    top: -360px;
  }
}

.dynamic-txts li span {
  position: relative;
  /* margin: 5px 0; */
  line-height: 0;
  font-size: 42px;
}

.dynamic-txts li span::after {
  content: "";
  position: absolute;
  left: 0;
  height: 100%;
  width: 100%;
  background: var(--color1);
  border-left: 2px solid var(--color1);
  animation: typing 3s steps(10) infinite;
  margin: 1rem 0;
}

@keyframes typing {

  40%,
  60% {
    left: calc(100% + 30px);
  }

  100% {
    left: 0;
  }
}


/* home page text animation  */

/* loading spinner  */

.spinner {
  --size: 30px;
  --color: var(--color2);
  width: 100px;
  height: 100px;
  position: relative;
}

.spinner::after,
.spinner::before {
  box-sizing: border-box;
  position: absolute;
  content: "";
  width: var(--size);
  height: var(--size);
  top: 50%;
  animation: up 2.4s cubic-bezier(0, 0, 0.24, 1.21) infinite;
  left: 50%;
  background: var(--color);
  box-shadow: 0 0 calc(var(--size) / 3) var(--color19);
}

.spinner::after {
  background: var(--color);
  top: calc(50% - var(--size));
  left: calc(50% - var(--size));
  animation: down 2.4s cubic-bezier(0, 0, 0.24, 1.21) infinite;
}

@keyframes down {

  0%,
  100% {
    transform: none;
  }

  25% {
    transform: translateX(100%);
  }

  50% {
    transform: translateX(100%) translateY(100%);
  }

  75% {
    transform: translateY(100%);
  }
}

@keyframes up {

  0%,
  100% {
    transform: none;
  }

  25% {
    transform: translateX(-100%);
  }

  50% {
    transform: translateX(-100%) translateY(-100%);
  }

  75% {
    transform: translateY(-100%);
  }
}


/* loading text animation  */

.loadingtext p {
  color: var(--color3);
  position: relative;
}

.loadingtext p::after {
  position: absolute;
  animation: b 3s infinite linear;
  color: var(--color3);
  content: "";
  left: 105%;
}

@keyframes b {
  0% {
    content: "";
  }

  10% {
    content: ".";
  }

  40% {
    content: "..";
  }

  70% {
    content: "...";
  }

  100% {
    content: "";
  }
}


/* loading text animation  */


/* loading spinner  */

/* review loader */

.loader {
  margin: 2rem;
  width: 50px;
  aspect-ratio: 1.154;
  position: relative;
  background: conic-gradient(from 120deg at 50% 64%, var(--color1), var(--color20) 1deg 120deg, var(--color1) 121deg);
  animation: l27-0 1.5s infinite cubic-bezier(0.3, 1, 0, 1);
}

.loader:before,
.loader:after {
  content: '';
  position: absolute;
  inset: 0;
  background: inherit;
  transform-origin: 50% 66%;
  animation: l27-1 1.5s infinite;
}

.loader:after {
  --s: -1;
}

@keyframes l27-0 {

  0%,
  30% {
    transform: rotate(0)
  }

  70% {
    transform: rotate(120deg)
  }

  70.01%,
  100% {
    transform: rotate(360deg)
  }
}

@keyframes l27-1 {
  0% {
    transform: rotate(calc(var(--s, 1)*120deg)) translate(0)
  }

  30%,
  70% {
    transform: rotate(calc(var(--s, 1)*120deg)) translate(calc(var(--s, 1)*-5px), 10px)
  }

  100% {
    transform: rotate(calc(var(--s, 1)*120deg)) translate(0)
  }
}


/* review loader */


/* submit review btn code  */

.boxxxx {
  width: 210px;
  height: auto;
  float: left;
  transition: .5s linear;
  position: relative;
  display: block;
  overflow: hidden;
  padding: 15px;
  text-align: center;
  margin: 0 5px;
  background: transparent;
  /* text-transform: uppercase; */
  font-weight: 600;
  border: 2px solid var(--color21);
  border-radius: 1rem;
}

.boxxxx:before {
  position: absolute;
  content: '';
  left: 0;
  bottom: 0;
  height: 4px;
  width: 100%;
  border-bottom: 4px solid transparent;
  border-left: 4px solid transparent;
  box-sizing: border-box;
  transform: translateX(100%);
}

.boxxxx:after {
  position: absolute;
  content: '';
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  border-top: 4px solid transparent;
  border-right: 4px solid transparent;
  box-sizing: border-box;
  transform: translateX(-100%);
}

.boxxxx:hover {
  box-shadow: 0 5px 15px var(--color22);
}

.boxxxx:hover:before {
  border-color: var(--color21);
  height: 100%;
  transform: translateX(0);
  transition: .3s transform linear, .3s height linear .3s;
}

.boxxxx:hover:after {
  border-color: var(--color21);
  height: 100%;
  transform: translateX(0);
  transition: .3s transform linear, .3s height linear .5s;
}

button {
  color: var(--color2);
  text-decoration: none;
  cursor: pointer;
  outline: none;
  border: none;
  background: transparent;
}

/* submit review btn code  */