
@import url('https://fonts.googleapis.com/css2?family=Tangerine:wght@700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Pirata+One&family=Montserrat&display=swap');
html{
    margin: 0;
}
body{
    margin: 0
}


h1, h2, h3 {
  font-family: 'Pirata One', cursive;
  font-weight: 600;
  letter-spacing: 1px;
}

body, p, li, a {
  font-family: 'Montserrat', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: #1a1a1a;
}
/* Header */
.hamburger {
    display: none;
    font-size: 24px;
    cursor: pointer;
}
header {
    display: flex;
    background-color: #000000;
    flex-direction: row;
    justify-content: center;
    align-items: center; 
    padding: 10px 0;
    gap: 50px; 
}

.header-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 200px;
}

.header-logo img {
    width: 100%;
    max-width: 200px;
    height: auto;
}

.containt-header {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* Menú */
.menu {
    display: flex;
    align-items: center;
}

.menu ul {
    display: flex;
    flex-direction: row;
    list-style: none;
    gap: 50px;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    padding: 0;
    margin: 0;
}

.menu ul li {
    text-decoration: none;
}

.menu ul li a {
    font-family: 'Pirata One', cursive;
    font-size: 20px;
    text-decoration: none;
    color: transparent;
    background: linear-gradient(to right, #DE2D33 50%, #ffffff 50%);
    background-size: 200% 100%;
    background-position: right bottom;
    -webkit-background-clip: text;
    background-clip: text;
    transition: background-position 0.6s ease-in-out;
    display: inline-block;
}

.menu ul li a:hover {
    background-position: left bottom;
}




/*about*/
.about-video-section {
    margin:0;
  position: relative;
  overflow: hidden;
  z-index: 1;
}


/* VIDEO DE FONDO GLOBAL */
.background-video {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  min-width: 100%;
  min-height: 100%;
  object-fit: cover;
  z-index: -1;
  opacity: 0.4;
  pointer-events: none;
}

.about-video-section .containt-about {
  position: relative;
  z-index: 2;
  height: 40vw;
}

.containt-about {
    width: 100%;
    display: flex;
    justify-content: center;
    gap: 29px;
}

.about-description{
    width: 50%;
    text-align: center;
    justify-content: center;
    align-items: center;
    display: flex;
    flex-direction: column;
}
.about-description p{
    font-size: 18px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.4);
}
.about-img{
    
    align-content: center;
}
.about-img img {
    width: 100%;
    height: 400px;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 15px 20px rgba(0, 0, 0, 0.6); 
}
.glitch {
  position: relative;
  text-align: center;
  text-transform: uppercase;
  width: 80%;
  margin: auto;
  margin-top: 0;
  margin-bottom: 150px;
  line-height: 1.2;
}

.glitch-layer {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  
  color: black;
  animation: glitch-skew 1s infinite linear alternate-reverse;
}

.glitch-name {
  font-size: 48px;
  font-weight: bold;
}

.glitch-title {
  font-size: 28px;
  font-weight: bold;
}

.glitch-before {
  color: red;
  z-index: -1;
  animation: glitch-rgb-1 0.4s infinite linear alternate-reverse;
}

.glitch-after {
  color: rgb(177, 46, 46);
  z-index: -2;
  animation: glitch-rgb-2 0.4s infinite linear alternate-reverse;
}

@keyframes glitch-skew {
  0% {
    transform: skew(2deg);
  }
  100% {
    transform: skew(0deg, 1deg);
  }
}

@keyframes glitch-rgb-1 {
  0% {
    transform: translate(2px, 0);
  }
  100% {
    transform: translate(-2px, -1px);
  }
}

@keyframes glitch-rgb-2 {
  0% {
    transform: translate(-2px, 1px);
  }
  100% {
    transform: translate(0px, 2px);
  }
}


/*galeria*/
#proyectos{
    align-items: center;
    justify-content: center;
    text-align: center;
}
#proyectos h3{
    font-size: 40px;


}

.carousel-container {
  position: relative;
  max-width: 1800px;
  margin: auto;
  display: flex;
  align-items: center;
}

.galeria-scroll {
  overflow: hidden;
  cursor: grab;
  flex: 1;
}

.galeria {
  display: flex;
  gap: 1rem;
  transition: scroll-left 0.3s ease;
}

.containt-lienzo {
    width: 450px;
    height: 650px;
  flex: 0 0 auto;
  border-radius: 10px;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.containt-lienzo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 10px;
  transition: transform 0.3s ease;
}

