/*===== GOOGLE FONTS =====*/
@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&display=swap");

/*===== VARIABLES CSS =====*/
:root {
  --header-height: 3rem;

  /*===== Colors =====*/
  --first-color: #3e0e12;
  --first-color-dark: #2f0a0d;
  --text-color: #524748;
  --text-color-light: #a19696;
  --first-color-light: #7b6f71;
  --first-color-lighten: #fbf9f9;
  --logo-color-light: var(--first-color-lighten);
  --logo-color-dark: var(--text-color);

  /*===== Font and typography =====*/
  --body-font: "Poppins", sans-serif;
  --biggest-font-size: 2.5rem;
  --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;
  --font-bold: 700;

  /*===== Margenes =====*/
  --mb-1: 0.5rem;
  --mb-2: 1rem;
  --mb-3: 1.5rem;
  --mb-4: 2rem;
  --mb-5: 2.5rem;
  --mb-6: 3rem;

  /*===== z index =====*/
  --z-normal: 1;
  --z-tooltip: 10;
  --z-fixed: 100;

  /*===== Media Queries Breakpoints =====*/
  --bp-mobile: 480px;
  --bp-tablet: 576px;
  --bp-laptop: 768px;
  --bp-desktop: 992px;
  --bp-big-desktop: 1200px;
}

/* var(--bp-laptop) */
@media screen and (min-width: 768px) {
  :root {
    --biggest-font-size: 4.5rem;
    --big-font-size: 3.6rem;
    --h1-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;
  }
}

/*===== BASE =====*/
*,
::before,
::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: var(--header-height) 0 0 0;
  padding: 0;
  font-family: var(--body-font);
  font-size: var(--normal-font-size);
  font-weight: var(--font-medium);
  background-color: var(--first-color-lighten);
  color: var(--text-color);
  line-height: 1.6;
}

h1,
h2,
h3,
ul,
p {
  margin: 0;
}

h2,
h3 {
  font-weight: var(--font-semi-bold);
}

ul {
  padding: 0;
  list-style: none;
}

