/* =======================
   Reset general
======================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body, html {
    font-family: 'Outfit', sans-serif;
    height: 100%;
}

/* =======================
   Header
======================= */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 50px;
    position: relative;
    z-index: 2;
    background-color: transparent;
}

header h1 {
    font-size: 40px;
    color: #0f0fbd;
    font-weight: 250;
    font-family: 'Outfit', sans-serif;
}

/* Hamburger */
.hamburger {
    display: flex;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}
.hamburger {
    cursor: pointer;
    position: relative; /* posición normal */
    z-index: 20;
}

/* Hamburguesa cuando el menú está abierto */
.hamburger.menu-active {
    position: fixed;    /* fija en la pantalla */
    top: 20px;          /* distancia desde arriba */
    right: 20px;        /* distancia desde la derecha */
    z-index: 30;        /* por encima del menú */
}

.contenido.blocked {
    pointer-events: none; /* inhabilita clics */
}

.hamburger span {
    width: 30px;
    height: 3px;
    background-color: black;
}



/* Menú desplegable */
  nav {
        display: flex;
        align-items: flex-end;
        position: fixed;     /* fijo en pantalla */           /* desde arriba */
        right: 0;
        left: 30px;            /* alinea a la derecha */
        width: 100%;         /* ocupa todo el ancho */
        height: 100%;       /* ocupa toda la altura */
        background: rgba(255, 255, 255, 0.50); /* fondo blanco con transparencia */
        padding: 50px 80px;  /* espacio interno */
        border-radius: 0;    /* sin bordes redondeados */
        flex-direction: column;
        gap: 20px;
        font-size: 35px;
        z-index: 10;
    }
    
nav.active {
    display: flex;
}


nav a {
    margin-left: 30px;
    top: 30px;
    text-decoration: none;
    color: black;
    font-weight: 250;
    font-size: 70%;
    font-family: 'Raleway', sans-serif;
}

nav a:hover,
.redes a:focus {
    color: #0f0fbd;
    transform: scale(1.01);
}

.hamburger {
    display: flex;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}
.hamburger {
    cursor: pointer;
    position: relative; /* posición normal */
    z-index: 20;
}

/* Hamburguesa cuando el menú está abierto */
.hamburger.menu-active {
    position: fixed;    /* fija en la pantalla */
    top: 20px;          /* distancia desde arriba */
    right: 20px;        /* distancia desde la derecha */
    z-index: 30;        /* por encima del menú */
}

.contenido.blocked {
    pointer-events: none; /* inhabilita clics */
}

.hamburger span {
    width: 30px;
    height: 3px;
    background-color: black;
}
.about-section {
    display: flex;
    justify-content: center;
    padding: 60px 50px;
}

.about-container {
    display: flex;
    align-items: flex-start;
    max-width: 1200px;
    gap: 30px;
    flex-wrap: wrap;
    align-items: center;
}

.about-gif {
    flex: 1 1 300px; 
    border-radius: 0%;
    display: flex;
    flex-direction: column; /* organiza GIF y título verticalmente */
    align-items: center;
    /* ocupa espacio y se ajusta */
}

.about-gif img {
    width: 70%;
    height: auto;
    display: block;
    border-radius: 0%;
    margin-bottom: 10px; /
}

.about-text {
    flex: 1;
    margin-left: 10px;
    text-align: justify;
}

.about-text h2 {
    font-size: 180%;
    font-family: 'Outfit', sans-serif;
    font-weight: 300;
    margin-bottom: 20px;
    color: #000000;
}

.about-text p {
    font-size: 18px;
    line-height: 1.6;
    color: #333;
    margin-bottom: 10px;
    
}



.gif-title {
    font-size: 24px;
    color: #000000;
    font-family: 'Outfit', sans-serif;
    font-weight: 250;
    text-align: left;
}
.redes-sociales {
    display: flex;
    justify-content: center; /* centra horizontalmente */
    gap: 30px; /* espacio entre los iconos */
    margin: 20px 0; /* margen superior e inferior */
}

.redes-sociales a img {
    width: 40px; /* tamaño de los iconos */
    height: 40px;
    transition: transform 0.2s ease;
}

.redes-sociales a:hover img {
    transform: scale(1.1); /* pequeño efecto hover */
}

.link-texto {
  font-size: inherit;
  font-family: inherit;
  line-height: inherit;
  color: inherit;
  text-decoration: none;
  justify-content: left;
}











@media (max-width: 768px) {
    .subir-arriba {
        display: block;
    }
      .about-container {
        flex-direction: column;
        text-align: center;
    }

    .about-gif img {
        max-width: 300px;
    }

    
    
}

@media (max-width: 768px) {
    header h1 {
        font-size: 28px; /* más pequeño */
    }

       header {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        padding: 15px 20px;
    }
      .contenido.blocked {
        pointer-events: none; /* no se puede clicar nada debajo */
    }
    .about-text h2 {
    font-size: 150%;
    font-family: 'Outfit', sans-serif; /* mantener misma familia que el header */
    font-weight: 300;
    margin-bottom: 20px;
    text-align: left;
    color: #000000;
}
    .gif-title {
    font-size: 14px;
    color: #000000;
    font-family: 'Lexend', sans-serif;
    font-weight: 250;
    text-align: left;
    }
    .about-text p {
    font-size: 11px;
    line-height: 1.6;
    color: #333;
    font-family: Lexend, sans-serif;
    text-align: justify;

}

.link-texto {
  justify-content: left;
  text-decoration: none;
  font-size: 11px;
}
}


    /* Mostrar hamburguesa */
    .hamburger {
        display: flex;
        order: 2; /* derecha */
    }

    /* Menú oculto por defecto */
    nav {
        display: none;
        position: fixed;     /* fijo en pantalla */
        top: 60px;              /* desde arriba */
        right: 0;    
        left: 0;        /* alinea a la derecha */
        width: 100%;         /* ocupa todo el ancho */
        height: 100vh;       /* ocupa toda la altura */
        background: rgba(255, 255, 255, 0.50); /* fondo blanco con transparencia */
        padding: 50px 20px;  /* espacio interno */
        border-radius: 0;    /* sin bordes redondeados */
        flex-direction: column;
        gap: 20px;
        z-index: 10;
    }

    /* Menú activo */
    nav.active {
        display: flex;
    }
    nav a {
    margin-left: 10px;
    top: 30px;
    font-weight: 350;
    font-family: 'Raleway', sans-serif;
}
