body {
    margin: 0%;
    user-select: none;
    -webkit-appearance: none; /* Safari */
    -moz-appearance: textfield; /* Firefox */
     appearance: textfield;
     background-color: #ffffff;
}


body, html {
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

.texto-resalte {
    color: #F3C75B;
    font-weight: 600;
}

.texto-resalte2 {
    color: #015AEE; 
    font-weight: 600;
}

select:focus {
    outline: none;
}

input:focus {
    outline: none;
}


  

@font-face {
    font-family: 'SFPRODISPLAYBOLD';
    src: url('fonts/SFPRODISPLAYBOLD.OTF') format('truetype');
}

@font-face {
    font-family: 'SFPRODISPLAYMEDIUM';
    src: url('fonts/SFPRODISPLAYMEDIUM.OTF') format('truetype');
}

@font-face {
    font-family: 'SFPRODISPLAYREGULAR';
    src: url('fonts/SFPRODISPLAYREGULAR.OTF') format('truetype');
}


/* ----------------------------  ORDENADOR ----------------------------- */


@media (min-width: 769px) {

  /* ---------------------------- header ----------------------------- */

  header {
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
  }

.container-header {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 90%;
    background-color: #392847;
    border-radius: 40px;
    margin-top: 2%;
    gap: 30%;
}

.container-header h2 {
    font-family: 'SFPRODISPLAYBOLD';
    color: #D8D8D8;
    font-size: 23px;
    font-weight: 900;
    margin-left: -20%;
}

 .menu {
       display: flex;
       justify-content: center;
       align-items: center;
       list-style: none;    
       padding: 0;
       margin: 0;
       gap: 45%;          
}

    li {
        font-size: 18px;
        font-family: 'SFPRODISPLAYREGULAR';
        color: #D8D8D8;
        cursor: pointer;
    }

    li button {
        border: none;
        font-size: 18px;
        color: #D8D8D8;
        font-family: 'SFPRODISPLAYREGULAR';
        cursor: pointer;
        background-color: transparent;
        white-space: nowrap;
    }

  /* ---------------------------- hero ----------------------------- */

  .hero {
    background: radial-gradient(at 90% 0%, rgb(51, 26, 21), black);
    height: 850px;
    margin-top: -8%;
  }

  .container-hero {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transform: translateY(90%);
  }

  .container-hero h2 {
    color: #8E6875;
    font-size: 60px;
    font-family: 'SFPRODISPLAYREGULAR';
    margin-left: -20%;
  }

  .container-hero h1 {
    color: #D8D8D8;
    font-size: 90px;
    font-family: 'SFPRODISPLAYBOLD';
    margin-top: -4%;
  }

  .ver-abajo {
    border: 2px solid;
    border-color: white;
    background-color: transparent;
    border-radius: 30px;
    padding: 14px;
    color: white;
    font-size: 18px;
    width: 10%;
    cursor: pointer;
  }

  /* ---------------------------- sobre mi ordenador ----------------------------- */

   .sobremi-section {
    padding: 5% 0;
  }

  .sobremi-section h2 {
    color: #392847;
    font-size: 50px;
    font-family: 'SFPRODISPLAYBOLD';
    text-align: center;
    margin-top: -2%;
  }

  .resalt {
    color: #8E6875;
  }

  .content-sobremi {
    display: flex;
    justify-content: center;
    gap: 3%;
  }

  .content-sobremi img {
    width: 30%;
    border-radius: 20px;
  }

  .content-sobremi p {
    font-size: 18px;
    font-family: 'SFPRODISPLAYREGULAR';
    margin: auto 0;
    width: 40%;
    color: black;
    text-align: justify;
  }


  /* ---------------------------- proyectos ordenador ----------------------------- */
.modal {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0; top: 0;
  width: 100%; height: 100%;
  background-color: rgba(0,0,0,0.6);
  justify-content: center;
  align-items: center;
}

.modal-content {
  display: flex;
  background: radial-gradient(at top right, rgb(33, 13, 9), black);
  padding: 50px;
  max-width: 800px;
  width: 100%;
  border-radius: 10px;
  position: relative;
  gap: 5%;
}

.cerrar {
  position: absolute;
  top: 10px; right: 15px;
  font-size: 30px;
  cursor: pointer;
  color: white;
}

.modal-content .modal-text h2 {
    font-family: 'SFPRODISPLAYBOLD';
    color: #c73808;
    font-size: 28px;
    font-weight: 900;
    text-align: start;
}

.modal-content .modal-text h3 {
    font-family: 'SFPRODISPLAYBOLD';
    color: #D8D8D8;
    font-size: 40px;
    font-weight: 900;
    margin-top: -6%;
}

.modal-text p {
        font-size: 18px;
        font-family: 'SFPRODISPLAYREGULAR';
        color: #D8D8D8;
        font-weight: 800;
        text-align: justify;
        line-height: 1.5;
}

.modal-text a {
  color: #01b7ee;
  font-style: italic;
  font-size: 20px;
} 
.modal-content img {
  width: 40%;
  height: 40%;
  border-radius: 20px;
  margin-top: 18%;
  box-shadow: 0 8px 14px #80010190;
}

  /* ---------------------------- END MODAL ----------------------------- */

 .proyectos {
    background-color: #392847;
    padding: 3% 0;
 }

 .proyectos h2 {
    font-family: 'SFPRODISPLAYBOLD';
    color: #D8D8D8;
    font-size: 40px;
    font-weight: 900;
    text-align: center;
 }

.proyectos-full-container {
  /*background-image: url(img/ChatGPT\ Image\ 12\ jul\ 2025\,\ 11_54_24\ a.m..png);*/
  background-size: cover;
  background-position: 20px -30px;
  background-color: rgb(19, 19, 19);
  width: 80%;
  padding: 100px 0;
  margin-left: 10%;
  border-radius: 20px;
}

 .tabs-container {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 7%;
  margin-top: -5%;
 }

 .contenido-tab  {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 5%;
  margin-top: 4%;
 }

 .tab h3 {
        font-size: 30px;
        font-family: 'SFPRODISPLAYREGULAR';
        color: #716368;
        margin-top: -4%;
 }

  .tab.active h3 {
        color: #8E6875;
        z-index: 7;
        font-weight: 800;
        font-family: 'SFPRODISPLAYBOLD';
    }

  .contenido-tab {
        display: none;
    }
    
  .contenido-tab.active {
        display: flex;
    }

.card {
  --white: hsl(0, 0%, 100%);
  --black: hsl(240, 15%, 9%);
  --paragraph: hsl(0, 0%, 83%);
  --line: hsl(240, 9%, 17%);
  --primary: hsl(266, 92%, 58%);

  position: relative;

  display: flex;
  flex-direction: column;
  gap: 1rem;

  padding: 1rem;
  width: 19rem;
  background-color: hsla(240, 15%, 9%, 1);
  background-image: radial-gradient(
      at 88% 40%,
      hsla(240, 15%, 9%, 1) 0px,
      transparent 85%
    ),
    radial-gradient(at 49% 30%, hsla(240, 15%, 9%, 1) 0px, transparent 85%),
    radial-gradient(at 14% 26%, hsla(240, 15%, 9%, 1) 0px, transparent 85%),
    radial-gradient(at 0% 64%, hsla(263, 93%, 56%, 1) 0px, transparent 85%),
    radial-gradient(at 41% 94%, hsla(284, 100%, 84%, 1) 0px, transparent 85%),
    radial-gradient(at 100% 99%, rgb(249, 39, 28) 0px, transparent 85%);

  border-radius: 1rem;
  box-shadow: 0px -16px 24px 0px rgba(255, 255, 255, 0.25) inset;
}

.card .card__border {
  overflow: hidden;
  pointer-events: none;

  position: absolute;
  z-index: -10;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);

  width: calc(100% + 2px);
  height: calc(100% + 2px);
  background-image: linear-gradient(
    0deg,
    hsl(0, 0%, 100%) -50%,
    hsl(0, 0%, 40%) 100%
  );

  border-radius: 1rem;
}

.card .card__border::before {
  content: "";
  pointer-events: none;

  position: fixed;
  z-index: 200;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%), rotate(0deg);
  transform-origin: left;

  width: 200%;
  height: 10rem;
  background-image: linear-gradient(
    0deg,
    hsla(0, 0%, 100%, 0) 0%,
    hsl(277, 95%, 60%) 40%,
    hsl(277, 95%, 60%) 60%,
    hsla(0, 0%, 40%, 0) 100%
  );

  animation: rotate 8s linear infinite;
}

