* {
  padding: 0%;
  margin: 0%;
  font-family: "Roboto", sans-serif;
  font-family: "Gill Sans", "Gill Sans MT", Calibri, "Trebuchet MS", sans-serif;
  font-family: poppins;
}
:root {
  --font-size: 15px;
  --line-height: 1.4;
  --h3-fontsize: 20px;
  --heading-fontsize: 40px;
}

* {
  -webkit-tap-highlight-color: transparent;
}
html {
  scroll-behavior: smooth;
}
p {
  font-size: 0.9rem;
}
body {
  transition: background-color 0.5s ease-out;
  overflow-x: hidden;
  overflow-y: hidden;
  background-color: #e2e2e2f1;

  -webkit-user-select: none ;
  -moz-user-select: none ;
  -ms-user-select: none ;
  user-select: none;
}







body::-webkit-scrollbar {
  width: 5px;
}
body::-webkit-scrollbar-track {
  background: transparent;
}
body::-webkit-scrollbar-thumb {
  background-color: purple;
  border-radius: 10px;
}
a {
  text-decoration: none;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  font-weight: 500;
}
/*-----------------------------------------------------navigation-ssection-----------------------------------*/
.nav {
  display: flex;
  position: relative;
  /* position: fixed; */
  top: 0;
  /* background-color:  #f2f2f252;
  backdrop-filter: blur(10px); */
  justify-content: space-evenly;
  height: 50px;
  align-items: center;
  z-index: 999999;
  /* width: 100%; */
}

.bar,
.my-img {
  display: none;
}

.profile-visitors {
  display: none;
}
.Portfolio {
  font-size: 30px;
  text-transform: lowercase;
  font-weight: 500;
  position: relative;
  font-family: cursive;
  animation: slideIn 4s forwards;
  color: purple;
}

@keyframes slideIn {
  from {
    right: -30%;
    opacity: 0;
  }

  to {
    right: 0;
    opacity: 1;
  }
}
.navigation {
  display: flex;
  font-size: 20px;
  align-items: center;
  width: auto;
  margin-left: 200px;
  position: relative;
}

.nav-icons {
  display: none;
}

.navigation a {
  font-size: 22px;
  z-index: 1;
  text-decoration: none;
  text-align: center;
  cursor: pointer;
  margin-right: 30px;
  font-weight: 500;
  opacity: 0;
  color: purple;
  position: relative;
  animation: slide-ups 1s ease-out forwards;
}
@keyframes slide-ups {
  from {
    bottom: -70px;
    opacity: 0;
  }
  to {
    bottom: 0px;
    opacity: 1;
  }
}
.navigation a:hover {
  transition: all 0.2s;
  color: #89044d;
  border-radius: 4px;
  border-bottom: 5px solid blueviolet;
}

/*-----------------------------------------------------herossection-----------------------------------*/
.herosection {
  display: flex;
  margin-top: 5rem;
  margin-bottom: 10rem;
  align-items: center;
  justify-content: center;
  position: relative;
  gap: 5rem;
  background-color: white;
  border-radius: 0px 0px 30px 30px;
}
.intro {
  width: 100%;
  margin-left: 130px;
}

#one {
  font-weight: 400;
  position: relative;
  opacity: 0;
  animation: slide-up 4s ease-out forwards;
  font-size: 18px;
}
@keyframes slide-up {
  from {
    top: -80px;
    opacity: 0;
  }
  to {
    top: 10px;
    opacity: 1;
  }
}

#two {
  line-height: 70px;
  color: purple;
  font-size: 3.5rem;
  background-size: 200% 100%;
  font-weight: 900;
}

#three {
  font-size: 18px;
  padding: 20px 0px 5px 0px;
}

#four {
  line-height: 30px;
  text-transform: capitalize;
  font-size: 40px;
  font-weight: 600;
}
#two,
#three,
#four {
  opacity: 0;
  animation: late 1.5s ease-in-out;
  animation-fill-mode: forwards;
  animation-delay: 2s;
}

@keyframes late {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}
#five {
  margin-top: 83px;
  font-size: 25px;
  text-transform: capitalize;
}

