/*==================== GOOGLE FONTS ====================*/
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600&display=swap');

/*[class*=' uil-']:before {
  content: '▢' !important;
}*/

.uil:before {
  content: '▢';
}


/*==================== VARIABLES CSS ====================*/
:root {
  --header-height: 4rem;
  /*========== Colors ==========*/
  /* Change favorite color */
  --hue-color: 230; /*Purple 250 - Green 142 - Blue 230 - Pink 340*/

  /* HSL color mode */
  --first-color: hsl(var(--hue-color), 69%, 62%);
  --first-color-second: hsl(var(--hue-color), 69%, 61%);
  --first-color-alt: hsl(var(--hue-color), 57%, 53%);
  --first-color-lighter: hsl(var(--hue-color), 92%, 85%);
  --title-color: hsl(var(--hue-color), 8%, 15%);
  --text-color: hsl(var(--hue-color), 8%, 45%);
  --text-color-light: hsl(var(--hue-color), 8%, 65%);
  --input-color: hsl(var(--hue-color), 70%, 96%);
  --body-color: hsl(var(--hue-color), 60%, 99%);
  --container-color: hsla(var(--hue-color), 0%, 100%, 0.7);
  --scroll-bar-color: hsl(var(--hue-color), 12%, 90%);
  --scroll-thumb-color: hsl(var(--hue-color), 12%, 80%);

  --bs-success: var(--first-color);
  --bs-info: #0dcaf0;
  --bs-warning: #ffc107;
  --bs-danger: #dc3545;

  /*========== Font and typography ==========*/
  --body-font: 'Poppins', sans-serif;

  /* .5rem = 8px, 1rem = 16px, 1.5rem = 24px ... */
  --big-font-size: 2rem;
  --h1-font-size: 1.5rem;
  --h2-font-size: 1.25rem;
  --h3-font-size: 1.125rem;
  --normal-font-size: 0.938rem;
  --small-font-size: 0.813rem;
  --smaller-font-size: 0.75rem;

  /*========== Font weight ==========*/
  --font-medium: 500;
  --font-semi-bold: 600;

  /*========== Margenes Bottom ==========*/
  /* .25rem = 4px, .5rem = 8px, .75rem = 12px ... */
  --mb-0-25: 0.25rem;
  --mb-0-5: 0.5rem;
  --mb-0-75: 0.75rem;
  --mb-1: 1rem;
  --mb-1-5: 1.5rem;
  --mb-2: 2rem;
  --mb-2-5: 2.5rem;
  --mb-3: 3rem;

  /*========== z index ==========*/
  --z-tooltip: 10;
  --z-fixed: 100;
  --z-modal: 1000;
}

/* Font size for large devices */
@media screen and (min-width: 968px) {
  :root {
    --big-font-size: 3rem;
    --hi-font-size: 2.25rem;
    --h2-font-size: 1.5rem;
    --h3-font-size: 1.25rem;
    --normal-font-size: 1rem;
    --small-font-size: 0.875rem;
    --smaller-font-size: 0.813rem;
  }
}

/*========== Variables Dark theme ==========*/
/*@media (prefers-color-scheme: dark) {
  :root {
    --first-color-second: hsl(var(--hue-color), 30%, 8%);
    --title-color: hsl(var(--hue-color), 8%, 95%);
    --text-color: hsl(var(--hue-color), 8%, 75%);
    --input-color: hsl(var(--hue-color), 29%, 16%);
    --body-color: hsl(var(--hue-color), 28%, 12%);
    --container-color: hsla(var(--hue-color), 29%, 16%, 0.85);
  }
}*/
html[theme='dark'] {
  --first-color-second: hsl(var(--hue-color), 30%, 8%);
  --title-color: hsl(var(--hue-color), 8%, 95%);
  --text-color: hsl(var(--hue-color), 8%, 75%);
  --input-color: hsl(var(--hue-color), 29%, 16%);
  --body-color: hsl(var(--hue-color), 28%, 12%);
  --container-color: hsla(var(--hue-color), 29%, 16%, 0.85);
  --scroll-bar-color: hsl(var(--hue-color), 12%, 48%);
  --scroll-thumb-color: hsl(var(--hue-color), 12%, 36%);

  --bs-danger: #a0454d;
  --bs-success: var(--first-color);
  --bs-primary: #183765;
  --bs-secondary: #313131;
  --bs-warning: #977819;
  --bs-info: #0f7083;
}
/*========== Button Dark/Light ==========*/