@keyframes rotate {
  to {
    transform: rotate(360deg);
  }
}

.card .card_title__container .card_title {
  font-size: 1rem;
  color: var(--white);
}

.card .card_title__container .card_paragraph {
  margin-top: 0.25rem;
  width: 65%;

  font-size: 0.5rem;
  color: var(--paragraph);
}

.card_title__container img {
    width: 100%;
    border-radius: 10px 10px 0 0;
}

.content-card h3 {
        font-size: 20px;
        font-family: 'SFPRODISPLAYREGULAR';
        color: #D8D8D8;
        font-weight: 800;
        margin-top: -4%;
}

.content-card p {
        font-size: 18px;
        font-family: 'SFPRODISPLAYREGULAR';
        color: #D8D8D8;
        font-weight: 800;
}

.card .line {
  width: 100%;
  height: 0.1rem;
  background-color: var(--line);

  border: none;
}

.card .card__list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.card .card__list .card__list_item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.card .card__list .card__list_item .check {
  display: flex;
  justify-content: center;
  align-items: center;

  width: 1rem;
  height: 1rem;
  background-color: var(--primary);

  border-radius: 50%;
}

.card .card__list .card__list_item .check .check_svg {
  width: 0.75rem;
  height: 0.75rem;

  fill: var(--black);
}