.intro .button-row {
  display: flex;
  margin-top: 10px;
  gap: 10px;
  width: 70px;
}
.button-row a .button1 {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background-color: purple;
  border-radius: 4px;
  text-decoration: none;
  gap: 4px;
  height: 30px;
  width: 10rem;
  opacity: 0;
  border: 1px solid;
  box-sizing: border-box;
  color: white;
  transition: all 0.3s ease-in-out;
  animation: slides-up 3s ease-out forwards;
}

@keyframes slides-up {
  from {
    bottom: -100px;
  }
  to {
    bottom: 0px;
    opacity: 1;
  }
}

.button-row a .button2 {
  background-color: rgb(192, 193, 194);
  color: black;
}

.button-row a .button1:hover {
  background-color: #490e51;
}

.button-row a .button2:hover {
  background-color: #490e51;
  color: white;
}

.imgsection {
  display: flex;
  justify-content: center;
  align-items: center;
}

.imgsection img {
  object-fit: contain;
  width: 100%;
  border-radius: 30px;
  position: relative;
  right: 5rem;
  animation: updown 2s ease-in-out infinite alternate;
}

@keyframes updown {
  0% {
    transform: translateY(0px);
  }
  20% {
    transform: translateY(-1px);
  }
  40% {
    transform: translateX(-2px);
  }
}

/*------------------------------------------project-ssection-----------------------------------*/
.line-project {
  width: 70%;
  height: 2px;
  background-color: #007bff;
  box-shadow: #007bff;
  position: relative;
  transform: translateX(355px);
  top: -35.3px;
  overflow: hidden;
  animation: line 5s forwards;
}

@keyframes line {
  0% {
    width: 0%;
  }
  100% {
    width: 71%;
  }
}
#p2 {
  margin: 0px 0px 0px 50px;
  opacity: 0.5;
  text-transform: capitalize;
}
#p1,
#last {
  margin: 50px 0px 0px 50px;
  font-size: var(--heading-fontsize);
  text-transform: capitalize;
  font-weight: 800;
  z-index: 1;
}

.container {
  padding: 50px;
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
  align-items: center;
}

.box {
  height: 20rem;
  width: 23rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  background-color: white;
  border-radius: 20px 20px 10px 10px;
  overflow: hidden;
  position: relative;
  transition: all 0.3s ease-in-out;
  opacity: 0;
  box-shadow: var(--box-shadow);
}

.fa-calculator,
.fa-hand-back-fist,
.fa-scale-unbalanced-flip {
  padding-top: 20px;
  font-size: 8rem;
}

.project-img {
  display: flex;
  border-radius: 5px 5px 5px 5px;
  justify-content: flex-start;
  justify-content: center;
}
.project-img img {
  width: 100%;
  border-radius: 5px 5px 5px 5px;
  transition: all 3s ease-in;
  box-shadow: #333;
}

.box h3 {
  margin-top: 20px; /* Adds a top margin of 20 pixels */
  font-weight: 700; /* Sets the font weight to bold */
  font-size: var(--h3-fontsize);
}

.box p {
  padding: 10px 30px 10px 30px;
  font-size: var(--font-size);
  color: #424242;
  line-height: var(--line-height);
}
.menu {
  height: 0;
  width: 100%;
  border-radius: 10px;
  align-items: center;
  justify-content: center;
  position: relative;
  gap: 20px;
  transition: all 0.4s ease-in-out;
  background-color: rgba(128, 0, 128, 0.769);
  box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.2);
  position: absolute;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  backdrop-filter: blur(10px);
}

.date {
  display: flex;
  justify-content: center;
  align-items: center;
}

.top-box {
  text-align: center;
}

.date i {
  color: white;
}
.hover-box {
  display: flex;
  flex-direction: row;
  gap: 40px;
}
.code {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.menu p {
  padding: 5px;
  color: white;
}
.code i {
  background-color: purple;
  padding: 10px;
  color: white;
  border-radius: 50%;
  box-sizing: border-box;
  border: 1px solid;
}

.code:hover i {
  background-color: white;
  color: purple;
}

.box:hover .menu {
  display: flex;
  height: 20rem;
  transition: all 0.4s ease;
}
.box:not(:hover) .menu {
  transition: all 0.6s ease;
}
/*-----------------------------------------------------about-section-----------------------------------*/

.about-section {
  display: flex;
  padding-top: 30px;
  padding-left: 20px;
  align-items: flex-start;
}

.aboutt a,
.experience a,
.internship a,
.educationn a {
  color: initial;
  font-weight: normal;
  text-decoration: none;
}
.myself {
  height: 80vh;
  display: flex;
  padding-left: 50px;
  margin-bottom: 80px;
  margin-top: 20px;
}
.aboutt {
  width: 16rem;
  display: flex;
  flex-direction: column;
  position: relative;
  top: -5rem;
  justify-items: flex-start;
}

#hi {
  font-size: 14px;
}

