﻿
.riquadro {
    max-width: 100%;
    overflow-y: auto;
}

#password-complexity-bar-container {
    width: 20%;
    height: 10px;
    background-color: #dddddd00;
    margin-top: 5px;
}

#password-complexity-bar {
    height: 100%;
    transition: width 0.3s, background-color 0.3s;
    border-radius: 45%;
}

.highlight {
    border-color: #6b6dffdb !important
}

.filled {
    border-color: green !important;
}



.construct {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 20px;
}

.little {
    border: none;
    background: #5214c782;
    padding: 1px;
    border-radius: 30px;
    color: white;
    font-weight: bold;
    font-size: 15px;
    transition: .4s;
    width: 60px;
}

    .little:hover {
        color: #c06bff !important; 
        text-shadow: 0 0 10px #b132ff; 
        box-shadow: 0 0 10px rgb(60 20 199 / 80%); 
    }

body, html {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    height: 100%;
}



.registration-form {
    display: flex;
    background-color: #fff;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
    border-radius: 18px;
}

.sidebar {
    flex: 30; 
    overflow-y: auto;
}

.info-list {
    list-style-type: none;
    padding: 0;
    text-align: -webkit-center;
}

.info-item {
    padding: 10px;
    cursor: pointer;
    transition: background-color 0.3s;
}

    .info-item:hover {
        background-color: #f0f0f0;
    }

.description {
    flex: 3px !important; 
    padding: 20px !important;
    border-radius: 18px;
    max-width: 42%;
}

.left {
    background-color: rgb(113 105 105 / 50%);

    padding: 20px;
    box-sizing: border-box;
    margin-bottom: 10px;
    flex: 1 0 70% !important;
    margin-left: -28%;
}




@media (max-width: 1000px) {
    .description {
        max-width: 100% !important;
    }

    .left, .right {
        flex: 0 0 100% !important;
    }

    .input-field {
        font-size: 14px !important;
        max-width: 70% !important;
    }

    .right {
        position: static !important; 
        transform: translateY(0) !important;
    }

    .left {
        margin-left: 0%;
    }
}

@media (max-width: 320px) {

    .input-fields {
        max-width: 90%;
        margin-left: 6%;
    }
}

@media (max-width: 295px) {

    .input-fields {
        max-width: 60%;
        margin-left: 21%;
    }
}

@media (max-width: 210px) {

    .input-fields {
        max-width: 38%;
        margin-left: 31%;
    }
}

.scritta {
    color: #ffcd5894;
}

.schedaClasse {
    text-decoration: none;
    color: #ff5500;
}

@font-face {
    font-family: 'riseinside-regular';
    src: url('../../content/fonts/riseinside-regular.ttf') format('truetype');
}

.logoY {
    font-family: 'Cinzel Decorative';
}

.spanY {
    font-family: 'Cinzel Decorative';
}



@font-face {
    font-family: 'riseinside-regular';
    src: url('../../content/fonts/riseinside-regular.ttf') format('truetype');
}

.scritte {
    font-family: riseinside-regular;
    font-size: 1.5em;
}

.scrittaPunti {
    color: #c79b14;
    font-size: 1.2em;
    font-family: "imfellenglishsc-regular", sans-serif;
}







@font-face {
    font-family: 'imfellenglishsc-regular';
    src: url('../../fonts/imfellenglishsc-regular.ttf') format('truetype');
}

.descrizione {
    font-family: "imfellenglishsc-regular", sans-serif;
    font-size: 1.5em;
}

@font-face {
    font-family: 'riseinside-regular';
    src: url('../../content/fonts/riseinside-regular.ttf') format('truetype');
}

.btn-flat {
    background-color: transparent !important;
    border: 1px solid #6714c7 !important;
    color: white !important;
}

.btn {
    background-color: transparent;
    border: 1px solid transparent;
    border-radius: 0.25rem;
    color: #212529;
    display: inline-block;
    font-size: 1rem;
    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;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    vertical-align: middle;
}

#acceptCheckbox {
    width: 100px;
    height: 40px;
}