.nav-buttons {
  display: flex;
  align-items: center;
}

/*==================== BASE ====================*/
* {
  box-sizing: border-box;
  padding: 0;
  margin: 0;
  -webkit-text-size-adjust: none;
  text-size-adjust: none;
  -webkit-font-smoothing: subpixel-antialiased;
}

*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding: calc(var(--header-height) + 1rem);
}

body {
  margin: 0 0 var(--header-height);
  font-family: var(--body-font);
  font-size: var(--normal-font-size);
  background-color: var(--body-color);
  color: var(--text-color);
  /* transition: background-color 0.3s ease-in-out, color 0.3s ease-in-out; */
  overflow: initial; /*Firefox and Explorer*/
  overflow: overlay;
}

h1,
h2,
h3,
h4 {
  color: var(--title-color);
  font-weight: var(--font-semi-bold);
  /* transition: background-color 0.3s ease-in-out, color 0.3s ease-in-out; */
}

/*
span,
a {
  transition: background-color 0.3s ease-in-out, color 0.3s ease-in-out;
}*/

ul {
  list-style: none;
}

a {
  text-decoration: none;
}

img {
  height: auto;
  max-height: 100%;
}

* {
  -webkit-tap-highlight-color: transparent; /* remove tap highlight */
}

*:focus {
  outline: none; /* remove outline */
  box-shadow: none; /* remove box shadow */
}

/*==================== REUSABLE CSS CLASSES ====================*/
.section {
  padding: 0rem 0 4rem;
}

.section-title {
  font-size: var(--h1-font-size);
}

.section-subtitle {
  display: block;
  font-size: var(--small-font-size);
  margin-bottom: var(--mb-3);
}

.section-title,
.section-subtitle {
  text-align: center;
}

main {
  overflow: hidden;
  margin-top: var(--header-height);
}
/*==================== LAYOUT ====================*/
.container {
  max-width: 768px;
  margin-left: var(--mb-1-5);
  margin-right: var(--mb-1-5);
}

.grid {
  display: grid;
  gap: 1.5rem;
}

.header {
  width: 100%;
  position: fixed;
  top: 0;
  left: 0;
  z-index: var(--z-fixed);
  background-color: var(--body-color);
  /* transition: box-shadow 0.2s, background-color 0.3s ease-in-out, color 0.3s ease-in-out; */
}

.header.shadow {
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.15);
}

/*==================== NAV ====================*/
.nav {
  max-width: 968px;
  height: var(--header-height);
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: var(--body-color);
  /* transition: background-color 0.3s ease-in-out, color 0.3s ease-in-out; */
}

.nav-logo,
.nav-toggle {
  color: var(--title-color);
  font-size: 1.0009rem;
  font-weight: var(--font-medium);
}

.nav-logo:hover {
  color: var(--first-color);
}

.nav-toggle {
  font-size: 1.4rem;
  cursor: pointer;
  /* transition: 0.2s; */
  margin-left: var(--mb-1);
}

.nav-toggle:hover {
  color: var(--first-color);
}

@media screen and (max-width: 767px) {
  .nav-menu {
    position: fixed;
    top: var(--header-height);
    left: 0;
    width: 100%;
    background-color: var(--body-color);
    padding: 1rem 1.5rem;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.15);
    border-radius: 0 0 1.5rem 1.5rem;
    transition: 0.3s ease-in-out, color 0.3s ease-in-out;
    z-index: -1;
  }
}

.nav-list {
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.nav-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  font-size: var(--small-font-size);
  color: var(--title-color);
  font-weight: var(--font-medium);
}

.nav-link:hover {
  color: var(--first-color);
}

.nav-link .nav-icon {
  font-size: 1.5rem;
}