a {
  text-decoration: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/*===== CLASS CSS =====*/
.section {
  padding: 4rem 0 2rem;
}

.section-title {
  text-align: center;
  font-size: var(--h1-font-size);
  color: var(--first-color);
  margin-bottom: var(--mb-3);
  font-weight: var(--font-semi-bold);
}

/*===== LAYOUT =====*/
.bd-container {
  max-width: 1096px;
  width: calc(100% - 2rem);
  margin-inline: var(--mb-1);
}

.bd-grid {
  display: grid;
  gap: 1.5rem;
}

.l-header {
  width: 100%;
  position: fixed;
  top: 0;
  left: 0;
  z-index: var(--z-fixed);
  background-color: #000;
}

/*===== NAV =====*/
.nav {
  height: var(--header-height);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* var(--bp-laptop) */
@media screen and (max-width: 768px) {
  .nav__menu {
    position: fixed;
    top: -100%;
    left: 0;
    width: 100%;
    padding-top: 1.5rem;
    text-align: center;
    background-color: #000;
    transition: 0.4s;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    border-radius: 0 0 1rem 1rem;
  }
}

.nav__item {
  margin-bottom: var(--mb-3);
}

.nav__link {
  color: var(--first-color-lighten);
  transition: 0.3s;
}

.nav__link:hover {
  color: var(--first-color-light);
}

.nav__logo {
  height: 100%;
  display: flex;
  align-items: center;
}

.logo__f {
  fill: var(--first-color);
}

.logo__m {
  fill: var(--logo-color-light);
  transition: fill 0.3s ease;
}

.logo__m-dark {
  fill: var(--logo-color-dark);
  transition: fill 0.3s ease;
}

.nav__logo,
.nav__toggle {
  color: var(--first-color-lighten);
}

.nav__logo-img {
  height: 70%;
}

.nav__toggle {
  font-size: 1.3rem;
  cursor: pointer;
  margin: 0 0.2rem;
}

/* Show menu */
.show-menu {
  top: var(--header-height);
}

/* Active menu */
.active-link {
  position: relative;
}

.nav__link::after {
  content: "";
  position: absolute;
  bottom: -0.7rem;
  left: 0;
  width: 65%;
  height: 3px;
  background-color: var(--first-color-light);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease-in-out;
}

.nav__link.active-link::after {
  transform: scaleX(1);
}

/* Change background header */
.scroll-header {
  background-color: var(--first-color-lighten);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.scroll-header .nav__logo,
.scroll-header .nav__toggle,
.scroll-header .nav__link {
  color: var(--first-color-dark);
}

.scroll-header .nav__link:hover {
  color: var(--first-color-light);
}

.scroll-header .nav__menu {
  background-color: var(--first-color-lighten);
}

/*===== SCROLL TOP =====*/
.scrolltop {
  position: fixed;
  right: 1em;
  bottom: -20%;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0.5rem;
  background: rgba(123, 111, 113, 0.7);
  border-radius: 0.5rem;
  z-index: var(--z-tooltip);
  transition: 0.4s;
  /*visibility:hidden;*/
}

.scrolltop:hover {
  background-color: var(--first-color);
}

.scrolltop__icon {
  font-size: 2rem;
  color: var(--first-color-lighten);
}

/* Show scroll top */
.show-scroll {
  visibility: visible;
  bottom: 1.5rem;
}

/*===== HOME =====*/
.home {
  background-color: #000;
  overflow: hidden;
}

.home__container {
  position: relative;
  height: calc(100vh - var(--header-height));
  grid-template-rows: repeat(2, max-content);
  align-content: space-around;
  row-gap: 2rem;
}

.home__data {
  border-left: 4px solid var(--first-color-lighten);
  color: var(--first-color-lighten);
  padding-left: 1.5em;
  z-index: var(--z-tooltip);
}

.home__name {
  font-size: var(--big-font-size);
}

.home__cursor::after {
  content: "";
  display: inline-block;
  margin-left: 3px;
  background-color: var(--first-color-lighten);
  animation-name: blink;
  animation-duration: 0.5s;
  animation-iteration-count: infinite;
}

h1.home__cursor::after {
  height: 24px;
  width: 12px;
}

span.home__cursor::after {
  height: 12px;
  width: 7px;
}

@keyframes blink {
  0% {
    opacity: 1;
  }

  49% {
    opacity: 1;
  }

  50% {
    opacity: 0;
  }

  100% {
    opacity: 0;
  }
}

.home__greeting,
.home__profession {
  display: block;
  font-weight: var(--font-bold);
}

.home__greeting {
  font-size: var(--small-font-size)
}

.home__profession {
  font-size: 0.938rem;
  margin-bottom: var(--mb-3);
}

.home__img {
  position: absolute;
  right: 0;
  bottom: 0;
}

.home__img img {
  width: 240px;
}

.home__social {
  display: flex;
  flex-direction: column;
}

.home__social-icon {
  width: max-content;
  font-size: 1.3rem;
  margin-bottom: var(--mb-2);
  color: var(--first-color-lighten);
}

.home__social-icon:hover {
  color: var(--first-color-light);
}

.home__mouse {
  width: 25px;
  height: 50px;
  border: 2px solid #fff;
  border-radius: 20px;
  display: flex;
  justify-self: left;
}

.home__mouse-wheel {
  display: block;
  width: 10px;
  height: 10px;
  background-color: #fff;
  border-radius: 50%;
  margin: auto;
  animation: home__move-wheel 1s linear infinite;
}

@keyframes home__move-wheel {
  0% {
    opacity: 0;
    transform: translateY(-1rem);
  }

  100% {
    opacity: 1;
    transform: translateY(1rem);
  }
}

/*BUTTONS*/
.button {
  display: inline-block;
  background-color: var(--first-color);
  color: var(--first-color-lighten);
  padding: 0.75rem 1rem;
  border-radius: 0.25rem;
  transition: 0.3s;
}

.button:hover {
  background-color: var(--first-color-dark);
}

.button-link {
  background: none;
  color: var(--first-color);
  padding: 0;
}

.button-link:hover {
  background: none;
  color: var(--first-color-light);
}

.button-flex {
  display: inline-flex;
  align-items: center;
}

.button-icon {
  font-size: 1.25rem;
  margin-left: 0.2rem;
  transition: 0.3s;
}

.button-qualification-tab {
  font-size: var(--h3-font-size);
  font-weight: var(--font-medium);
  display: inline-flex;
  align-items: center;
  background: none;
  padding: 0.75rem 1rem;
  border-radius: 0.4rem;
  cursor: pointer;
  transition: 0.4s;
}

.button-qualification-tab:hover {
  background-color: var(--first-color);
  color: var(--first-color-lighten);
}

/*===== ABOUT =====*/
.about__container {
  align-items: center;
}

.about__data {
  text-align: justify;
}

.about__list {
  margin-left: 1.2rem;
  margin-top: var(--mb-1);
}

.about__list li {
  position: relative;
  padding-left: 0.6rem;
  margin-bottom: var(--mb-1);
  list-style-type: disc;
}

.about__achievement {
  font-size: var(--h2-font-size);
  color: var(--first-color);
  font-weight: var(--font-semi-bold);
  display: block;
  margin-top: 1rem;
}

.about__number {
  font-size: var(--h3-font-size);
  font-weight: var(--font-semi-bold);
}

.about__img {
  justify-self: center;
  width: 160px;
  border-radius: 0.5rem;
}

/*==================== SKILLS ====================*/
.skills__container {
  row-gap: 0;
}

.skills__header {
  display: flex;
  align-items: center;
  margin-bottom: var(--mb-5);
  cursor: pointer;
  padding: 1rem;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.skills__icon,
.skills__arrow {
  font-size: 2rem;
  columns: var(--first-color);
}

.skills__icon {
  margin-right: var(--mb-1);
}

.skills__title {
  font-size: var(--h3-font-size);
}

.skills__arrow {
  margin-left: auto;
  transition: 0.4s;
}

.skills__list {
  row-gap: 1rem;
  padding-left: 2rem;
  padding-right: 1rem;
}

.skills__titles {
  display: flex;
  justify-content: center;
  text-align: center;
  margin-bottom: var(--mb-1);
}

.skills__name {
  font-size: var(--normal-font-size);
  font-weight: var(--font-medium);
}

.skills__separation {
  display: flex;
  justify-content: center;
}

.skills__bar {
  height: 2px;
  width: 20%;
  border-radius: 0.25rem;
  background-color: var(--first-color-light);
}

.skills__bigbar {
  display: block;
  height: 4px;
  border-radius: 0.25rem;
  background-color: var(--first-color);
  margin-bottom: var(--mb-5);
}

.skills__close .skills__list {
  height: 0;
  overflow: hidden;
}

.skills__open .skills__list {
  height: max-content;
  margin-bottom: var(--mb-5);
}

.skills__open .skills__arrow {
  transform: rotate(-180deg);
}

/*==================== QUALIFICATION ====================*/
.qualification__tabs {
  display: flex;
  justify-content: space-evenly;
  margin-bottom: var(--mb-6);
}

.qualification__icon {
  font-size: 1.8rem;
  margin-right: var(--mb-1);
}

.qualification__data {
  display: grid;
  grid-template-columns: 1fr max-content 1fr;
  gap: 0.5rem;
}

.qualification__data__left {
  justify-items: end;
  text-align: end;
}

.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__precision {
  display: inline-block;
  color: var(--text-color-light);
  font-size: var(--small-font-size);
  margin-bottom: var(--mb-1);
}

.qualification__calendar {
  font-size: var(--smaller-font-size);
  color: var(--text-color);
}

.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 [data-content] {
  display: none;
}

.qualification__active[data-content] {
  display: block;
}

.qualification__right__button.qualification__active,
.qualification__left__button.qualification__active {
  color: var(--first-color);
  border: solid;
  border-width: 1px;
  border-color: var(--first-color);
}

.qualification__right__button.qualification__active:hover,
.qualification__left__button.qualification__active:hover {
  color: var(--first-color-lighten);
}

/*===== PORTFOLIO =====*/
.portfolio__nav {
  text-align: center;
  margin-bottom: var(--mb-3);
}

.portfolio__item {
  margin: 0 var(--mb-1);
  cursor: pointer;
}

.portfolio__content {
  background-color: #fff;
  border-radius: 0.5rem;
  overflow: hidden;
  box-shadow: 0 4px 6px rgba(174, 190, 205, 0.3);
}

.portfolio__img {
  height: 100%;
  object-fit: cover;
  object-position: center;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  transition: 0.4s;
  position: absolute;
}

.portfolio__data {
  padding: 1rem 1.5rem;
}

.portfolio__subtitle {
  font-size: var(--small-font-size);
  color: var(--first-color-light);
}

.portfolio__title {
  font-size: var(--h3-font-size);
  color: var(--first-color);
  margin: var(--mb-2) 0;
}

.portfolio__button {
  cursor: pointer;
}

.portfolio__button:hover .button-icon {
  transform: translateX(0.25rem);
}

.portfolio__content:hover {
  box-shadow: 0 6px 8px rgba(174, 190, 205, 0.4);
}

.portfolio__content:hover .portfolio__img {
  transform: translate(-50%, -50%) scale(1.12);
  cursor: zoom-in;
}

#portfolio__img__fullpage__container {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease;
  z-index: var(--z-fixed);
}

#portfolio__img__fullpage {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

#portfolio__img__fullpage__img {
  max-width: 75vw;
  max-height: 85vh;
  height: auto;
  width: auto;
  display: block;
}

#portfolio__img__fullpage__left,
#portfolio__img__fullpage__right {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 2rem;
  cursor: pointer;
  color: var(--first-color-lighten);
  transition: color 0.2s;
  padding: 0.1rem;
  background: rgba(0, 0, 0, 0.6);
  border-radius: 0.5rem;
  user-select: none;
}

#portfolio__img__fullpage__left {
  left: -2rem;
}

