*{
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}
html{
  scroll-behavior: smooth;
  
}
body {
  width: 100%;
  height: 100%;
  font-family: "Roboto", serif;
}
body::-webkit-scrollbar{
	display:none;
}
.nav-part2 .option {
  padding: 10px 20px;
  border: 1px solid #5b5757;
  border-radius: 50px;
  font-weight: 500;
  font-size: 14px;
  position: relative;
  transition: all ease 0.4s;
  overflow: hidden;
  display: inline-block; /* Ensures proper hover behavior */
  z-index: 1;
}
.nav-part2 .option h4 {
  color: rgb(53, 47, 47);
  position: relative;
  z-index: 9;
}
.nav-part2 .option:hover h4 {
  color: white;
}
.nav-part2 .option::after {
  content: "";
  position: absolute;
  height: 100%;
  width: 100%;
  left: 0;
  bottom: -100%;
  border-radius: 50%;
  background-color: black;
  transition: all ease 0.4s;
  z-index: 0; /* Prevents overlap */
}
.nav-part2 .option:hover::after {
  bottom: 0;
  border-radius: 0;
  color: white;
}
/* Dropdown styles for Tools */
.nav-part2 .group {
  position: relative; /* Required for absolute dropdown positioning */
}

.nav-part2 .group:hover .absolute {
  opacity: 1;
  visibility: visible;
  transform: scaleY(1);
}

.nav-part2 .group .absolute {
  opacity: 0;
  visibility: hidden;
  transform: scaleY(0);
  transform-origin: top;
  transition: opacity 0.3s ease, transform 0.3s ease;
}
.hero{
  position: relative;
  z-index: -1;
}
#header{
  position: relative;
  z-index: -1;
}
#header #header-text{
  z-index: -1;
}
.hero .container{
  z-index: -1;
}
#input-area{
  position: relative;
  z-index: -1;
}
section{
  position: relative;
  z-index: -1;
}
#mobile-menu {
  transition: all ease 0.4s;
  position: absolute;
  right: 0%;
  top: 0%;
  z-index: 9999;
 
}

.left{
  position: relative;
  z-index: -1;
}
.right{
position: relative;
z-index: -1;
}
#mobile-menu a {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid white;
  z-index: 10000;
}
#mobile-menu a::after {
  content: "";
  position: absolute;
  opacity: 0;
  z-index: -1;
  height: 100%;
  width: 100%;
  left: 0;
  top: -100%;
  background-color: black;
  transition: all ease 0.4s;
}
#mobile-menu a:hover::after {
  top: 0;
  opacity: 1;
}

#mobile-menu a:hover {
  color: white;
}

.moving-text::-webkit-scrollbar {
  display: none;
}
textarea::-webkit-scrollbar{
  display: none;
}
.moving-text{
  z-index: -1;
}
.moving-text .container {
  display: flex;
  align-items: center;
  justify-content: center;
z-index: -1;
  animation-name: move;
  animation-duration: 10s;
  animation-timing-function: linear;
  animation-iteration-count: infinite;
}
.moving-text h1 {
  font-weight: 500;
  font-size: 4vw;
}
.moving-text .container .circle {
  background-color: rgb(20, 63, 97);

  border-radius: 50%;
  margin: 1vw 2vw;
}

.workbox {
  padding: 60px 60px 72px;
  height: 55vh;
  border: 1px solid rgb(67, 65, 65);
  transition: all 0.2s;
  position: relative;
}
.workbox .work-icon {
  color: rgb(34, 32, 32);
  transition: all 0.2s;
}
h3.h3 {
  font-size: 24px;
  line-height: 1.4;
}
.workbox h3 {
  margin: 42px 0 24px;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  transition: all 0.3s;
}
.workbox .work-desc {
  overflow: hidden;
  -webkit-box-orient: vertical;
  transition: all 0.4s;
  opacity: 0;
}

.workbox::before {
  position: absolute;
  height: 100%;
  width: 100%;
  content: "";
  z-index: -1;
  top: 0;
  left: 0;
  background-color: black;
  background-repeat: no-repeat;
  transition: all 1s linear;
  transition-timing-function: cubic-bezier(0.075, 0.82, 0.165, 1);
  transition-property: transform;
  transform: scaleX(0);
  transform-origin: left;
}
.workbox:hover .work-desc {
  opacity: 1;
  color: rgb(255, 247, 247);
}
.workbox:hover h3,
.workbox:hover .work-icon {
  color: rgb(255, 247, 247);
}
.workbox:hover::before {
  transform: scaleX(1);
  transform-origin: right;
}
@media only screen and (max-width: 768px) {
  .workbox {
    padding: 40px 40px 62px;
    height: 30vh;
  }
  h3.h3 {
    font-size: 20px;
    line-height: 1;
  }
  .workbox h3 {
    margin: 32px 0 14px;
  }
}
@media only screen and (max-width: 1199.98px) {
  .workbox {
    padding: 20px 20px 42px;
  }
}