.card .card__list .card__list_item .list_text {
  font-size: 0.75rem;
  color: var(--white);
}

.card .button {
  cursor: pointer;
  padding: 0.5rem;
  width: 100%;
  background-image: linear-gradient(
    0deg,
    rgb(3, 3, 3) 0%,
    rgb(88, 66, 99) 100%
  );
  font-size: 1.2rem;
  color: var(--white);
  border: 0;
  border-radius: 9999px;
}


  /* ---------------------------- contactame ordenador ----------------------------- */

   .contactame {
    padding: 5% 0;
  }

  .contactame h2 {
    color: #392847;
    font-size: 50px;
    font-family: 'SFPRODISPLAYBOLD';
    text-align: center;
    margin-top: -2%;
  }

  .contactame p {
    font-size: 20px;
    font-family: 'SFPRODISPLAYREGULAR';
    color: black;
    text-align: center;
  }

  .icons-contactame {
    display: flex;
    justify-content: center;
    gap: 3%;
  }

  .icons-contactame img {
    width: 30%;
    border-radius: 20px;
  }

  .icons-contactame p {
    font-size: 18px;
    font-family: 'SFPRODISPLAYREGULAR';
    margin: auto 0;
    width: 40%;
    color: black;
  }


  /* ---------------------------- footer ordenador ----------------------------- */
  
  footer {
    background-color: #000000;
    padding: 3% 0;
  }

  footer p {
    font-size: 16px;
    font-family: 'SFPRODISPLAYREGULAR';
    color: #D8D8D8;
    text-align: center;
  }

}



/* ----------------------------  MOBILE ----------------------------- */