.aboutt::before {
  content: "01";
  font-size: 7rem;
  opacity: 0.05;
  position: relative;
  left: -20px;
  top: 4rem;
  font-weight: bold;
}

.myself p {
  margin-top: 0px;
  font-size: var(--font-size);
  line-height: var(--line-height);
  opacity: 0.8;
}
.experience {
  display: flex;
  justify-content: flex-end;
  margin-left: 30px;
  flex-direction: column;
  width: 18rem;
}

.myself h3 {
  font-size: 1.5rem;
  color: purple;
}

.aboutt h3::first-letter,
.internship h3::first-letter,
.educationn h3::first-letter,
.internship h3::first-letter,
.experience h3::first-letter {
  font-size: 2.5rem;
  color: #8e24aa;
}

.experience::before {
  content: "02";
  font-size: 7rem;
  opacity: 0.05;
  position: relative;
  left: -20px;
  top: 4rem;
  font-weight: bold;
}
.internship::before {
  content: "03";
  font-size: 7rem;
  opacity: 0.05;
  position: relative;
  left: -20px;
  top: 4rem;
  font-weight: bold;
}

.internship {
  width: 17rem;
  display: flex;
  flex-direction: column;
  position: relative;
  top: -5rem;
  padding-top: 0px;
  position: relative;
}
.educationn::before {
  content: "04";
  font-size: 7rem;
  opacity: 0.05;
  position: relative;
  left: -20px;
  top: 4rem;
  font-weight: bold;
}

.educationn {
  display: flex;
  justify-content: flex-end;
  margin-left: 40px;
  flex-direction: column;
  position: relative;
  width: 17rem;
}
.myself #hi::first-letter {
  font-size: 3rem;
}
#hi {
  font-size: 2rem;
  text-transform: capitalize;
  font-weight: 500;
}
#paragraph-two {
  margin: 10px 0px 0px 0px;
}
#paragraph-three {
  margin: 10px 0px 0px 0px;
}
/*-----------------------------------------------------skills-section-----------------------------------*/

.cover {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 10px 0px 0px 0px;
  border-radius: 10px;
  background: whitesmoke; /* fallback for old browsers */

  box-shadow: var(--box-shadow);
  border: 1px solid slateblue;
}
.skills-section {
  padding: 20px 50px 0px 50px;
  display: flex;
  text-align: center;
}

.skill-header {
  font-size: var(--h3-fontsize);
  font-weight: bold;
  margin-bottom: 20px;
}

.skillicon {
  box-shadow: 0px 0px 10px rgba(10, 10, 10, 0.4);
  width: 80px;
  border-radius: 8px;
  height: 80px;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: white;
}

.skills-section p {
  color: #333;
}
.row-two {
  display: flex;
  align-items: center;
  justify-content: center;

  position: relative;
  column-gap: 10px;
  padding: 0px 10px 20px 10px;
}

.row-three {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50vh;
  padding-bottom: 20px;
  column-gap: 10px;
}

.row-items {
  position: relative;
  transition: all 0.3s ease;
  cursor: pointer;
}

.row-items i {
  font-size: 3rem;
}

.row-items:hover {
  transform: translateY(-3px);
}

.row-items p {
  text-align: center;
  padding-top: 5px;
  text-transform: capitalize;
}

