html, body {
    height: 100%; /* Asegura que html y body cubran toda la pantalla */
    margin: 0;
    padding: 0;
}

@font-face {
    font-family: clint maker;
    src: url(fonts/Clint\ Marker.ttf);
}
@font-face {
    font-family: itc-franklin-gothic-lt-demi-condensed;
    src: url(fonts/itc-franklin-gothic-lt-demi-condensed.ttf);
}


* {
    position: relative; /* Todo el contenido debe estar por encima de la capa */
    z-index: 2;
    align-items: center;
    color: white;
    text-shadow: 3px 3px 4px rgba(0, 0, 0, 0.8);
    text-align: center;
    font-family: itc-franklin-gothic-lt-demi-condensed;
    line-height: 1.1;
    letter-spacing: 0.032em;
}

.site-header {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
}

.nav {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0.75rem 1rem;

  background: transparent;
  transition: background 0.3s ease, backdrop-filter 0.3s ease;
  margin-bottom: 8px;
}
.nav.scrolled {
  background: rgba(48, 48, 48, 0.65);
 backdrop-filter: blur(6px);
}
.nav-right{
    margin-top: 0.65em;
    font-size: 1.28em;
}
.nav-left{
    margin-top: 0.55em;
}

.brand {
    margin-top: 1.4em;
  font-size: 1.48em;      /* ⬅ más grande */
  font-weight: 600;
  text-decoration: none;
  color: white;
  margin-bottom: 1.4em;  /* ⬅ más aire */
  font-family: Clint maker;
  }

  .nav-link {
    font-size: 1em;
  }

body {
    background-image: url("images/fondog.png");
    width: 100%;
    background-repeat: no-repeat; /* Evita que la imagen se repita */
    background-size: cover; /* Escala la imagen para cubrir toda la página */
    background-position: center; /* Centra la imagen en la página */
    background-attachment: fixed; /* Hace que la imagen de fondo quede fija al hacer scroll */
    margin: 0; /* Elimina márgenes por defecto del body */
    padding: 0; /* Elimina padding por defecto del body */
    height: 100vh;
    position: relative;
    display: flex;
    flex-direction: column;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.43); /* Capa negra semitransparente */
    z-index: 1; /* La capa negra */
    pointer-events: none;
}

#imagentitulo {
    perspective: 800px;
}

.lo {
    margin-top: 80px;
    max-width: 280px;
    height: auto;
    text-align: center;
    box-shadow: 
    0 0 13px 5px rgba(192, 192, 192, 0.6), 
    0 0 18px 10px rgba(211, 211, 211, 0.5), 
    0 0 28px 10px rgba(245, 245, 245, 0.4); 
    border-radius: 170px; 
    transition: transform 1s ease; 
    transform-style: preserve-3d;
}

.lo:hover {
    transform: rotateY(360deg); /* Hace que la imagen gire una vuelta completa */
}

.lexsoundcabeza {
    margin-top: 30px;
}

.LAW {
    margin-top: 25px;
    min-height: 60px;
    font-size: 42px;
    margin-bottom: 0;
}

.hello {
    margin-bottom: 50px;

}
.portafolito{
    margin-top: 3.45em;
   
}
.portiport{
    padding-top: 60px; /* compensa el header fixed */
}

.section {
    display: flow-root; /* mata el margin collapse */
}


.myportfolio { 
    font-size: 32px;
    margin-top: 45px;
    margin-bottom: 20px;
}
.portfolio-intro{
    font-size: 1.25em;
}
.trabajos {
    display: inline-block;/* Hace que el contenedor del proyecto sea un bloque en línea */
    background-color: rgba(61, 41, 19, 0.7); /* Fondo oscuro semi-transparente */
    color: #fff8e5;
     padding: 16px 20px;
   margin: 16px 8px; /* Margen vertical y horizontal */
    border-radius: 15px;
    width: auto;
    font-size: 19px;
    position: relative; /* Permite el posicionamiento de la reseña */
    z-index: 1; /* Bajo z-index para que el recuadro de trabajo esté debajo */
    transition: box-shadow 0.3s ease-in-out;
    overflow: visible; /* Asegura que no se corte el contenido */
}
.trabajos:hover {
    background-color: rgba(62, 42, 20, 0.778); /* Fondo más oscuro cuando el cursor está encima */
    transform: scale(1.01); /* Aumenta ligeramente el tamaño */
    box-shadow: 2px 5px 16px rgba(0, 0, 0, 0.5); /* Añade una sombra suave */
}

