﻿
@font-face {
    font-family: 'imfellenglishsc-regular';
    src: url('/content/fonts/imfellenglishsc-regular.ttf') format('truetype');
}


#bgVideo {
    position: fixed;
    top: 0;
    left: 0;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    z-index: -1;
    object-fit: cover;
    filter: brightness(0.6);
}

#detach-button-host {
    display: none;
}



.fkBtn {
    display: inline-block;
    position: relative;
    color: #f2e9dc;
    font-family: 'Cinzel Decorative';
    font-size: 1.2em;
    text-decoration: none;
    letter-spacing: 1px;
    padding: 8px 18px;
    transition: all 0.4s ease;
    cursor: pointer;
    text-shadow: 0 0 6px rgba(255, 180, 80, 0.6);
    transform: perspective(600px) rotateX(0deg) rotateY(0deg);
    transform: rotate(-2deg) scale(1.08);
    text-shadow: 0 0 12px #5447ff, 0 0 30px #8500ff;
}

    .fkBtn:hover {
        color: #d68cff;
        text-shadow: 0 0 12px #5447ff, 0 0 30px #8500ff;
        transform: rotate(2deg) scale(1.08);
    }


    .fkBtn::after {
        content: "";
        position: absolute;
        bottom: 0;
        left: 50%;
        width: 0%;
        height: 2px;
        background: linear-gradient(90deg, #ffb347, #ffd452);
        background: linear-gradient(90deg, #7447ff, #af52ff);
        transition: all 0.4s ease;
        transform: translateX(-50%);
        box-shadow: 0 0 8px #ffb347;
    }

    .fkBtn:hover::after {
        width: 80%;
    }


    .fkBtn.accedi:hover {
        color: #d68cff;
        text-shadow: 0 0 12px #5447ff, 0 0 30px #8500ff;
        transform: rotate(2deg) scale(1.08);
    }

    .fkBtn.registrati:hover {
        color: #8d41c5;
        color: #dbabff;
        text-shadow: 0 0 12px #d68cff, 0 0 30px #a85cff;
        transform: rotate(2deg) scale(1.08);
    }


.egoResp {
    /*font-size: 1.8em;*/
    padding-top: 4%;
    font-family: "imfellenglishsc-regular", sans-serif;
}


.linkView {
    display: inline-block;
    position: relative;
    font-family: 'Cinzel', serif;
    font-weight: 600;
    color: #f4e1ff;
    text-decoration: none;
    font-size: 1.2em;
    letter-spacing: 1px;
    padding: 10px 25px;
    border: none;
    background: transparent;
    transition: all 0.4s ease;
    text-transform: uppercase;
}

    /* Linee decorative laterali */
    .linkView::before,
    .linkView::after {
        content: "";
        position: absolute;
        top: 50%;
        width: 40px;
        height: 2px;
        background: linear-gradient(to right, transparent, #f4e1ff, transparent);
        transform: translateY(-50%);
        opacity: 0.6;
        transition: all 0.3s ease;
    }

    .linkView::before {
        left: -45px;
    }

    .linkView::after {
        right: -45px;
    }

    /* Effetto hover elegante */
    .linkView:hover {
        color: #fff;
        text-shadow: 0 0 8px #f4e1ff;
        letter-spacing: 2px;
    }

        /* Le linee si accendono e si estendono leggermente */
        .linkView:hover::before,
        .linkView:hover::after {
            width: 60px;
            opacity: 1;
            background: linear-gradient(to right, transparent, #ff9cff, transparent);
        }

    /* Leggera animazione al click */
    .linkView:active {
        transform: scale(0.97);
        text-shadow: 0 0 12px #ff9cff;
    }


.textView {
    background: radial-gradient(circle, rgb(0 0 0 / 65%) 0%, rgb(17 13 181 / 10%) 100%);
    border-radius: 12px;
    color: #81807c;
    text-align: justify;
    box-shadow: 0px 0px 15px rgb(88 20 199 / 46%);
    border: 2px solid rgb(199 155 20 / 23%);
    backdrop-filter: blur(4px);
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.7);
}

    .textView:hover {
        box-shadow: 0px 0px 15px rgb(25 4 201 / 96%);
        backdrop-filter: blur(50px);
        color: #a19f98;
        background: radial-gradient(circle, rgb(0 0 0 / 88%) 0%, rgb(8 7 26 / 74%) 100%);
    }

/*BOTTONI LINK LOGIN*/
.eLinkButton {
    display: inline-block;
    color: white;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Cinzel Decorative';
    padding: 3px;
    font-size: 35px;
}

    .eLinkButton:hover {
        color: #997caf !important;
        text-shadow: 0 0 10px #8700ff;
        text-decoration: underline;
    }


.textBig {
    font-family: 'Cinzel Decorative';
}

.textBigFont {
    font-family: 'Uncial Antiqua';
}



/* CARD ZONA CREAZIONE PG*/
.egoLabel {
    font-family: 'Cinzel Decorative';
    color: #cd91f9;
}

.egoLeg {
    font-family: 'Cinzel Decorative';
    color: #cd91f9;
}


.pg-card {
    position: relative;
    width: 200px;
    height: 260px;
    background-size: cover;
    background-position: center;
    border-radius: 16px;
    overflow: hidden;
    display: inline-block;
    margin: 20px;
    box-shadow: 0 0 25px rgba(0, 0, 0, 0.5);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    border: 2px solid rgb(57 55 69);
}

    .pg-card:hover {
        transform: scale(1.06) rotate(-1deg);
        box-shadow: 0 0 40px rgb(152 80 255 / 60%);
    }

.pg-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.85), rgba(0, 0, 0, 0.2));
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;
    padding: 20px;
    text-align: center;
    color: #f4dcbf;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.pg-card:hover .pg-overlay {
    opacity: 1;
}