.row-items p {
  text-align: center;
  font-size: var(--font-size);
}
.skills-score {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.skill-box {
  display: flex;
}

.skill {
  width: 150px;
  height: 150px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  border-radius: 50%;
}

.outer {
  height: 110px;
  width: 110px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
}

.inner {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 90px;
  width: 90px;
  border-radius: 50%;
  box-shadow: inset 4px 4px 6px -1px rgba(0, 0, 0, 0.2),
    inset -4px -4px 6px -1px rgba(225, 225, 225, 0.7),
    -0.5px -0.5px 0px rgba(225, 225, 225, 1),
    0.5px 0.5px 0px rgba(0, 0, 0, 0.15), 0px 12px 10px -10px rgba(0, 0, 0, 0.05);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
}
#html,
#css,
#javascript {
  font-weight: 700;
  color: #555;
}
circle {
  fill: none;
  stroke: url(#GradientColor);
  stroke-width: 12px;
  stroke-dasharray: 315;
  stroke-dashoffset: 315;
  animation: round 2s linear forwards;
}

@keyframes round {
  100% {
    stroke-dashoffset: 63;
  }
}
.javascript {
  animation: javascript 2s linear forwards;
}

@keyframes javascript {
  100% {
    stroke-dashoffset: 157;
  }
}
.css {
  animation: css 2s linear forwards;
}
@keyframes css {
  100% {
    stroke-dashoffset: 103;
  }
}
.skillicon:hover .round {
  animation: animate-circle 1s linear forwards;
}
#this-css:hover .css {
  animation: animate-circle-css 1s linear forwards;
}
#this-js:hover .javascript {
  animation: animate-circle-js 1s linear forwards;
}
@keyframes animate-circle {
  100% {
    stroke-dashoffset: 63;
  }
}
@keyframes animate-circle-css {
  100% {
    stroke-dashoffset: 103;
  }
}
@keyframes animate-circle-js {
  100% {
    stroke-dashoffset: 157;
  }
}
svg {
  position: absolute;
  left: 15px;
  top: 3px;
}
#text {
  font-weight: 100;
  font-size: 14px;
  text-transform: capitalize;
  font-family: "Gill Sans", "Gill Sans MT", Calibri, "Trebuchet MS", sans-serif;
}

/* Add these rules to the existing CSS */
.html.hover {
  width: 90%;
}
.css.hover {
  width: 80%;
}
.java.hover {
  width: 50%;
}
.python.hover {
  width: 20%;
}
.c.hover {
  width: 40%;
}
.git.hover {
  width: 30%;
}
/*-----------------------------------------------------gallary-section-----------------------------------*/
.gallary {
  height: 455px;
  overflow: hidden;
  background-color: white;
  margin-top: 50px;
}

.gallary-box {
  display: flex;
  gap: 60px;
  overflow: hidden;
  padding: 30px 50px 60px 100px;
  align-items: center;
  justify-content: center;
  position: absolute;
  transform: translateX(-100%);
  overflow: hidden;
}

.description h3 {
  font-size: 30px;
  color: purple;
  font-weight: 900;
}
.gallary-box img {
  width: 35%;
  cursor: pointer;
  border-radius: 5px 5px 5px 5px;
  transition: all 0.2s ease-in;
  box-shadow: #333;
  object-fit: scale-down;
  animation: updown 2s ease-in-out infinite;
  padding: 10px;
  filter: drop-shadow(5px 5px 10px #555);
}
.description {
  transition: all 0.2s ease-in;
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: 100%;
}
.description p {
  color: #555;
  padding-top: 10px;
  font-size: var(--font-size);
  line-height: var(--line-height);
}
#prize {
  padding-top: 10px;
  font-weight: 500;
  color: black;
  font-size: 16px;
}
.description li {
  color: #555;
}
/*--------------------------------------------------contact-section------------------------------------------*/
.contact-section {
  margin-top: 20px;
  display: flex;
  z-index: 1;
  padding-left: 40px;
  z-index: 2;
}
.details-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding-left: 10rem;
}
.contact-page {
  background: purple;
  border-radius: 30px 30px 0px 0px;
  z-index: 2;
  position: relative;
}

#contact-form {
  display: flex;
  flex-direction: column;
  gap: 30px;
}
.name,
.email,
.message {
  color: white;
  display: flex;
  flex-direction: column;
  font-size: 1rem;
  font-family: "Gill Sans", "Gill Sans MT", Calibri, "Trebuchet MS", sans-serif;
}

#contact-form input,
textarea {
  width: 25rem;
  outline: none;
  border: none;
  color: white;
  z-index: 0;
  background-color: transparent;
  border-bottom: 2px solid white;
  padding: 5px 0px 0px 0px;
}
#message {
  border-color: white;
}
label {
  padding-bottom: 10px;
}
textarea {
  width: 100%;
  height: 100px;
  max-width: 25rem;
  max-height: 80px;
  min-width: 25rem;
  min-height: 80px;
  resize: none;
  padding: 10px 5px 0px 0px;
  overflow-y: auto;
}

