body {
    font-family: "DM Serif Display", serif;
    font-family: "Lato", sans-serif;
    background-color: rgba(0, 0, 0, 0)!important;
}

#sobremi{
  margin-bottom: 15vh;
}
#proyectos{
  margin-bottom: 15vh;
}
#contacto{
  margin-bottom: 15vh;
}
#intereces{
  margin-bottom: 15vh;
}
.page{
    margin: 0;
    padding: 0;
}
a:visited{
    color: #000;
}



/*   pesos tipograficos y mas   */
h1{
  font-family: "DM Serif Display", serif;
  font-weight: 900;
}
.h1{
  font-family: "DM Serif Display", serif;
}
h2{
  font-family: "DM Serif Display", serif;
}
h3{
  font-family: "DM Serif Display", serif;
}
h4{
  font-family: "DM Serif Display", serif;
}
p{
  font-weight: 500;
}
a{
  font-weight: 600;
}
a:hover{
  color: #ffe6e6!important;
}

/*      titulo h1        */
.hola-titulo{
  overflow: hidden;
}
.hola-titulo .letter {
  display: inline-block;
  line-height: 1em;
}
.hola-titulo2{
  overflow: hidden;
}
.hola-titulo2 .letter {
  display: inline-block;
  line-height: 1em;
}


/* animaciones hero */
.blur-in{animation:blur-in 0.8s linear both} @keyframes blur-in{0%{filter:blur(12px);opacity:0}100%{filter:blur(0);opacity:1}}

@media (max-width: 500px) {
  .hero h1 {
    font-size: 28px;
    text-align: center;
  }

  .hero p {
    font-size: 16px;
    text-align: center;
    padding: 0 10px;
  }
}


