.porfolioMain a::before {
  content: "";
  display: block;
  width: 100%;
  height: 3px;
  border-radius: 99rem;
  background-color: #59ffb9;
  position: absolute;
  bottom: -12px;
  left: 0;
  transform-origin: center;
  transform: scaleX(0);
  transition: transform 0.15s ease-in-out;
}
.porfolioMain a:focus::before,
.porfolioMain a:hover::before {
  transform: scaleX(1);
}
.porfolioMain a.active {
  color: #59ffb9;
}
.porfolioMain a.active:focus {
  color: #93ffd0;
}
.porfolioMain a.active:focus::before {
  background-color: #93ffd0;
}
.porfolioMain a.active::before {
  transform: scaleX(1);
}
/* Custom styles for animations and effects not covered by Tailwind */
.container {
  display: block;
  margin-left: auto;
  margin-right: auto;
  width: 90%;
  padding-left: 5%;
  padding-right: 5%;
}
.section:last-of-type {
  margin-bottom: 0;
}
.section_title::before {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 50%;
  width: 125%;
  transform: translateX(-50%);
  border-bottom: 3px dashed #00ff94;
}

/*
 * ==================
 * Navbar Component
 * ==================
 */
.nav_list {
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 0;
  overflow-y: scroll;
}
.nav_list-item {
  text-align: center;
  margin-bottom: 5rem;
}
.nav_list-link {
  color: #688277;
  position: relative;
  font-weight: 800;
  text-decoration: none;
  outline: none;
  font-size: 2rem;
}
.nav_list-link::before {
  content: "";
  display: block;
  width: 100%;
  height: 3px;
  border-radius: 99rem;
  background-color: #59ffb9;
  position: absolute;
  bottom: -12px;
  left: 0;
  transform-origin: center;
  transform: scaleX(0);
  transition: transform 0.15s ease-in-out;
}
.nav_list-link:focus,
.nav_list-link:hover {
  color: #59ffb9;
}
.nav_list-link:focus::before,
.nav_list-link:hover::before {
  transform: scaleX(1);
}
.nav_list-link.active {
  color: #59ffb9;
}
.nav_list-link.active:focus {
  color: #93ffd0;
}
.nav_list-link.active:focus::before {
  background-color: #93ffd0;
}
.nav_list-link.active::before {
  transform: scaleX(1);
}
.nav_hamburger-top,
.nav_hamburger-center,
.nav_hamburger-bottom {
  display: block;
  width: 95%;
  height: 3px;
  border-radius: 99rem;
  background-color: white;
  position: absolute;
  left: 50%;
  transform: translate(-50%, -50%);
}
.nav_hamburger-top {
  top: 25%;
}
.nav_hamburger-center {
  top: 50%;
}
.nav_hamburger-bottom {
  top: 75%;
}

/* Responsive navbar styles for Tailwind breakpoints */
@media only screen and (min-width: 36em) {
  .nav_list {
    height: unset;
    flex-direction: row;
    justify-content: flex-end;
    overflow-y: unset;
  }
  .nav_list-item {
    margin-bottom: 0;
    margin-right: 2rem;
  }
  .nav_list-item:last-of-type {
    margin-right: 0;
  }
  .nav_list-link {
    font-size: 1.3rem;
  }
  
  /* Header */
  .header_right {
    display: block;
    opacity: 0.3;
  }
  .header_title {
    flex-direction: row;
  }
  .header_title-1 {
    margin-right: 1.5rem;
  }
}

@media only screen and (min-width: 62.5em) {
  .header_right {
    width: 500px;
    opacity: 0.3;
    top: 35px;
  }
}

/*
 * ==================
 * Hero Header
 * ==================
 */
.header_container {
  height: 75vh;
  display: flex;
  align-items: center;
  position: relative;
}
.header_left {
  width: 100%;
  max-width: 900px;
}
.header_right {
  position: absolute;
  right: 0;
  z-index: -1;
  opacity: 0.3;
}
.header_sup-text {
  display: inline-flex;
  font-weight: 600;
  font-size: 1.2rem;
}
.header_title-1,
.header_title-2 {
  display: block;
  position: relative;
}
.header_title-1::before,
.header_title-1::after,
.header_title-2::before,
.header_title-2::after {
  content: attr(data-role);
  position: absolute;
  left: 2px;
  top: 0;
  color: white;
  background: #111111; /* To create an illusion that the text is moving */
  overflow: hidden;
  clip: rect(0, 900px, 0, 0); /* Only show some part of the clipped-text */
}

.header_title-1::before,
.header_title-2::before {
  text-shadow: -5px 0 #59ffb9;
  animation: distort-1 2s infinite linear alternate-reverse;
}

.header_title-1::after,
.header_title-2::after {
  text-shadow: -5px 0 #7218fa;
  animation: distort-2 2s infinite linear alternate-reverse;
}

.header_msg {
  font-weight: 300;
  font-size: 1.6rem;
  margin-top: 1.5rem;
  line-height: 1.8;
}
.header_resume:hover::before {
  width: 80%;
  height: 80%;
}
.header_resume::before {
  content: "";
  background-color: #00ff94;
  width: 120%;
  height: 120%;
  display: block;
  position: absolute;
  transition: all 0.15s ease-in-out;
  top: 50%;
  left: 50%;
  z-index: -1;
  filter: blur(30px);
  transform: translate(-50%, -50%);
}

/*
 * ==================
 * Services
 * ==================
 */