#portfolio__img__fullpage__right {
  right: -2rem;
}

#portfolio__img__fullpage__left:hover,
#portfolio__img__fullpage__right:hover,
#portfolio__img__fullpage__close:hover {
  color: var(--first-color);
}

#portfolio__img__fullpage__pagination {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(0, 0, 0, 0.6);
  color: #fff;
  padding: 0.3rem 0.6rem;
  border-radius: 0.5rem;
  font-family: sans-serif;
  bottom: -2.2rem;
  font-size: var(--normal-font-size);
}

#portfolio__img__fullpage__close {
  position: absolute;
  top: -0.2rem;
  right: -2rem;
  font-size: 2rem;
  cursor: pointer;
  color: var(--first-color-lighten);
  transition: color 0.2s;
  padding: 0.1rem;
  background: rgba(0, 0, 0, 0.6);
  border-radius: 0.5rem;
  user-select: none;
}

/* Active menu portfolio*/
.active-portfolio {
  color: var(--first-color-dark);
  font-weight: var(--font-semi-bold);
}

.portfolio__swiper__container {
  overflow: hidden;
  height: 13rem;
}

.swiper-container {
  padding: 0 0 2rem 0;
}

.swiper-container-horizontal>.swiper-pagination-bullets {
  bottom: 0;
}