.pg-name {
    font-family: 'Cinzel Decorative';
    font-size: 1.2em;
    margin: 0;
    text-shadow: 0 0 10px #6400ff;
}

.pg-info {
    font-family: "Cinzel", serif;
    font-size: 1.0em;
    opacity: 0.8;
    margin: 5px 0 15px 0;
}

.pg-button {
    background: transparent;
    border: 1px solid #8500ff;
    color: #dec9ed;
    font-family: "Cinzel", serif;
    padding: 6px 18px;
    border-radius: 8px;
    transition: all 0.3s ease;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 1px;
    background: #3c1b49a6;
    text-decoration: none;
}

    .pg-button:hover {
        background: #7a53a757;
        color: #dec9ed;
        box-shadow: 0 0 12px #8500ff;
    }




/* CARD ZONA CREAZIONE PG*/



.detail-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(30, 0, 50, 0.9), rgba(0, 0, 0, 0.95));
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    animation: fadeIn 0.3s ease;
}


.detail-card {
    background: #7a53a757;
    color: #dec9ed;
    width: 600px;
    max-width: 90%;
    padding: 40px;
    border-radius: 18px;
    box-shadow: 0 0 20px #8500ff, inset 0 0 25px rgba(133, 0, 255, 0.4);
    backdrop-filter: blur(6px);
    text-align: center;
    font-family: "IM Fell English SC", serif;
    position: relative;
    transform: scale(0.9);
    opacity: 0;
    animation: materialize 0.4s forwards ease-out;
    overflow-y: auto;
    max-height: 80vh;
}


.card-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}


.card-img {
    width: 170px;
    object-fit: cover;
    transition: all 0.4s ease;
}

    .card-img:hover {
        transform: scale(1.05) rotate(3deg);
    }


.card-title {
    font-size: 2rem;
    color: #dec9ed;
    text-shadow: 0 0 12px #8500ff;
    letter-spacing: 2px;
}


.card-description {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #e0d3f0;
    background: rgba(50, 20, 80, 0.3);
    border-radius: 10px;
    padding: 20px;
    box-shadow: inset 0 0 15px rgba(133, 0, 255, 0.2);
}


.close-btn {
    position: absolute;
    top: 15px;
    right: 18px;
    font-size: 1.3rem;
    cursor: pointer;
    color: #dec9ed;
    transition: all 0.3s ease;
    text-shadow: 0 0 10px #8500ff;
}

    .close-btn:hover {
        color: #fff;
        text-shadow: 0 0 20px #c79bff;
        transform: scale(1.1);
    }


@keyframes materialize {
    to {
        transform: scale(1);
        opacity: 1;
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.eNamef {
    color: #e30373;
}




/*POPUP MESSAGE*/

.swal2-popup {
    border-radius: 5px;
    background: #00000069 !important;
    font-family: "imfellenglishsc-regular", sans-serif !important;
    font-size: 1.2rem !important;
    background-image: url('/content/images/icone/scheda/workbg2.webp') !important;
    background-size: cover !important;
}

.swal2-icon.swal2-error {
    border-color: #210a53 !important;
    color: #6702d1 !important;
}

    .swal2-icon.swal2-error [class^=swal2-x-mark-line] {
        background-color: #6702d1 !important;
    }

.swal2-title {
    position: relative;
    max-width: 100%;
    margin: 0 0 .4em;
    padding: 0;
    color: #9b6ef1 !important;
    font-size: 1.875em;
    font-weight: 600;
    text-align: center;
    text-transform: none;
    word-wrap: break-word;
}

.swal2-content {
    z-index: 1;
    justify-content: center;
    margin: 0;
    padding: 0 1.6em;
    color: #dfcbff !important;
    font-size: 1.125em;
    font-weight: 400;
    line-height: normal;
    text-align: center;
    word-wrap: break-word;
}

.swal2-styled.swal2-confirm {
    background-color: #5a27c4 !important;
}


/* Per tutto il sito */
::-webkit-scrollbar {
    width: 10px; /* larghezza verticale */
    height: 10px; /* altezza orizzontale */
}

/* Binario di scorrimento */
::-webkit-scrollbar-track {
    background: #1a1a1a; /* colore di sfondo */
    border-radius: 10px;
}

/* Cursore (la parte mobile) */
::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #f782ff, #2f19a2);
    border-radius: 10px;
    border: 2px solid #1a1a1a; /* bordo interno */
}

    /* Effetto hover */
    ::-webkit-scrollbar-thumb:hover {
        background: linear-gradient(180deg, #ff8ac4, #e654b6);
    }