* {
  scroll-behavior: smooth;
}

body {
  font-family: system-ui, BlinkMacSystemFont, Segoe UI, Roboto, Helvetica Neue,
    Fira Sans, Ubuntu, Oxygen, Oxygen Sans, Cantarell, Droid Sans,
    Apple Color Emoji, Segoe UI Emoji, Segoe UI Emoji, Segoe UI Symbol,
    Lucida Grande, Helvetica, Arial, sans-serif;
  background-color: #f3f2ef;
  margin: 0;
  padding: 0;
}

/*==================================================  DARK MODE  ===============================================|
===============================================================================================================*/

body.dark-mode {
  background-color: #000000;

  & header nav {
    background-color: #1b1f23;
    border-bottom: 1px solid #333;
    color: #e9e9e9;

    & span {
      -webkit-text-stroke-color: #f0f0f0;
      -webkit-text-stroke-width: 1px;
      color: transparent;

      &:hover {
        color: #f0f0f0;
      }
    }

    & a {
      color: #e9e9e9;
    }
  }
}

.dark-mode .profile-container,
.dark-mode .container-proyects,
.dark-mode .contact {
  background-color: #1b1f23;
  border: 1px solid #222;
  color: #e9e9e9;

  & .profile-picture {
    border: 3px solid #1b1f23;
  }

  & .contact-btn {
    background-color: #71b7fb;
    color: #1b1f23;
  }

  & .additional-info {
    border-top: 1px solid #333;

    & > button {
      background-color: transparent;
      border: 1px solid #0073b1;
    }

    .more-btn-container::before {
      content: "";
      position: absolute;
      bottom: -10px;
      right: 45px;
      width: 0;
      height: 0;
      border-left: 10px solid transparent;
      border-right: 10px solid transparent;
      border-top: 10px solid #1b1f23;
      filter: drop-shadow(0 0.5px #333);
    }
  }

  & .proyects > div {
    &:hover {
      filter: drop-shadow(0 0 8px #111);
    }
  }

  & input,
  textarea {
    background-color: transparent;
    border: 1px solid #444;
    color: #ccc;
  }

  & form button {
    background-color: #71b7fb;
    color: #1b1f23;
  }
}

.dark-mode .more-btn-container {
  &::before {
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-top: 10px solid #1b1f23;
    filter: drop-shadow(0 1px 1px #111);
  }
}

.dark-mode .fetch-form .notice {
  background-color: #ccc;
  border: 1px solid #444;
  color: #666;
}

.dark-mode .pre {
  filter: none;
}

.dark-mode .article-print p {
  color: #ccc;
}

.dark-mode .ramdom-user {
  background-color: #151515;
  border: 1px solid #333;
  color: #ccc;
}

.dark-mode .text-anal {
  border: 1px solid #333;
}

/*-------------------------------------------------------------------------------------------------------------------|
----------------------------------------------------- Nav Section ---------------------------------------------------|
--------------------------------------------------------------------------------------------------------------------*/

header {
  & nav {
    width: 100%;
    height: 50px;
    display: flex;
    position: relative;
    background-color: #fff;
    border-bottom: 1px solid #ddd;
    overflow: hidden;

    & span {
      -webkit-text-stroke-color: #000000;
      -webkit-text-stroke-width: 1px;
      color: transparent;
      font-weight: 700;
      font-size: 22px;
      margin-top: 10px;
      margin-left: 8px;
      cursor: default;

      &:hover {
        color: #000000;
        transition: 0.6s ease-in-out;
      }
    }

    & .solid-container {
      margin-left: 12px;
      margin-top: 3px;

      & img {
        width: 45px;
        height: 45px;
        display: inline-flex;

        &:hover {
          transform: scale(1.1);
          transition: transform 0.3s ease;
          filter: drop-shadow(1px 2px 6px #666);
        }
      }
    }

    & ul {
      position: absolute;
      right: 40px;
      top: 16px;
      display: inline-flex;

      & > li {
        list-style: none;
        margin-right: 16px;
        transform: translateY(-18px);

        & a {
          color: #000000;
          font-size: 14px;
          font-weight: 500;
          text-decoration: none;
        }

        & a:hover {
          color: #0073b1;
        }
      }
    }

    & .right-aside {
      position: absolute;
      top: 18px;
      right: 20px;
      display: flex;

      & svg {
        width: 18px;
        height: 18px;
      }
      & .moon-icon {
        display: none;

        &:hover {
          transform: scale(1.1);
          transition: 0.3s ease-in-out;
        }
      }
      & .sun-icon {
        fill: #ffb93c;

        &:hover {
          transform: scale(1.1);
          transition: 0.3s ease-in-out;
        }
      }
    }
  }

  .moon-icon #moon-stars {
    fill: #ffb93c;
  }
}

/*///////////////////////////////////////////////////////////////////////////////////////////////////////////////////|
///////////////////////////////////////////// Profile Container & Info //////////////////////////////////////////////|
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////*/

.profile-container {
  width: 50%;
  margin: 20px auto;
  background-color: #fff;
  border: 1px solid #ddd;
  border-radius: 8px;
  overflow: hidden;
}

.header {
  position: relative;
  height: 200px;
}

.cover-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.profile-picture {
  position: absolute;
  bottom: -48px;
  left: 20px;
  width: 100px;
  height: 100px;
  border-radius: 50%;
  border: 3px solid #fff;
}

.profile-info {
  text-align: left;
  padding: 60px 20px 20px;
  position: relative;

  & h1 {
    font-size: 24px;
    margin: 0;
    display: flex;
    align-items: center;
  }

  & aside {
    position: absolute;
    top: 20px;
    right: 20px;

    & svg {
      width: 24px;
      height: 24px;
      fill: #f8c77e;
      cursor: pointer;
    }
  }

  & .left-panel-item {
    margin: 10px 0;
    display: inline-flex;

    & img {
      width: 45px;
      height: 45px;
      border-radius: 100%;
    }

    & p {
      margin-left: 10px;
      font-size: 13px;
      font-weight: 500;
      transform: translateY(-1px);
    }
  }
}

.profile-info .verified {
  margin-top: 3px;
  margin-left: 6px;
  width: 22px;
  height: 22px;
}

.verified path {
  stroke: #0073b1;
  stroke-width: 1px;
}

.profile-info .title {
  color: #666;
  margin: 10px 0;
  display: flex;
  align-items: center;
}

.profile-info .geo-location {
  color: #666;
  width: 12px;
  height: 12px;
  transform: translateY(1px);
}

.contact-btn {
  background-color: #0073b1;
  color: #fff;
  font-weight: 600;
  border: none;
  padding: 8px 14px;
  border-radius: 20px;
  font-size: 13px;
}

.contact-btn:hover {
  opacity: 0.9;
}

.contact-btn i {
  margin-right: 8px;
}

.additional-info {
  position: relative;
  display: flex;
  justify-content: space-around;
  padding: 20px;
  border-top: 1px solid #ddd;

  & button {
    background-color: #e6f0f3;
    color: #0073b1;
    border: none;
    padding: 10px 15px;
    border-radius: 20px;
    cursor: pointer;
    font-size: 14px;
    display: flex;
    align-items: center;

    & svg {
      margin-right: 5px;
    }
  }

  .more-btn-container {
    display: none;
    position: absolute;
    right: 23px;
    bottom: 77px;
    padding: 10px;
    background-color: #eee;
    border: 1px solid #ddd;
    border-radius: 8px;

    & ul {
      margin: 0;
      padding: 0;

      & li {
        list-style: none;
        margin: 10px 0;
        padding: 0;
        font-weight: 600;
        font-size: 14px;
        cursor: pointer;

        &:hover {
          color: #0073b1;
        }

        & svg {
          margin-inline: 5px;
          transform: translateY(3px);
        }
      }
    }

    &::before {
      content: "";
      position: absolute;
      bottom: -10px;
      right: 45px;
      width: 0;
      height: 0;
      border-left: 10px solid transparent;
      border-right: 10px solid transparent;
      border-top: 10px solid #eee;
      filter: drop-shadow(0 0.5px #ccc);
    }
  }
}

.additional-info > button:hover {
  outline: 1px solid #72b9df;
  transition: 0.3s all;
}

.additional-info i {
  margin-right: 8px;
}

/*==================================================================================================================*/
/*============================================= Contact Card Info =================================================*/
/*================================================================================================================*/

.container-contact-card-info {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(160, 160, 160, 0.103);
  backdrop-filter: blur(5px);
  justify-content: center;
  align-items: center;
  z-index: 2;
}

.contact-card-info {
  position: fixed;
  top: 10%;
  left: 30%;
  background-color: #eee;
  width: 500px;
  height: 420px;
  border: 1px solid #ddd;
  border-radius: 8px;
  display: flex;
  flex-direction: column;

  animation: card-contact 0.4s forwards;
}

.contact-card-info header {
  width: 100%;
  border-bottom: 1px solid #ddd;
  padding-block: 10px;
}

.contact-card-info header h3 {
  margin: 0 20px;
}

.contact-info-section {
  flex-grow: 1;
  padding: 20px;
  text-align: left;
  overflow-y: auto;

  & .info-header {
    margin: 0;
  }
}

.contact-info-section .container-section {
  display: flex;
  flex-direction: column;

  & ul li:hover {
    color: #6baceb;
    text-decoration: underline;
    transition: hover 0.3s ease-in-out;
  }
}

.contact-info-section .svg-container {
  display: inline-flex;
  align-items: center;
}

.contact-info-section .svg-container svg {
  transform: translateY(1px);
}

.contact-info-section .svg-container h4 {
  display: inline;
  margin-block: 10px;
  margin-left: 10px;
}

.contact-info-section ul {
  margin: 0;
  padding-left: 0;
}

.contact-info-section ul li {
  list-style: none;
  margin-left: 5px;
}

.address-p {
  margin: 0;
}

.contact-info-section a,
.address-p {
  font-size: 14px;
  color: #6baceb;
  font-weight: 500;
  text-decoration: none;
  margin-left: 25px;
}

@keyframes card-contact {
  from {
    transform: scale(0);
    opacity: 0.5;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

/*-------------------------------------------------------------------------------------------------------------------|
*---------------------------------------------------- Proyects Section ----------------------------------------------|
*-------------------------------------------------------------------------------------------------------------------*/

.container-proyects {
  width: 50%;
  margin: 20px auto;
  background-color: #fff;
  border: 1px solid #ddd;
  border-radius: 8px;
  overflow: hidden;
  justify-content: center;

  & svg {
    transform: translateY(2px);
  }

  & h2 {
    text-align: center;
  }

  & p {
    padding: 15px;
    color: #666;
  }
}

.proyects {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
  gap: 5px;
  padding: 15px;
  position: relative;

  & > div {
    border-radius: 8px;
    overflow: hidden;
    cursor: default;
    margin: 0 auto;

    &:hover {
      transform: scale(1.1);
      transition: 0.5s ease-in-out;
      filter: drop-shadow(0 0 10px #bbb);
      z-index: 99;
    }
  }

  & > div p {
    text-align: center;
    margin: 0;
    font-size: small;
    color: #666;
  }

  & > div ul {
    display: flex;
    gap: 6px;
    padding: 0;
    margin-left: 10px;

    & li {
      list-style: none;
      text-align: left;

      & a {
        font-size: small;
        color: #0073b1;
        padding: 4px 8px;
        text-decoration: none;
      }

      & > a:hover {
        text-decoration: underline;
      }
    }
  }
}

.ramdom-user {
  position: relative;
  background-color: #f3f2ef;
  font-size: 14px;
  margin: 9px;
  border-radius: 8px;
  border: 1px solid #ddd;

  & a {
    color: #0073b1;
    text-decoration: none;

    &:hover {
      text-decoration: underline;
    }
  }
}

/*~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
/*~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Proyect Cards  |~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*/

.card {
  overflow: visible;
  width: 190px;
  height: 254px;
}

.content {
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
  transition: transform 300ms;
  box-shadow: 0px 0px 10px 1px #000000ee;
  border-radius: 5px;

  & strong {
    color: #ccc;
    font-size: 14px;
  }

  & a {
    color: #ffb93c;
    font-size: 12px;
    text-decoration: none;

    &:hover {
      text-decoration: underline;
    }
  }
}

.front,
.back {
  background-color: #151515;
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  border-radius: 5px;
  overflow: hidden;
}

.back {
  width: 100%;
  height: 100%;
  justify-content: center;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.back::before {
  position: absolute;
  content: " ";
  display: block;
  width: 160px;
  height: 160%;
  background: linear-gradient(
    90deg,
    transparent,
    #0073b1,
    #0073b1,
    #0073b1,
    #0073b1,
    transparent
  );
}

.back-content {
  position: absolute;
  width: 99%;
  height: 99%;
  background-color: #151515;
  border-radius: 5px;
  color: white;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 30px;
}

.card:hover .content {
  transform: rotateY(180deg);
}

.front {
  transform: rotateY(180deg);
  color: white;
}

.front .front-content {
  position: absolute;
  width: 100%;
  height: 100%;
  padding: 10px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.front-content .badge {
  background-color: #00000055;
  padding: 2px 10px;
  border-radius: 10px;
  backdrop-filter: blur(2px);
  width: fit-content;
  font-size: 10px;
}

.description {
  box-shadow: 0px 0px 10px 5px #00000088;
  width: 100%;
  padding: 10px;
  background-color: #00000099;
  backdrop-filter: blur(5px);
  border-radius: 5px;
}

.title {
  font-size: 11px;
  max-width: 100%;
  display: flex;
  justify-content: space-between;
}

.title p {
  width: 50%;
}

.card-footer {
  color: #303030;
  margin-top: 5px;
  font-size: 8px;
  color: #ffb93c;
}

.front .img {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.circle {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  background-color: #9b5ee1;
  filter: blur(15px) drop-shadow(0 0 10px #999);
  position: relative;
  animation: floating 9s infinite linear;
}

#bottom {
  background-color: #47cef8;
  left: 50px;
  top: 0px;
  width: 150px;
  height: 150px;
  animation-delay: -800ms;
}

#right {
  background-color: #d3d02b;
  left: 160px;
  top: -80px;
  width: 60px;
  height: 60px;
  animation-delay: -1800ms;
}

@keyframes floating {
  0% {
    transform: translateY(0px);
  }

  50% {
    transform: translateY(20px);
  }

  100% {
    transform: translateY(0px);
  }
}

#sobre-mi {
  font-weight: 500;
  font-size: 18px;
}

time {
  color: #666;
  font-size: 13px;
  margin-left: 15px;
}

.text-anal {
  position: relative;
  overflow: hidden;
  border: 1px solid #eee;
  padding: 10px;
  border-radius: 5px;
  margin: 10px;
  font-size: 14px;

  &:focus {
    outline: 1px solid #0073b1;
  }
}
.progress-char {
  width: 50%;
  justify-content: center;
  margin: 0 auto;
}
#char-length {
  user-select: none;
  cursor: default;
  font-size: 10px;
  font-weight: 500;
  color: #2fc53d;
}
#progress-container {
  width: 100%;
  background-color: #e0e0e0;
  border-radius: 5;
  overflow: hidden;
  position: relative;
  border-radius: 999px;
}
#char-length-loader {
  height: 14px;
  width: 0;
  background: linear-gradient(135deg, #0c9c13 25%, #39e94a 50%, #75ce78 75%);

  border-radius: 5;
  transition: width 0.1s linear;
}
#progress {
  position: absolute;
  top: 0.5px;
  left: calc(50% - 25px);
  font-size: 10px;
  font-weight: 800;
  color: #000000;
  cursor: default;
}

.table-container {
  justify-content: center;
  margin: 10px auto;
  display: flex;

  & th,
  td {
    border: 1px solid #eee;
    padding: 8px;
    text-align: left;
  }

  & td {
    color: #0073b1;
  }
}

.text-copy {
  text-wrap: pretty;
  padding: 10px;
}

.copy-container {
  display: flex;
  justify-content: end;
  margin: 10px;
  font-size: 13px;

  & .copy {
    background-color: #eee;
    padding-inline: 4px;
    padding-bottom: 2px;
    border-radius: 8px;
    cursor: pointer;
    color: #0073b1;

    &:hover {
      opacity: 0.8;
    }
  }

  & .copied {
    display: none;
    font-size: 13px;
    background-color: #eee;
    padding-inline: 4px;
    padding-bottom: 2px;
    border-radius: 8px;
    cursor: pointer;
    color: #0073b1;
    align-items: center;
  }
}

/*----------------------------------------------->  CONTACT SECTION  <----------------------------------------------|
-------------------------------------------------------------------------------------------------------------------*/

.contact {
  width: 50%;
  margin: 20px auto;
  background-color: #fff;
  border: 1px solid #ddd;
  border-radius: 8px;
  overflow: hidden;

  & > header {
    text-align: center;
    margin: 20px 0;
  }

  & > form {
    width: 50%;
    margin: 0 auto;
    display: grid;
    gap: 8px;
    padding: 20px;

    & > input,
    & > textarea {
      width: 100%;
      border: 1px solid #ddd;
      outline: none;
      padding: 10px;
      border-radius: 8px;
      box-sizing: border-box;
    }

    & > input:focus,
    & > textarea:focus {
      outline: 2px solid #0073b1;
    }

    & > button {
      width: 100%;
      border: none;
      background-color: #e6f0f3;
      color: #0073b1;
      font-weight: 700;
      padding: 10px 15px;
      border-radius: 20px;
      cursor: pointer;
      margin-top: 10px;
    }

    & > button:hover {
      outline: 1px solid #72b9df;
    }
  }
}

/*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/
/************************************************* Contact Message Card *******************************************/
/*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/
.container-message-card {
  position: fixed;
  top: 0;
  left: 0;
  width: 100dvw;
  height: 100dvh;
  background-color: rgba(160, 160, 160, 0.103);
  backdrop-filter: blur(5px);
  justify-content: center;
  align-items: center;
}

.contact-message-card {
  position: absolute;
  top: 25%;
  left: calc(25% - 25px);
  width: 50%;
  margin: auto;
  justify-content: center;
  padding: 15px;
  background-color: #ccc;
  border: 1px solid #ddd;
  border-radius: 8px;
  text-wrap: balance;
  animation: card-contact 0.4s forwards;

  & p {
    text-align: center;
    font-weight: 500;

    & span {
      color: rgb(114, 147, 238);
    }
  }

  & button {
    display: flex;
    justify-content: center;
    margin: 0 auto;
    padding: 6px 8px;
    border: 0;
    border: 1px solid #999;
    border-radius: 100px;
    background-color: #0073b1;
    font-size: 14px;
    color: #f0f0f0;
    font-weight: 600;
    cursor: default;

    &:hover {
      opacity: 0.8;
      outline: 1px solid #1b1f23;
    }
  }
}

.fetch-form {
  overflow: hidden;
  text-align: center;

  & .notice {
    width: fit-content;
    margin: 0 15px;
    border-radius: 8px;
    border: 1px solid #ddd;
    font-size: 12px;
    padding: 10px;
    background-color: #f3f2ef;

    & span {
      color: #0073b1;
    }
  }

  & form {
    width: 50%;
    display: grid;
    margin: 0 auto;
    justify-content: center;
    gap: 10px;

    & input {
      display: grid;
      justify-content: center;
      margin: 5px auto;
      width: 100%;
      border: 1px solid #ddd;
      outline: none;
      padding: 10px;
      border-radius: 8px;
      box-sizing: border-box;
    }

    & button {
      width: fit-content;
      margin: 0 auto;
    }
  }
}

.pre {
  position: relative;
  display: flex;
  width: 70%;
  justify-content: center;
  margin: 50px auto;
  overflow: hidden;
  filter: drop-shadow(0 0 9px #666);

  &::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 40px;
    background-color: #bec4c6;
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
  }

  &::before {
    content: "";
    position: absolute;
    top: 11px;
    right: 15px;
    width: 18px;
    height: 18px;
    background-color: #fe5f5a;
    border-radius: 50%;
    z-index: 99;
  }

  & .header-pre {
    position: absolute;
    font-size: 14px;
    top: -4px;
    left: 10px;
    z-index: 99;

    & #title-pre {
      font-weight: 400;

      & a {
        color: #000000;
      }
    }
  }

  & #pre {
    width: 100%;
    padding: 50px 15px;
    border-radius: 8px;
    background-color: #1b1f23;
    color: #9999fa;
    overflow: hidden;
    overflow-x: auto;

    &::after {
      content: "";
      position: absolute;
      top: 11px;
      right: 40px;
      width: 18px;
      height: 18px;
      border-radius: 50%;
      background-color: #ffbc29;
      z-index: 99;
    }

    &::before {
      content: "";
      position: absolute;
      top: 11px;
      right: 65px;
      width: 18px;
      height: 18px;
      border-radius: 50%;
      background-color: #2fc53d;
      z-index: 99;
    }
  }
}

.contact-info-section-print {
  display: none;
  color: #333;
  font-size: 14px;

  & a {
    color: #0073b1;
    margin-right: 8px;
  }
}

/*#################################################################################################################|
#################################################### MEDIA QUERY ##################################################|
##################################################################################################################*/

@media (width <= 900px) {
  header {
    & nav {
      position: fixed;
      top: 0;
      left: 0;
      z-index: 999;

      & span {
        display: none;
      }

      & .solid-container {
        & img {
          width: 40px;
          height: 40px;
          margin-top: 2px;
        }
      }

      & ul {
        display: none;
      }
    }
  }
  .profile-container {
    width: 100%;
    padding-top: 30px;
    border: 0;
    margin-bottom: 0;
    border-radius: 0;
  }

  .dark-mode .profile-container,
  .dark-mode .container-proyects,
  .dark-mode .contact {
    border: none;
  }

  .cover-photo {
    height: 80%;
  }

  .profile-picture {
    width: 80px;
    height: 80px;
    bottom: 0;
  }

  .profile-info {
    padding: 20px 20px 20px;

    & .left-panel-item {
      & img {
        display: none;
      }
      & p {
        margin: 0;
      }
    }

    & aside {
      top: -20px;
    }
  }

  .contact-btn {
    padding: 6px 12px;
  }

  .additional-info button {
    padding: 6px 10px;
    font-size: 13px;
    display: -webkit-box;
    overflow: hidden;
    border: 0;

    & svg {
      transform: translateY(3px);
    }
  }

  .more-btn-container {
    display: none;
    position: absolute;
    transform: translateX(20px) translateY(6px);
  }

  .contact-card-info {
    width: 80%;
    left: 10%;
    overflow-y: auto;
    overflow-x: auto;
  }

  .container-proyects {
    width: 100%;
    margin: 30px auto;
    border-radius: 0;
    border: 0;
    margin-block: 0;

    & .proyects {
      display: grid;
      grid-template-columns: 1fr;
      justify-content: center;
      margin: 0 auto;
      gap: 30px;

      & > .card {
        margin: 0 auto;
      }
    }
  }

  .contact {
    width: 100%;
    margin: 0 auto;
    border-radius: 0;
    border: 0;
  }

  .contact-message-card {
    position: absolute;
    left: calc(20% - 4px);
    padding: 20px;
    font-size: 14px;
    text-align: center;
    text-wrap: pretty;
  }

  .fetch-form {
    text-wrap: balance;

    & .notice {
      width: auto;
      font-size: 11px;
      overflow: hidden;
      overflow-x: auto;
    }
  }

  .pre {
    width: 90%;
    &::before {
      content: "";
      position: absolute;
      top: 11px;
      right: 15px;
      width: 15px;
      height: 15px;
    }

    & .header-pre {
      position: absolute;
      max-width: 250px;
      top: -1px;
      left: 10px;
      z-index: 99;

      & #title-pre {
        overflow: hidden;
        white-space: nowrap;
        text-overflow: ellipsis;
        font-weight: 500;
        font-size: 12px;
      }
    }

    & #pre {
      overflow: hidden;
      overflow-x: auto;

      &::after {
        content: "";
        position: absolute;
        top: 11px;
        right: 40px;
        width: 15px;
        height: 15px;
      }

      &::before {
        content: "";
        position: absolute;
        top: 11px;
        right: 65px;
        width: 15px;
        height: 15px;
      }
    }
  }
}

/*##################################################################################################################|
/*################################################ Media Print Query ###############################################|
 *#################################################################################################################*/

@media print {
  @page {
    margin: 20mm;
  }

  body {
    margin: 0;
    padding: 0;
  }

  h1,
  h2,
  h3 {
    page-break-after: avoid;
  }
  header {
    display: none;
  }

  .profile-container {
    position: relative;
    width: 100%;
    top: -150px;

    & .profile-picture {
      border-radius: 8px;
    }

    & .additional-info {
      display: none;
    }

    .contact-btn {
      display: none;
    }
  }

  .cover-photo {
    display: none;
  }

  .profile-info {
    & h1 {
      margin-bottom: 10px;
    }
    & .left-panel-item img {
      margin-block: 5px;
      transform: translateY(-5px);
    }
  }

  .verified {
    display: none;
  }

  .linkedin-icon {
    display: none;
  }

  .container-proyects {
    height: fit-content;
    border: 0;

    & h2 {
      display: none;
    }

    & .proyects {
      display: none;
    }
  }

  #sobre-mi {
    display: none;
  }

  .ramdom-user {
    display: none;
  }

  .article-print {
    width: 100%;
  }

  .contact-card-info {
    position: relative;
    display: block;
  }

  .contact-info-section-print {
    display: block;
  }

  .contact {
    display: none;
  }

  footer {
    position: absolute;
    bottom: 10px;
    left: calc(50% - 80px);
  }
}

@media (width <= 400px) {
  .profile-info {
    padding: 20px 20px 20px;

    & .left-panel-item {
      margin-top: 15px;
      & img {
        display: none;
      }
      & p {
        margin: 0;
      }
    }

    & aside {
      top: -20px;
    }
  }

  .dark-mode .profile-container {
    border: 0;
  }

  .additional-info button {
    padding: 4px 8px;
    font-size: 13px;
    display: -webkit-box;
    overflow: hidden;
    border: 0;

    & svg {
      transform: translateY(3px);
      display: none;
      margin: 0;
    }
  }

  .more-btn-container {
    display: none;
    position: absolute;
    transform: translateX(20px) translateY(9px);
  }

  .container-proyects {
    margin-block: 0;
  }

  .pre {
    &::before {
      content: "";
      position: absolute;
      top: 12px;
      right: 15px;
      width: 15px;
      height: 15px;
    }

    .notice {
      width: 100%;
    }

    & .header-pre {
      position: absolute;
      max-width: 220px;
      top: -1px;
      left: 10px;
      z-index: 99;

      & #title-pre {
        overflow: hidden;
        white-space: nowrap;
        text-overflow: ellipsis;
        font-weight: 500;
        font-size: 12px;
      }
    }

    & #pre {
      overflow: hidden;
      overflow-x: auto;

      &::after {
        content: "";
        position: absolute;
        top: 12px;
        right: 40px;
        width: 15px;
        height: 15px;
      }

      &::before {
        content: "";
        position: absolute;
        top: 12px;
        right: 65px;
        width: 15px;
        height: 15px;
      }
    }
  }
}