.nav-close {
  position: absolute;
  right: 1.3rem;
  bottom: 0.5rem;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--first-color);
}

.nav-close:hover {
  color: var(--first-color-alt);
}

/* show menu */
.nav-menu:not(.show) {
  top: -100%;
  opacity: 0;
  visibility: hidden;
}

/*==================== BUTTONS ====================*/

.button {
  display: inline-block;
  background-color: var(--first-color);
  color: #fefefe;
  padding: 1rem;
  border-radius: 0.5rem;
  font-weight: var(--font-medium);
}

.button:hover {
  background-color: var(--first-color-alt);
}

.button-icon {
  font-size: 1.25rem;
  margin-left: var(--mb-0-5);
  transition: 0.3s;
}

.button--white {
  background-color: #fefefe;
  color: var(--first-color);
}

.button--white:hover {
  background-color: #fefefe;
}

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

.button--small {
  padding: 0.75rem 1rem;
}

.button--link {
  padding: 69;
  background-color: transparent;
  color: var(--first-color);
}

.button--link:hover {
  background-color: transparent;
  color: var(--first-color-alt);
}

.button:active {
  transform: scale(0.9);
}
.button:hover .button-icon {
  transform: translateX(0.3rem);
}

/*========== SCROLL UP ==========*/

/* Show scroll */

/*========== SCROLL BAR ==========*/
::-webkit-scrollbar {
  width: 0.4rem;
  background-color: none;
  border-radius: 0.5rem;
  margin-right: 20px;
}

::-webkit-scrollbar-track {
  background: transparent;
}

::-webkit-scrollbar-thumb {
  background-color: var(--scroll-thumb-color);
  border-radius: 0.4rem;
  transition: background-color 0.3s ease-in-out;
}

::-webkit-scrollbar-thumb:hover {
  background-color: var(--text-color-light);
}

#theme-toggle:hover svg {
  transition: none;
  fill: var(--first-color);
}

#theme-toggle {
  cursor: pointer;
  background: 0;
  border: 0;
  border-radius: 50%;
  position: relative;
  isolation: isolate;
  display: flex;
}

#theme-toggle svg {
  height: 1.6rem;
  fill: var(--title-color);
  transition: fill 0.3s ease-in-out;
  margin: auto;
}

html[theme='light'] #theme-toggle::before {
  animation: pulseToLight 650ms ease-out;
}

html[theme='dark'] #theme-toggle::before {
  animation: pulseToDark 650ms ease-out;
}

.toggle-circle {
  transition: transform 500ms ease-out;
}

html[theme='light'] .toggle-circle {
  transform: translateX(-15%);
}

.toggle-sun {
  transform-origin: center center;
  transition: transform 750ms cubic-bezier(0.11, 0.14, 0.29, 1.32);
}

html[theme='light'] .toggle-sun {
  transform: rotate(0.5turn);
}

@keyframes pulseToLight {
  0% {
    transform: scale(0);
    opacity: 0.5;
  }
  10% {
    transform: scale(1);
  }
  75% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: scale(1);
  }
}

@keyframes pulseToDark {
  0% {
    transform: scale(0);
    opacity: 0.5;
  }
  10% {
    transform: scale(1);
  }
  75% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: scale(1);
  }
}

/*==================== HOME ====================*/
.home-container {
  gap: 1rem;
}

.home-content {
  grid-template-columns: 0.5fr 3fr;
  padding-top: 3.5rem;
  align-items: center;
}

.home-social {
  display: grid;
  grid-template-columns: max-content;
  row-gap: 1rem;
}

.home-social-icon {
  font-size: 1.25rem;
  color: var(--first-color);
}

.home-social-icon:hover {
  color: var(--first-color-alt);
}

.home-blob {
  width: 200px;
  fill: var(--first-color);
  /* -webkit-transform: scaleX(-1);
    transform: scaleX(-1); */
}

.blob-back {
  opacity: 0.5;
  transition: transform 0.3s;
  transform-origin: center center;
}

.home-blob:hover .blob-back {
  transform: scale(0.97) rotate(4deg);
}