.swiper-pagination-bullet-active {
  background-color: var(--first-color);
}

.swiper-pagination-bullet {
  outline: none;
}

/* ===== PORTFOLIO MODAL ===== */
body.modal-open {
  overflow: hidden;
}

.portfolio__modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 0.5rem;
  z-index: var(--z-fixed);
  opacity: 0;
  visibility: hidden;
  transition: 0.3s;
}

.portfolio__modal-content {
  position: relative;
  background-color: var(--first-color);
  padding: 1.5rem;
  border-radius: 0.5rem;
  color: var(--first-color-lighten);
  max-height: 90vh;
  overflow-y: auto;
}

.portfolio__modal-portfolio {
  display: grid;
  row-gap: 1.2rem;
}

.portfolio__modal-service {
  display: flex;
  align-items: center;
}

.portfolio__modal-github {
  justify-content: center;
}

.portfolio__modal-title {
  display: block;
  font-size: var(--h3-font-size);
  font-weight: var(--font-bold);
  margin-bottom: var(--mb-2);
  padding-right: var(--mb-4);
}

.portfolio__modal-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  font-size: 1.5rem;
  cursor: pointer;
}

.portfolio__modal-icon {
  margin-right: var(--mb-1);
}

/* Active Modal */
.active-modal {
  opacity: 1;
  visibility: visible;
}

