@import url(https://fonts.googleapis.com/css?family=Lato:regular,700);
@import url(https://fonts.googleapis.com/css?family=Hind:regular,500,700);



@-webkit-keyframes loadAnimation {
    0% {
        opacity: 0
    }

    to {
        visibility: visible;
        opacity: 1
    }
}

@keyframes loadAnimation {
    0% {
        opacity: 0
    }

    to {
        visibility: visible;
        opacity: 1
    }
}

@-webkit-keyframes subtitleAnim {

    0%,
    to {
        opacity: 0
    }

    50% {
        opacity: 1
    }
}

@keyframes subtitleAnim {

    0%,
    to {
        opacity: 0
    }

    50% {
        opacity: 1
    }
}

@-webkit-keyframes arrowAnim {

    0%,
    to {
        bottom: 40px
    }

    50% {
        bottom: 60px
    }
}

@keyframes arrowAnim {

    0%,
    to {
        bottom: 40px
    }

    50% {
        bottom: 60px
    }
}

@-webkit-keyframes line {
    0% {
        width: 0%
    }

    to {
        max-width: 100%
    }
}

@keyframes line {
    0% {
        width: 0%
    }

    to {
        max-width: 100%
    }
}

@-webkit-keyframes submit {

    0%,
    to {
        top: 0;
        opacity: 0
    }

    50% {
        top: -30px;
        opacity: 1;
        -webkit-animation-play-state: paused;
        animation-play-state: paused
    }
}

@keyframes submit {

    0%,
    to {
        top: 0;
        opacity: 0
    }

    50% {
        top: -30px;
        opacity: 1;
        -webkit-animation-play-state: paused;
        animation-play-state: paused
    }
}

* {
    padding: 0;
    margin: 0;
    border: 0
}

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

:active,
:focus,
a:active,
a:focus {
    outline: 0
}

aside,
footer,
header,
nav {
    display: block
}

html {
    font-size: 14px
}

body,
html {
    min-height: 100%;
    width: 100%;
    line-height: 1;
    -ms-text-size-adjust: 100%;
    -moz-text-size-adjust: 100%;
    -webkit-text-size-adjust: 100%
}

button,
input,
textarea {
    font-family: inherit
}

input::-ms-clear {
    display: none
}

button {
    cursor: pointer
}

button::-moz-focus-inner {
    padding: 0;
    border: 0
}

a,
a:hover,
a:visited {
    text-decoration: none
}

ul li {
    list-style: none
}

img {
    vertical-align: top
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-size: inherit;
    font-weight: 400
}

body {
    font: 400 16px Lato, sans-serif;
    background: #181a1b;
    position: relative
}

.container {
    max-width: 1170px;
    padding: 0 15px;
    margin: 0 auto;
    -webkit-box-sizing: content-box;
    box-sizing: content-box
}

/* ========================================
   🚀 NAVBAR COMPLETAMENTE NUEVO Y MODERNO
   Con !important para evitar TODOS los conflictos
   ======================================== */

/* === HEADER BASE === */
.header {
    width: 100% !important;
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    z-index: 9999 !important;
    padding: 20px 0 !important;
    background: linear-gradient(180deg, rgba(0,0,0,0.4) 0%, rgba(0,0,0,0.2) 50%, transparent 100%) !important;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94) !important;
    backdrop-filter: blur(5px) !important;
}

/* === HEADER ACTIVO (SCROLL) === */
.header_active {
    background: rgba(255, 255, 255, 0.98) !important;
    padding: 15px 0 !important;
    border-radius: 0 0 25px 25px !important;
    margin: 0 20px !important;
    width: calc(100% - 40px) !important;
    backdrop-filter: blur(20px) !important;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15) !important;
    border: 1px solid rgba(255, 255, 255, 0.3) !important;
}

/* === WRAPPER === */
.header__wrapper {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    position: relative !important;
    padding: 0 30px !important;
    max-width: 1200px !important;
    margin: 0 auto !important;
}

