﻿* {
    margin: 0;
    font-family: cursive;
}

@font-face {
    font-family: 'imfellenglishsc-regular';
    src: url('../Fonts/IMFellEnglishSC-Regular.ttf') format('truetype');
}

.mainUno {
    height: 100vh;
    background-image: url('../images/bgint/bggrey.jpg');
    background-size: cover;
    display: flex;
    align-items: flex-end;
    flex-direction: row;
    justify-content: space-evenly;
}



.login-boxY {
    position: relative;
    width: 500px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 5px;
    box-shadow: 0px, 0px, 3px rgba(0, 0, 0);
    backdrop-filter: blur(3px);
    color: #fff;
}

.text-centerY {
    text-align: center;
    color: #ffeaab;
}

.login-boxY {
    padding: 10px 30px;
    box-sizing: border-box;
}

form {
    width: 100%;
}

.input-fieldY {
    display: block;
    width: 100%;
    padding: 10PX;
    box-sizing: border-box;
    margin-top: 15PX;
    font-size: 20px;
}

.forgot-pass-text {
    display: block;
    margin: 10px 0px 20px;
}

.btn-submitY {
    /*    display: block;
    width: 100%;
    background-color: #c79b14;
    border: none;
    height: 2em;
    font-size: 20px;
    color: white;
    border-radius: 5px;*/
    background-color: transparent !important;
    /*border: 1px solid #c79b14 !important;*/
    color: ghostwhite !important;
    border-radius: 0.25rem;
    display: inline-block;
    font-size: 13px;
    font-weight: 400;
    line-height: 1.5;
    padding: 0.375rem 0.75rem;
    text-align: center;
    transition: color .15s ease-in-out, background-color .15s ease-in-out, border-color .15s ease-in-out, box-shadow .15s ease-in-out;
    user-select: none;
    vertical-align: middle;
    font-weight: bolder;
    font-family: "imfellenglishsc-regular", sans-serif;
    font-size: 2.0em;
    border: none;
}

    .btn-submitY:hover {
        cursor: pointer;
        color: #c684ed !important;
        text-shadow: 0 0 10px #ab00ff;
    }

        .btn-submitY:hover span {
            letter-spacing: 2px;
        }

.signup-txtY {
    display: block;
    margin-top: 10PX;
    text-align: center;
}

    .signup-txtY a {
        text-decoration: none;
        color: rgba(0, 35, 80);
    }

        .signup-txtY a:hover {
            color: orangered;
        }


.btn-submitCont {
    /*   display: block;
    width: 70%;
    background-color: #c79b14;
    border: none;
    height: 2em;
    font-size: 20px;
    color: white;
    border-radius: 5px;*/

    background-color: transparent !important;
    /*border: 1px solid #c79b14 !important;*/
    color: ghostwhite !important;
    border-radius: 0.25rem;
    display: inline-block;
    font-size: 13px;
    font-weight: 400;
    line-height: 1.5;
    padding: 0.375rem 0.75rem;
    text-align: center;
    transition: color .15s ease-in-out, background-color .15s ease-in-out, border-color .15s ease-in-out, box-shadow .15s ease-in-out;
    user-select: none;
    vertical-align: middle;
    font-weight: bolder;
    font-family: "imfellenglishsc-regular", sans-serif;
    font-size: 2.0em;
    border: none;
}

    .btn-submitCont:hover {
        cursor: pointer;
        /*        height: 2.2em;*/
        color: #c79b14 !important; /* Cambia il colore del testo quando il link è in hover */
        text-shadow: 0 0 10px #ff9b00; /* Effetto di illuminazione */
        /*box-shadow: 0 0 10px rgba(199, 155, 20, 0.8);*/ /* Effetto di alone */
    }

        .btn-submitCont:hover span {
            /*letter-spacing: 2px;*/
            font-size: 32px;
        }



a:link {
    text-decoration: none;
}


a:visited {
    text-decoration: none;
}


a:hover {
    text-decoration: none;
}


a:active {
    text-decoration: none;
}



/*AFTER*/

@font-face {
    font-family: 'riseinside-regular';
    src: url('../../content/fonts/riseinside-regular.ttf') format('truetype');
}

.tornaNew {
    font-family: "riseinside-regular", sans-serif;
    /* transform: translate(202%, -2229%) !important;*/
    color: black;
    transition: all 0.3s ease;
    font-size: 30px;
    margin-bottom: -7%;
}

    .tornaNew:hover {
        color: #c79b14; /* Colore del testo al passaggio del mouse */
        text-decoration: none; /* Rimuovi la sottolineatura al passaggio del mouse */
        cursor: pointer; /* Cursore che indica che è cliccabile */
        transform: scale(1.5); /* Rendi il testo più grande al passaggio del mouse */
    }




body {
    margin: 0;
    padding: 0;
    height: 100vh; /* Occupa l'intera altezza della viewport */
    /*display: flex;
    flex-direction: column;*/ /* Allinea gli elementi verticalmente */
    /*align-items: center;*/ /* Centra orizzontalmente */
    /*justify-content: center;*/ /* Centra verticalmente */
    /*text-align: center;*/ /* Allinea il testo al centro */
}

@font-face {
    font-family: 'riseinside-regular';
    src: url('../../content/fonts/riseinside-regular.ttf') format('truetype');
}

.text-centerY {
    font-family: riseinside-regular;
}

.scritte {
    /*font-family: riseinside-regular;*/
    font-family: "imfellenglishsc-regular", sans-serif;
}

/*@media (max-width: 650px) {
    .mainUno {
        height: 100vh;
        background-image: url('../images/ImgEsterne/guerriera3.jpg');
        background-image: url('../images/bgint/loginimg11.png');
        background-image: url('../images/bgint/loginimg12.png');
        background-size: cover;
        display: flex;
    }
}*/