/*===== CONTACTME =====*/
.contact__container {
  row-gap: 2.5rem;
}

.contact__content {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.contact__box {
  background-color: #fff;
  border-radius: 0.5rem;
  padding: 1.5rem;
  text-align: center;
  box-shadow: 0 4px 6px rgba(174, 190, 205, 0.3);
}

.contact__icon,
.contact__title {
  color: var(--first-color);
}

.contact__icon {
  font-size: 2rem;
}

.contact__title {
  font-size: var(--h3-font-size);
  margin: var(--mb-1) 0;
}

.contact__social {
  width: 40px;
  height: 40px;
  font-size: 1.5rem;
  margin: 0 var(--mb-1);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: var(--first-color-light);
  border-radius: 50%;
  outline: 2px solid var(--first-color-light);
  transition-property: outline-offset, outline-color, background-color;
  transition-duration: 0.25s;
}

.contact__social:hover {
  outline-offset: 4px;
}

.contact__social:hover i {
  animation: shake 0.25s;
}

.contact__social__messenger:hover {
  color: #fff;
  background-image: linear-gradient(191deg,
      rgba(255, 105, 104, 1) 0%,
      rgba(163, 52, 250, 1) 35%,
      rgba(6, 149, 255, 1) 100%);
  outline-color: #5b29e5;
}

.contact__social__whatsapp:hover {
  color: #fff;
  background-image: linear-gradient(191deg,
      rgba(37, 211, 102, 1) 0%,
      rgba(7, 94, 84, 1) 76%);
  background-color: #2ea44f;
  outline-color: #2ea44f;
}

@keyframes shake {
  10% {
    transform: rotate(15deg);
  }

  20% {
    transform: rotate(-15deg);
  }

  30% {
    transform: rotate(15deg);
  }

  40% {
    transform: rotate(-15deg);
  }
}

.contact__box:hover {
  box-shadow: 0 6px 8px rgba(174, 190, 205, 0.4);
}

.contact__inputs {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  column-gap: 1rem;
}

.contact__input,
.contact__button {
  outline: none;
  font-family: var(--body-font);
  font-size: var(--normal-font-size);
}

.contact__input {
  width: 100%;
  padding: 1rem;
  border: 2px solid var(--first-color-light);
  color: var(--first-color);
  border-radius: 0.5rem;
  margin-bottom: var(--mb-1);
}

.contact::placeholder {
  color: var(--first-color-light);
  font-family: var(--body-font);
  font-weight: var(--font-semi-bold);
}

.contact__button {
  cursor: pointer;
  border: none;
}

/*===== FOOTER =====*/
.footer {
  background-color: var(--first-color-dark);
  color: var(--first-color-lighten);
  text-align: center;
}

.footer__container {
  padding: 3rem 0;
}

.footer__title {
  font-size: var(--h1-font-size);
  margin-bottom: var(--mb-1);
  font-weight: var(--font-semi-bold);
}

.footer__description {
  margin-bottom: var(--mb-3);
}

.footer__social {
  margin-bottom: var(--mb-6);
}

.footer__link {
  font-size: 1.4rem;
  color: var(--first-color-lighten);
  margin: 0 var(--mb-1);
  transition: 0.3s;
}

.footer__link:hover {
  color: var(--first-color-light);
}

.footer__copy {
  font-size: var(--smaller-font-size);
  color: var(--first-color-light);
}

/*===== TRUCK BUTTON =====*/
.truck-button {
  --tick: #16bf78;
  --cross: red;
  --reload: #ffb400;
  --base: #0d0f18;
  --wheel: #2b3044;
  --wheel-inner: #646b8c;
  --wheel-dot: #fff;
  --back: #6d58ff;
  --back-inner: #362a89;
  --back-inner-shadow: #2d246b;
  --front: #a6accd;
  --front-shadow: #535a79;
  --front-light: #fff8b1;
  --window: #2b3044;
  --window-shadow: #404660;
  --street: #646b8c;
  --street-fill: #404660;
  --box: #dcb97a;
  --box-shadow: #b89b66;
  transform-style: preserve-3d;
  transform: rotateX(var(--rx, 0deg)) translateZ(0);
  transition: transform 0.5s, border-radius 0.3s linear var(--br-d, 0s);
  display: flex;
  justify-content: center;
  align-items: center;
  width: 172px;
  position: relative;
  border: none;
  outline: none;
  border-radius: var(--br, 5px);
  appearance: none;
  -webkit-appearance: none;
  -webkit-tap-highlight-color: transparent;
  margin-left: auto;
}

.truck-button:before,
.truck-button:after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 6px;
  display: block;
  background: var(--b, var(--street));
  transform-origin: 0 100%;
  transform: rotateX(90deg) scaleX(var(--sy, 1));
}