textarea::-webkit-scrollbar {
  width: 2px;
  background-color: #8e24aa;
}
textarea::-webkit-scrollbar-track {
  background: transparent;
}
textarea::-webkit-scrollbar-thumb {
  height: 40px;
  border-radius: 10px;
  border: 2px solid #f1f1f1;
}

input[type="text"],
input[type="email"],
textarea {
  caret-color: #ffffff;
}
input::placeholder {
  color: #a7a3a3;
}

textarea::placeholder {
  color: #a7a3a3;
}

#contact-form button {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 10rem;
  background-color: #cbc8c8;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
  align-self: flex-end;
  padding: 8px;
  font-weight: 500;
  gap: 6px;
  transition: all 0.5s ease-in-out;
  cursor: pointer;
  transition: background-color 0.3s;
  color: black;
  outline: none;
  border-radius: 30px;
  box-sizing: border-box;
  border: none;
  border: 1px solid purple;
  overflow: hidden;
}

#contact-form button i {
  transform: translateX(70px);
  transition: all 0.5s ease-in-out;
}

#contact-form button p {
  transform: translateX(9px);
  transition: all 0.5s ease-in-out;
}
#contact-form button .fa-envelope-circle-check {
  font-size: 1rem;
}
#contact-form button:active {
  background-color: purple;
}
#contact-form button:focus {
  background-color: green;
  color: white;
}
#connect {
  text-align: center;
}
#contact-form button:hover p {
  transform: translateX(-3px);
}
#contact-form button:hover i {
  transform: translateX(4px);
  color: white;
}
#contact-form button:hover {
  background-color: #8e24aa;
  border: 1px solid white;
  color: white;
}
#contact-form button:not(:hover) p {
  transition: all 0.3s ease-in-out;
}
#contact-form button:not(:hover) i {
  transition: all 0.3s ease-in-out;
}
.fa-handshake {
  font-size: 8rem;
  text-align: center;
  margin-top: 10px;
  color: #cbc8c8;
}
.personal {
  align-items: center;
  justify-content: center;
  gap: 20px;
  color: whitesmoke;
  display: flex;
}

.personal i {
  font-size: 1.5rem;
  color: #cbc8c8;
}
.personal-contact {
  display: flex;
  flex-direction: column;
  padding-top: 20px;
  align-items: flex-start;
  gap: 15px;
}

.contact-me {
  overflow: hidden;
  padding: 20px 20px 30px 20px;
  display: flex;
  border-radius: 10px;
}

button[type="submit"]:disabled {
  background-color: #ccc;
  color: #666;
  cursor: not-allowed;
}

.line {
  height: 18rem;
  width: 1px;
  background-color: white;
  margin-left: 10rem;
}
.contact-para {
  flex-direction: column;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px;
  gap: 3rem;
}
.wrapper-icons {
  display: flex;
  flex-direction: column;
  z-index: 111;
  align-self: center;
  justify-content: center;
  gap: 10px;
}

.wrapper {
  max-width: 920px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: repeat(1, 1fr);
  gap: 10px;
  position: relative;
}

#last::after {
  content: "";
  position: relative;
  height: 5px;
  width: 50px;
  border-radius: 10px;
  background-color: white;
  top: -5px;
  display: block;
}

.wrapper a .button {
  z-index: 1;
  height: 40px;
  width: 40px;
  overflow: hidden;
  background-color: #cbc8c8;
  border-radius: 50px;
  cursor: pointer;
  box-shadow: 2px 2px 4px 2px rgba(0, 0, 0, 0.4);
  transition: all 0.2s ease-out;
}
.wrapper .button:hover {
  box-sizing: border-box;
  transform: translateY(-3px);
}
.wrapper a .button .icon {
  display: inline-block;
  height: 40px;
  width: 40px;
  text-align: center;
  border-radius: 50px;
  box-sizing: border-box;
  z-index: 1;
  transition: all 0.5s ease-out;
  box-shadow: var(--box-shadow);
}
.wrapper .button .icon i {
  font-size: 20px;
  line-height: 40px;
  font-weight: bold;
  transition: all 0.3s ease-out;
}
.icon .fa-github {
  color: black;
}