@media (max-width: 767px) {

    /* ---------------------------- header mobile ----------------------------- */
  header {
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
  }

.container-header {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 90%;
    background-color: #392847;
    border-radius: 40px;
    gap: 30%;
    margin-top: 5%;
}

.container-header h2 {
    font-family: 'SFPRODISPLAYBOLD';
    color: #D8D8D8;
    font-size: 23px;
    font-weight: 900;
    margin-left: -30%;
}

 .menu {
       display: none;
       justify-content: center;
       align-items: center;
       list-style: none;    
       padding: 0;
       margin: 0;
       gap: 45%;          
}

    li {
        font-size: 18px;
        font-family: 'SFPRODISPLAYREGULAR';
        color: #D8D8D8;
    }

    li button {
        border: none;
        font-size: 18px;
        color: #D8D8D8;
        font-family: 'SFPRODISPLAYREGULAR';
        cursor: pointer;
        background-color: transparent;
        white-space: nowrap;
    }

  /* ---------------------------- hero mobile ----------------------------- */

  .hero {
    background: radial-gradient(at 90% 0%, rgb(51, 26, 21), black);
    height: 850px;
    margin-top: -25%;
  }

  .container-hero {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transform: translateY(70%);
  }

  .container-hero h2 {
    color: #8E6875;
    font-size: 40px;
    font-family: 'SFPRODISPLAYREGULAR';
    margin-left: -52%;
  }

  .container-hero h1 {
    color: #D8D8D8;
    font-size: 60px;
    font-family: 'SFPRODISPLAYBOLD';
    margin-top: -10%;
  }

  .ver-abajo {
    border: 2px solid;
    border-color: white;
    background-color: transparent;
    border-radius: 30px;
    padding: 14px;
    color: white;
    font-size: 18px;
    width: 40%;
    margin-top: 20%;
  }

  /* ---------------------------- sobre mi mobile ----------------------------- */

   .sobremi-section {
    padding: 5% 0;
  }

  .sobremi-section h2 {
    color: #392847;
    font-size: 40px;
    font-family: 'SFPRODISPLAYBOLD';
    text-align: center;
    margin-top: -2%;
  }

  .resalt {
    color: #8E6875;
  }

  .content-sobremi {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }

  .content-sobremi img {
    width: 90%;
    border-radius: 20px;
  }

  .content-sobremi p {
    font-size: 18px;
    font-family: 'SFPRODISPLAYREGULAR';
    margin: auto 0;
    width: 90%;
    color: black;
    text-align: justify;
    margin-top: 5%;
  }


  /* ---------------------------- proyectos mobile ----------------------------- */


.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh; /* Esto cubre toda la pantalla */
  background-color: rgba(0, 0, 0, 0.8); /* Oscurece el fondo */
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

.modal-content {
  background-color: #000;
  color: white;
  width: 90%;
  max-height: 100vh;
  overflow-y: auto;
  padding: 2rem 1rem;
  border-radius: 12px;
  box-shadow: 0 0 20px rgba(0,0,0,0.5);
}


  .modal-content .modal-text h2 {
    font-size: 25px;
    font-weight: 900;
    padding-top: 40%;
    text-align: first;
    font-family: 'SFPRODISPLAYREGULAR';
    color: rgb(225, 67, 10);
    margin-left: -80%;
  }

  .modal-content .modal-text h3 {
    font-size: 28px;
    font-family: 'SFPRODISPLAYREGULAR';
    margin-top: -5%;
  }

  .modal-text p {
    font-size: 16px;
    text-align: justify;
    color: white;
  }

  .modal-text a {
    color: #01b7ee;
  }

  .modal-content img {
    width: 100%;
    margin-top: 10px;
    box-shadow: none;
  }

  .cerrar {
    font-size: 50px;
    top: 0;
    right: 0;
    color: white;
  }

  .modal {
  display: none; /* Cambia a flex con JS al abrir */
  position: fixed;
  z-index: 9999;
  left: 0; top: 0;
  width: 100%; height: 100%;
  background-color: rgb(0, 0, 0);
  justify-content: center;
  align-items: center;
}



  /* ---------------------------- END PROYECTOS MOBILE ----------------------------- */

 .proyectos {
    background-color: #392847;
    padding: 3% 0 10% 0;
 }

 .proyectos h2 {
    font-family: 'SFPRODISPLAYBOLD';
    color: #D8D8D8;
    font-size: 40px;
    font-weight: 900;
    text-align: center;
 }

.proyectos-full-container {
  /*background-image: url(img/ChatGPT\ Image\ 12\ jul\ 2025\,\ 11_54_24\ a.m..png);*/
  background-size: cover;
  background-position: 20px -30px;
  background-color: rgb(19, 19, 19);
  width: 92%;
  padding: 100px 0;
  margin-left: 4%;
  border-radius: 20px;
}

 .tabs-container {
  display: flex;
  align-items: center;
  margin-top: -20%;
  gap: 10%;
  overflow: scroll;
 }

 /*.contenido-tab  {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5%;
 }*/

 .contenido-tab {
      position: relative;
      display: flex;
      gap: 3%;
      overflow-x: scroll; 
      scroll-snap-type: x mandatory;
      -webkit-overflow-scrolling: touch;
      padding-bottom: 20px;
      scroll-padding-left: 20px;
      scroll-padding-right: 20px;
      padding-right: 5%;
      transform: translateX(10px);
       margin-top: 4%;
 }

  .contenido-tab::-webkit-scrollbar {
      display: none; 
  }
            
  .contenido-tab > div {
      flex: 0 0 80%; 
      scroll-snap-align: start;
       min-width: 300px;
  }

 .tab h3 {
      font-size: 30px;
      font-family: 'SFPRODISPLAYREGULAR';
      color: #716368;
      margin-top: -4%;
      white-space: nowrap;
 }

  .tab.active h3 {
        color: #8E6875;
        z-index: 7;
        font-weight: 800;
        font-family: 'SFPRODISPLAYBOLD';
    }

  .contenido-tab {
        display: none;
    }
    
  .contenido-tab.active {
        display: flex;
    }

.card {
  --white: hsl(0, 0%, 100%);
  --black: hsl(240, 15%, 9%);
  --paragraph: hsl(0, 0%, 83%);
  --line: hsl(240, 9%, 17%);
  --primary: hsl(266, 92%, 58%);

  position: relative;

  display: flex;
  flex-direction: column;
  gap: 1rem;

  padding: 1rem;
  width: 19rem;
  background-color: hsla(240, 15%, 9%, 1);
  background-image: radial-gradient(
      at 88% 40%,
      hsla(240, 15%, 9%, 1) 0px,
      transparent 85%
    ),
    radial-gradient(at 49% 30%, hsla(240, 15%, 9%, 1) 0px, transparent 85%),
    radial-gradient(at 14% 26%, hsla(240, 15%, 9%, 1) 0px, transparent 85%),
    radial-gradient(at 0% 64%, hsla(263, 93%, 56%, 1) 0px, transparent 85%),
    radial-gradient(at 41% 94%, hsla(284, 100%, 84%, 1) 0px, transparent 85%),
    radial-gradient(at 100% 99%, rgb(249, 39, 28) 0px, transparent 85%);

  border-radius: 1rem;
  box-shadow: 0px -16px 24px 0px rgba(255, 255, 255, 0.25) inset;
  margin-top: 10%;
}

.card .card__border {
  overflow: hidden;
  pointer-events: none;

  position: absolute;
  z-index: -10;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);

  width: calc(100% + 2px);
  height: calc(100% + 2px);
  background-image: linear-gradient(
    0deg,
    hsl(0, 0%, 100%) -50%,
    hsl(0, 0%, 40%) 100%
  );

  border-radius: 1rem;
}

