/*=============== VARIABLES CSS ===============*/
:root {
  --header-height: 3.5rem;
  /*========== Colors ==========*/
  /*Color mode HSL(hue, saturation, lightness)*/
  /* 
      Change favorite color:

      Default (Green): hsl(110, 75%, 60%)
      Blue: hsl(220, 80%, 60%) - Pink: hsl(300, 80%, 65%)
      Purple: hsl(255, 80%, 65%) - Cyan: hsl(180, 60%, 60%)
      Orange: hsl(15, 80%, 65%) - Red: hsl(358, 80%, 55%)
      hsl(235, 90%, 75%)

      For more colors visit: https://htmlcolorcodes.com/
      -> Choose any color 
      -> Copy the color mode (HSL)
  */
  --hue: 220;
  --first-color: hsl(var(--hue), 80%, 60%);
  --gradient-color: linear-gradient(90deg, hsl(var(--hue), 75%, 60%) 0%,
                                           hsl(var(--hue), 100%, 85%) 40%,
                                           hsl(var(--hue), 100%, 85%) 60%,
                                           hsl(var(--hue), 75%, 60%) 100%);
  --white-color: hsl(var(--hue), 24%, 98%);
  --black-color: hsl(var(--hue), 12%, 8%);
  --text-color: hsl(var(--hue), 4%, 70%);
  --body-color: hsl(var(--hue), 12%, 4%);
  --container-color: hsl(var(--hue), 8%, 10%);
  --border-color: hsl(var(--hue), 8%, 20%);

  /*========== Font and typography ==========*/
  /*.5rem = 8px | 1rem = 16px ...*/
  --body-font: "Poppins", sans-serif;
  --second-font: "Syne", sans-serif;
  --biggest-font-size: 2rem;
  --bigger-font-size: 1.75rem;
  --h1-font-size: 1.5rem;
  --h2-font-size: 1.25rem;
  --h3-font-size: 1rem;
  --normal-font-size: .938rem;
  --small-font-size: .813rem;
  --smaller-font-size: .75rem;

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

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

/*========== Responsive typography ==========*/
@media (width >= 1150px) {
  :root {
    --biggest-font-size: 5rem;
    --bigger-font-size: 3rem;
    --h1-font-size: 2.25rem;
    --h2-font-size: 1.5rem;
    --h3-font-size: 1.25rem;
    --normal-font-size: 1rem;
    --small-font-size: .875rem;
    --smaller-font-size: .813rem;
  }
}

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

html {
  scroll-behavior: smooth;

}

body,
input,
button,
textarea,
label {
  font-family: var(--body-font);
  font-size: var(--normal-font-size);
}

body {
  background-color: var(--body-color);
  color: var(--text-color);
}

input,
button,
textarea {
  border: none;
  outline: none;
  background: none;
}

h1, h2, h3, h4 {
  color: var(--white-color);
  font-weight: var(--font-semi-bold);
  font-family: var(--second-font);
}

ul {
  list-style: none;
}

a {
  text-decoration: none;
}

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

/*=============== REUSABLE CSS CLASSES ===============*/
.container {
  max-width: 1120px;
  margin-inline: 1rem;
}

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

.section {
  padding-block: 5rem 1rem;
}

.section__title {
  text-align: center;
  font-size: var(--bigger-font-size);
  color: var(--white-color);
  margin-bottom: 2rem;
}

.section__title span {
  color: var(--first-color);
}

.main {
  overflow: hidden;
}

/*=============== FOCUS VISIBLE ===============*/
:focus-visible{
  outline: 2px solid var(--first-color);
  outline-offset: 3px;
  border-radius: 0.25rem;
}

/*=============== BLOB ===============*/
.blob-small, .blob-big {
  background-color: var(--first-color);
  border-radius: 50%;
  position: absolute;
  z-index: -1;
}

.blob-small {
  width: 100px;
  height: 100px;
  filter: blur(50px);
}

.blob-big {
  width: 150px;
  height: 150px;
  filter: blur(100px);
}

/*=============== CUSTOM CURSOR ===============*/
.cursor{
  position: fixed;
  left: 0;
  top: 0;
  z-index: 9999;
  width: 30px;
  height: 30px;
  background-color: hsl(var(--hue), 60%, 75%);
  border-radius: 50%;
  box-shadow: 0 0 30px var(--first-color);
  mix-blend-mode: difference;
  pointer-events: none;
  transition: transform 0.2s ease-out, left 0.2s ease-out,
                  top 0.2s ease-out, width 0.3s, height 0.3s;

}

/* Hide the custome cursor */
.hide-cursor{
  width: 0;
  height: 0;
}

/*=============== HEADER & NAV ===============*/
.header{
  position: fixed;
  width: 100%;
  top: 0;
  left: 0;
  background-color: transparent;
  z-index: var(--z-fixed);
}

.nav{
  position: relative;
  height: var(--header-height);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav__logo{
  color: var(--white-color);
  font-family: var(--second-font);
  font-weight: var(--font-semi-bold);
}


.nav__toggle{
  color: var(--white-color);
  font-size: 1.5rem;
  cursor: pointer;
}

/* Navigation for mobile devices <> */
@media (width <= 1150px){
  .nav__menu{
    position: fixed;
    top: 0;
    right: -120%;
    width: 80%;
    height: 100%;
    background-color: hsla(var(--hue), 8%, 10%, 0.4);
    backdrop-filter: blur(24px);
    padding: 6rem 2rem 2rem 3rem;
    z-index: var(--z-fixed);
    transition: right 0.4s;
  }
}

.nav__list{
  display: flex;
  flex-direction: column;
  row-gap: 3rem;
}

.nav__link{
  position: relative;
  color: var(--white-color);
  font-weight: var(--font-semi-bold);
  transition: color 0.4s;
}

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

.nav__link::after{
  content: '';
  position: absolute;
  width: 6px;
  height: 6px;
  background-color: var(--first-color);
  border-radius: 50%;
  top: 0;
  left: -1rem;
  bottom: 0;
  margin-block: auto;
  opacity: 0;
  transition: opacity 0.4s;
}

.nav__contact{
  display: inline-flex;
  background-color: var(--first-color);
  color: var(--black-color);
  padding: 1rem 2rem;
  border-radius: 4rem;
  font-weight: var(--font-semi-bold);
  transition: box-shadow 0.4s;
}

.nav__contact:hover{
  box-shadow: 0 8px 24px hsla(var(--hue), 75%, 60%, 0.3);
}

.nav__close{
  position: absolute;
  color: var(--white-color);
  top: 1rem;
  right: 1rem;
  font-size: 1.5rem;
  cursor: pointer;
}

/* Show menu */
.show-menu{
  right: 0;
}

/* Change header styles */
.scroll-header::after{
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  background-color: hsla(var(--hue), 8%, 10%, 0.4);
  backdrop-filter: blur(24px);
  top: 0;
  left: 0;
  z-index: -1;
}


/* Active link */
.active-link::after{
  opacity: 1;
}


/* Navigation for mobile devices <> */


/* Show menu */


/* Change header styles */


/* Active link */


/*=============== HOME SECTION ===============*/
.home{
  position: relative;
}

.home .blob-small:nth-child(1){
  top: -2rem;
  left: -2rem;
}

.home .blob-small:nth-child(2){
  top: 11rem;
  right: -4rem;
}

.home__container{
  padding-block: 2.5rem 3rem;
  row-gap: 7rem;
}

.home__data{
  text-align:center;
  color: var(--white-color);
}

.home__subtitle{
  font-size: var(--h3-font-size);
  margin-bottom: 1rem;
}

.home__title{
  font-size: var(--biggest-font-size);
  margin-bottom: 0.5rem;
}

.home__title span{
  color: var(--first-color)
}

.home__buttons{
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  column-gap: 1rem;
  row-gap: 0.75rem;
  margin-top: 1.5rem;
}

.home__status{
  display: flex;
  align-items: center;
  justify-content: center;
  column-gap: .5rem;
  margin-top: 2rem;
  font-size: var(--small-font-size);
  font-family: var(--second-font);
  color: var(--text-color);
}

.home__status strong{
  color: var(--white-color);
  font-weight: var(--font-semi-bold);
}

.home__status-dot{
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: #4ade80;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%{
    box-shadow: 0 0 0 0 hsla(142, 84%, 58%, .6);
  }
  70%{
    box-shadow: 0 0 0 8px hsla(142, 84%, 58%, 0);
  }
  100%{
    box-shadow: 0 0 0 0 hsla(142, 84%, 58%, 0);
  }
}

.button--ghost{
  background: transparent;
  border: 2px solid var(--first-color);
  color: var(--white-color);
}

.button--ghost:hover{
  box-shadow: 0 8px 24px hsla(var(--hue), 75%, 60%, 0.3);
}

/*=============== BUTTON ===============*/
.button{
  background: var(--gradient-color);
  color: var(--black-color);
  padding: 1rem 2rem;
  border-radius: 4rem;
  font-weight: var(--font-semi-bold);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  column-gap: 0.5rem;
}
.button i{
  font-weight: initial;
  font-size: 1.5rem;
  transition: transform 0.4s;
}

.button:hover i{
  transform: translateX(0.5rem);
}

.home__images{
  position: relative;
  justify-self: center;
  margin-right: 1.5rem;
}

.home__box-1,
.home__box-2,
.home__box-3{
  width: 210px;
  height: 250px;
  border-radius: 1.5rem;
}

.home__box-1{
  background-color: hsl(var(--hue), 25%, 32%);
}

.home__box-2{
  background-color: var(--white-color);
  position: absolute;
  left: 0.75rem;
  bottom: 0.75rem;
  rotate: 5deg;
}

.home__box-3{
  background: linear-gradient(180deg,
      hsl(var(--hue), 75%, 85%) 0%,
      hsl(var(--hue), 75%, 60%) 100%);
  position: absolute;
  left: 1.5rem;
  bottom: 1.5rem;
  rotate: 10deg;

}

.home__img{
  position: absolute;
  width: 190px;
  bottom: 2.5rem;
  right: -0.30rem;
  mask-image: linear-gradient(to bottom,
                              hsla(var(--hue), 75%, 60%) 70%,
                              transparent 100%);
}

.home__images .blob-big{
  top: -1.5rem;
  left: 0;
  right: 0;
  justify-self: center;
}

/*=============== ABOUT SECTION ===============*/
.about__container{
  color: var(--white-color);
  text-align: center;
  row-gap: 2.5rem;
}

.about__data{
  display: grid;
  row-gap: .75rem;
}

.about__title{
  font-size: var(--bigger-font-size);
}

.about__title span{
  color: var(--first-color);
}

.about__lead{
  font-family: var(--second-font);
  font-weight: var(--font-medium);
  font-size: var(--h2-font-size);
  color: var(--white-color);
  line-height: 1.5;
}

.about__description{
  margin-inline: auto;
  max-width: 560px;
  line-height: 1.8;
  margin-bottom: 2rem;
}

.about__facts{
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.about__fact{
  display: grid;
  place-items: center;
  row-gap: .25rem;
  padding: 1.25rem 1rem;
  background-color: var(--container-color);
  border: 1px solid var(--border-color);
  border-radius: 1rem;
}

.about__fact-number{
  font: var(--font-semi-bold) var(--bigger-font-size) var(--second-font);
  color: var(--white-color);
}

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

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

.about__description span{
  color: var(--first-color);
  font-weight: var(--font-medium);
}

.about__button{
  width: 100%;
}

/*=============== WORK SECTION ===============*/
.work__card{
  position: relative;
  background-color: var(--container-color);
  padding: 1rem 1rem 3rem;
  border-radius: 1.5rem;
  overflow:hidden;
}

.work__link{
  position: relative;
  display: block;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border-radius: 1rem;
  margin-bottom: 1.5rem;
  z-index: 5;
}

.work__data{
  z-index: 5;
}

.work__img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  border-radius: 1rem;
  transition: transform 0.4s;
}

.work__arrow{
  position: absolute;
  right: 1rem;
  top: 1rem;
  width: 48px;
  height: 48px;
  background: var(--gradient-color);
  display: grid;
  place-items: center;
  border-radius: 50%;
  font-size: 2rem;
  color: var(--black-color);
  opacity: 0;
  transition: opacity 0.4s;
}

.work__number{
  display:block;
  font: var(--font-semi-bold) var(--biggest-font-size) var(--second-font);
  color: var(--first-color);
  margin-bottom: 1rem;

}

.work__name{
  font-size: var(--h2-font-size);
  color: var(--white-color);
  margin-bottom: 0.5rem;
}

.work__tools{
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1rem;
  z-index: 5;
}

.work__tool{
  font: var(--font-semi-bold) var(--smaller-font-size) var(--second-font);
  color: var(--first-color);
  border: 1px solid var(--border-color);
  border-radius: 4rem;
  padding: 0.25rem 0.75rem;
}

.work__card:hover .work__img{
  transform: scale(1.1);
}

.work__card:hover .work__arrow{
  opacity: 1;
}

.work__card .blob-big{
  top: 2rem;
  right: -2rem;
  z-index: 1;
}




 
/* Swiper class */
.work__swiper{
  width: 100%;
  height: 100%;
  padding-bottom: 4rem;
}

.work .swiper-pagination-bullets{
  bottom: 0;
}

.work .swiper-pagination-bullet{
  background-color: var(--first-color);
  transition: opacity 0.4s;
}


/*=============== SERVICES SECTION ===============*/
.services__container{
  row-gap: 2rem;
}

.services__card{
  border-bottom: 2px solid var(--container-color);
  padding-bottom: 1.5rem;
  overflow:hidden;
}

.services__button{
  width: 100%;
  display:flex;
  align-items: center;
  column-gap: 0.5rem;
  cursor: pointer;
}


.services__icon{
  color: var(--first-color);
  font-size: 2rem;
}

.services__name{
  font-size: var(--h2-font-size);
  text-align: initial;
}

.services__arrow{
  width: 32px;
  height: 32px;
  background: var(--container-color);
  color: var(--white-color);
  border-radius: 50%;
  font-size: 1.5rem;
  display: grid;
  place-items: center;
  margin-left: auto;
}

.services__arrow i{
  transition: rotate 0.4s;
}

.services__description{
 margin-block: 1rem 2rem;
}

.services__list{
  display:flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
}

.services__item{
  border: 2px solid var(--first-color);
  border-radius: 4rem;
  padding: 0.375rem 0.5rem;
  color: var(--white-color);
  font: var(--font-semi-bold) var(--h3-font-size) var(--second-font );
}

.services__data{
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.4s, opacity 0.4s;
}

/* Hide services info */
.services-open .services__data{
  max-height: 500px; /* If you have more elements, increase the max-height */
  opacity: 1;
}

/* Rotate icon */
.services-open .services__arrow i{
  rotate: -180deg;
}


/*=============== SKILLS SECTION ===============*/
.skills__description{
  margin: 0 1rem 3rem;
  text-align: center;
}

.skills__card{
  position: relative;
  background-color: var(--container-color);
  padding: 1.5rem 1rem;
  border-radius: 1.5rem;
  display: flex;
  flex-direction: column;
  row-gap: 1.5rem;
  overflow: hidden;
}

.skills__profession{
  display: flex;
  align-items: center;
  column-gap: 0.5rem;
  justify-content: center;
  z-index: 5;

}

.skills__icon{
  font-size: 2rem;
  color: var(--first-color);
}

.skills__title{
  font-size: var(--h2-font-size);
}

.skills__list{
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
  z-index: 5;
}

.skills__item{
  display: flex;
  align-items: center;
  column-gap: 0.25rem;
  cursor: default;
  transition: filter 0.4s;
}

.skills__img{
  width: 16px;
}

.skills__name{
  font-size: var(--small-font-size);
  transition: color 0.4s, text-shadow 0.4s;
}

.skills__item:hover{
  filter: drop-shadow(0 0 12px var(--first-color))
}

.skills__item:hover .skills__name{
  color: var(--first-color);
  text-shadow: var(--first-color) 0 0 12px;
}

.skills__card .blob-small{
  z-index: 1;
  top: -5rem;
  left: 0;
  right: 0;
  justify-self: center;
  
}
/*=============== CONTACT SECTION ===============*/
.contact__container{
 row-gap: 4rem;
}

.contact__form{
  position: relative;
  row-gap: 1rem;
}

.contact__group{
  position: relative;
}

.contact__input{
  width: 100%;
  background-color: var(--container-color);
  color: var(--white-color);
  padding: 1.5rem;
  border-radius: 4rem;
  font-weight: var(--font-semi-bold);
  font-family: var(--second-font);
}

.contact__label{
  position: absolute;
  top: 1.25rem;
  left: 1.25rem;
  font-weight: var(--font-semi-bold);
  font-family: var(--second-font);
  pointer-events: none;
  transition: opacity 0.4s;
}

.contact__input:focus ~ .contact__label,
.contact__input:valid ~ .contact__label{
  opacity: 0;
}

.contact__input:autofill{
  transition: background-color 6000s, color 6000s;
}

.contact__area{
height: 10rem;
border-radius: 1.5rem;
  resize: none;
}

.contact__button{
  margin-top: 1rem;
  cursor: pointer;
}

.contact__message{
  position: absolute;
  bottom: -2rem;
  color: var(--white-color);
  font-size: var(--small-font-size);
}

.contact__content{
  row-gap: 1rem;
}

.contact__link{
  background-color: var(--container-color);
  padding: 1rem;
  border-radius: 4rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.contact__info{
  display: flex;
  column-gap: 0.5rem;
  align-items: center;
}

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

.contact__title{
  font-size: var(--normal-font-size);
  margin-bottom: 0.25rem;
}

.contact__address{
  color: var(--text-color);
  font-weight: var(--font-semi-bold);
  font-family: var(--second-font);
  font-style: initial;
}

.contact__arrow{
  width: 32px;
  height: 32px;
  background-color: var(--body-color);
  border-radius: 50%;
  color: var(--white-color);
  font-size: 1.5rem;
  display: grid;
  place-items: center;
  transition: background-color 0.4s, color 0.4s;
}

.contact__link:hover .contact__arrow{
  background-color: var(--first-color);
  color: var(--black-color);
}

/* Loading spinner shown inside the contact button while the email is sending */
.spinner {
  display: inline-block;
  width: 14px;
  height: 14px;
  border: 2px solid rgba(255, 255, 255, 0.4); /* faint base ring */
  border-top-color: #fff;                     /* solid top edge creates the spin effect */
  border-radius: 50%;
  animation: spin 0.6s linear infinite;
  margin-right: 6px;
  vertical-align: middle;
}

/* Rotates the spinner a full turn, repeating indefinitely */
@keyframes spin {
  to { transform: rotate(360deg); }
}

/* Dims the button and shows a "not-allowed" cursor while disabled (e.g. during send) */
#contact-btn.is-loading {
  opacity: 0.3;
  cursor: not-allowed;
  /*pointer-events: none; locks hover/click entirely, so cursor can't flicker back to pointer */
}



/*=============== FOOTER ===============*/
.footer{
  position: relative;
  padding-block: 5rem 2rem;
  overflow: hidden;
}

.footer__container{
  row-gap: 2rem;
}

.footer__title{
  font-size: var(--h2-font-size);
  text-align: center;
}

.footer__content,
.footer__links,
.footer__social{
  display: flex;
}

.footer__content{
  flex-direction: column;
  row-gap: 2rem;
}

.footer__links{
  justify-content: center;
  column-gap: 2rem;
}

.footer__link{
  color: var(--text-color);
  font-weight: var(--font-semi-bold);
  font-family: var(--second-font);
  transition:color 0.4s;
}

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

.footer__social{
  justify-content: center;
  column-gap: 1.5rem;
}

.footer__social-link{
  display: block;
  color: var(--first-color);
  font-size: 1.5rem;
  transition: transform 0.4s;
}

.footer__social-link:hover{
  transform: translate(-0.40rem);
}

.footer__copy{
  display: block;
  text-align: center;
  margin-top: 5.5rem;
  font-size: var(--normal-font-size);
  font-family: var(--second-font);
}

.footer .blob-big{
  bottom: -1.5rem;
  left: 0;
  right: 0;
  margin-inline: auto;
}
/*=============== SCROLL BAR ===============*/

::-webkit-scrollbar{
  width: 0.6rem;
  background-color: hsl(var(--hue), 6%, 12%);
  border-radius: 0.5rem;
}

::-webkit-scrollbar-thumb{
  background-color: hsl(var(--hue), 6%, 20%);
  border-radius: 0.5rem;
}

::-webkit-scrollbar-thumb:hover{
  background-color: hsl(var(--hue), 6%, 24%);
}




/*=============== SCROLL UP ===============*/
.scrollup{
  position: fixed;
  right: 1rem;
  bottom: -50%;
  background-color: hsla(var(--hue), 8%, 10%, 0.4);
  color: var(--white-color);
  backdrop-filter: blur(8px);
  display: inline-flex;
  padding: 6px;
  font-size: 1.25rem;
  border-radius: 50%;
  z-index: var(--z-tooltip);
  transition: bottom 0.4s, transform 0.4s;
}

.scrollup:hover{
  transform: translateY(-0.5rem);
}


/* Show Scroll Up */
.show-scroll{
  bottom: 3rem;
}

/*=============== BREAKPOINTS ===============*/
/* For medium devices <> */
@media (width >= 540px){
  .nav__menu{
    width: 50%;
  }

  .home__container,
  .about__container,
  .services__container,
  .skills__container,
  .contact__container,
  .footer__container{
    grid-template-columns: 400px;
    justify-content: center;
  }

  .work__card{
    width: 350px;
  }

  .skills__description{
    width: 500px;
    margin-inline: auto;

  }
}


/* For large devices <> */
@media (width >= 1150px){
  .container{
    margin-inline: auto;
  }

  .section{
    padding-block: 7rem 2rem;
  }
  .section__title{
    margin-bottom: 3rem;
  }

  .blob-small{
    width: 150px;
    height: 150px;
    filter: blur(100px);
    }

    .blob-big{
      width: 250px;
      height: 250px;
      filter: blur(150px);
    }

  .nav{
    height: calc(var(--header-height) + 2rem);
    align-items: center;
  }
  .nav__toggle,
  .nav__close{
    display: none;
  }
  .nav__menu{
    width: initial;
  }
  .nav__list{
    flex-direction: row;
    align-items: center;
    column-gap: 4rem;
  }

  .home__container{
    grid-template-columns: 800px;
  }
  .home__subtitle{
    font-size: var(--h2-font-size);
    margin-bottom: 2rem;
  }

  .home__box-1,
  .home__box-2,
  .home__box-3{
    width: 250px;
    height: 300px;
  }
  
  .home__img{
    width: 230px;
  }
  .home__images .blob-big{
    top: -8rem;
  }
  .home .blob-small:nth-child(1){
    top: -3rem;
    left: -3rem;
  }

    .home .blob-small:nth-child(2){
    top: 21rem;

  }

  .about__container{
    grid-template-columns: 700px;
    justify-content: center;
  }
  .about__data{
    row-gap: 1rem;
  }
  .about__description{
    margin-bottom: 2.5rem;
  }

  .about__button{
    width: initial;
  }

  .work__container{
    max-width: 1380px;
    margin-inline: auto;
  }

  .work__card{
    width: 440px;
    border-radius: 3rem;
    padding: 1.5rem 1.5rem 4rem;
  }

  .work__img{
    border-radius: 2rem;
  }

  .work__number{
    font-size: var(--bigger-font-size);
  }

  .work .blob-big{
    right: -6rem;
  }

  .services__container{
    grid-template-columns: 690px;
    row-gap: 3rem;
  } 

  .services__card{
    padding-bottom: 2rem;
  }

  .services__button{
    column-gap: 3rem;
  }
  .services__icon{ 
    font-size: 2.5rem;
  }

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

  .services__description,
  .services__list{
    padding-left: 5.5rem;
  }

  .skills__description{
    width: 700px;
  }

  .skills__container{
    grid-template-columns: 700px;
  }

  .skills__card{
    padding: 3.5rem 2rem;
    flex-direction: row;
    column-gap: 6rem;
  }

  .skills__icon{
    font-size: 3rem;
  }

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

  .skills__img{
    width: 20px;
  }

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

    .skills__card .blob-small{
    top: -7.5rem;
  }

  .contact__container{
    grid-template-columns: 450px 380px;
    align-items: center;
    column-gap: 10rem;
    padding-bottom: 3rem;
  }

  .contact__input{
    padding-block: 1.5rem;
  }

  .contact__label{
    top: 1.5rem;
  }

  .contact__area{
    height: 14rem;
  }
  .contact__content{
    row-gap:2rem;
  }

  .footer__container{
    grid-template-columns: 600px max-content;
    justify-content: space-between;
  }

  .footer__title{
    text-align: initial;
    font-size: var(--h1-font-size);
  }

  .footer__links{
    column-gap: 4rem;
  }

  .footer__social{
    column-gap: 2rem;
  }
  .footer__copy{
    margin-top: 7rem;
  }
  .footer .blob-big{
    bottom: -15rem;
  }

  .scrollup{
    right: 3rem;
  }
}

/* For 2K resolutions <> */
@media (width >= 2048px){
  body{
    zoom: 120%;
  }
}

/* Custom cursor is hidden for mobile devices */
@media (pointer: coarse) {
  .cursor{
    display: none;
  }
  
}

/*=============== 404 PAGE ===============*/
.error{
  min-height: 100vh;
  display: grid;
  align-items: center;
  padding-top: var(--header-height);
  overflow: hidden;
  position: relative;
}

.error__container{
  position: relative;
  text-align: center;
  display: grid;
  justify-items: center;
  row-gap: 1rem;
}

.error__code{
  font-family: var(--second-font);
  font-weight: 800;
  font-size: 6rem;
  line-height: 1;
  background: var(--gradient-color);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.error__title{
  font-size: var(--h2-font-size);
  max-width: 26ch;
}

.error__description{
  color: var(--text-color);
  max-width: 40ch;
  margin-bottom: .5rem;
}

.error__button{
  margin-top: .5rem;
}

.error__blob-small,
.error__blob-big{
  background-color: var(--first-color);
  border-radius: 50%;
  position: absolute;
  z-index: -1;
  filter: blur(60px);
  opacity: .35;
  animation: error-float 6s ease-in-out infinite;
}

.error__blob-small{
  width: 140px;
  height: 140px;
}

.error__blob-small:nth-child(1){
  top: -2rem;
  left: -2rem;
}

.error__blob-small:nth-child(2){
  bottom: -3rem;
  right: -2rem;
  animation-delay: 1.5s;
}

.error__blob-big{
  width: 320px;
  height: 320px;
  top: 50%;
  left: 50%;
  translate: -50% -50%;
  animation-delay: .8s;
}

@keyframes error-float{
  0%, 100%{
    transform: translateY(0);
  }
  50%{
    transform: translateY(-16px);
  }
}

@media (width >= 768px){
  .error__code{
    font-size: 8rem;
  }
}