.service-cards {
  display: flex;
  flex-direction: column;
  margin-top: 10rem;
}
.service-card_box {
  margin-bottom: 7rem;
  border: 2px solid #00372b;
  padding: 1.5rem;
  border-radius: 15px;
  position: relative;
  overflow: hidden;
}
.service-card_illustration {
  display: flex;
  width: 250px;
}
.service-card_title {
  font-weight: 800;
  font-size: 2rem;
  color: #00ff94;
  margin-top: 2rem;
}
.service-card_msg {
  font-weight: 600;
  font-size: 1.4rem;
  line-height: 1.6;
}

/*
 * ==================
 * Works
 * ==================
 */
.works {
  margin-top: 10rem;
  display: flex;
  flex-wrap: wrap;
}
.work {
  width: 100%;
  padding: 2%;
}
.work_box {
  border-radius: 7px;
  padding: 1.5rem;
  background-color: #26222d;
}
.work_img-box {
  width: 100%;
  display: flex;
  border-radius: 7px;
  overflow: hidden;
}
.work_img-box img {
  width: 100%;
}
.work_title {
  margin-top: 1rem;
  font-weight: 700;
}
.work_badges {
  display: flex;
  margin-top: 2rem;
  overflow: hidden;
}
.work_badge {
  background-color: #59ffb91c;
  border-radius: 10px;
  font-weight: 700;
  font-size: 1.2rem;
  padding: 1rem;
  margin-right: 1rem;
}

/*
 * ==================
 * Contact
 * ==================
 */
.contact {
  display: flex;
  width: 100%;
  margin-top: 10rem;
  justify-content: space-between;
  padding-bottom: 5rem;
}
.contact_form {
  width: 100%;
  max-width: 450px;
  margin-left: auto;
  margin-right: auto;
}
.contact_illustration {
  position: relative;
}
.contact_illustration::before {
  content: "";
  position: absolute;
  width: 95%;
  height: 95%;
  border-radius: 50%;
  background-color: #64fcd9;
  display: block;
  z-index: -1;
  filter: blur(150px);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
.contact_submit-btn:hover::before {
  transform: scale(0.3);
}
.contact_submit-btn::before {
  content: "";
  position: absolute;
  width: 80%;
  height: 80%;
  background-color: #64fcd9;
  filter: blur(150px);
  left: 0;
  top: 0;
  z-index: -1;
  transform-origin: center;
  transition: all 0.35s ease-in-out;
}

/*
 * ==================
 * Footer
 * ==================
 */
.footer_link {
  color: #64fcd9;
}

/*
 *
 * Animations
 *
 */
@keyframes distort-1 {
  0% {
    clip: rect(57px, 9999px, 46px, 0);
  }
  5% {
    clip: rect(15px, 9999px, 56px, 0);
  }
  10% {
    clip: rect(6px, 9999px, 70px, 0);
  }
  15% {
    clip: rect(40px, 9999px, 80px, 0);
  }
  20% {
    clip: rect(32px, 9999px, 44px, 0);
  }
  25% {
    clip: rect(65px, 9999px, 85px, 0);
  }
  30% {
    clip: rect(27px, 9999px, 78px, 0);
  }
  35% {
    clip: rect(59px, 9999px, 93px, 0);
  }
  40% {
    clip: rect(44px, 9999px, 77px, 0);
  }
  45% {
    clip: rect(74px, 9999px, 10px, 0);
  }
  50% {
    clip: rect(73px, 9999px, 42px, 0);
  }
  55% {
    clip: rect(32px, 9999px, 58px, 0);
  }
  60% {
    clip: rect(21px, 9999px, 54px, 0);
  }
  65% {
    clip: rect(71px, 9999px, 11px, 0);
  }
  70% {
    clip: rect(85px, 9999px, 25px, 0);
  }
  75% {
    clip: rect(83px, 9999px, 77px, 0);
  }
  80% {
    clip: rect(62px, 9999px, 52px, 0);
  }
  85% {
    clip: rect(68px, 9999px, 84px, 0);
  }
  90% {
    clip: rect(37px, 9999px, 20px, 0);
  }
  95% {
    clip: rect(10px, 9999px, 15px, 0);
  }
  100% {
    clip: rect(83px, 9999px, 28px, 0);
  }
}
@keyframes distort-2 {
  0% {
    clip: rect(20px, 9999px, 96px, 0);
  }
  5% {
    clip: rect(62px, 9999px, 2px, 0);
  }
  10% {
    clip: rect(63px, 9999px, 39px, 0);
  }
  15% {
    clip: rect(92px, 9999px, 75px, 0);
  }
  20% {
    clip: rect(54px, 9999px, 2px, 0);
  }
  25% {
    clip: rect(22px, 9999px, 96px, 0);
  }
  30% {
    clip: rect(39px, 9999px, 98px, 0);
  }
  35% {
    clip: rect(49px, 9999px, 37px, 0);
  }
  40% {
    clip: rect(90px, 9999px, 17px, 0);
  }
  45% {
    clip: rect(36px, 9999px, 57px, 0);
  }
  50% {
    clip: rect(92px, 9999px, 78px, 0);
  }
  55% {
    clip: rect(97px, 9999px, 65px, 0);
  }
  60% {
    clip: rect(69px, 9999px, 30px, 0);
  }
  65% {
    clip: rect(92px, 9999px, 13px, 0);
  }
  70% {
    clip: rect(74px, 9999px, 76px, 0);
  }
  75% {
    clip: rect(2px, 9999px, 45px, 0);
  }
  80% {
    clip: rect(30px, 9999px, 21px, 0);
  }
  85% {
    clip: rect(58px, 9999px, 34px, 0);
  }
  90% {
    clip: rect(79px, 9999px, 27px, 0);
  }
  95% {
    clip: rect(32px, 9999px, 1px, 0);
  }
  100% {
    clip: rect(87px, 9999px, 63px, 0);
  }
}
