/* ============================= */
/* CONTENEDOR PRINCIPAL          */
/* ============================= */

.contenedor {
    margin-top: 5vh;
    display: flex;
    justify-content: center;
}

.informacio-event {
    display: flex;
    flex-direction: column;
    justify-content: space-around;
}

.informacio-event-contenedor {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1.5rem;
}

/* ============================= */
/* IMAGEN EVENTO                 */
/* ============================= */

.IMG-event {
    width: 40vh;
    max-width: 90%;
    border-radius: 1rem;
    border: solid 1px rgba(0, 0, 0, 0.2);
}

/* ============================= */
/* INFORMACIÓN EVENTO            */
/* ============================= */

.informacio-event {
    width: 60vw;
    margin-left: 30px;
}

#TT-event {
    margin-top: 0;
}

.divisor {
    width: 30vw;
    height: 1px;
    background-color: black;
}

/* ============================= */
/* BLOQUE INFO ADICIONAL         */
/* ============================= */

.add-info-event {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.item-event {
    width: fit-content;
    border-radius: 10rem;
    border: solid 2px black;
    margin-bottom: 10px;
}

.tx-item-event {
    background-color: black;
    border-radius: 0 0.5rem 0.5rem 0;
    color: white;
    padding: 0 5px;
}

.tx-tp {
    border-radius: 0.5rem;
}

.ico-svg {
    height: 15px;
    padding: 3px 0 0 6px;
}

/* ============================= */
/* BOTÓN                         */
/* ============================= */

#bt-asist-event {
    position: relative;
    overflow: hidden;
    isolation: isolate;

    width: 100%;
    padding: 10px;

    background-color: transparent;
    border: 2px solid black;
    border-radius: 10rem;

    color: black;
    font-weight: 700;
    font-size: large;

    cursor: pointer;

    transition:
        color 0.2s ease,
        transform 0.2s ease,
        box-shadow 0.2s ease;
}

#bt-asist-event::before {
    content: "";
    position: absolute;

    width: 200px;
    height: 200px;

    background-color: black;
    border-radius: 50%;

    top: 50%;
    left: 50%;

    transform: translate(-50%, -50%) scale(0);
    transition: transform 0.2s cubic-bezier(.10, 0, .18, 1);

    z-index: -1;
}

#bt-asist-event:hover::before {
    transform: translate(-50%, -50%) scale(30);
}

#bt-asist-event:hover {
    color: white;
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
}

/* Feedback táctil en móvil */
#bt-asist-event:active::before {
    transform: translate(-50%, -50%) scale(30);
}

#bt-asist-event:active {
    color: white;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

/* ============================= */
/* ELEMENTOS DECORATIVOS         */
/* ============================= */

.icon-trianguls {
    margin: 15px 0 0 85%;
    width: 15%;
}

/* ============================= */
/* TABLET (481px - 768px)        */
/* ============================= */

@media (min-width: 481px) and (max-width: 768px) {

    .informacio-event-contenedor {
        flex-direction: column;
        align-items: center;
    }

    .IMG-event {
        width: 55vw;
        max-width: 100%;
    }

    .informacio-event {
        width: 90vw;
        margin-left: 0;
    }

    .divisor {
        width: 60vw;
    }

    .add-info-event {
        align-items: flex-start;
    }

    .icon-trianguls {
        margin-left: 80%;
        width: 18%;
    }
    .contenedor {
    flex-direction: column;
    align-items: center;
    }
}

/* ============================= */
/* MOBILE (hasta 480px)          */
/* ============================= */

@media (max-width: 480px) {

    .contenedor {
        margin-top: 3vh;
        padding: 0 4%;
    }

    .informacio-event-contenedor {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }

    .IMG-event {
        width: 80vw;
        max-width: 100%;
    }

    .informacio-event {
        width: 100%;
        margin-left: 0;
        gap: 0.8rem;
    }

    #TT-event {
        font-size: clamp(1.4rem, 6vw, 2rem);
        text-align: center;
    }

    .divisor {
        width: 80vw;
    }

    .add-info-event {
        align-items: flex-start;
        width: 100%;
    }

    #bt-asist-event {
        font-size: 1rem;
        padding: 12px;
    }

    .icon-trianguls {
        margin-left: 75%;
        width: 22%;
    }
}