/* === LOGO === */
.header__logo {
    font-size: 24px !important;
    font-weight: 800 !important;
    color: #ffffff !important;
    transition: all 0.4s ease !important;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.4) !important;
    letter-spacing: 1px !important;
    z-index: 10 !important;
}

.header_active .header__logo {
    color: #1a1a1a !important;
    text-shadow: none !important;
    font-size: 22px !important;
}

.header__logo-link {
    color: inherit !important;
    text-decoration: none !important;
    transition: all 0.3s ease !important;
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
}

.header__logo-img {
    height: 28px !important;
    width: auto !important;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3)) !important;
    transition: all 0.4s ease !important;
}

.header_active .header__logo-img {
    height: 24px !important;
    filter: none !important;
}

.header__logo-link:hover {
    transform: scale(1.05) !important;
    opacity: 0.8 !important;
}

/* === NAVEGACIÓN DESKTOP === */
.header__navigation {
    display: block !important;
    position: relative !important;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94) !important;
}

.header__list {
    display: flex !important;
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
    align-items: center !important;
    gap: 35px !important;
}

.header__item {
    position: relative !important;
    margin: 0 !important;
}

/* Clase activa para el menú de navegación */
.header__navigation_active {
    opacity: 1 !important;
    visibility: visible !important;
}

/* === ENLACES === */
.header__link {
    color: rgba(255, 255, 255, 0.95) !important;
    font-weight: 600 !important;
    font-size: 16px !important;
    text-decoration: none !important;
    padding: 10px 0 !important;
    position: relative !important;
    transition: all 0.3s ease !important;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3) !important;
    letter-spacing: 0.5px !important;
    display: block !important;
}

.header__link:hover {
    color: #ffffff !important;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5) !important;
    transform: translateY(-2px) !important;
}

/* Enlaces cuando header está activo */
.header__link_active {
    color: #2c3e50 !important;
    text-shadow: none !important;
}

.header__link_active:hover {
    color: #007bff !important;
    transform: translateY(-2px) !important;
}

/* Enlace de sección activa */
.header__link-select_active {
    color: #007bff !important;
    font-weight: 700 !important;
    text-shadow: none !important;
}

/* === LÍNEA ANIMADA === */
.header__item::after {
    content: '' !important;
    position: absolute !important;
    bottom: 0 !important;
    left: 0 !important;
    width: 0 !important;
    height: 3px !important;
    background: linear-gradient(90deg, #007bff, #0056b3) !important;
    transition: width 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94) !important;
    border-radius: 2px !important;
}

.header__item:hover::after,
.header__link-select_active::after {
    width: 100% !important;
}

/* === HAMBURGER MENU === */
.header__hamburger {
    display: none !important;
    width: 50px !important;
    height: 50px !important;
    background: transparent !important;
    border: none !important;
    cursor: pointer !important;
    padding: 12px 10px !important;
    border-radius: 8px !important;
    transition: all 0.3s ease !important;
    z-index: 1000 !important; /* Mayor z-index para que esté sobre el menú */
    position: relative !important;
    outline: none !important;
    overflow: visible !important; /* Asegura que las líneas no se recorten */
}

.header__hamburger:hover {
    background: rgba(255, 255, 255, 0.1) !important;
}

.header__line {
    display: block !important;
    width: 30px !important;
    height: 3px !important;
    background: #ffffff !important;
    margin: 6px 0 !important;
    transition: all 0.3s ease !important;
    border-radius: 2px !important;
}

.header_active .header__line {
    background: #2c3e50 !important;
}

/* Animación hamburger activo */
.header__hamburger.active .header__line {
    background: #2c3e50 !important; /* Siempre negro/oscuro cuando está activo */
}

.header__hamburger.active .header__line:nth-child(1) {
    transform: translateY(8px) rotate(45deg) !important;
    width: 28px !important; /* Asegurar que la línea sea suficientemente larga */
}