.review-slide {
 
    position: absolute; /* Posiciona la reseña fuera del flujo */
    top: 0;
    left: 100%; /* Empuja la reseña fuera del recuadro */
    width: 40%;
    background-color: rgba(255, 255, 255, 0.8);
    padding: 20px;
    box-sizing: border-box;
    opacity: 0;
    visibility: hidden;
    transform: translateX(-100%);
    transition: all 0.5s ease-in-out;
    z-index: 10; /* Asegura que la reseña se superponga sobre los recuadros */
    border-radius: 10px;
}
.review-slide, .review-slide * {
    color: rgb(0, 0, 0);
    text-shadow: none;
}
.review-author{
    color: rgb(53, 53, 255);
}

/* Cuando el trabajo es hover, la reseña se desliza */
.trabajos:hover .review-slide {
    left: -41%; /* Posiciona la reseña al lado derecho */
    opacity: 1;
    visibility: visible;
    transform: translateX(0); /* Efecto deslizante */
    z-index: 20; /* Hace que la reseña esté encima de otros recuadros */
}

.trabajos.resaltado {
    background-color: rgba(62, 42, 20, 0.778); /* Fondo más oscuro */
    transform: scale(1.01); /* Aumenta ligeramente el tamaño */
    box-shadow: 
    0 0 5px rgba(204, 153, 102, 0.5),   /* Resplandor suave café claro */
    0 0 10px rgba(204, 153, 102, 0.7),  /* Resplandor más fuerte y cálido */
    0 0 15px rgba(204, 153, 102, 0.9),  /* Resplandor más difuso en tono café */
    0 0 20px rgba(204, 153, 102, 1);    /* Resplandor brillante con tono café */
    border: 2px solid rgba(62, 42, 20, 0.778); /* Borde iluminado que coincide con el color */
/* Resplandor del borde */
}
.services {
  margin-top: 60px;
  text-align: center;
}

.services-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
}

/* SERVICE CARD */
.services-card {
  display: inline-block;
  background-color: rgba(45, 45, 45, 0.75);
  padding: 18px 22px;
  width: 260px;
  border-radius: 14px;
  border-left: 4px solid transparent;
  transition: 
    background-color 0.25s ease,
    box-shadow 0.25s ease,
    border-left 0.25s ease,
    transform 0.2s ease;
}

.services-card h3 {
  font-size: 20px;
  margin-bottom: 10px;
}

.services-card p {
  font-size: 16px;
  line-height: 1.25;
  color: rgba(255, 255, 255, 0.9);
}

/* HOVER */
.services-card:hover {
  background-color: rgba(55, 55, 55, 0.88);
  border-left: 4px solid #b52631;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.55);
  transform: translateY(-2px);
}
.soc {
    margin-top: 42px;
    font-size: 26px;
}
.soc2 {

    font-size: 21px;
}

.pp {
    font-size: 23px;
}


/* Cambia el color del botón al pasar el mouse */
.b:hover {
    background-color: #b42430;
}

.correo {
    margin-top: 15px;
    font-size: 30px;
}
.correito{
    margin-top: 25px;
}
.requirements-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(240px, 1fr));
  gap: 1.2rem 2rem;
  list-style:inside;
  padding: 0;
}
.WhatINeed{
     max-width: 900px;       /* desktop */
    width: 90%;             /* mobile friendly */
    margin: 4rem auto;      /* separación fuerte arriba y abajo */

  background-color: rgba(150, 14, 14, 0.811);

    box-shadow:
        0 8px 20px rgba(0, 0, 0, 0.55),
        inset 0 0 0 1px rgba(255, 255, 255, 0.05);


    border-radius: 10px;
backdrop-filter: blur(6px);
    padding: 2.5rem 3rem;
}

.WhatINeed h2{
font-size: 1.85em;
}
.WhatINeed p{
font-size: 1.3em;

}

.btn {
  flex-grow: 1;
    display: flex; /* O block, según necesites */
    margin: 5px auto;        /* Centra horizontalmente */
    max-width: 320px; 
     /* Centra verticalmente */
    justify-content: center;
    flex-wrap: wrap;
    min-width: 280px;
    padding: 20px 80px;
    background-color: rgb(134, 31, 30); 
    color: white; 
    border: 1px solid #0000009d; 
    border-radius: 50px; 
    font-size: 23px;
    text-align: center;
    text-decoration: none;
    transition: background-color 0.15s; 
   margin-top: 37px;
    margin-bottom: 52px;
    position: center;
    cursor: pointer;
    width: auto;
    box-shadow: 0px 2px 2px rgba(0, 0, 0, 0.722), 0px -1px 1px rgba(0, 0, 0, 0.722);
}

