/* Reset & basic setup */
@import url('https://fonts.googleapis.com/css2?family=Special+Gothic+Expanded+One&display=swap');

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Special Gothic Expanded One", sans-serif;
  background-color: #000;
  color: #fff;
  overflow: -moz-scrollbars-none;
  -ms-overflow-style: none;
  scrollbar-width: none;
}

body::-webkit-scrollbar {
  display: none;
}

a {
  text-decoration: none;
  color: white;
}

#loading {
  position: fixed;
  inset: 0;
  background: #000;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

.loading-text span {
  font-family: "Special Gothic Expanded One", sans-serif;
  font-size: 120px;
  color: rgba(255, 255, 255, 0.1);
  position: relative;
  display: inline-block;
  opacity: 0;
}

.loading-text span::after {
  content: attr(data-text);
  position: absolute;
  top: 0;
  left: 0;
  color: #e22662;
  opacity: 0;
}

.button {
  margin: 0;
  height: auto;
  background: transparent;
  padding: 0;
  border: none;
  cursor: pointer;
  font-size: 2em;
  position: relative;
  text-transform: uppercase;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255,255,255,0.6);
  letter-spacing: 3px;
  font-family: "Special Gothic Expanded One", sans-serif;
}

.hover-text {
  position: absolute;
  color: #e22662;
  width: 0%;
  inset: 0;
  border-right: var(--border-right) solid var(--animation-color);
  overflow: hidden;
  transition: 0.5s ease;
  -webkit-text-stroke: 1px #e22662;
  -webkit-transition: 0.5s ease;
  -moz-transition: 0.5s ease;
  -ms-transition: 0.5s ease;
  -o-transition: 0.5s ease;
}

.button:hover .hover-text {
  width: 100%;
  filter: drop-shadow(0 0 23px #e22662);
}

.lead{
  margin-bottom: 30px;
}

.shadow__btn {
  /* margin-top: 120px; */
  padding: 8px 18px;
  border: none;
  font-size: 0.9rem;
  color: #fff;
  border-radius: 7px;
  letter-spacing: 2px;
  font-weight: 600;
  text-transform: uppercase;
  transition: 0.5s;
  transition-property: box-shadow;
  background: rgb(0, 140, 255);
  box-shadow: 0 0 20px rgb(0, 140, 255);
  text-decoration: none;
}

.shadow__btn:hover {
  box-shadow: 0 0 5px rgb(0, 140, 255),
              0 0 25px rgb(0, 140, 255),
              0 0 50px rgb(0, 140, 255),
              0 0 100px rgb(0, 140, 255);
}

/* Hero mail  */
.fixed-email {
  font-family: 'Special Gothic Expanded One', sans-serif;
  position: fixed;
  left: 0;
  top: 50%;
  transform: translateY(-50%) rotate(0deg);
  transform-origin: left center;
  writing-mode: vertical-rl;
  text-orientation: mixed;
  font-size: 0.8rem;
  color:#e22662;
  text-decoration: none;
  letter-spacing: 2px;
  z-index: 999;
  transition: color 0.3s ease;
  padding: 5px;
}

.fixed-email:hover {
  cursor: pointer;
}

.dbutton {
  position: relative;
  width: 150px;
  height: 40px;
  display: flex;
  align-items: center;
  border: 1px solid #17795E;
  background-color: #209978;
  overflow: hidden;
}

.dbutton, .dbutton__icon, .dbutton__text {
  transition: all 0.3s;
}

.dbutton .dbutton__text {
  transform: translateX(22px);
  color: #fff;
  font-weight: 600;
}

.dbutton .dbutton__icon {
  position: absolute;
  transform: translateX(109px);
  height: 100%;
  width: 39px;
  background-color: #17795E;
  display: flex;
  align-items: center;
  justify-content: center;
}

.dbutton .svg {
  width: 20px;
  fill: #fff;
}

.dbutton:hover {
  background: #17795E;
}

.dbutton:hover .dbutton__text {
  color: transparent;
}

.dbutton:hover .dbutton__icon {
  width: 148px;
  transform: translateX(0);
}

.dbutton:active .dbutton__icon {
  background-color: #146c54;
}

.dbutton:active {
  border: 1px solid #146c54;
}

.group {
  transition: all 0.3s ease-in-out;
}

#mobileMenu a {
  color: white;
  text-decoration: none;
  transition: all 0.3s ease;
}

#mobileMenu a:hover {
  color: #0d6efd;
}

.hero {
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  gap: 3rem;
  padding: 1rem;
  min-height: 90vh;
}

@media (min-width: 768px) {
  .hero {
    flex-direction: row;
    gap: 5rem;
  }
}

.hero-left, .hero-right {
  flex: 1 1 100%;
}

@media (min-width: 768px) {
  .hero-left, .hero-right {
    flex: 1 1 45%;
  }
}

.hero-right {
  display: flex;
  justify-content: center;
  align-items: center;
}

.code-box {
  background-color: #1e1e1e;
  color: #dcdcdc;
  width: 100%;
  max-width: 500px;
  font-family: "Special Gothic Expanded One", sans-serif;
  font-size: 1rem;
  overflow: auto;
  border-left: 4px solid #0d6efd;
  transition: transform 0.3s ease;
}

.code-box:hover {
  transform: scale(1.03);
}

.view-projects-btn {
  transition: all 0.3s ease;
}

.view-projects-btn:hover {
  transform: scale(1.05);
  background-color: #0d6efd;
  color: white;
}

#about i {
  font-size: 30px;
}

#techstack i {
  font-size: 50px;
}

#framer {
  color: white;
}

img, video {
  max-width: 100%;
  height: auto;
  display: block;
}

@media (max-width: 640px) {
  .loading-text span {
    font-size: 12vw;
  }
  .shadow__btn {
    font-size: 0.8rem;
    padding: 6px 14px;
  }
  .dbutton {
    width: 130px;
    height: 38px;
  }
}