.header__hamburger.active .header__line:nth-child(2) {
    opacity: 0 !important;
    transform: scale(0) !important;
}

.header__hamburger.active .header__line:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg) !important;
    width: 28px !important; /* Asegurar que la línea sea suficientemente larga */
}



.overlay {
    position: absolute;
    background: rgba(0, 0, 0, .4);
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    content: "";
    z-index: 4
}

.bg,
.bg__cover {
    -webkit-transition: all .3 s linear;
    -o-transition: all .3 s linear;
    transition: all .3 s linear;
    width: 100%;
    height: 100%
}

.bg {
    position: fixed;
    top: 0;
    left: 0;
    z-index: -9999
}

.bg__cover {
    background: url(../assets/img/bg.jpg) 0 0/cover no-repeat;
    background-size: cover
}

.logo {
    position: relative;
    height: 100vh
}

.logo__wrapper {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    height: 100vh;
    visibility: visible;
    opacity: 1;
    -webkit-animation: none;
    animation: none;
}

.logo__author {
  max-width: 200px;
  margin-bottom: 55px;
  margin-left: auto;
  margin-right: auto;
  display: flex;
  justify-content: center;
  cursor: pointer; /* Indica que es clickable */
  position: relative;
  z-index: 10;
  
  
}

.logo__image {
    width: 100%;
    border: 3px solid #fff;
    border-radius: 50%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.logo__author:hover .logo__image {
    transform: scale(1.05);
    box-shadow: 0 0 15px rgba(255,255,255,0.5);
}

/* Modal para imagen ampliada */
.profile-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.9);
    z-index: 9999;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.profile-modal.show {
    display: flex;
    opacity: 1;
}

.profile-modal-content {
    max-width: 400px;
    width: 90%;
    position: relative;
    animation: zoomIn 0.3s ease;
}

.profile-modal-image {
    width: 100%;
    border-radius: 50%;
    border: 5px solid #fff;
    object-fit: cover;
}

.profile-modal-close {
    position: absolute;
    top: -20px;
    right: -20px;
    color: white;
    font-size: 35px;
    cursor: pointer;
    background: rgba(0,0,0,0.5);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    line-height: 0;
}

@keyframes zoomIn {
    from {
        transform: scale(0);
    }
    to {
        transform: scale(1);
    }
}

.logo__title {
    font: 500 56px Hind, sans-serif;
    color: #fff;
    margin-bottom: 10px;
    text-align: center;
    font-family: 'Times New Roman', Times, serif;
}

.logo__subtitle-wrapper {
    height: 0
}

.logo__subtitle {
    display: none;
    font-size: 24px;
    color: rgba(255, 255, 255, .71)
}

.logo__subtitle_show {
    display: block;
    opacity: 0;
    -webkit-animation: subtitleAnim 2000ms;
    animation: subtitleAnim 2000ms
}

.logo__link {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    height: 100px;
    width: 100px;
    position: absolute;
    -webkit-animation: arrowAnim 2000ms infinite;
    animation: arrowAnim 2000ms infinite
}

.logo__arrow {
    border: solid #fff;
    border-width: 0 4px 4px 0;
    display: inline-block;
    padding: 7px;
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
    -webkit-transform: rotate(45deg)
}

.title {
    font: 700 38px Hind, sans-serif;
    color: #131313
}

.subtitle {
    font-size: 18px;
    color: #131313;
    font-weight: 700
}

.subtitle__about,
.text__about p {
    margin-bottom: 15px;
    text-indent: 2.2em
}

.text {
    color: #181a1b;
    font-size: 16px;
    line-height: 187.5%
}

.text__about {
    margin-bottom: 25px;
    text-align: justify
}

.text__about p {
    text-indent: 2.5em;
    letter-spacing: 1px
}

.social {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex
}

.social__about {
    margin-bottom: 25px
}