.card .card__border::before {
  content: "";
  pointer-events: none;

  position: fixed;
  z-index: 200;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%), rotate(0deg);
  transform-origin: left;

  width: 200%;
  height: 10rem;
  background-image: linear-gradient(
    0deg,
    hsla(0, 0%, 100%, 0) 0%,
    hsl(277, 95%, 60%) 40%,
    hsl(277, 95%, 60%) 60%,
    hsla(0, 0%, 40%, 0) 100%
  );

  animation: rotate 8s linear infinite;
}

@keyframes rotate {
  to {
    transform: rotate(360deg);
  }
}

.card .card_title__container .card_title {
  font-size: 1rem;
  color: var(--white);
}

.card .card_title__container .card_paragraph {
  margin-top: 0.25rem;
  width: 65%;

  font-size: 0.5rem;
  color: var(--paragraph);
}

.card_title__container img {
    width: 100%;
    border-radius: 10px 10px 0 0;
}

.content-card h3 {
        font-size: 20px;
        font-family: 'SFPRODISPLAYREGULAR';
        color: #D8D8D8;
        font-weight: 800;
        margin-top: -4%;
}

.content-card p {
        font-size: 18px;
        font-family: 'SFPRODISPLAYREGULAR';
        color: #D8D8D8;
        font-weight: 800;
}