@media (max-width: 650px) {
    .mainUno {
        height: 100vh;
        background-image: url('../images/ImgEsterne/loginPageSmart.jpg'), url('../images/ImgEsterne/loginPage.png'), url('../images/ImgEsterne/loginPage.png');
        background-size: cover, cover, cover;
        display: grid;
        align-items: start;
        justify-content: space-around;
        align-content: stretch;
        justify-items: center;
    }
    .ego-card {
        width: 100%;
        backdrop-filter: blur(10px);
        height: 30% !important;
    }
}

.ego-banner {
    position: fixed;
    bottom: 0;
    width: 100%;
    background-color: #d3c16ec4;
    padding: 20px;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    /*display: flex;*/
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
}

    .ego-banner p {
        margin: 0;
        font-size: 18px;
        flex: 1;
        color: black;
        font-weight: bold;
    }

    .ego-banner button {
        margin-left: 10px;
        padding: 10px 20px;
        background-color: #e1b235e6;
        border: none;
        color: black;
        cursor: pointer;
        border-radius: 5px;
        font-size: 14px;
        /*margin-top: 2%;*/
    }

        .ego-banner button:hover {
            background-color: #cdaa6d;
        }


.ego-card {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    padding: 20px;
    /*border: 1px solid #ccc;*/
    border-radius: 5px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    z-index: 9999;
    animation: unfold 0.5s ease forwards;
    width: 30%;
    height: 25%;
    overflow: auto;
    /*background-image: url('../../content/images/icone/scheda/workbg2.png');*/
    overflow: hidden;
    color: #d097fa;
    backdrop-filter: blur(3px);
    animation: unroll 0.5s ease forwards;
}

@media (max-width: 650px) {
    .ego-card {
        width: 100%;
        backdrop-filter: blur(10px);
        height: 30% !important;
    }
}

@keyframes unroll {
    0% {
        height: 0;
        opacity: 0;
        transform: translate(-50%, -50%) scaleY(0);
    }

    100% {
        height: 25%;
        opacity: 1;
        transform: translate(-50%, -50%) scaleY(1);
    }
}



.egoLink {
    display: inline-block;
    color: white;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: "riseinside-regular", sans-serif;
    padding: 3px;
    /*font-size: 30px;*/
    font-size: 35px;
    /*margin-bottom: 12px*/
}

    .egoLink:hover {
        /*                color: #c79b14 !important;
                text-shadow: 0 0 10px #ff9b00;
                text-decoration: underline*/
        color: #997caf !important;
        text-shadow: 0 0 10px #8700ff;
        text-decoration: underline;
    }



.egoImgLine {
    position: absolute;
    left: 50%;
    transform: translateX(-20%);
    transform: translateX(-50%) translateY(-119px);
    bottom: 0;
    left: 0;
    width: 100%;
    /*display: none;*/
    z-index: -1;
    width: 175px;
    opacity: 0;
    /*transition: opacity 0.5s ease-in-out, visibility 0.5s ease-in-out;*/
    top: -10px; /* Adjust this value to position the image correctly */
    right: -100%; /* Start off-screen to the right */
    transition: right 0.5s ease-out; /* Smooth transition effect */
}

.egoDiv {
    position: relative;
    border-radius: 5px;
    /*backdrop-filter: blur(3px);*/
    color: #fff;
    margin-bottom: 25px;
}

.egoImgLine.top {
    top: 1px;
}

/*        .egoImgLine.bottom {
                    bottom: 1px;
                }
        */
.egoDiv:hover .egoImgLine {
    display: block;
    opacity: 1;
    visibility: visible;
}

.egoDiv:hover .egoImgLine {
    right: 0; /* Move the image into view */
}

input {
    font-size: 16px;
    border-radius: 7px;
    height: 35px;
    width: 90%;
    background-color: #1e1a1ac2 !important;
    color: white;
    border: 1px solid #7814c7 !important;
}

.close-btn {
    font-size: 30px;
    font-family: "riseinside-regular", sans-serif;
    /*margin-left: 90%;*/
    margin-left: 0%;
}

    .close-btn:hover {
        font-size: 30px;
        font-family: "riseinside-regular", sans-serif;
        color: white;
    }


.fixed-bottom-center {
    position: fixed;
    bottom: 20px; /* Distanza dal fondo */
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    width: max-content; /* Adatta la larghezza al contenuto */
}

.scritteVis {
    font-family: "imfellenglishsc-regular", sans-serif;
    font-weight: bolder;
    color: #ffe273;
}
/*        .ego-card-shadow {
            background: linear-gradient(to right, #ff760040, #354516eb);
            transition: background 1.8s ease-in-out;
        }
            .ego-card-shadow:hover {
                background: linear-gradient(to right, #354516eb, #ff760040);
            }*/

.ego-card-shadow {
    background: linear-gradient(to right, #ff760040 0%, #260707eb 50%, #ff760040 100%);
    /*background: linear-gradient(to right, #00fffc2b 0%, #734751eb 50%, #00fffc2b 100%);*/
    background-size: 200% 100%;
    background-position: left center;
    transition: background-position 0.8s ease-in-out;
}

    .ego-card-shadow:hover {
        background-position: right center;
    }

#bgVideo {
    position: fixed;
    top: 0;
    left: 0;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    z-index: -1;
    object-fit: cover; /* mantiene le proporzioni */
    filter: brightness(0.6); /* opzionale, scurisce un po’ per far risaltare il testo */
}

/*        .content {
            position: relative;
            z-index: 10;
            height: 100vh;
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
        }*/