.social__item {
    max-width: 35px;
    margin-left: 20px;
    -webkit-transition: all .3s ease-in-out;
    -o-transition: all .3s ease-in-out;
    transition: all .3s ease-in-out;
    cursor: pointer
}

.social__item:first-child {
    margin-left: 0
}

.social__item:hover {
    -webkit-transform: scale(1.09);
    -ms-transform: scale(1.09);
    transform: scale(1.09)
}

.social__icon {
    width: 100%
}

.button {
    font-size: 16px;
    background: #000;
    color: #fff
}

.button__about {
    position: relative;
    border-radius: 5px;
    padding: 13px 30px;
    -webkit-transition: all .2s linear;
    -o-transition: all .2s linear;
    transition: all .2s linear
}

.button__about:hover {
    background: #1E90FF;
    padding-right: 70px
}

.button__about:hover .button__download {
    visibility: visible;
    -webkit-transition-delay: .1s;
    -o-transition-delay: .1s;
    transition-delay: .1s;
    -webkit-transition-property: visibility;
    -o-transition-property: visibility;
    transition-property: visibility;
    -webkit-filter: contrast(1%) brightness(1000%);
    filter: contrast(1%) brightness(1000%)
}

.button__download {
    transition: -webkit-filter 1000ms linear;
    position: absolute;
    visibility: hidden;
    margin-left: 25px;
    width: 20px
}

.about {
    background: #fff;
    padding: 90px 0
}

.about__wrapper {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex
}

.about .title__about {
    margin-bottom: 30px
}

.about__author,
.about__work {
    -webkit-box-flex: 0;
    -ms-flex: 0 0 50%;
    flex: 0 0 50%
}

@media (max-width: 768px) {
    .about {
      padding: 0px; /* Agrega espacio alrededor del contenido */
    }
  
    .about__wrapper {
      text-align: center; /* Asegura que todo esté centrado en texto */
      padding: 0 15px; /* Espacio interno lateral para evitar que el texto toque los bordes */
    }
   
    .about__author {
      margin-bottom: 20px; /* Espacio entre el bloque y otros elementos */
    }
  }

  @media (max-width: 768px) {
    .social__about {
      justify-content: space-around; /* Asegura que los íconos estén distribuidos horizontalmente */
      margin: 30px 0; /* Ajusta el margen */
    }
  
    .social__icon {
      width: 38px; /* Reduce ligeramente el tamaño de los íconos en móviles */
      height: 38px;
    }
  }

.skills {
    padding: 90px 0;
    background: #f2f2f2
}

.project .title__project,
.skills .title__skills {
    margin-bottom: 50px;
    text-align: center
}

.skills__item,
.skills__list {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex
}

.skills__list {
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    gap: 4%
}

.skills__item {
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    -webkit-box-flex: 0;
    -ms-flex: 0 0 30%;
    flex: 0 0 30%;
    margin-bottom: 73px;
    position: relative
}

.skills__item::before {
    background: #181a1b63;
    content: "";
    position: absolute;
    width: 100%;
    height: 5px;
    bottom: -20px;
    z-index: 1
}

.skills__item_1::after {
    width: 80%;
}

.skills__item_2::after {
    width: 85%;
}

.skills__item_3::after {
    width: 80%;
}

.skills__item_4::after {
    width: 75%;
}

.skills__item_5::after {
    width: 95%;
}

.skills__item_6::after {
    width: 95%;
}

.skills__item_7::after {
    width: 85%;
}

.skills__item_8::after {
    width: 75%;
}

.skills__item_9::after {
    width: 85%;
}


.skills__item_show::after {
    background: #1E90FF;
    content: "";
    -webkit-transition: all .3s linear;
    -o-transition: all .3s linear;
    transition: all .3s linear;
    -webkit-box-shadow: inset 0 0 1px #000;
    box-shadow: inset 0 0 1px #000;
    position: absolute;
    height: 5px;
    bottom: -20px;
    z-index: 2;
    -webkit-animation: line 4000ms;
    animation: line 4000ms
}