.containt-lienzo:hover img {
  transform: scale(1.05);
}

.arrow {
  background: rgba(0, 0, 0, 0.6);
  border: none;
  color: white;
  font-size: 2rem;
  padding: 0.5rem 1rem;
  cursor: pointer;
  z-index: 1;
  transition: background 0.3s ease;
}

.arrow:hover {
  background: rgba(0, 0, 0, 0.8);
}

.arrow.left {
  margin-right: 1rem;
}

.arrow.right {
  margin-left: 1rem;
}


/* LIGHTBOX */
.lightbox {
  display: none;
  position: fixed;
  z-index: 1000;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.9);
  align-items: center;
  justify-content: center;
  animation: fadeIn 0.5s ease;
  text-align: center;
}

.lightbox img {
    max-width: 46%;
    max-height: 90%;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.2);
    animation: zoomIn 0.4s ease;
}
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes zoomIn {
  from { transform: scale(0.8); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}


/* Contacto */
#contactos {
  text-align: center;
  padding: 2rem 1rem;
}

#contactos h3 {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
  color: #222;
}

.contact-links {
  display: flex;
  flex-direction: column !important;
  align-items: center;
  gap: 1.5rem;
  margin-top: 1rem;
}

.contact-links a {
  display: inline-block;
  text-decoration: none;
  background-color: #000;
  color: #fff;
  padding: 12px 28px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.3s ease;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.contact-links a:hover {
  background-color: #333;
  transform: translateY(-2px);
}

/* Responsive: enlaces en fila en pantallas grandes */
@media (min-width: 768px) {
  .contact-links {
    flex-direction: row;
    justify-content: center;
    flex-wrap: wrap;
  }
}

/* RESPONSIVE */
@media (max-width: 1024px) {
    .lightbox-content {
    align-items: center;
    text-align: center;
}
.lightbox img {
    max-width: 90%;
    max-height: 90%;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.2);
    animation: zoomIn 0.4s ease;
}
  header {
    flex-direction: column;
    gap: 20px;
    padding: 20px 0;
  }

  .menu ul {
    flex-direction: column;
    gap: 20px;
  }

  .about-video-section .containt-about {
            margin-top: 20px;

    flex-direction: column;
    height: auto;
    text-align: center;
  }

  .about-description {
    width: 100%;
  }

  .about-img img {
    width: 250px;
    height: 250px;
  }

  .containt-lienzo {
    width: 300px;
    height: 450px;
  }

  .glitch-name {
    font-size: 36px;
  }

  .glitch-title {
    font-size: 22px;
  }
}

@media (max-width: 768px) {
  .header-logo {
    width: 150px;
  }

    .about-description p {
    font-size: 16px;
    padding: 20px;
  }

  .containt-lienzo {
    width: 250px;
    height: 350px;
  }

  .menu ul {
    gap: 15px;
  }

  .glitch {
    font-size: 28px;
    margin-bottom: 80px;
  }

  #proyectos h3,
  #contactos h3 {
    font-size: 30px;
  }
}

@media (max-width: 480px) {
    
       header {
        display: flex
;
padding: 20px;
        flex-direction: row;
        align-items: center;
        justify-content: space-evenly;
    }

  .about-img img {
    width: 200px;
    height: 200px;
  }

  .containt-lienzo {
    width: 200px;
    height: 300px;
  }

  .glitch-name {
    font-size: 28px;
  }

  .glitch-title {
    font-size: 18px;
  }

  .menu ul {
    font-size: 16px;
  }

  .contact-links a {
    padding: 8px 16px;
    font-size: 14px;
  }
}
/* Responsive */
@media (max-width: 768px) {
    .hamburger {
        display: block;
    }

    .containt-header {
        width: 100%;
    }

    .menu ul {
        flex-direction: column;
        display: none;
        margin-top: 10px;
    }

    .menu ul.show {
        display: flex;
    }

    .menu ul li {
        text-align: center;
    }
}
.fa-solid, .fas {
    font-weight: 900;
    color: white !important;
}
/* Footer */
.footer {
  text-align: center;
  padding: 2rem 1rem;
  font-size: 3.2rem;
  background: none;
}

.footer p {
  color: white;
  font-family: 'Tangerine', cursive;
  margin: 0;
}

.footer a {
  font-family: 'Tangerine', cursive;
  color: white;
  text-decoration: none;
  transition: opacity 0.3s;
}

.footer a:hover {
  opacity: 0.7;
}