#connect {
  font-size: 18px;
  font-family: cursive;
  color: white;
}
.message-section {
  display: flex;
  gap: 10px;
  margin-top: 20px;
  position: relative;
}
.send-message {
  display: flex;
  align-items: center;
  border-radius: 10px;
  gap: 5px;
  height: 25px;
  width: 25px;
  background-color: #a7a3a3;
  padding: 4px 4px 4px 8px;
  transition: all 0.2s ease-in-out;
  overflow: hidden;
}

.send-message:hover {
  width: 9rem;
}
.Linkedin:hover {
  width: 6rem;
}
.send-message i {
  font-size: 1.5rem;
  z-index: 99999;
}
.send-message:hover #message {
  transform: translateX(0px);
  transition: all 0.5s ease-in-out;
}
#contact-form button:not(:hover) p {
  transition: all 0.3s ease-in-out;
}
.send-message:not(:hover) #message {
  transform: translateX(-150px);
  transition: all 0.2s ease-in-out;
}

#heart {
  animation: color 5s infinite ease-in-out alternate;
}

@keyframes color {
  0% {
    color: purple;
  }

  30% {
    color: orangered;
  }

  60% {
    color: #0861fd;
  }

  90% {
    color: green;
  }

  100% {
    color: purple;
  }
}
footer {
  background-color: rgb(13, 13, 13);
  display: flex;
  align-items: center;
  flex-direction: column;
  padding: 30px;
}

footer p {
  color: #666;
}
footer ul {
  margin: 20px 0px 20px 0px;
  display: flex;
  gap: 5px;
  list-style: none;
}

footer li {
  margin-right: 20px;
  align-items: center;
}

footer ul a {
  color: #ccc;
  text-decoration: none;
  border: 3px salmon;
}

footer a:hover {
  color: #fff;
}
.button1:active,
button:active,
.cta-button:active {
  background-color: fuchsia;
  box-shadow: inset 0 4px 10px rgba(0, 0, 0, 0.5);
  scale: 0.9;
}

.button1:focus,
button:focus {
  outline: none;
  box-shadow: 0 0 0 2px #51a7e8;
}

#p1::after {
  content: "";
  position: relative;
  height: 4px;
  width: 45px;
  border-radius: 10px;
  background-color: purple;
  top: -8px;
  transition: all 0.9s ease-in-out;
  display: block;
}
.blogs {
  display: flex;
  gap: 30px;
  padding-bottom: 40px;
  height: 40px;
}

.blog {
  outline: none;
  padding: 1px 10px 1px 10px;
  border-radius: 30px;
  cursor: pointer;
  width: 8.5rem;
  color: black;
  font-size: 14px;
  text-align: center;
  text-decoration: none;
  display: flex;
  background-color: #cbc8c8;
  justify-content: center;
  align-items: center;
  height: 30px;
  transition: all 0.3s ease-in-out;
  overflow: hidden;
}
.blog p {
  transform: translateX(5px);
}
.blog i {
  transform: translateX(40px);
  transition: all 0.3s ease-in-out;
  font-weight: 900;
  color: black;
}

.blog:hover p {
  transform: translateX(-5px);
  font-size: 14px;
  transition: all 0.3s ease-in;
}

.blog:not(:hover) p {
  transition: all 0.3s ease-in-out;
}

.blog:hover i {
  transform: translateX(0px);
  transition: all 0.3s ease-in-out;
}

.blog:not(:hover) i {
  transition: all 0.2s ease-in-out;
}

.blog:active {
  background-color: purple;
}

.blog:focus {
  background-color: #f00;
  /* color on click */
}
.animation-effect {
  opacity: 1;
  /* Start with full opacity */
  transition: opacity 0.5s ease-in-out;
  /* Fade in/out effect */
}

.animation-effect.hide {
  opacity: 0;
  /* Fade out to 0 */
}

.animation-effect.show {
  animation: fadeIn 1.2s ease-in-out;
  transition: opacity 0.5s ease-in-out;
  /* Entrance animation */
}

@keyframes fadeIn {
  0% {
    opacity: 0;
    /* scale: 0.8; */
    transform: translateY(50px);
    /* Translate up */
  }

  100% {
    opacity: 1;
    /* scale: 1; */
    transform: translateY(0);
    /* Reset translation */
  }
}
.zoom-effect {
  scale: 1; /* Default scale */
  transition: scale 0.5s ease-in-out, opacity 0.5s ease-in-out; /* Smooth transition for scale and opacity */
  opacity: 1; /* Ensure opacity is set */
}