.ego {
    color: #a94ded;
    font-family: system-ui;
    font-size: 1.2rem;
    font-family: "imfellenglishsc-regular", sans-serif;
}


.egoWrite {
    font-family: Crimson Text,serif;
    font-size: 1.2rem;
}



.egoAccept {
    text-align: center;
}

a {
    text-decoration: none;
}

.spazio {
    padding: 3%;
}

.egotest {
    background-repeat: no-repeat;
    background-size: cover;
    background-color: rgb(113 105 105 / 50%);
    background-color: rgb(0 0 0 / 74%);
    padding: 20px;
    box-sizing: border-box;
    margin-bottom: 10px;
    flex: 1 0 70% !important;
}

body {
    margin: 0;
    padding: 0;
}

video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 180%;
    object-fit: cover;
    z-index: -1; 
}

.right {
    background-color: #0000005c;
    padding: 20px;
    box-sizing: border-box;
    margin-bottom: 10px;
    flex: 0 0 30% !important;
    flex-basis: calc(30% - 10px); 

    display: flex;
    flex-direction: column;
    justify-content: center;
    position: fixed;
    top: 50%;
    right: 10px; 
    transform: translateY(-50%);
    max-height: 80%;
}

input[type=submit], .regnoTre {
    background-color: #000000c2 !important;
    border: 1px solid #c79b14 !important;
}

.ecoPiuMeno {
    background-color: transparent;
    border: 1px solid #c79b14;
    color: white;
    font-size: 1.2em;
    align-items: center !important;
    align-content: center !important;
}


.ecoScopri {
    width: 100%;
    color: bisque;
    padding: 14px 20px;
    margin: 8px 0;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    background-color: #000000c2 !important;
    border: 1px solid #c79b14 !important;
}



#bg {
    height: 310px;
    width: 84%;
    background-color: #000000ba !important;
}



@media (max-width: 1000px) {

    .right {
        position: static !important; 
        transform: translateY(0) !important;
    }
}

.cookie-banner {
    position: fixed;
    bottom: 0;
    width: 100%;
    background-color: #d3c16ec4;
    padding: 20px;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
}

    .cookie-banner p {
        margin: 0;
        font-size: 18px;
        flex: 1;
        color: black;
        font-weight: bold;
    }

    .cookie-banner button {
        margin-left: 10px;
        padding: 10px 20px;
        background-color: #e1b235e6;
        border: none;
        color: black;
        cursor: pointer;
        border-radius: 5px;
        font-size: 14px;
    }

        .cookie-banner button:hover {
            background-color: #cdaa6d;
        }


.cookie-card {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    padding: 20px;
    background-color: #fff;
    border-radius: 5px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    z-index: 9999;
    animation: unfold 0.5s ease forwards;
    width: 50%;
    height: 50%;
    overflow: auto;
    background-image: url('../../content/images/ImgEsterne/razzeCard.png');
    color: #ffd165;
}

::-webkit-scrollbar {
    width: 0px;
}


::-webkit-scrollbar-track {
    background-color: #f1f1f1;
}


::-webkit-scrollbar-thumb {
    background-color: #888; 
}

    ::-webkit-scrollbar-thumb:hover {
        background-color: #555; 
    }

::-webkit-scrollbar {
    width: 0px; 
}

.egoDivScelta {
    background-color: rgb(0 0 0 / 33%);
    padding: 10px;
    margin-top: 55px;
}

.egoNameItem {
    color: #c79b14;
    font-family: riseinside-regular;
}


.egoButton {
    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;
}

    .egoButton:hover {
        color: #c79b14 !important; 
        text-shadow: 0 0 10px #ff9b00; 
        box-shadow: 0 0 10px rgba(199, 155, 20, 0.8); 
    }



.egoDivCreator {
    border: 1px solid #e6c0ff;
    background-color: rgba(0, 0, 0, .6);
}

.egoCreation {
    color: white;
    padding: 5px;
    display: inline-block;
}



.heroY {
    background-image: url('../images/bgint/bggrey.webp');
}

.egoTitle3 {
    font-family: "imfellenglishsc-regular", sans-serif;
    color: #ffbc1e;
}