@keyframes mask-animation {
  0% {
    transform: scaleX(1);
  }
  50% {
    transform: scaleX(-1);
  }
  100% {
    transform: scaleX(1);
  }
}

.home-blob-img {
  width: 350px;
}

.home-data {
  grid-column: 1/3;
}

.section-home-title {
  display: block;
  white-space: nowrap;
  border-right: 4px solid var(--first-color);
  padding-right: 3px;
  width: var(--characters-length);
  text-align: left;
  animation: typing 2s steps(16) 0.3s, blink 0.5s infinite step-end alternate, normalice 0s 5s forwards;
  overflow: hidden;
}

@keyframes typing {
  from {
    width: 0ch;
  }
}

@keyframes blink {
  50% {
    border-color: transparent;
  }
}

@keyframes normalice {
  to {
    border: none;
  }
}

.section-home-subtitle {
  font-size: var(--h3-font-size);
  color: var(--text-color);
  font-weight: var(--font-medium);
  margin-bottom: var(--mb-0-75);
  text-align: left;
}

.section-home-description {
  margin-bottom: var(--mb-2);
}

.home-scroll {
  display: none;
}

.home-scroll-button {
  color: var(--first-color);
  transition: 0.3s;
}

.home-scroll-button:hover {
  transform: translateY(0.25rem);
}

.home-scroll-mouse {
  font-size: 2rem;
}

.home-scroll-name {
  font-size: var(--small-font-size);
  color: var(--title-color);
  font-weight: var(--font-medium);
  margin-right: var(--mb-0-25);
}

.home-scroll-arrow {
  font-size: 1.25rem;
}

/*==================== ABOUT ====================*/
.about-img {
  width: 200px;
  border-radius: 0.5rem;
  justify-self: center;
  align-self: center;
}

.section-about-description {
  text-align: center;
  margin-bottom: var(--mb-2-5);
}

.about-info {
  display: flex;
  justify-content: space-evenly;
  margin-bottom: var(--mb-2-5);
}

.about-info-title {
  font-size: var(--h2-font-size);
  font-weight: var(--font-semi-bold);
  color: var(--title-color);
}

.about-info-name {
  font-size: var(--smaller-font-size);
}

.about-info-title,
.about-info-name {
  display: block;
  text-align: center;
}

.about-buttons {
  display: flex;
  justify-content: center;
}

.about-buttons .button:hover .button-icon {
  transform: translateY(0.3rem);
}

/*==================== SKILLS ====================*/

.skills-content:not(.open) .skills-list {
  margin-top: -150%;
  opacity: 0;
  visibility: hidden;
  /* position: absolute; */
}

.skills-content.open:not(:last-child) .skills-list {
  margin-bottom: var(--mb-2-5);
}

.skills-content.open .skills-arrow {
  transform: rotate(-180deg);
}

.skills.section {
  padding-bottom: 1rem;
}

.skills-container {
  row-gap: var(--mb-1-5);
}

.skills-header {
  display: flex;
  align-items: center;
  cursor: pointer;
  background-color: var(--body-color);
  /* transition: background-color 0.3s ease-in-out, color 0.3s ease-in-out; */
  margin-bottom: var(--mb-1-5);
}

.skills-icon,
.skills-arrow {
  font-size: 2rem;
  color: var(--first-color);
}

.skills-icon {
  margin-right: var(--mb-0-75);
}

.skills-title {
  font-size: var(--h3-font-size);
}

.skills-subtitle {
  font-size: var(--small-font-size);
  color: var(--text-color-light);
}

.skills-arrow {
  margin-left: auto;
  transition: 0.4s;
}

.skills-list {
  row-gap: 1.5rem;
  padding-left: 2.7rem;
  transition: 0.5s ease;
  z-index: -1;
}

.skills-content {
  overflow: hidden;
  display: grid;
  margin-top: 0%;
}

.skill-titles {
  display: flex;
  justify-content: space-between;
  margin-bottom: var(--mb-0-5);
}

.skill-name {
  font-size: var(--normal-font-size);
  font-weight: var(--font-medium);
}

/*
  Percentage
  */