.card .line {
  width: 100%;
  height: 0.1rem;
  background-color: var(--line);

  border: none;
}

.card .card__list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.card .card__list .card__list_item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.card .card__list .card__list_item .check {
  display: flex;
  justify-content: center;
  align-items: center;

  width: 1rem;
  height: 1rem;
  background-color: var(--primary);

  border-radius: 50%;
}

.card .card__list .card__list_item .check .check_svg {
  width: 0.75rem;
  height: 0.75rem;

  fill: var(--black);
}

.card .card__list .card__list_item .list_text {
  font-size: 0.75rem;
  color: var(--white);
}

.card .button {
  cursor: pointer;
  padding: 0.5rem;
  width: 100%;
  background-image: linear-gradient(
    0deg,
    rgb(3, 3, 3) 0%,
    rgb(88, 66, 99) 100%
  );
  font-size: 1.2rem;
  color: var(--white);
  border: 0;
  border-radius: 9999px;
}


  /* ---------------------------- contactame mobile ----------------------------- */

   .contactame {
    padding: 15% 0;
  }

  .contactame h2 {
    color: #392847;
    font-size: 40px;
    font-family: 'SFPRODISPLAYBOLD';
    text-align: center;
    margin-top: -2%;
  }

  .contactame p {
    font-size: 20px;
    font-family: 'SFPRODISPLAYREGULAR';
    color: black;
    text-align: center;
  }

  .icons-contactame {
    display: flex;
    justify-content: center;
    gap: 3%;
  }

  .icons-contactame img {
    width: 30%;
    border-radius: 20px;
  }

  .icons-contactame p {
    font-size: 18px;
    font-family: 'SFPRODISPLAYREGULAR';
    margin: auto 0;
    width: 40%;
    color: black;
  }


  /* ---------------------------- footer mobile ----------------------------- */
  
  footer {
    background-color: #000000;
    padding: 5% 0;
  }

  footer p {
    font-size: 16px;
    font-family: 'SFPRODISPLAYREGULAR';
    color: #D8D8D8;
    text-align: center;
  }

}


/*----------------------------------------- TABLET -----------------------------------*/