#closeButton {
    font-size: 2.0em;
    font-family: "imfellenglishsc-regular", sans-serif;
}

    #closeButton:hover {
        color: #e30373 !important;
        text-shadow: 0 0 10px #b600ff;
    }

.egoLinkClass {
    width: 230px;
}

.privacy {
    display: block;
    color: #e4dfd7;
    text-align: justify;
    width: 70%;
    margin-top: 40px;
    padding: 40px;
    background: radial-gradient(circle at center, rgba(30,30,30,0.9), rgba(10,10,10,0.95));
    border: 2px solid rgb(95 20 199 / 50%);
    border-radius: 20px;
    box-shadow: 0 0 25px rgba(199,155,20,0.2);
    backdrop-filter: blur(6px);
    font-family: "IM Fell English SC", serif;
    transition: all 0.3s ease;
    animation: fadeIn 1.2s ease-out;
}


@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.privacy .egoTitle {
    font-size: 1.6rem;
    color: #a94ded;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-left: 3px solid #7b14c7;
    padding-left: 10px;
    text-shadow: 0 0 12px rgba(199,155,20,0.4);
}


.privacy .egoWrite {
    font-size: 1.05rem;
    line-height: 1.7;
    color: #e8e8e8;
    background: rgba(255,255,255,0.03);
    padding: 20px;
    border-radius: 10px;
    border: 1px solid rgba(255,255,255,0.05);
}


.egoAccept {
    text-align: center;
    margin-top: 50px;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
}


.btn-flat {
    background: linear-gradient(145deg, #8d5e8d, #4814c7);
    border: none;
    color: white;
    padding: 10px 30px;
    font-size: 1rem;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: "IM Fell English SC", serif;
    text-transform: uppercase;
    box-shadow: 0 0 10px rgb(102 20 199 / 40%);
}

    .btn-flat:hover {
        transform: scale(1.05) rotate(-1deg);
        box-shadow: 0 0 20px rgb(60 20 199 / 70%);
    }

#acceptCheckbox {
    transform: scale(1.4);
    accent-color: #c79b14;
}



.input-fields {
    background: rgba(40,40,40,0.8);
    border: 1px solid rgb(103 20 199 / 30%);
    color: white;
    border-radius: 10px;
    width: 320px;
    margin-bottom: 20px;
    padding: 10px;
    text-align: center;
    font-family: "IM Fell English SC", serif;
    transition: all 0.3s ease;
}

    .input-fields:focus {
        border-color: #6c14c7;
        box-shadow: 0 0 10px rgb(118 20 199 / 40%);
    }


.register-fields {
    text-align: center;
    color: #e8e6e3;
    font-family: "IM Fell English SC", serif;
    margin-top: 40px;
}

.register-info {
    background: rgba(255, 255, 255, 0.04);
    border-radius: 15px;
    padding: 20px;
    margin-bottom: 30px;
    box-shadow: 0 0 15px rgb(85 20 199 / 15%);
    backdrop-filter: blur(6px);
    text-align: left;
    width: 75%;
    margin-left: auto;
    margin-right: auto;
    animation: fadeIn 1.2s ease-out;
}

.info-line {
    font-size: 1.05rem;
    line-height: 1.7;
    margin-bottom: 12px;
    text-shadow: 0 0 8px rgba(0, 0, 0, 0.5);
}

    .info-line strong {
        color: #864faf;
    }

.input-area {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 18px;
}

.input-field {
    width: 320px;
    padding: 12px 15px;
    background: rgba(40, 40, 40, 0.85);
    border: 1px solid rgb(112 20 199 / 30%);
    border-radius: 10px;
    color: #fff;
    font-size: 1.05rem;
    text-align: center;
    font-family: "IM Fell English SC", serif;
    transition: all 0.3s ease;
    box-shadow: inset 0 0 10px rgba(0,0,0,0.4);
}

    .input-field::placeholder {
        color: rgba(255,255,255,0.4);
        letter-spacing: 0.5px;
    }

    .input-field:focus {
        border-color: #5414c7;
        box-shadow: 0 0 15px rgb(77 20 199 / 50%);
        background: rgba(50,50,50,0.9);
        transform: scale(1.02);
    }