.skill-bar,
.skill-percentage {
  height: 5px;
  border-radius: 0.25rem;
}

.skill-bar {
  background-color: var(--first-color-lighter);
}

.skill-percentage {
  display: block;
  background-color: var(--first-color);
}

.skill-icon{
  font-size: 1.5rem;
  color: var(--first-color);
}

/*==================== QUALIFICATION ====================*/
.qualification-tabs {
  display: flex;
  justify-content: space-evenly;
  margin-bottom: var(--mb-2);
}

.qualification-button {
  font-size: var(--h3-font-size);
  font-weight: var(--font-medium);
  cursor: pointer;
}

.qualification-button:hover,
.qualification-button.active {
  color: var(--first-color);
}

.qualification-icon {
  font-size: 1.8rem;
  margin-right: var(--mb-0-25);
}

.qualification-data {
  display: grid;
  grid-template-columns: 1fr max-content 1fr;
  column-gap: 1.5rem;
}

.qualification-data:nth-child(odd) {
  text-align: right;
}

.qualification-title {
  font-size: var(--normal-font-size);
  font-weight: var(--font-medium);
}

.qualification-subtitle {
  display: inline-block;
  font-size: var(--small-font-size);
  margin-bottom: var(--mb-1);
}

.qualification-calendar {
  font-size: var(--smaller-font-size);
  color: var(--text-color-light);
}

.qualification-rounder {
  display: inline-block;
  width: 13px;
  height: 13px;
  background-color: var(--first-color);
  border-radius: 50%;
}

.qualification-line {
  display: block;
  width: 1px;
  height: 100%;
  background-color: var(--first-color);
  transform: translate(6px, -7px);
}

.qualification-content:not(.active) {
  display: none;
  opacity: 0;
  visibility: hidden;
}

/*==================== SERVICES ====================*/
.services-container {
  gap: 1.5rem;
  grid-template-columns: repeat(2, 1fr);
  /* margin-left: var(--mb-1); */
  /* margin-right: var(--mb-1); */
}

.services-content {
  position: relative;
  background-color: var(--container-color);
  /* transition: background-color 0.3s ease-in-out, color 0.3s ease-in-out; */
  padding: 1rem;
  border-radius: 0.4rem;
  box-shadow: 0 2px 4px rgba(90, 0, 0, 0.15);
  /* transition: 0.3s; */
}

.aos-animate {
  transform: initial;
}

.services-content:hover {
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.services-icon {
  display: block;
  margin-bottom: 0.5rem;
  align-items: center;
  font-size: 1.5rem;
  color: var(--first-color);
}

.services-title {
  font-size: var(--h4-font-size);
  text-align: center;
  font-weight: var(--font-medium);
}

.services-button {
  cursor: pointer;
  font-size: var(--small-font-size);
}

.services-button:hover .button-icon {
  transform: translateX(0.25rem);
}

.services-modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.5);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 1rem;
  z-index: var(--z-modal);
  /* transition: background-color 0.3s ease-in-out, color 0.3s ease-in-out; */
}

/* Active Modal */
.services-modal:not(.show) {
  opacity: 0;
  visibility: hidden;
}

.services-modal:not(.show) .services-modal-content {
  transform: scale(0);
}

.services-modal-content {
  position: relative;
  background-color: var(--container-color);
  padding: 1.5rem;
  border-radius: 0.5rem;
  transition: 0.3s;
}

.services-modal-services {
  row-gap: 1rem;
}

.services-modal-service {
  display: flex;
}

.services-modal-title {
  font-size: var(--h3-font-size);
  font-weight: var(--font-medium);
  margin-bottom: var(--mb-1-5);
}

.services-modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  font-size: 1.5rem;
  color: var(--first-color);
  cursor: pointer;
}

.services-modal-icon {
  color: var(--first-color);
  margin-right: var(--mb-0-25);
}

/*==================== PORTFOLIO ====================*/
.swiper {
  overflow: initial !important;
}

.portfolio-content {
  padding: 0 1.5rem;
}

.portfolio-img {
  width: 256px;
  border-radius: 0.5rem;
  justify-self: center;
}