.btn2 {
    flex-grow: 1;
    display: flex; /* O block, según necesites */
    margin: 5px auto;        /* Centra horizontalmente */
    max-width: 320px; 
    min-width: 280px;   /* Centra verticalmente */
    justify-content: center;
    flex-wrap: wrap;
    padding: 10px 80px;
    background-color: rgb(134, 31, 30); 
    color: white; 
    border: 1px solid #0000009d; 
    border-radius: 50px; 
    font-size: 23px;
    text-align: center;
    text-decoration: none;
    position: center;
    height: 42px;
    box-shadow: 0px 2px 2px rgba(0, 0, 0, 0.722), 0px -1px 1px rgba(0, 0, 0, 0.722);  
    cursor: pointer;
    width: auto;
    white-space: nowrap;
    transition: background-color 0.10s;
}

.btn2 img {
    height: 70%;
    width: auto;
     /* Centra verticalmente */


}

.btn2 img:first-of-type {
    margin-left: 12px; 
    /* Ajusta el valor según lo necesites */
}

.btn2 img:last-of-type {
    margin-right: 5px; 
    /* Ajusta el valor según lo necesites */
}
/* hey*/
.footy{
margin: 121px;
width: 100%;
}

.btn:hover,.btn2:hover {
    background-color: #b52631; /* Rojo más vibrante */
    font-size: 23px;
}

.btn:active,.btn2:active {
    background-color: #790707; /* Rojo oscuro */
    box-shadow: inset 0px 3px 6px rgba(0, 0, 0, 0.4); /* Efecto presionado */
    transform: scale(0.97); /* Botón ligeramente más pequeño */
}

.btn, .btn2 {
    transition: background-color 0.2s ease, box-shadow 0.2s ease;
}



.Lexsound:hover .S {
    font-family: Clint maker;
    text-shadow: 4px 5px 10px rgba(0, 0, 0, 0.8);
    text-transform: uppercase;
}

.Lexsound:hover {
    font-family: Clint maker;
    text-shadow: 4px 5px 10px rgba(0, 0, 0, 0.8);
    text-transform: uppercase;
}

.S {
    display: inline-block; /* Permite tratar la 'S' como un bloque independiente */
    transition: all 0.3s ease; /* Suaviza el cambio de tamaño y posición */
}

.S:hover {
    font-family: Clint maker;
    text-shadow: 4px 5px 10px rgba(0, 0, 0, 0.8);
    text-transform: uppercase;
    font-size: 60px;
    color: #872d2d;
    position: relative; /* Solo afecta a la letra S */
    top: 6px;
    margin-top: -10px; 
}

.Lexsound, .S {
    transition: font-family 0.5s ease-in, font-size 0.3s ease, color 0.3s ease, text-shadow 0.3s ease, transform 0.3s ease;
}

/* Media Query para pantallas menores a 400px */
@media only screen and (max-width: 400px) {
    /* Ajustes generales */
    * {
        text-shadow: 2px 2px 3px rgba(0, 0, 0, 0.8);

  
}
.nav-right {
  display: flex;
  gap: 1.6rem; /* ⬅ más separación */
}

.nav-link {
  text-decoration: none;
  font-size: 1.05rem; /* ⬅ más legible */
  color: white;
  opacity: 0.9;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.nav-link:hover {
  opacity: 1;
  transform: translateY(-1px);
}

.nav-cta {
  font-weight: 600;
}


    
    /* Logo y título */
    .lo {
        max-width: 190px;
        margin-top: 70px;
    }
    
    .LAW {
        font-size: 28px;
        margin-top: 15px;
    }
    
    /* Texto de presentación */
    .hello {
        font-size: 18px;
        line-height: 1.3;
        margin: 20px 10px;
    }
    
    /* Sección de portfolio */
    .myportfolio {
        font-size: 24px;
        margin-top: 30px;
    }
    
    .trabajos {
        width: 85%;
        margin: 15px auto;
        padding: 15px;
        font-size: 16px;
    }
    
    /* Sección de contacto */
    .correo {
        font-size: 24px;
        margin-top: 30px;
    }
    
    .pp {
        font-size: 15px;
        margin: 10px;
    }
    
    .btn2 {
        padding: 15px 40px;
        font-size: 18px;
        min-width: 200px;
    }
    .btn{
  padding: 18px 40px;
        font-size: 18px;
        min-width: 50px;
        margin: 14px;
    }
    .WhatINeed h2{
font-size: 1.45em;
}
.WhatINeed p{
font-size: 1.15em;
  box-sizing: border-box; /* CLAVE */
}
.WhatINeed {
       width: 94%;
        padding: 1.8rem 1.5rem;
  box-sizing: border-box; /* CLAVE */
}
  .requirements-list {
    grid-template-columns: 1fr;
  }
    /* Sección de redes sociales */
    .soc {
        font-size: 20px;
        margin-top: 30px;
    }
    .soc2 {
  
    font-size: 17px;
}

    
    .btn2 img {
        height: 60%;
    }
    
    /* Footer */
    .footy {
        margin: 60px 0;
    }
    
    /* Ajustes para los elementos de audio */
    audio {
        width: 100%;
    }
}