.zoom-effect.zoom-in {
  animation: zoomIn 1.2s ease-in-out forwards; /* Entrance animation */
}

@keyframes zoomIn {
  0% {
    scale: 0.8; /* Start slightly smaller */
    opacity: 0; /* Start transparent */
  }
  100% {
    scale: 1; /* End at original size */
    opacity: 1; /* End fully visible */
  }
}
.dark-mode {
  display: flex;
  align-items: center;
  height: 20px;
  width: 50px;
  padding: 2px 2px;
  background-color: #e68a27;
  border-radius: 40px;
  cursor: pointer;
  border: 1px solid orange;
  overflow: hidden;
}

.circle {
  position: relative;
  display: flex;
  align-items: center;
  height: 18px;
  width: 18px;
  border-radius: 50%;
  justify-content: center;
  transition: transform 0.5s ease, background-color 0.5s ease;
  transition: all 0.5s ease-in-out;
  /* Smooth transition */
}

.mini-circle {
  height: 15px;
  width: 15px;
  border-color: transparent;
  border-radius: 50%;
  background-color: yellow;
  position: relative;
  animation: glow 1.5s infinite alternate;
}

@keyframes glow {
  0% {
    box-shadow: 0 0 5px yellow, 0 0 10px yellow, 0 0 15px yellow;
  }

  100% {
    box-shadow: 0 0 10px yellow, 0 0 20px yellow, 0 0 30px yellow;
  }
}

.transformed {
  transform: translateX(15px) rotate(360deg);
  background-color: rgb(20, 19, 19);
}

.dot {
  width: 2px;
  height: 2px;
  border-radius: 50%;
  box-shadow: 0 0 10px white, 0 0 00px yellow, 0 0 30px yellow;
  background-color: white;
  position: relative;
  display: none;
}

/* Define unique animations for each dot */
@keyframes moveDot1 {
  25% {
    transform: translate(20px, -20px);
  }

  50% {
    transform: translate(30px, 10px);
  }

  75% {
    transform: translate(10px, -30px);
  }
}

@keyframes moveDot2 {
  25% {
    transform: translate(-20px, 10px);
  }

  50% {
    transform: translate(-15px, 10px);
  }

  75% {
    transform: translate(-10px, 30px);
  }
}

@keyframes moveDot3 {
  25% {
    transform: translate(30px, -20px);
  }

  50% {
    transform: translate(-20px, -10px);
  }

  75% {
    transform: translate(10px, 20px);
  }
}

@keyframes moveDot4 {
  25% {
    transform: translate(-10px, 30px);
  }

  25% {
    transform: translate(-10px, 35px);
  }

  75% {
    transform: translate(-30px, 10px);
  }
}

@keyframes moveDot5 {
  25% {
    transform: translate(20px, -10px);
  }

  50% {
    transform: translate(-20px, 20px);
  }

  75% {
    transform: translate(10px, -30px);
  }
}

@keyframes moveDot6 {
  25% {
    transform: translate(-25px, 20px);
  }

  50% {
    transform: translate(15px, -10px);
  }

  75% {
    transform: translate(20px, 30px);
  }
}

@keyframes moveDot7 {
  25% {
    transform: translate(30px, -20px);
  }

  50% {
    transform: translate(-30px, 10px);
  }

  75% {
    transform: translate(18px, 20px);
  }
}

@keyframes moveDot8 {
  25% {
    transform: translate(-10px, 30px);
  }

  50% {
    transform: translate(10px, -20px);
  }

  75% {
    transform: translate(-20px, 10px);
  }
}

/* Assign unique animations to each dot */
.dot1 {
  animation: moveDot1 24s infinite ease-in-out alternate;
  top: 2px;
  left: -5px;
}

.dot2 {
  animation: moveDot2 22s infinite ease-in-out alternate alternate;
  top: px;
  left: -2px;
}

.dot3 {
  animation: moveDot3 24s infinite ease-in-out alternate;
  top: 5px;
  left: -15px;
}

.dot4 {
  animation: moveDot4 26s infinite ease-in-out alternate;
  top: 6px;
  left: -4px;
}

