/* index.css */
@font-face {
    font-family: "MiFuente";
    src: url("../../imagenes/edit-undo/editundo.ttf") format("truetype");
    font-weight: normal;
    font-style: normal;
}

/* Reset básico */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: #f4f4f4;
}

/* Main */
main {
    padding-left: 102px;
    /* respeta tu valor */
    transition: all 0.3s ease;
    background-color: rgb(44, 43, 43);
    color: white
}

/* Sección del título */
#titulo {
    background-color: #111;
    /* negro elegante */
    color: #fff;
    padding: 40px 20px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    margin: 0 auto 40px auto;
    text-align: center;
    width: 100%;
}

#titulo h1 {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

#titulo h3 {
    font-size: 1.2rem;
    font-weight: 400;
    color: #ccc;
}

/* Layout del artículo - texto e imagen en fila */
article {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 40px;
    margin: 0 auto 60px auto;
    max-width: 1600px;
    height: 52vh;
}



/* Texto principal */
#presentacion {
    flex: 1;
    text-align: justify;
    line-height: 1.92;
    font-size: 15px;
}

/* Imagen al lado derecho */
article aside {
    flex-shrink: 0;
}


h2 {
    font-weight: bold;
    font-size: 40px;
    padding-top:-10px;
}

h3{
    padding-top:20px;
}

article aside img {
    width: 450px;
    border-radius: 20px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
}

/* UL de tecnologías */
#tecnologias {
    all: unset;
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin: 20px 0;
    padding: 0;
}


#tecnologias li {
    all: unset;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #6a11cb 0%, #2575fc 100%);
    color: white;
    padding: 10px 18px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 0.95rem;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: transform 0.2s, box-shadow 0.2s;
    cursor: default;
}

#tecnologias li:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
}


/* FOOTER */
#footer {
    background-color: #464545;
    color: #fff;
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap;
    padding: 0px 20px;
    text-align: center;
    box-shadow: 0 -4px 10px rgba(0, 0, 0, 0.3);
    border-top: 1px solid #000000;
    height: 18.9vh;
}

.divsFooter {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6.8px;
}

#redesSociales {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
}

.iconosRedes {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
}

#redesSociales p {
    font-size: 1.1rem;
    margin-bottom: 5px;
    font-weight: 500;
}

#redesSociales a {
    margin: 0 10px;
    font-size: 4rem;
    transition: transform 0.2s, color 0.3s;
}

#redesSociales a:hover {
    transform: scale(1.2);
}

#imagenCofradiario {
    text-align: center;
}

#imagenCofradiario img {
    width: 120px;
    margin-bottom: 8px;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.4));
}

#imagenCofradiario p {
    font-size: 0.95rem;
    color: #ddd;
    margin-top: -10px;
    letter-spacing: 1px;
}

@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@700&display=swap');

.marquesina {
    margin: 0 auto;
    overflow: hidden;
    white-space: nowrap;
    width: 50%;
    background: linear-gradient(90deg, #2b2823, #636060);
    /* degradado suave */
    padding: 12px 0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
    /* sombra sutil */
    border-radius: 12px;
    /* bordes redondeados */
    position: relative;

}

.marquesina .contenido {
    display: flex;
    width: fit-content;
    animation: scroll 8s linear infinite;

}

.texto-marquesina {
    font-family: 'MiFuente',sans-serif;
    font-size: 1.6rem;
    font-weight: 700;
    color: #ffffff;
    /* color principal tipo neón */
    letter-spacing: 12px;
    padding-right: 80px;
    /* espacio entre repeticiones */
    text-shadow:
        0 0 4px #6a11cb,
        0 0 10px #2575fc,
        0 0 25px #2575fc;
    /* brillo suave */


    transition: all 0.3s ease;
}

/* Movimiento continuo */
@keyframes scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}


/* Estilos móviles universales */
@media (max-width: 768px) {

  main {
    padding-left: 0;
    padding: 15px;
  }

  #titulo h1 {
    font-size: 1.6rem;
  }

  .marquesina {
    width: 90%;
    padding: 8px 0;
  }

  .texto-marquesina {
    font-size: 1rem;
    letter-spacing: 4px;
    padding-right: 40px;
  }

  article {
    flex-direction: column;
    align-items: center;
    height: auto;
    gap: 20px;
  }

  #presentacion {
    font-size: 14px;
    line-height: 1.6;
    text-align: left;
  }

  article aside img {
    width: 90%;
    max-width: 300px;
    height: auto;
  }

  h2 {
    font-size: 1.6rem;
    text-align: center;
  }

  h3 {
    font-size: 1.2rem;
    text-align: center;
  }

  #tecnologias {
    justify-content: center;
    gap: 8px;
  }

  #tecnologias li {
    font-size: 0.8rem;
    padding: 8px 12px;
  }

  #footer {
    flex-direction: column;
    height: auto;
    padding: 20px 10px;
    gap: 20px;
  }

  #redesSociales {
    flex-direction: column;
    gap: 10px;
  }

  #redesSociales a {
    font-size: 2rem;
  }

  #imagenCofradiario img {
    width: 80px;
  }

  #imagenCofradiario p {
    font-size: 0.8rem;
  }

  #titulo {
        margin-top:20px;
  }
}