#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); 
}

.egoCheckbox {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #e8e6e3;
    font-family: "IM Fell English SC", serif;
    font-size: 1.05rem;
    cursor: pointer;
    position: relative;
    user-select: none;
    margin-top: 25px;
    gap: 10px;
}

    .egoCheckbox input {
        position: absolute;
        opacity: 0;
        cursor: pointer;
    }

.checkmark {
    height: 22px;
    width: 22px;
    background-color: rgba(40, 40, 40, 0.85);
    border: 2px solid rgb(79 20 199 / 59%);
    border-radius: 6px;
    transition: all 0.3s ease;
    box-shadow: 0 0 8px rgba(199, 155, 20, 0.1);
}

.egoCheckbox:hover .checkmark {
    border-color: #8514c7d9;
    box-shadow: 0 0 15px rgba(199, 155, 20, 0.4);
}

.egoCheckbox input:checked ~ .checkmark {
    background: radial-gradient(circle at center, #3814c7 0%, #000 90%);
    border-color: #9566ff;
    box-shadow: 0 0 20px rgb(118 20 199 / 80%);
    transform: scale(1.1);
}

.checkmark::after {
    content: "";
    position: absolute;
    display: none;
}

.egoCheckbox input:checked ~ .checkmark::after {
    display: block;
}

.egoCheckbox .checkmark::after {
    left: 7px;
    top: 2px;
    width: 6px;
    height: 12px;
    border: solid #fff;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}










.carte-container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
    margin-top: 20px;
}

.carta-dominio {
    width: 220px;
    height: 320px; 
    background: linear-gradient(180deg, #00050eba 0%, #110c1e 100%);
    border: 1px solid #e0cce836;
    border-radius: 15px;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
    padding: 15px;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

    .carta-dominio:hover {
        transform: translateY(-5px);
        box-shadow: 0 0 15px rgb(143 103 160 / 60%);
    }

    .carta-dominio.selezionata {
        border-color: #744cafad;
        box-shadow: 0 0 15px #7a14c7;
    }

    .carta-dominio.disabilitata {
        opacity: 0.4;
        pointer-events: none;
        filter: grayscale(80%);
    }

.carta-nome {
    font-weight: bold;
    font-size: 1.2em;
    margin-bottom: 8px;
    color: #c371ffa3;
    text-shadow: 0 0 2px rgba(255,255,255,0.8);
}

.carta-tier, .carta-costo, .carta-tipo {
    font-size: 0.9em;
    margin: 2px 0;
    color: #c7bbbb;
}

.carta-descrizione {
    font-size: 0.85em;
    color: #c7bbbb;
    margin-top: 10px;
    max-height: 190px;
    overflow-y: auto;
    padding-right: 5px;
    text-align: left;
}


    .carta-descrizione::-webkit-scrollbar {
        width: 6px;
    }

    .carta-descrizione::-webkit-scrollbar-thumb {
        background-color: #d4b8e6;
        border-radius: 10px;
    }

        .carta-descrizione::-webkit-scrollbar-thumb:hover {
            background-color: #b48ed8;
        }




.exp-desc-box {
    flex: 2;
    min-width: 320px;
    display: flex;
    flex-direction: column;
    gap: 2rem;
    width: 50%;
}

.exp-card {
    display: none;
    background: linear-gradient(135deg, #291d35, #070512);
    border: 1px solid #3c2367;
    border-radius: 10px;
    padding: 1.2rem;
    color: #b6a3d9;
    box-shadow: 0 0 15px rgb(181 150 255 / 10%);
    font-family: 'Lora', serif;
    line-height: 1.6;
    animation: fadeIn 0.3s ease forwards;
}

    .exp-card h4 {
        margin-top: 0;
        color: #bda6ff;
        font-size: 1.2rem;
        letter-spacing: 0.5px;
        border-bottom: 1px solid #3a2b20;
        padding-bottom: 0.4rem;
        margin-bottom: 0.7rem;
    }

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(5px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 700px) {
    .exp-container {
        flex-direction: column;
        gap: 1.5rem;
    }
}