.truck-button:after {
  --sy: var(--progress, 0);
  --b: var(--street-fill);
}

.truck-button .default,
.truck-button .success {
  display: block;
  opacity: var(--o, 1);
  transition: opacity 0.3s;
}

.truck-button .success {
  --o: 0;
  position: absolute;
}

.truck-button .success .check,
.truck-button .default .check,
.truck-button .success .cross,
.truck-button .default .cross {
  width: 12px;
  height: 10px;
  display: inline-block;
  vertical-align: top;
  fill: none;
  margin: 7px 0 0 4px;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 16px;
  stroke-dashoffset: var(--offset, 16px);
  transition: stroke-dashoffset 0.4s ease 0.45s;
}

.truck-button .success .reload,
.truck-button .default .reload {
  width: 12px;
  display: inline-block;
  vertical-align: top;
  fill: var(--reload);
  margin: 7px 0 0 4px;
  stroke: var(--reload);
}

.truck-button .success .check,
.truck-button .default .check {
  stroke: var(--tick);
}

.truck-button .success .cross,
.truck-button .default .cross {
  stroke: var(--cross);
}

.truck-button .truck {
  position: absolute;
  width: 72px;
  height: 28px;
  transform: rotateX(90deg) translate3d(var(--truck-x, -44px), calc(var(--truck-y-n, -26) * 1px), 12px);
}

.truck-button .truck:before,
.truck-button .truck:after {
  content: "";
  position: absolute;
  bottom: -6px;
  left: var(--l, 18px);
  width: 10px;
  height: 10px;
  border-radius: 50%;
  z-index: 2;
  box-shadow: inset 0 0 0 2px var(--wheel), inset 0 0 0 4px var(--wheel-inner);
  background: var(--wheel-dot);
  transform: translateY(calc(var(--truck-y) * -1px)) translateZ(0);
}

.truck-button .truck:after {
  --l: 54px;
}

.truck-button .truck .wheel,
.truck-button .truck .wheel:before {
  position: absolute;
  bottom: var(--b, -6px);
  left: var(--l, 6px);
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--wheel);
  transform: translateZ(0);
}