.skills__language,
.skills__percent {
    font-weight: 700
}

.project {
    background: #fff;
    padding: 90px 0
}

.project__item {
    text-align: center
}

.project__name {
    font-weight: 700;
    font-size: 28px;
    margin-bottom: 35px
}

.project__github-link {
    font-weight: 700;
    font-size: 18px;
    color: #000;
    margin-bottom: 10px
}

.project__link {
    color: #000;
    -webkit-transition: all .3s linear;
    -o-transition: all .3s linear;
    transition: all .3s linear;
    font-weight: 400;
    font-size: 18px
}

.project__link:hover {
    color: #1E90FF;
    -webkit-transform: scale(1.1);
    -ms-transform: scale(1.1);
    transform: scale(1.1)
}

.project__image-wrapper {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-pack: distribute;
    justify-content: space-around;
    margin-bottom: 35px;
    padding: 0 20px
}

.project__image,
.slick-dots li {
    -webkit-transition: all .3s linear;
    -o-transition: all .3s linear;
    transition: all .3s linear
}

.project__image {
    width: 100%;
    cursor: pointer
}

.project__image:hover {
    -webkit-transform: scale(1.05);
    -ms-transform: scale(1.05);
    transform: scale(1.05);
    -webkit-filter: drop-shadow(0 0 5px #000);
    filter: drop-shadow(0 0 5px #000)
}

.slick-list {
    overflow: hidden
}

.slick-track {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex
}

.slick-arrow,
.slick-dots li button {
    font-size: 0
}

.slick-dots {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    margin-top: 30px;
    height: 20px
}

.slick-dots li {
    background: rgba(105, 105, 105, .71);
    width: 12px;
    height: 12px;
    border-radius: 50%;
    margin-right: 20px
}

.slick-dots li.slick-active {
    background: #1E90FF;
    width: 20px;
    height: 20px
}

.education {
    padding: 80px 0 65px;
    background: #f2f2f2
}

.education .title__education {
    margin-bottom: 60px;
    line-height: 150%
}

.education__wrapper {
    -webkit-transform: translate(0, 120px);
    -ms-transform: translate(0, 120px);
    transform: translate(0, 120px);
    opacity: 0;
    -webkit-transition: all .6s linear;
    -o-transition: all .6s linear;
    transition: all .6s linear
}

.education__wrapper.active {
    -webkit-transform: translate(0, 0);
    -ms-transform: translate(0, 0);
    transform: translate(0, 0);
    opacity: 1
}

.education__list {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    margin-right: -15px;
    margin-left: -15px
}

.education__item {
    padding: 0 15px;
    width: 33.333333%;
    margin-bottom: 30px;
    text-align: justify
}

.education__image {
    width: 34px;
    margin-bottom: 20px
}

.education__icon {
    max-width: 100%
}

.education__subtitle {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 16px
}

.education__descr {
    letter-spacing: 1px
}

.education__descr p {
    margin-bottom: 15px
}

.codewars__link {
    -webkit-transition: all .3s linear;
    -o-transition: all .3s linear;
    transition: all .3s linear;
    font-weight: 700;
    font-size: 17px;
    color: #000
}

.codewars__link:hover {
    color: #1E90FF
}

.list {
    margin: 10px;
    padding-left: 31px
}

.list__header {
    position: relative;
    text-align: left;
    padding-left: 41px
}

.list__header::before {
    content: "";
    position: absolute;
    width: 25px;
    height: 25px;
    top: 4px;
    left: 0
}

.list__header_one::before {
    background: url(../assets/img/icons/education/list/list1.png) 0 0/cover no-repeat
}

.list__header_two::before {
    background: url(../assets/img/icons/education/list/list2.png) 0 0/cover no-repeat
}

.list__header_three::before {
    background: url(../assets/img/icons/education/list/list3.png) 0 0/cover no-repeat
}

.some {
    position: relative;
    height: 600px
}

.contact {
    background: #f2f2f2;
    padding: 90px 0
}

.contact .title__contact {
    text-align: center;
    margin-bottom: 45px
}

.contact__wrapper {
    max-width: 750px;
    margin: 0 auto
}

.contact__item,
.contact__list {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex
}

.contact__list {
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    margin-bottom: 30px
}

.contact__item {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center
}

.contact__image {
    width: 40px;
    margin-bottom: 20px
}

.contact__icon {
    max-width: 100%
}

.contact__form-wrapper {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    margin: 0 -15px 15px
}

.contact__form-mail,
.contact__form-name {
    width: 360px;
    padding: 6px 12px;
    margin: 15px
}

.contact__form-textarea {
    padding: 6px 12px;
    margin-bottom: 30px;
    width: 100%;
    height: 92px;
    resize: none
}

.contact__form-submit {
    text-align: center
}

.contact .button__form {
    padding: 8px 25px;
    border-radius: 5px;
    -webkit-transition: all .2s linear;
    -o-transition: all .2s linear;
    transition: all .2s linear;
    margin: 0 auto;
    cursor: pointer;
    position: relative
}

.contact .button__form:hover {
    background: #1E90FF
}

.contact .button__form::after {
    content: "Done!";
    position: absolute;
    top: 0;
    left: 50%;
    -webkit-transform: translateX(-45%);
    -ms-transform: translateX(-45%);
    transform: translateX(-45%);
    text-align: center;
    opacity: 0;
    color: rgba(0, 0, 0, .4);
    font-size: 20px
}

.contact .button__form.active::after {
    -webkit-animation: submit 2000ms ease-in-out;
    animation: submit 2000ms ease-in-out
}

.footer {
    background: #fff;
    padding: 20px 0
}

.footer .social__footer {
    margin-bottom: 20px
}

.footer__wrapper {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column
}

.counter {
    font: 25px Hind, sans-serif;
    background: 0 0;
    color: #131313;
    width: 35px
}

input[type=number] {
    -moz-appearance: textfield;
    -webkit-appearance: textfield;
    appearance: textfield
}

input[type=number]::-webkit-inner-spin-button,
input[type=number]::-webkit-outer-spin-button {
    display: none
}

.skill-tag-cloud {
    width: 375px; /* Asegura un ancho definido */
    height: 355px; /* Mantén la altura definida */
    aspect-ratio: 1;
    margin: 15rem; /* Centra horizontalmente */
    background: transparent; /* Fondo transparente */
    display: flex; /* Usa Flexbox para el contenido interno */
    justify-content: center; /* Asegura que el contenido esté centrado horizontalmente */
    align-items: center; /* Asegura que el contenido esté centrado verticalmente */
  }

  @media (max-width: 768px) { /* Estilos para pantallas de tamaño tablet y móvil */
    .skill-tag-cloud {
      width: 100px; /* Reduce el ancho */
      height: 250px; /* Reduce la altura */
      margin: 2rem auto; /* Ajusta el margen para móviles */
    }
  }

@supports (-webkit-appearance:none) {
    .bg__cover {
        background: url(../assets/img/bg.webp) 0 0/cover no-repeat
    }

    .list__header_one::before {
        background: url(../assets/img/icons/education/list/list1.webp) 0 0/cover no-repeat
    }

    .list__header_two::before {
        background: url(../assets/img/icons/education/list/list2.webp) 0 0/cover no-repeat
    }

    .list__header_three::before {
        background: url(../assets/img/icons/education/list/list3.webp) 0 0/cover no-repeat
    }
}

@media (max-width:1024px) {
    .header__link:hover {
        color: rgba(255, 255, 255, .71)
    }

    .header__link_active:hover {
        color: #000
    }

    .title {
        margin: 2rem;
        font-size: calc(16px + 1.7948717949vw);
        text-shadow: 4px 10px 7px rgba(0, 0, 0, 0.3); /* Sombra del texto */
    }
}

@media (max-height:480px) and (max-width:1024px) {
    .logo__wrapper {
        padding-top: 18px
    }

    .logo__title {
        font-size: 35px
    }

    .logo__author {
        margin-bottom: 30px
    }

    .logo__link {
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-pack: center;
        -ms-flex-pack: center;
        justify-content: center;
        -webkit-box-align: center;
        -ms-flex-align: center;
        align-items: center;
        height: 50px;
        width: 100px;
        right: 0
    }
}

@media (max-width:940px) {
    .education__item {
        width: 50%
    }
}

@media (max-width:780px) {
    .title {
        font-size: 30px
    }
}

@media (max-width:768px) {
    .about__wrapper {
        -ms-flex-wrap: wrap;
        flex-wrap: wrap
    }

    .about__author,
    .about__work {
        -webkit-box-flex: 0;
        -ms-flex: 0 0 100%;
        flex: 0 0 100%
    }
}

/* ========================================
   📱 RESPONSIVE DESIGN - MÓVIL
   ======================================== */

@media (max-width: 768px) {
    /* Header móvil */
    .header {
        padding: 15px 0 !important;
        background: linear-gradient(180deg, rgba(0,0,0,0.6) 0%, rgba(0,0,0,0.3) 100%) !important;
    }

    .header_active {
        padding: 12px 0 !important;
        margin: 0 15px !important;
        width: calc(100% - 30px) !important;
        border-radius: 0 0 20px 20px !important;
    }

    .header__wrapper {
        padding: 0 20px !important;
    }

    /* Logo móvil */
    .header__logo {
        font-size: 20px !important;
    }

    .header_active .header__logo {
        font-size: 18px !important;
    }
    
    .header__logo-img {
        height: 24px !important;
    }
    
    .header_active .header__logo-img {
        height: 20px !important;
    }

    /* Mostrar hamburger */
    .header__hamburger {
        display: flex !important;
        flex-direction: column !important;
        justify-content: center !important;
        align-items: center !important;
        width: 45px !important;
        height: 45px !important;
        background: transparent !important;
        border: none !important;
        cursor: pointer !important;
        z-index: 1001 !important; /* Mayor que la navegación */
        position: relative !important;
        outline: none !important;
        padding: 5px !important;
        margin-right: 5px !important;
    }

    .header__line {
        display: block !important;
        width: 25px !important;
        height: 2px !important;
        margin: 4px 0 !important;
        transition: all 0.3s ease !important;
        transform-origin: center !important;
    }

    /* Animación hamburger activo */
    .header__hamburger.active .header__line {
        background: #2c3e50 !important; /* Siempre negro/oscuro cuando está activo */
    }
    
    .header__hamburger.active .header__line:nth-child(1) {
        transform: translateY(6px) rotate(45deg) !important;
        width: 25px !important; /* Asegura que la línea no se corte */
    }

    .header__hamburger.active .header__line:nth-child(2) {
        opacity: 0 !important;
        transform: scale(0) !important;
    }

    .header__hamburger.active .header__line:nth-child(3) {
        transform: translateY(-6px) rotate(-45deg) !important;
        width: 25px !important; /* Asegura que la línea no se corte */
    }

    /* Ocultar navegación desktop */
    .header__navigation {
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        width: 100% !important;
        height: 100vh !important; /* Altura siempre al 100% */
        background: rgba(255, 255, 255, 0.98) !important;
        backdrop-filter: blur(20px) !important;
        -webkit-backdrop-filter: blur(20px) !important;
        box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15) !important;
        opacity: 0 !important;
        visibility: hidden !important;
        transition: opacity 0.4s ease, visibility 0.4s ease !important;
        z-index: 1000 !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        overflow-y: auto !important;
        transform: translateY(-100%) !important;
    }

    /* Navegación móvil activa */
    .header__navigation_active {
        opacity: 1 !important;
        visibility: visible !important;
        transform: translateY(0) !important;
    }

    /* Lista móvil */
    .header__list {
        flex-direction: column !important;
        gap: 20px !important; /* Más espacio entre elementos */
        padding: 30px 0 !important;
        width: 90% !important; /* Ancho máximo del 90% */
        height: auto !important;
        max-width: 400px !important; /* Tamaño máximo */
    }

    .header__item {
        width: 100% !important;
        border-bottom: 1px solid rgba(0, 0, 0, 0.08) !important;
        margin: 0 !important;
        padding: 0 !important;
        text-align: center !important;
    }

    .header__item:last-child {
        border-bottom: none !important;
    }

    /* Enlaces móvil */
    .header__link {
        color: #2c3e50 !important;
        text-shadow: none !important;
        padding: 15px 20px !important;
        font-size: 20px !important; /* Texto más grande */
        font-weight: 600 !important;
        display: block !important;
        width: 100% !important;
        transition: all 0.3s ease !important;
        transition: all 0.3s ease !important;
    }

    .header__link:hover {
        color: #007bff !important;
        background: rgba(0, 123, 255, 0.08) !important;
    }

    .header__link_active {
        color: #2c3e50 !important;
    }

    .header__link_active:hover {
        color: #007bff !important;
    }

    .header__link-select_active {
        color: #007bff !important;
        font-weight: 700 !important;
        background: rgba(0, 123, 255, 0.12) !important;
    }

    /* Ocultar líneas en móvil */
    .header__item::after {
        display: none !important;
    }
}



    .education .title__education {
        text-align: center
    }

    .education__list {
        -webkit-box-pack: center;
        -ms-flex-pack: center;
        justify-content: center
    }

    .education__item {
        text-align: center;
        width: 100%
    }

    .education__image {
        margin: 0 auto 20px
    }

    .list__book {
        text-align: justify;
        margin-bottom: 10px
    }


@media (max-width:600px) {
    .contact__list {
        -ms-flex-wrap: wrap;
        flex-wrap: wrap
    }

    .contact__item {
        width: 100%;
        margin-bottom: 30px
    }

    .contact__item:last-child {
        margin-bottom: 0
    }

    .contact__form-wrapper {
        -ms-flex-wrap: wrap;
        flex-wrap: wrap
    }

    .contact__form-mail,
    .contact__form-name {
        width: 100%
    }
}

@media (max-width:550px) {
    .some {
        height: 480px
    }
}

@media (max-width:540px) {
    .logo__wrapper {
        -webkit-box-pack: stretch;
        -ms-flex-pack: stretch;
        justify-content: stretch;
        padding-top: 150px
    }

    .logo__author {
        max-width: 170px
    }

    .logo__title {
        font-size: 44px
    }



    .slick-dots li {
        width: 9px;
        height: 9px
    }

    .slick-dots li.slick-active {
        width: 13px;
        height: 13px
    }

    .project__name {
        font-size: 20px
    }
}

@media (max-width:500px) {
    .skills__list {
        -webkit-box-pack: center;
        -ms-flex-pack: center;
        justify-content: center
    }

    .skills__item {
        -webkit-box-flex: 0;
        -ms-flex: 0 0 80%;
        flex: 0 0 80%
    }
}

@media (max-width:424px) {
}

@media (max-width:420px) {
    .logo__title {
        font-size: 33px
    }

    .logo__subtitle {
        font-size: 22px
    }
}

@media (max-width:375px) {
    .text__footer {
        font-size: 14px
    }
}

@media (max-width:374px) {
}

@media (max-height:540px) {
    .logo__link {
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-pack: center;
        -ms-flex-pack: center;
        justify-content: center;
        -webkit-box-align: center;
        -ms-flex-align: center;
        align-items: center;
        height: 50px;
        width: 100px
    }
}