.portfolio-title {
  font-size: var(--h3-font-size);
  margin-bottom: var(--mb-0-75);
}

.portfolio-subtitle {
  margin-bottom: var(--mb-0-75);
}

.portfolio-button:hover .button-icon {
  transform: translateX(0.25rem);
}

.swiper-button-prev::after,
.swiper-button-next::after {
  content: '' !important;
}

.swiper-portfolio-icon {
  font-size: 2rem;
  color: var(--first-color);
}

.swiper-button-prev {
  left: -0.5rem;
}

.swiper-button-next {
  right: -0.5rem;
}

.swiper-horizontal > .swiper-pagination-bullets {
  bottom: -2.5rem;
}

.swiper-pagination-bullet {
  background-color: var(--text-color);
}

.swiper-pagination-bullet-active {
  background-color: var(--first-color);
}

.swiper-button-prev,
.swiper-button-next,
.swiper-pagination-bullet {
  outline: none;
}

/*==================== PROJECT IN MIND ====================*/
.project {
  text-align: center;
}

.project-wave {
  /* margin-bottom: -7px; */
  width: 100vw;
  transition: background-color 0.3s ease-in-out, fill 0.3s ease-in-out;
  /* z-index: 0; */
  /* display: grid; */
  /* position: relative; */
}
.project-wave-top {
  grid-row: 1;
  fill: var(--first-color);
  background-color: var(--body-color);
  top: 0;
}

.project-wave-bottom {
  position: absolute;
  fill: var(--body-color);
  grid-row: 3;
  bottom: 0;
}

.project-bg {
  /*padding-top: 2.5rem;
  overflow: hidden;*/
  display: grid;
  position: relative;
}

.section-project-title {
  font-size: var(--h2-font-size);
  margin-bottom: var(--mb-0-75);
}

.section-project-description {
  margin-bottom: var(--mb-1-5);
}

.section-project-title,
.section-project-description {
  color: #fefefe;
}

.project-img {
  width: 250px;
  justify-self: center;
}

.project-container {
  /*margin-top: -40px;
  margin-bottom: -40px;*/
  margin: auto;
  width: 100%;
  padding: 0 2rem;
  padding-top: var(--mb-3);
  /* grid-area: 1 / 1; */
  grid-row: 2;
  background-color: var(--first-color);
}

.contact-container {
  row-gap: 3rem;
}

.contact-information {
  display: flex;
  margin-bottom: var(--mb-2);
}

.contact-icon {
  font-size: 2rem;
  color: var(--first-color);
  margin-right: var(--mb-0-75);
}

.contact-title {
  font-size: var(--h3-font-size);
  font-weight: var(--font-medium);
}

.contact-subtitle {
  font-size: var(--small-font-size);
  color: var(--text-color-light);
  text-decoration: none ;
}

.contact-content {
  background-color: var(--input-color);
  /* transition: background-color 0.3s ease-in-out, color 0.3s ease-in-out; */
  border-radius: 0.5rem;
  padding: 0.75rem 1rem 0.25rem;
  border: 1px solid transparent;
}

.contact-content.valid {
  border: 1px solid var(--first-color);
}

.contact-content.invalid {
  border: 1px solid rgb(235, 95, 95);
}

.contact-label {
  font-size: var(--small-font-size);
  color: var(--text-color-light);
}

.contact-input {
  width: 100%;
  background-color: transparent;
  color: var(--text-color);
  font-family: var(--body-font);
  font-size: 16px;
  border: none;
  outline: none;
  padding: 0.25rem 0.5rem 0.5rem 0;
  resize: vertical;
}

.contact-button {
  outline: none;
  border: none;
  width: 100%;
  font-family: inherit;
  font: inherit;
}

input:-webkit-autofill,
input:-webkit-autofill:focus {
  transition: background-color 600000s 0s, color 600000s 0s;
}
input[data-autocompleted] {
  background-color: transparent !important;
}

input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
input:-webkit-autofill:active {
  transition: background-color 50000s ease-in-out 0s, color 5000s ease-in-out 0s;
}