.truck-button .truck .wheel {
  transform: translateY(calc(var(--truck-y) * -1px)) translateZ(0);
}

.truck-button .truck .wheel:before {
  --l: 35px;
  --b: 0;
  content: "";
}

.truck-button .truck .front,
.truck-button .truck .back,
.truck-button .truck .box {
  position: absolute;
}

.truck-button .truck .back {
  left: 0;
  bottom: 0;
  z-index: 1;
  width: 47px;
  height: 28px;
  border-radius: 1px 1px 0 0;
  background: linear-gradient(68deg, var(--back-inner) 0%, var(--back-inner) 22%, var(--back-inner-shadow) 22.1%, var(--back-inner-shadow) 100%);
}

.truck-button .truck .back:before,
.truck-button .truck .back:after {
  content: "";
  position: absolute;
}

.truck-button .truck .back:before {
  left: 11px;
  top: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  border-radius: 0 1px 0 0;
  background: var(--back);
}

.truck-button .truck .back:after {
  border-radius: 1px;
  width: 73px;
  height: 2px;
  left: -1px;
  bottom: -2px;
  background: var(--base);
}

.truck-button .truck .front {
  left: 47px;
  bottom: -1px;
  height: 22px;
  width: 24px;
  -webkit-clip-path: polygon(55% 0, 72% 44%, 100% 58%, 100% 100%, 0 100%, 0 0);
  clip-path: polygon(55% 0, 72% 44%, 100% 58%, 100% 100%, 0 100%, 0 0);
  background: linear-gradient(84deg, var(--front-shadow) 0%, var(--front-shadow) 10%, var(--front) 12%, var(--front) 100%);
}

.truck-button .truck .front:before,
.truck-button .truck .front:after {
  content: "";
  position: absolute;
}

.truck-button .truck .front:before {
  width: 7px;
  height: 8px;
  background: #fff;
  left: 7px;
  top: 2px;
  -webkit-clip-path: polygon(0 0, 60% 0%, 100% 100%, 0% 100%);
  clip-path: polygon(0 0, 60% 0%, 100% 100%, 0% 100%);
  background: linear-gradient(59deg, var(--window) 0%, var(--window) 57%, var(--window-shadow) 55%, var(--window-shadow) 100%);
}

.truck-button .truck .front:after {
  width: 3px;
  height: 2px;
  right: 0;
  bottom: 3px;
  background: var(--front-light);
}

.truck-button .truck .box {
  width: 13px;
  height: 13px;
  right: 56px;
  bottom: 0;
  z-index: 1;
  border-radius: 1px;
  overflow: hidden;
  transform: translate(calc(var(--box-x, -24) * 1px), calc(var(--box-y, -6) * 1px)) scale(var(--box-s, 0.5));
  opacity: var(--box-o, 0);
  background: linear-gradient(68deg, var(--box) 0%, var(--box) 50%, var(--box-shadow) 50.2%, var(--box-shadow) 100%);
  background-size: 250% 100%;
  background-position-x: calc(var(--bx, 0) * 1%);
}

.truck-button .truck .box:before,
.truck-button .truck .box:after {
  content: "";
  position: absolute;
}

.truck-button .truck .box:before {
  content: "";
  background: rgba(255, 255, 255, 0.2);
  left: 0;
  right: 0;
  top: 6px;
  height: 1px;
}

.truck-button .truck .box:after {
  width: 6px;
  left: 100%;
  top: 0;
  bottom: 0;
  background: var(--back);
  transform: translateX(calc(var(--hx, 0) * 1px));
}

.truck-button.animation {
  --rx: -90deg;
  --br: 0;
}

.truck-button.animation .default {
  --o: 0;
}

.truck-button.animation.done {
  --rx: 0deg;
  --br: 5px;
  --br-d: 0.2s;
}