@keyframes move {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-100%);
  }
}
.elem {
  overflow: hidden;
}
.overlay {
  transition: all ease 0.2s;
}

.elem:hover .overlay {
  top: 0;
}

.loader-1 {
  position: fixed;
  top: 0;
  transition: all ease 1s;
  z-index: 999;
}
.loader-1 .text {
  opacity: 0;
  scale: 0;
  animation-name: load_anim;
  animation-duration: 1.5s;
  animation-timing-function: linear;
  animation-delay: 0.5s;
}

@keyframes load_anim {
  0% {
    scale: 0;
    opacity: 0;
  }
  10% {
    scale: 1;
    opacity: 1;
  }
  90% {
    scale: 1;
    opacity: 1;
  }
  100% {
    scale: 0;
    opacity: 0;
  }
}

.text-area {
  transition: box-shadow 0.3s, border 0.3s; /* Smooth transition */
}
#convert-button {
  animation: shadowEffect 3s ease-in-out infinite,
    borderEffect 3s ease-in-out infinite;
}

.text-area.typing {
  animation: shadowEffect 3s ease-in-out infinite,
    borderEffect 3s ease-in-out infinite;
}

.text-area.clicked {
  animation: shadowEffect 3s ease-in-out infinite,
    borderEffect 3s ease-in-out infinite;
}
.file-converter{
	 animation: shadowEffect 3s ease-in-out infinite,
    borderEffect 3s ease-in-out infinite;
}

@keyframes shadowEffect {
  0% {
    box-shadow: 0 0 5px rgba(255, 0, 0, 0.7);
  }
  25% {
    box-shadow: 0 0 5px rgba(0, 255, 0, 0.7);
  }
  50% {
    box-shadow: 0 0 5px rgba(0, 0, 255, 0.7);
  }
  75% {
    box-shadow: 0 0 5px rgba(255, 255, 0, 0.7);
  }
  100% {
    box-shadow: 0 0 5px rgba(255, 0, 255, 0.7);
  }
}

@keyframes borderEffect {
  0% {
    border: 2px solid red;
  }
  25% {
    border: 2px solid green;
  }
  50% {
    border: 2px solid blue;
  }
  75% {
    border: 2px solid yellow;
  }
  100% {
    border: 2px solid purple;
  }
}

.cursor {
  height: 70px;
  width: 70px;
  border: 1px solid gray;
  border-radius: 50%;
  position: absolute;
  transition-duration: 200ms;
  transition-timing-function: ease-out;
  animation: cursoranim 0.5s infinite alternate;
}
.cursor::after {
  content: "";
  width: 70px;
  height: 70px;
  position: absolute;
  border: 10px solid gray;
  border-radius: 50%;
  opacity: 0.5;
  animation: cursoranim2 0.5s infinite alternate;
}

@keyframes cursoranim {
  from {
    transform: scale(1);
  }
  to {
    transform: scale(0.4);
  }
}
@keyframes cursoranim2 {
  from {
    transform: scale(1);
  }
  to {
    transform: scale(0.7);
  }
}

@keyframes cursoranim3 {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(3);
  }
  100% {
    transform: scale(1);
    opacity: 0;
  }
}
.expand {
  animation: cursoranim3 0.5s forwards;
  border: 1px solid rgba(69, 30, 30, 0.824);
}

/* Define the animation */
@keyframes click-animation {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.2);
  }
  100% {
    transform: scale(1);
  }
}

/* Add a class for the animation */
.click-animate {
  animation: click-animation 0.3s ease-in-out;
}

#progress{
  display: none;
  place-items: center;
  box-shadow: 0 0 10px rgba(0,0,0,0.2);
}
#progress-value{s
  display: block;
  height: calc(100% - 1.5vw);
  width: calc(100% - 1.5vw);
  background-color: rgba(245, 245, 245, 0.459);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: black;
  font-size:5vw
}