.dot5 {
  animation: moveDot5 29s infinite ease-in-out alternate;
  top: -2px;
  left: 1px;
}

.dot6 {
  animation: moveDot6 21s infinite ease-in-out alternate;
  top: 2px;
  left: -1px;
}

.dot7 {
  animation: moveDot7 55s infinite ease-in-out alternate;
  top: 2px;
  left: -2px;
}

.dot8 {
  animation: moveDot8 30s infinite ease-in-out alternate;
  top: -3px;
  left: 8px;
}
/* Container for the freelance section */
.freelance-section {
  position: relative;
  background-image: url("rear-view-programmer-working-all-night-long (1).jpg"); /* Replace with your image URL */
  background-size: cover;
  background-position: center;
  color: white;
  padding: 80px 20px;
  text-align: center;

  z-index: 0;
}

/* Overlay to improve readability */
.freelance-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(2, 2, 2, 0.7); /* Black overlay with opacity */
  z-index: 1;
}

/* Content wrapper to ensure content is above overlay */
.freelance-content {
  position: relative;
  z-index: 2;
}

/* Title styling */
.freelance-content h2 {
  font-size: var(--heading-fontsize);
  margin-bottom: 20px;
  line-height: 2.3rem;
}

/* Subtitle styling */
.freelance-content p.subtitle {
  font-size: var(--font-size);
  margin-bottom: 40px;
  max-width: 800px;
  margin: 0 auto;
  line-height: var(--line-height);
}

/* Service grid layout */
.services-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  margin-top: 30px;
}

/* Service card styling */
.service-card {
  background: linear-gradient(
    135deg,
    rgba(58, 28, 113, 0.9),
    rgba(25, 23, 24, 0.9),
    rgba(58, 57, 56, 1)
  );
  border-radius: 8px;
  padding: 20px;
  max-width: 100%;
  text-align: left;
  color: #dcdbdb;
  border: 1px solid white;
  box-shadow: var(--box-shadow);
}

/* Service card heading */
.service-card h3 {
  font-size: var(--h3-fontsize);
  margin-bottom: 10px;
  color: white;
}

/* Service card paragraph */
.service-card p {
  font-size: var(--font-size);
  line-height: var(--line-height);
}

/* Call-to-action button */
.cta-button {
  display: inline-block;
  margin-top: 40px;
  padding: 15px 30px;
  background-color: #ff6347; /* Accent color */
  color: white;
  text-decoration: none;
  font-weight: bold;
  border-radius: 5px;
  transition: background-color 0.3s ease;
}

/* Button hover effect */
.cta-button:hover {
  background-color: #ff4500; /* Darker accent color */
}
.splash {
  position: fixed;
  top: 0;
  left: 0;
  color: white;
  font-size: 20px;
  font-weight: 600;
  font-family: sans-serif;
  background-color: black;
  text-align: center;
  width: 100%;
  height: 80vw;
  display: flex;
  justify-content: center;
  z-index: 999;
}
.fadein {
  position: relative;
  top: 20%;
  align-items: center;
  overflow: hidden;
  display: flex;
  height: 50px;
  padding-right: 10px;
  opacity: 0;
  animation: fadein 1.5s ease-in-out forwards;
  transition: opacity 1s ease;
}
@keyframes fadein {
  to {
    opacity: 1;
  }
}
.splash.display-none {
  top: 0;
  left: 0;
  position: fixed;
  color: white;
  font-size: 20px;
  font-weight: 600;
  font-family: sans-serif;
  background-color: black;
  text-align: center;
  width: 100%;
  height: 90vw;
  line-height: 40vw;
  transition: all 0.5s;
  animation: upGoing 2s cubic-bezier(0.135, 0.08, 0.68, 1.67) forwards;
}
@keyframes upGoing {
  100% {
    top: -100vw;
  }
}

.display-header {
  display: none;
}
.display {
  display: block;
  transition: opacity 1.5s ease-in;
  animation: visible 1.5s ease-in;
}
@keyframes visible {
  0% {
    opacity: 0;
  }

  100% {
    opacity: 1;
  }
}
#welcome {
  z-index: 999;
  background-color: black;
}
#my {
  position: relative;

  transform: translateX(-150px);
  z-index: -1;
  animation: slideRight 1s ease 1s forwards;
}
@keyframes slideRight {
  to {
    transform: translateX(5px);
  }
}