.grecaptcha-badge {
  display: none;
}

/*==================== ERROr PAGE ====================*/

.error-data {
  text-align: center;
}

/*==================== MEDIA QUERIES ====================*/
/* For small devices */
@media screen and (max-with: 350px) {
  .container {
    margin-left: var(--mb-1);
  }

  .nav-menu {
    padding: 2rem 0.25rem 4rem;
  }

  .nav-list {
    column-gap: 0;
  }

  .home-content {
    grid-template-columns: 0.25fr 3fr;
  }

  .home-blob {
    width: 180px;
  }

  .skills-title {
    font-size: var(--normal-font-size);
  }

  .qualification-data {
    gap: 0.5rem;
  }

  .services-container {
    grid-template-columns: max-content;
    justify-content: center;
  }

  .services-modal {
    padding: 0 0.5rem;
  }

  .project-img {
    width: 200px;
    margin-bottom: 0px;
  }
}

/* For medium devices */
@media screen and (min-width: 568px) {
  .home-content {
    grid-template-columns: max-content 1fr 1fr;
  }

  .home-data {
    grid-column: initial;
  }

  .home-img {
    order: 1;
    justify-self: center;
  }

  .about-container,
  .skills-container,
  .portfolio-content,
  .project-container,
  .contact-container {
    grid-template-columns: repeat(2, 1fr);
  }

  .skills-content {
    height: fit-content;
  }

  .skills-content.open:not(:last-child) .skills-list {
    margin-bottom: unset;
  }

  .qualification-sections {
    display: grid;
    grid-template-columns: 0.6fr;
    justify-content: center;
  }

  .project-container {
    align-items: center;
  }
  .project-container,
  .project-img {
    margin-top: 0px;
    padding-top: 0px;
  }
}

@media screen and (min-width: 768px) {
  .container {
    margin-left: auto;
    margin-right: auto;
  }

  body {
    margin: 0;
  }

  .section {
    padding: 0rem 0 2rem;
  }

  .section-subtitle {
    margin-bottom: 4rem;
  }

  .section-home-subtitle {
    margin-bottom: 1rem;
  }

  .home-social-icon {
    font-size: 1.5rem;
  }

  .header,
  .main {
    padding: 0 2rem;
  }

  /*
  .section {
    padding: 2rem 2rem 4rem;
    overflow: hidden;
  }*/

  /*
  .project {
    padding: 2rem 0rem 4rem ;
  }*/

  .nav {
    height: var(--header-height);
    column-gap: 1rem;
  }

  .nav-icon,
  .nav-close,
  .nav-toggle {
    display: none;
  }

  .nav-list {
    display: flex;
    column-gap: 2rem;
  }

  .nav-menu:not(.show) {
    margin-left: auto;
    opacity: initial;
    visibility: initial;
  }

  .change-theme {
    margin: auto;
  }

  .home-container {
    row-gap: 5rem;
  }

  .home-content {
    padding-top: 5.5rem;
    column-gap: 2rem;
  }

  .home-blob {
    width: 270px;
  }

  .home-scroll {
    display: block;
  }

  .home-scroll-button {
    margin-left: 3rem;
  }

  .about-container {
    column-gap: 5rem;
  }

  .about-img {
    width: 300px;
  }

  .section-about-description {
    text-align: initial;
  }

  .about-info {
    justify-content: space-between;
  }

  .about-buttons {
    justify-content: initial;
  }

  .qualification-tabs {
    justify-content: center;
  }

  .qualification-button {
    margin: 0 var(--mb-1);
  }

  .qualification-sections {
    grid-template-columns: 0.5fr;
  }

  .services-container {
    grid-template-columns: repeat(2, 218px);
    justify-content: center;
  }

  .services-icon {
    font-size: 2rem;
  }

  .services-modal-content {
    width: 450px;
  }

  .porfolio-img {
    width: 300px;
  }

  .project-wave {
    display: none;
  }
  .project-container {
    border-radius: 1rem;
    padding: 3rem 2.5rem 0;
    grid-template-columns: 1fr max-content;
    column-gap: 3rem;
  }
}

/* For large devices */