.truck-button.animation.done .success,
.truck-button.animation.done .default {
  --o: 1;
}

.truck-button.already__done .success,
.truck-button.already__done .default {
  --offset: 0;
}

.loading__animation {
  width: 20px;
  height: 20px;
  border: 5px solid #FFF;
  border-bottom-color: transparent;
  border-radius: 50%;
  display: inline-block;
  box-sizing: border-box;
  animation: rotation 1s linear infinite;
}

@keyframes rotation {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

/*========== SCROLL BAR ==========*/
::-webkit-scrollbar {
  width: 0.6rem;
  background-color: var(--first-color-lighten);
  border-radius: 0.5rem;
}

::-webkit-scrollbar-thumb {
  background-color: var(--first-color-light);
  border-radius: 0.5rem;
}

::-webkit-scrollbar-thumb:hover {
  background-color: var(--text-color);
}

/*===== MEDIA QUERIES =====*/
/* var(--bp-tablet) */
@media screen and (min-width: 576px) {
  .bd-container {
    margin-inline: var(--mb-2);
  }

  .portfolio__item {
    margin: 0 var(--mb-2);
  }

  .qualification__data {
    column-gap: 1.5rem;
  }

  .portfolio__modal {
    padding: 0 1rem;
  }

  .truck-button {
    margin-left: 0;
  }

  #portfolio__img__fullpage__img {
    max-width: 85vw;
  }

  #portfolio__img__fullpage__left {
    left: -3rem;
  }

  #portfolio__img__fullpage__right {
    right: -3rem;
  }

  #portfolio__img__fullpage__close {
    top: -0.6rem;
    right: -3rem;
  }

  .home__img img {
    width: 330px;
  }

  .about__container,
  .skills__container,
  .portfolio__container {
    grid-template-columns: repeat(2, 1fr);
  }

  .about__img {
    width: 200px;
  }

  .qualification__sections {
    display: grid;
    grid-template-columns: 0.6fr;
    justify-content: center;
  }

  .contact__form {
    width: 450px;
    justify-self: center;
  }
}

/* var(--bp-laptop) */
@media screen and (min-width: 768px) {
  body {
    margin: 0;
  }

  .section {
    padding-top: 6rem;
  }

  .section-title {
    margin-bottom: var(--mb-5);
  }

  .nav {
    height: calc(var(--header-height) + 1.5rem);
  }

  .nav__list {
    display: flex;
  }

  .nav__item {
    margin-left: var(--mb-5);
    margin-bottom: 0;
  }

  .nav__toggle {
    display: none;
  }

  .home__container {
    height: 100vh;
    grid-template-rows: max-content 0.5fr;
    align-content: flex-end;
  }

  .home__greeting {
    font-size: 1.25rem;
  }

  .home__profession {
    font-size: 2rem;
  }

  .home__social {
    flex-direction: row;
    align-items: center;
  }

  .home__social-icon {
    margin-right: var(--mb-4);
    margin-bottom: 0;
  }

  .home__img img {
    width: 400px;
  }

  .about__img {
    width: 280px;
  }

  .home__mouse {
    margin: 2rem;
  }

  h1.home__cursor::after {
    height: 43px;
    width: 18px;
  }

  span.home__cursor::after {
    height: 25px;
    width: 12px;
  }

  .qualification__tabs {
    justify-content: center;
  }

  .qualification__right__button {
    margin: 0 var(--mb-3);
  }

  .qualification__left__button {
    margin-right: var(--mb-5);
  }

  .qualification__data {
    column-gap: 2.5rem;
  }

  .portfolio__container {
    grid-template-columns: repeat(3, 1fr);
  }

  .portfolio__modal-content {
    width: 450px;
  }

  .contact__content {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* var(--bp-desktop) */
@media screen and (min-width: 992px) {
  .bd-container {
    margin-inline: auto;
  }

  .home__mouse {
    justify-self: center;
  }

  .contact__content {
    grid-template-columns: repeat(4, 1fr);
  }
}