@media (min-width: 768px) and (max-width: 1024px) {

    /* ---------------------------- header ----------------------------- */

  header {
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
  }

.container-header {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 90%;
    background-color: #392847;
    border-radius: 40px;
    margin-top: 13%;
    gap: 30%;
    position: fixed;
}

.container-header h2 {
    font-family: 'SFPRODISPLAYBOLD';
    color: #D8D8D8;
    font-size: 23px;
    font-weight: 900;
    margin-left: -20%;
}

 .menu {
       display: flex;
       justify-content: center;
       align-items: center;
       list-style: none;    
       padding: 0;
       margin: 0;
       gap: 45%;          
}

    li {
        font-size: 18px;
        font-family: 'SFPRODISPLAYREGULAR';
        color: #D8D8D8;
    }

    li button {
        border: none;
        font-size: 18px;
        color: #D8D8D8;
        font-family: 'SFPRODISPLAYREGULAR';
        cursor: pointer;
        background-color: transparent;
        white-space: nowrap;
    }

  /* ---------------------------- hero ----------------------------- */

  .hero {
    background-color: black;
    height: 850px;
    margin-top: -8%;
  }

  .container-hero {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transform: translateY(70%);
  }

  .container-hero h2 {
    color: #8E6875;
    font-size: 60px;
    font-family: 'SFPRODISPLAYREGULAR';
    margin-left: -38%;
  }

  .container-hero h1 {
    color: #D8D8D8;
    font-size: 90px;
    font-family: 'SFPRODISPLAYBOLD';
    margin-top: -7%;
  }

  .ver-abajo {
    border: 2px solid;
    border-color: white;
    background-color: transparent;
    border-radius: 30px;
    padding: 14px;
    color: white;
    font-size: 18px;
    width: 25%;
  }

  /* ---------------------------- sobre mi tablet ----------------------------- */

   .sobremi-section {
    padding: 5% 0;
  }

  .sobremi-section h2 {
    color: #392847;
    font-size: 50px;
    font-family: 'SFPRODISPLAYBOLD';
    text-align: center;
    margin-top: -2%;
  }

  .resalt {
    color: #8E6875;
  }

  .content-sobremi {
    display: flex;
    justify-content: center;
    gap: 3%;
  }

  .content-sobremi img {
    width: 45%;
    border-radius: 20px;
  }

  .content-sobremi p {
    font-size: 18px;
    font-family: 'SFPRODISPLAYREGULAR';
    margin: auto 0;
    width: 40%;
    color: black;
    text-align: justify;
  }


  /* ---------------------------- proyectos tablet ----------------------------- */

 .proyectos {
    background-color: #392847;
    padding: 3% 0;
 }

 .proyectos h2 {
    font-family: 'SFPRODISPLAYBOLD';
    color: #D8D8D8;
    font-size: 40px;
    font-weight: 900;
    text-align: center;
 }

.proyectos-full-container {
  /*background-image: url(img/ChatGPT\ Image\ 12\ jul\ 2025\,\ 11_54_24\ a.m..png);*/
  background-size: cover;
  background-position: 20px -30px;
  background-color: rgb(19, 19, 19);
  width: 95%;
  padding: 100px 0;
  margin-left: 2%;
  border-radius: 20px;
}

 .tabs-container {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 7%;
  margin-top: -5%;
 }

 /*.contenido-tab  {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 5%;
  margin-top: 4%;
 }*/

 .contenido-tab {
      position: relative;
      display: flex;
      gap: 3%;
      overflow-x: scroll; 
      scroll-snap-type: x mandatory;
      -webkit-overflow-scrolling: touch;
      padding-bottom: 20px;
      scroll-padding-left: 20px;
      scroll-padding-right: 20px;
      padding-right: 5%;
      transform: translateX(10px);
       margin-top: 4%;
       padding-left: 20rem;
 }

  .contenido-tab::-webkit-scrollbar {
      display: none; 
  }
            
  .contenido-tab > div {
      flex: 0 0 50%; 
      scroll-snap-align: start;
      min-width: 300px;
      margin-left: 4%;
  }

 .tab h3 {
      font-size: 30px;
      font-family: 'SFPRODISPLAYREGULAR';
      color: #716368;
      margin-top: -4%;
      white-space: nowrap;
 }

  .tab.active h3 {
        color: #8E6875;
        z-index: 7;
        font-weight: 800;
        font-family: 'SFPRODISPLAYBOLD';
    }

  .contenido-tab {
        display: none;
    }
    
  .contenido-tab.active {
        display: flex;
    }

.card {
  --white: hsl(0, 0%, 100%);
  --black: hsl(240, 15%, 9%);
  --paragraph: hsl(0, 0%, 83%);
  --line: hsl(240, 9%, 17%);
  --primary: hsl(266, 92%, 58%);

  position: relative;

  display: flex;
  flex-direction: column;
  gap: 1rem;

  padding: 1rem;
  width: 19rem;
  background-color: hsla(240, 15%, 9%, 1);
  background-image: radial-gradient(
      at 88% 40%,
      hsla(240, 15%, 9%, 1) 0px,
      transparent 85%
    ),
    radial-gradient(at 49% 30%, hsla(240, 15%, 9%, 1) 0px, transparent 85%),
    radial-gradient(at 14% 26%, hsla(240, 15%, 9%, 1) 0px, transparent 85%),
    radial-gradient(at 0% 64%, hsla(263, 93%, 56%, 1) 0px, transparent 85%),
    radial-gradient(at 41% 94%, hsla(284, 100%, 84%, 1) 0px, transparent 85%),
    radial-gradient(at 100% 99%, rgb(249, 39, 28) 0px, transparent 85%);

  border-radius: 1rem;
  box-shadow: 0px -16px 24px 0px rgba(255, 255, 255, 0.25) inset;
}

.card .card__border {
  overflow: hidden;
  pointer-events: none;

  position: absolute;
  z-index: -10;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);

  width: calc(100% + 2px);
  height: calc(100% + 2px);
  background-image: linear-gradient(
    0deg,
    hsl(0, 0%, 100%) -50%,
    hsl(0, 0%, 40%) 100%
  );

  border-radius: 1rem;
}

