#titulojaja{
    background-color: rgb(107, 17, 17);
    color: white;
    border-radius: 35px;
    font-family: 'Times New Roman', Times, serif;
    text-align: center;
}

@keyframes caer-suave {
    from {
        opacity: 0;
        transform: translateY(-100px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animacion {
    animation: caer-suave 1s ease-out;
    animation-fill-mode: forwards;
}

#contenido{
    display: flex;
    flex-direction: column;
    align-items: center;
    border: 15px solid rgb(108, 32, 32);
    border-radius: 25px;
    padding: 10px;
}

.introimg {
    width: 850px;
    height: 400px;
    object-fit: cover;
    border-radius: 15px;
    margin: 20px;
    transition: transform 0.3s;
}

.introducciontitulo{
    color: rgb(58, 11, 11);
    font-family: 'Times New Roman', Times, serif;
    text-align: center;
    margin-top: 20px;
    margin-bottom: 20px;
}

#definition{
    background-color: rgb(125, 31, 31);
    color: white;
    font-size: 20px;
    font-family: monospace;
    text-align: center;
    width: 700px;
    height: auto;
    padding: 20px;
}

#tiposdeviolencia h2{
    color: rgb(58, 11, 11);
    font-family: 'Times New Roman', Times, serif;
    text-align: center;
    font-size: 70px;
    margin-top: 20px;
    margin-bottom: 20px;
}

.layout {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 40px;
    margin-top: 40px;
}

.tarjetas {
    display: grid;
    grid-template-columns: repeat(2, 250px);
    gap: 20px;
}

.tarjeta {
    background: white;
    padding: 20px;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s;
    overflow: hidden;
}

.tarjeta h3 {
    color: rgb(125, 31, 31);
}

.btn {
    margin-top: 10px;
    padding: 8px 12px;
    border: none;
    background-color: rgb(125, 31, 31);
    color: white;
    border-radius: 8px;
    cursor: pointer;
}

.btn:hover {
    background-color: rgb(90, 20, 20);
}

.lado-imagen {
    display: flex;
    align-items: flex-start;
}

.imagen {
    height: 660px;
    object-fit: cover;
    border-radius: 20px;
    transition: transform 0.3s;
}

@media (max-width: 800px) {
    .layout {
        flex-direction: column;
        align-items: center;
    }

    .tarjetas {
        grid-template-columns: 1fr;
    }

    .imagen {
        height: auto;
    }
}

.imagen-ejemplo {
    width: 100%;
    height: 140px;
    object-fit: cover;
    border-radius: 10px;
    margin-top: 10px;
    display: none;
}

.visor {
    display: flex;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.8);
    justify-content: center;
    align-items: center;
    z-index: 999;

    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.visor.activo {
    opacity: 1;
    pointer-events: auto;
}

.visor img {
    max-width: 80%;
    max-height: 80%;
    border-radius: 15px;

    transform: scale(0.85);
    transition: transform 0.3s ease;
}

.visor.activo img {
    transform: scale(1);
}

#cerrar {
    position: absolute;
    top: 400px;
    right: 95px;   
    color: white;
    font-size: 40px;
    cursor: pointer;
}

.imagen-ejemplo {
    width: 100%;
    height: 140px;
    object-fit: cover;
    border-radius: 10px;
    margin-top: 10px;
    display: none;
    cursor: pointer;
}

#contacto-final {
    margin-top: 60px;
    padding: 35px 20px;
    border-top: 4px solid rgb(125, 31, 31);
    background-color: rgb(238, 220, 220);
}

#contacto-final h2 {
    text-align: center;
    font-size: 50px;
    color: rgb(125, 31, 31);
    margin-bottom: 10px;
}

.intro-contacto {
    text-align: center;
    max-width: 750px;
    font-size: 25px;
    margin: 0 auto 20px auto;
    color: #141414;
}

.intro-contacto-parentesis {
    text-align: center;
    max-width: 750px;
    margin: 0 auto 20px auto;
    color: #444;
}

.lista-contacto {
    max-width: 800px;
    margin: 0 auto;
    padding-left: 20px;
    line-height: 1.8;
}

.lista-contacto li {
    margin-bottom: 8px;
}

.cierre-contacto {
    text-align: center;
    text-size-adjust: 60px;
    margin-top: 20px;
    font-size: 70px;
    font-family: 'Times New Roman', Times, serif;
    color: #555;
}

.creditos-de-equipo-jaja {
    text-align: center;
    font-size: 20px;
    margin-top: 40px;
    color: #000000;
}


body{
    background-color: black;
}

#introducciontitulo h2{
    font-family: Impact, sans-serif;
    font-size: 64px;
    color: white;
}

.introimg{
    width: 100%;
    max-width: 850px;
    height: auto;
    object-fit: contain;
}

.tarjeta h3{
    font-size: 40px;
}

#tiposdeviolencia h2{
    animation: rojo-parpadeo 1.5s infinite;
}

@keyframes rojo-parpadeo{
    0%{
        color: rgb(58, 11, 11);
    }

    50%{
        color: rgb(255, 120, 120);
    }

    100%{
        color: rgb(58, 11, 11);
    }
}

.tarjeta.expandida{
    grid-column: span 2;
}

.tarjeta.expandida .imagen-ejemplo{
    height: 260px;
}

.tarjeta.expandida .texto{
    font-size: 22px;
}

.lista-contacto{
    list-style-position: inside;
    text-align: center;
    padding-left: 0;
}

.lista-contacto li{
    font-size: 30px;
    margin-bottom: 35px;
}


.lista-contacto li{
    border: 3px solid red;
    padding: 20px;
    width: 60%;
    margin-left: auto;
    margin-right: auto;
    border-radius: 8px;
}

#audio-seccion{
    width: 80%;
    margin: 50px auto;
    padding: 30px 40px;

    background-color: rgb(107, 17, 17);

    border: 4px solid rgb(220, 80, 80);
    border-radius: 25px;

    text-align: center;
}

#audio-seccion h2{
    color: white;
    font-size: 50px;
    margin-bottom: 15px;
}

.texto-audio{
    color: white;
    font-size: 28px;
    width: 90%;
    margin: 0 auto 20px auto;
}

.texto-audio-2{
    color: rgb(196, 196, 196);
    font-size: 24px;
    width: 90%;
    margin: 0 auto 20px auto;
}

#audio-seccion audio{
    width: 500px;
    max-width: 90%;
}