/* estilos nav */
.menu-nav-superior li{
    list-style: none;
    display: flex;
}
#primary-menu{
    display: flex;
    gap: 20px;
}
.navbar{
  margin: 8px 8px 0px 8px;
}
nav{
  padding: 0!important;
  margin: 0;

  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: transparent!important; /* sin color de fondo */
  z-index: 1000;
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.navbar a{
    color: #000000;
}
a{
    text-decoration: none;
}
nav a:visited{
    color: #000000;
}
.custom-logo-link{
    width: 5vh;
    margin-left: 2%;
}
.navbar-collapse{
    display: flex;
    justify-content: end;
}
.nav-item a{
  font-weight: 600;
}


/* estilos footer */
.logo-footer{
  display: flex;
  justify-content: center;
  align-items: center;
}
.logo-footer a{
  width: 15vh;
}
.menu-footer a{
    color: #000000;
}
.menu-footer a:visited{
    color: #000000;
}
.menu-menu-footer-1{
    display: flex;
    flex-wrap: wrap;
    margin: 0;
    padding: 0;
    width: 100vh;
}
.menu-menu-footer-1 li {
    list-style: none;
    display: flex!important;
    justify-content: space-around;
    justify-content: start;
    width: 10vw;
}
@media (max-width: 500px) {
  .menu-menu-footer-1 {
      flex-direction: column; /* Cambia la dirección a columna en pantallas pequeñas */
      align-items: center;
  }

  .menu-menu-footer-1 li {
      width: 12vh; /* Ancho automático para ocupar el ancho completo */
      margin: 5px 0; /* Espacio entre elementos */
  }
}
i{
    color: #0d0d0d;
}
i:hover{
    color: #ffe6e6;
}


/*     estilos para animaciones ilustraciones      */
.croquera {
  position: relative; /* El portamina se posicionará relativo a este contenedor */
  width: 300px; /* Ajusta según tus necesidades */
}
.croquera img {
  display: block; /* Asegura que las imágenes se comporten como bloques */
  width: 80%; /* Ajusta el tamaño según el contenedor */
}
.portamina {
  position: absolute; /* Posiciona el portamina sobre el croquera */
  top: 50%; /* Inicialmente, coloca el portamina en el centro verticalmente */
  left: 50%; /* Centra el portamina horizontalmente */
}

.contenedor-ilust {
  display: flex;
  justify-content: center;
  align-items: center;
}
.grid-container {
  display: grid;
  grid-template-columns: 2fr 1fr; /* Dos columnas de igual ancho */
  grid-template-rows: auto; /* Ajusta automáticamente la altura de las filas */
}
.compu {
  grid-column: 1; /* Ocupa la primera columna */
  grid-row: 1 / 3; /* Ocupa ambas filas */
  position: relative; /* Asegura que las distorsiones afecten la posición relativa del elemento */
  display: inline-block;
}
.wacom {
  grid-column: 2; /* Ocupa la segunda columna */
  grid-row: 2; /* Ocupa la segunda fila */
  transform: rotate(10deg); 
}
.lapiz-wacom{
  z-index: 2;
}
@media (max-width: 600px) {
  .compu {
      height: 20vh!important;
  }
  .wacom {
    height: 20vh!important;
  }

}




/* formulario de contacto  */
.wpcf7-form-control{
    width: 70vh;
    background-color: #ffe6e69a;
}
.wpcf7{
    display: flex;
justify-content: center;
}
.wpcf7-textarea{
    height: 20%;
}
.wpcf7-submit{
    width: 15vh;
    background-color: #0d0d0db6!important;
    color: #ffe6e6!important;
}



/*     tarjetas sobre mi      */
.tarjeta{
  background-color: #34343482;
  color: #ffe6e6;
  padding: 5vh;
  border-radius: 12px;
}



/*    proyectos tarjetas    */
 :root {
	 --light: #ffe6e6;
	 --dark: #0c0c0c;
}
 .proyectos {
	 
	 overflow: clip;
	 position: relative;
	 display: flex;
	 justify-content: center;
	 align-items: center;
	 padding: 2rem 5rem;
	 width: 100%;
	 height: 100dvh;
}
.pointernon{
    cursor: default!important;
}
 .category_proyectos {
	 --gap: 0.5rem;
	 display: flex;
	 justify-content: space-between;
	 align-items: center;
	 flex-wrap: nowrap;
	 gap: calc(var(--gap) * 2);
	 width: 100%;
	 height: 100%;
}
 .content {
	 --active: 0;
	 cursor: pointer;
	 overflow: clip;
	 position: relative;
	 z-index: 10;
	 display: flex;
	 flex-direction: column;
	 justify-content: flex-end;
	 gap: 1.5rem;
	 padding: 2.5rem;
	 width: calc((100% / 3) - var(--gap));
	 height: 100%;
	 border-radius: 1rem;
	 transition: width 0.5s ease-in-out;
}
 .content:hover {
	 --active: 1;
	 width: calc(70% - var(--gap));
}
 .content::before {
	 content: "";
	 position: absolute;
	 z-index: -10;
	 top: 0;
	 left: 0;
	 width: 100%;
	 height: 100%;
	 background-color: var(--dark);
	 opacity: 0.6;
}
 .content img {
	 position: absolute;
	 z-index: -20;
	 top: 0;
	 left: 0;
	 width: 100%;
	 height: 100%;
	 object-fit: cover;
	 object-position: center;
}
 .content .profile_image {
	 opacity: calc(1 - var(--active));
	 transition: opacity 0.3s ease-in-out;
}
 .profile_detail {
	 display: flex;
	 flex-direction: column;
	 gap: 0.5rem;
	 width: 12rem;
	 transition: transform 0.5s cubic-bezier(0.23, 0.93, 0.77, 1) 0.01s;
}
 .profile_detail span {
	 font-size: 1.5rem;
	 font-weight: 600;
	 color: var(--light);
	 text-wrap: nowrap;
}
 .profile_detail p {
	 font-size: 0.75rem;
	 font-weight: 500;
	 color: var(--light);
}
 .profile_quote {
	 width: 22rem;
	 transform: translate(0, calc((1 - var(--active)) * (100% + 2.5rem)));
}
 .profile_quote p {
	 font-size: 1.5rem;
	 font-weight: 600;
	 color: var(--light);
	 transform: translate(0, calc((1 - var(--active)) * (100% + 2.5rem)));
	 transition: transform 0.5s cubic-bezier(0.23, 0.93, 0.77, 1) 0.1s;
}
 .wrapper {
	 display: grid;
	 grid-template-rows: 0fr;
	 overflow: hidden;
	 transition: grid-template-rows 0.5s cubic-bezier(0.23, 0.93, 0.77, 1) 0.01s;
}
 .profile_quote {
	 min-height: 0;
	 transform: translateY(50%);
	 opacity: 0;
	 transition: opacity 0.8s ease-in-out, transform 0.8s cubic-bezier(0.23, 0.93, 0.77, 1) 0.01s;
}
 .content:hover .wrapper {
	 grid-template-rows: 1fr;
}
 .content:hover .profile_quote {
	 transform: none;
	 opacity: 1;
}
 dialog {
	 position: absolute;
	 z-index: 1;
	 background: none;
	 color: white;
	 border: 0;
	 font-size: 0.8rem;
	 padding: 0.5em;
}
 dialog a {
	 color: whitesmoke;
}
@media (max-width: 600px) {
  .proyectos {
    padding: 1rem;
    height: auto;
    flex-direction: column;
  }

  .category_proyectos {
    flex-direction: column;
    gap: 2rem;
  }

  .content {
    width: 100% !important;
    height: auto;
  }

  .content:hover {
    width: 100% !important;
  }

  .profile_detail, .profile_quote {
    width: 100%;
  }
}









/*    fondo colores   */
:root {
  color: black;
  background-color: rgb(76, 82, 94);

}
body {
  margin: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  overflow: hidden; /* Asegúrate de que el contenido no desborde el viewport */
  overflow-y: auto; /* para que se pueda scrolear al resto de la pagina no solo al contenido de los blops    */
}

.bouncing-blob {
  width: 32vw;
  aspect-ratio: 1;
  border-radius: 50%;
  will-change: transform;
  position: absolute;
  z-index: 1;
  transform-origin: left top;
}

.bouncing-blob--blue {
  background: #47a5c7;
}

.bouncing-blob--white {
  background: #ffffff;
  z-index: 2;
  width: 15vw;
}

.bouncing-blob--purple {
  background: #b97a6b;
}

.bouncing-blob--pink {
  background: #d0de5650;
}

.bouncing-blobs-container {
  position: fixed;
  z-index: -1;
  top: 0;
  left: 0;
  width: 100%; /* Ajusta el ancho del contenedor */
  height: 100%; /* Ajusta la altura del contenedor */
  overflow: hidden; /* Asegura que el contenido no desborde */
}

.bouncing-blobs-glass {
  position: absolute;
  z-index: 2;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  backdrop-filter: blur(140px);
  -webkit-backdrop-filter: blur(140px);
  pointer-events: none;
}

.bouncing-blobs {
  position: absolute;
  z-index: 1;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.hero {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: auto;
}

@media (max-width: 1260px) {
  .bouncing-blobs-glass {
      backdrop-filter: blur(120px);
      -webkit-backdrop-filter: blur(120px);
  }
}

@media (max-width: 600px) {
  .bouncing-blob {
      width: 60vw;
  }
  .bouncing-blob--white {
      width: 30vw;
  }
  .bouncing-blobs-glass {
      backdrop-filter: blur(90px);
      -webkit-backdrop-filter: blur(90px);
  }

  .hero h2 {
      font-size: 32px;
  }

  .hero p {
      font-size: 16px;
      padding: 0 20px;
  }
}

.tutorial-link a {
  display: flex;
  justify-content: center;
  align-items: center;
  color: black;
  font-size: 20px;
  text-decoration: none;
  font-weight: 600;
  gap: 0 5px;
  border: 2px solid;
  border-radius: 5px;
  padding: 4px 10px;
}

.tutorial-link svg {
  width: 30px;
}

@media(max-width: 600px) {
  .tutorial-link a {
      font-size: 14px;
      padding: 2px 4px;
  }
  .tutorial-link svg {
      width: 15px;
  }
}





/*     secc intereces     */
.bi-heart{
  color: #fff;
}

.custom-btn {
  width: 200px;
  height: 40px;
  color: #fff;
  border-radius: 20px;
  padding: 10px 25px;
  font-weight: 500;
  background: transparent;
  transition: all 0.3s ease;
  position: relative;
  display: inline-block;
   box-shadow:inset 2px 2px 2px 0px rgba(255,255,255,.5),
   7px 7px 20px 0px rgba(0,0,0,.1),
   4px 4px 5px 0px rgba(0,0,0,.1);
  outline: none;
  text-align: center;
}

/* 11 */
.btn-11 {
  border: none;
    color: #fff;
    overflow: hidden;
}
.btn-11:hover {
    text-decoration: none;
    color: #fff;
}
.btn-11:before {
    position: absolute;
    content: '';
    display: inline-block;
    top: -180px;
    left: 0;
    width: 30px;
    height: 100%;
    background-color: #fff;
    animation: shiny-btn1 3s ease-in-out infinite;
}
.btn-11:hover{
  opacity: .7;
}
.btn-11:active{
  box-shadow:  4px 4px 6px 0 rgba(255,255,255,.3),
              -4px -4px 6px 0 rgba(116, 125, 136, .2), 
    inset -4px -4px 6px 0 rgba(255,255,255,.2),
    inset 4px 4px 6px 0 rgba(0, 0, 0, .2);
}


@keyframes shiny-btn1 {
    0% { -webkit-transform: scale(0) rotate(45deg); opacity: 0; }
    80% { -webkit-transform: scale(0) rotate(45deg); opacity: 0.5; }
    81% { -webkit-transform: scale(4) rotate(45deg); opacity: 1; }
    100% { -webkit-transform: scale(50) rotate(45deg); opacity: 0; }
}



/* ------------------ RESPONSIVE: PANTALLAS PEQUEÑAS (360px) ------------------ */
@media (max-width: 600px) {

  /* Body */
  body {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  /* Hero */
  .hero h1 {
    font-size: 26px;
    text-align: center;
  }

  .hero h2 {
    font-size: 22px;
    text-align: center;
  }

  .hero p {
    font-size: 14px;
    padding: 0 10px;
    text-align: center;
  }

  /* Blobs */
  .bouncing-blob {
    width: 60vw;
  }

  .bouncing-blob--white {
    width: 30vw;
  }

  .bouncing-blobs-glass {
    backdrop-filter: blur(90px);
    -webkit-backdrop-filter: blur(90px);
  }

  /* Footer */
  .menu-menu-footer-1 {
    flex-direction: column;
    align-items: center;
    width: 100%;
  }

  .menu-menu-footer-1 li {
    width: auto;
    margin: 5px 0;
    justify-content: center;
  }

  .logo-footer a {
    width: 10vh;
  }

  /* Formulario */
  .wpcf7-form-control {
    width: 90vw;
  }

  .wpcf7-submit {
    width: 40vw;
  }

  /* Botones */
  .custom-btn {
    width: 100%;
    max-width: 280px;
    font-size: 14px;
    padding: 10px;
  }

  .tutorial-link a {
    font-size: 14px;
    padding: 2px 4px;
  }

  .tutorial-link svg {
    width: 15px;
  }

  /* Grid ilustraciones */
  .grid-container {
    grid-template-columns: 1fr;
    justify-items: center;
  }

  .wacom {
    transform: none;
  }

  /* Proyectos */
  .proyectos {
    padding: 1rem;
    height: auto;
    flex-direction: column;
  }

  .category_proyectos {
    flex-direction: column;
    gap: 2rem;
  }

  .content {
    width: 100% !important;
    height: auto;
  }

  .content:hover {
    width: 100% !important;
  }

  .profile_detail,
  .profile_quote {
    width: 100%;
  }
}

/* ------------------ RESPONSIVE: PANTALLAS GRANDES (≥1260px) ------------------ */
@media (min-width: 1260px) {

  .bouncing-blobs-glass {
    backdrop-filter: blur(140px);
    -webkit-backdrop-filter: blur(140px);
  }

  .hero h2 {
    font-size: 48px;
  }

  .hero p {
    font-size: 20px;
    padding: 0 30px;
  }

  .tutorial-link a {
    font-size: 20px;
    padding: 4px 10px;
  }

  .tutorial-link svg {
    width: 30px;
  }

  .wpcf7-form-control {
    width: 70vh;
  }

  .wpcf7-submit {
    width: 15vh;
  }

  .menu-menu-footer-1 {
    flex-direction: row;
    justify-content: start;
  }

  .menu-menu-footer-1 li {
    width: 10vw;
  }

}