.card .card__border::before {
  content: "";
  pointer-events: none;

  position: fixed;
  z-index: 200;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%), rotate(0deg);
  transform-origin: left;

  width: 200%;
  height: 10rem;
  background-image: linear-gradient(
    0deg,
    hsla(0, 0%, 100%, 0) 0%,
    hsl(277, 95%, 60%) 40%,
    hsl(277, 95%, 60%) 60%,
    hsla(0, 0%, 40%, 0) 100%
  );

  animation: rotate 8s linear infinite;
}

@keyframes rotate {
  to {
    transform: rotate(360deg);
  }
}

.card .card_title__container .card_title {
  font-size: 1rem;
  color: var(--white);
}

.card .card_title__container .card_paragraph {
  margin-top: 0.25rem;
  width: 65%;

  font-size: 0.5rem;
  color: var(--paragraph);
}

.card_title__container img {
    width: 100%;
    border-radius: 10px 10px 0 0;
}

.content-card h3 {
        font-size: 20px;
        font-family: 'SFPRODISPLAYREGULAR';
        color: #D8D8D8;
        font-weight: 800;
        margin-top: -4%;
}

.content-card p {
        font-size: 18px;
        font-family: 'SFPRODISPLAYREGULAR';
        color: #D8D8D8;
        font-weight: 800;
}

.card .line {
  width: 100%;
  height: 0.1rem;
  background-color: var(--line);

  border: none;
}

.card .card__list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.card .card__list .card__list_item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.card .card__list .card__list_item .check {
  display: flex;
  justify-content: center;
  align-items: center;

  width: 1rem;
  height: 1rem;
  background-color: var(--primary);

  border-radius: 50%;
}

.card .card__list .card__list_item .check .check_svg {
  width: 0.75rem;
  height: 0.75rem;

  fill: var(--black);
}

.card .card__list .card__list_item .list_text {
  font-size: 0.75rem;
  color: var(--white);
}

.card .button {
  cursor: pointer;
  padding: 0.5rem;
  width: 100%;
  background-image: linear-gradient(
    0deg,
    rgb(3, 3, 3) 0%,
    rgb(88, 66, 99) 100%
  );
  font-size: 1.2rem;
  color: var(--white);
  border: 0;
  border-radius: 9999px;
}


  /* ---------------------------- contactame ordenador ----------------------------- */

   .contactame {
    padding: 5% 0;
  }

  .contactame h2 {
    color: #392847;
    font-size: 50px;
    font-family: 'SFPRODISPLAYBOLD';
    text-align: center;
    margin-top: -2%;
  }

  .contactame p {
    font-size: 25px;
    font-family: 'SFPRODISPLAYREGULAR';
    color: black;
    text-align: center;
  }

  .icons-contactame {
    display: flex;
    justify-content: center;
    gap: 3%;
  }

  .icons-contactame img {
    width: 30%;
    border-radius: 20px;
  }

  .icons-contactame p {
    font-size: 22px;
    font-family: 'SFPRODISPLAYREGULAR';
    margin: auto 0;
    width: 40%;
    color: black;
  }


  /* ---------------------------- footer ordenador ----------------------------- */
  
  footer {
    background-color: #000000;
    padding: 5% 0;
  }

  footer p {
    font-size: 16px;
    font-family: 'SFPRODISPLAYREGULAR';
    color: #D8D8D8;
    text-align: center;
  }

}