        @keyframes fadeIn {
            0% {
                opacity: 0;
                filter: blur(6px)
            }

            to {
                opacity: 1;
                filter: blur(0)
            }
        }

        body,
        html {
            margin: 0;
            padding: 0
        }

        body {
            background-color: #000 !important
        }

        a {
            color:#fff!important;
        }

        .italbord {
            border-image: linear-gradient(to right, #23a70b 33%, #fff 25%, 63%, red 10%)5;
            border-left: 0;
            border-right: 0;
            border-bottom: 1rem solid;
            border-top: 1rem solid
        }

        .fade-in {
            opacity: 0;
            filter: blur(6px);
            animation: fadeIn .8s ease-out forwards
        }

        :root {
            --accent-color: #006c8c;
            --accent-bg: #e0f3f9;
            --text-color: #1a1a1a;
            --off-bg: #a9a9a9;
            --knob-color: #fff;
            --focus-ring: #003d4c
        }

     

        @media (forced-colors:active) {

            body,
            html,
            main {
                forced-color-adjust: none;
                background-color: #000 !important
            }
        }

        body {
            /*border-image: linear-gradient(to right, #23a70b 33%, #fff 25%, 63%, red 10%)5;
            border-left: 0;
            border-right: 0;
            border-top: .2rem solid;
            padding-top: 2rem;*/
            overflow-x: hidden
        }

        .carousel {
            position: relative;
            overflow: hidden;
            box-shadow: 0 4px 12px rgba(0, 0, 0, .1);
            background: var(--accent-bg);
            background-color: transparent!important;
        }

        .carousel-viewport {
            display: flex;
            transition: transform .5s ease-in-out
        }

        .carousel-slide {
            min-width: 100%;
            padding: 8rem 2rem;
            box-sizing: border-box;
            display: flex;
            justify-content: center;
            align-items: center;
            font-size: 1.2rem;
            pointer-events: auto
        }

        .carousel-controls {
            position: absolute;
            top: 50%;
            width: -webkit-fill-available;
            display: flex;
            justify-content: space-between;
            transform: translateY(-50%);
            left: 1rem;
            right: 1rem
        }

        .carousel-controls button {
            background-color: var(--accent-color);
            color: #fff;
            border: 0;
            padding: .5rem 1rem;
            border-radius: 50%;
            font-size: 1.2rem;
            cursor: pointer;
            transition: background-color .3s;
            width: 3rem;
            height: 3rem
        }

        .carousel-controls button:disabled {
            opacity: .4;
            cursor: not-allowed
        }

        .carousel-controls button:focus {
            outline: 3px solid var(--focus-ring)
        }

        .carousel-indicators {
            display: flex;
            justify-content: center;
            margin: 1rem 0;
            gap: .5rem
        }

        .carousel-indicators button {
            width: 1rem;
            height: 1rem;
            border-radius: 50%;
            background-color: var(--off-bg);
            border: 0;
            cursor: pointer;
            transition: transform .2s, background-color .3s
        }

        .carousel-indicators button:hover {
            transform: scale(1.2)
        }

        .carousel-indicators button[aria-current=true],
        [role=switch][aria-checked=true] .switch-visual {
            background-color: var(--accent-color)
        }

        .settings {
            margin-top: 0;
            font-size: 1rem
        }

        .settings label {
            display: flex;
            align-items: center;
            gap: .5rem;
            cursor: pointer
        }

        input[type=checkbox] {
            width: 1rem;
            height: 1rem;
            accent-color: var(--accent-color)
        }

        .sr-only {
            position: absolute;
            width: 1px;
            height: 1px;
            padding: 0;
            margin: -1px;
            overflow: hidden;
            clip: rect(0, 0, 0, 0);
            white-space: nowrap;
            border: 0
        }

        .display-1 {
            margin-top: 5em
        }

        .switch-button {
            all: unset;
            display: flex;
            align-items: center;
            justify-content: space-between;
            width: 100%;
            margin-bottom: 1.5rem;
            cursor: pointer
        }

        .switch-label {
            font-size: 1rem
        }

        .switch-visual {
            width: 48px;
            height: 24px;
            margin-left: 20px;
            background-color: var(--off-bg);
            border-radius: 999px;
            position: relative;
            transition: background-color .25s ease
        }

        .switch-knob {
            width: 20px;
            height: 20px;
            background-color: var(--knob-color);
            border-radius: 50%;
            position: absolute;
            top: 2px;
            left: 2px;
            border: 2px solid black;
            transition: transform .25s ease
        }

        [role=switch][aria-checked=true] .switch-knob {
            transform: translateX(24px)
        }

        [role=switch]:focus-visible .switch-visual {
            outline: 2px solid var(--focus-ring);
            outline-offset: 2px
        }


        .visually-hidden {
            position: absolute;
            width: 1px;
            height: 1px;
            margin: -1px;
            padding: 0;
            overflow: hidden;
            clip: rect(0 0 0 0);
            border: 0
        }

.ring-clock { fill:green!important;}
        
        @media (forced-colors:active) {

            .ring-clock { forced-color-adjust: none; fill:red!important;}

            body,
            html,
            main {
                forced-color-adjust: none;
                background-color: #000 !important
            }

            .switch-visual {
                background-color: ButtonFace;
                border: 2px solid ButtonText
            }

            [role=switch][aria-checked=true] .switch-visual {
                background-color: Highlight;
                border-color: HighlightText
            }

            .switch-knob {
                background-color: ButtonText;
                border: 1px solid ButtonFace;
                top: 0
            }

            [role=switch][aria-checked=true] .switch-knob {
                background-color: HighlightText;
                border-color: Highlight
            }

            [role=switch]:focus-visible .switch-visual {
                outline: 2px solid Highlight;
                outline-offset: 2px
            }
        }

        .responsive-max-height {
            max-height: 250px;
            padding: 0;
            margin: 0
        }

        @media (max-width:400px) {
            .responsive-max-height {
                max-height: 100px
            }
        }

        @media (max-width:600px) {
            .responsive-max-height {
                max-height: 400px
            }
        }

        @media (min-width:1200px) {
            .responsive-max-height {
                max-height: 450px
            }
        }

        body,
        html {
            overflow-y: visible !important;
            scrollbar-width: auto
        }
        
#InfoModal {
background-color:#000!important
}


  /* il trapezio vero e proprio */
  .trapezio {
    position: relative;
    width: auto;
    height: 80px;            /* altezza visibile */
    /* colori di esempio */
    background: linear-gradient(180deg, #4facfe 0%, #00f2fe 100%);
    color: white;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;

    /* CLIP-PATH definisce un trapezio isoscele:
       i primi due punti (20% 0, 80% 0) sono il bordo superiore,
       il bordo superiore sarà quindi più stretto del fondo. */
    clip-path: polygon(20% 0, 80% 0, 100% 100%, 0 100%);

    /* trasformazione per la piega / prospettiva */
    transform-origin: top center; /* la piega avviene rispetto al bordo superiore */
    transform: rotateX(18deg);    /* angolo di "piegatura" in prospettiva */
    box-shadow: 0 18px 30px rgba(0,0,0,3.25);
    transition: transform .25s ease;

    opacity:0.8;
  }

  /* piccolo effetto hover per vedere la piega */
  .trapezio:hover {
    transform: rotateX(-8deg);
  }

.trapezio {
  display: inline-block;
  padding: 20px 80px; /* controlla dimensioni */
  font-family: sans-serif;
  font-weight: 700;
  font-size: 1.8rem;
  color: white;
  background: linear-gradient(to bottom, #4facfe 0%, #00f2fe 100%);
  /* trapezio isoscele */
  clip-path: polygon(10% 0%, 90% 0%, 100% 100%, 0% 100%);
  /* lieve piega in prospettiva */
  transform: perspective(600px) rotateX(15deg);
  transform-origin: top center;
  text-align: center;
  box-shadow: 0 8px 20px rgba(0,0,0,0.25);
}

/* Vertical text */
.vert{
  writing-mode:vertical-rl;
  text-orientation:mixed;
  font-size:2rem;
}


/* Decoration example */
.decoration{
  font-size:2rem;
  text-decoration-line:underline;
  text-decoration-color:#ff0;
  text-decoration-thickness:0.2em;
  text-underline-offset:0.25em;
}

/* 1️⃣ Hide caret for everything by default */
:where(*:not(:is(
  input,
  textarea,
  [contenteditable="true"]
))) {
  caret-color: transparent;
}

/* 2️⃣ Explicitly restore caret for real text-entry fields */
input[type="text"],
input[type="search"],
input[type="email"],
input[type="password"],
input[type="number"],
input[type="url"],
input[type="tel"],
input[type="date"],
input[type="datetime-local"],
input[type="month"],
input[type="week"],
textarea,
[contenteditable="true"] {
  caret-color: auto; /* or your preferred color */
}



html {
margin:0;
padding:0;
background-image:url('animated-gradient.svg')!important;
background-repeat:no-repeat;
background-size:cover;
}


body {
background-image:url('animated-gradient.svg')!important;
background-repeat:no-repeat;
background-size:cover;
margin:0;
padding:0;
}


        @media (forced-colors:active) {

           main
{
                forced-color-adjust: none;
                background-image:url('animated-gradient.svg')!important;
background-repeat:no-repeat;
background-size:cover;
            }
        }



@media (prefers-reduced-motion: reduce) {


           main
{
                forced-color-adjust: none;
                background-image:url('gradient.svg')!important;
background-repeat:no-repeat;
background-size:cover;
            }

}
