body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    display: flex;   
}

.logo{
   margin-left:20%;
   margin-top: -5%;   
}

.container {
    display: flex;
    width: 100%;
    height: 100vh;
}

.sidebar {
    width: 20%;
    background-color: #8B0000;
    color: white;
    padding: 20px;
    position: fixed;
    box-sizing: border-box;
    top: 0;
    left: 0;
    overflow-y: auto;
}

.sidebar ul {
    list-style: none;
    padding: 0;
}

.sidebar ul li {
    padding: 15px;
    cursor: pointer;
}

.sidebar ul li:hover {
    background-color: #a00000;
}

.content {
    width: 80%;
    padding: 20px;
    box-sizing: border-box;
    margin-left: 25%;              
}

.content-section {
    display: none;
}

.content-section.hidden {
    display: none;
}

.content-section:not(.hidden) {
    display: block;
}

h2 {
    color: #8B0000;
}

img{
    width: 75%; 
    height:75%;
}

.justified-text {
    text-align: justify;
    font-family: Arial, sans-serif;
    font-size: 16px;
    line-height: 1.8;
    padding: 20px;
    background-color: #f9f9f9;
    border: 1px solid #ccc;
    border-radius: 5px;
    max-width: 600px;
    margin: auto;
}

.video-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}

.video-item {
    background-color: white;
    padding: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border-radius: 5px;
    overflow: hidden;
}

.video-item iframe {
    width: 100%;
    height: 200px;
    border: none;
}

.menu-toggle { 
    display: none; 
    font-size: 30px; 
    color: white; 
    cursor: pointer; 
} 

@media (max-width: 768px){
        .nav-list { 
            display: none; 
            flex-direction: 
            column; align-items: 
            flex-start; } 
    .menu-toggle { 
            display: block; 
        } 
    .nav-list.show { 
        display: flex;
    } 
    .wli {
         min-width: 25%;
         /* min-height: 120%;  */
    }
}

/* Contenitore dell'immagine */
.shimmer-image {
    position: relative;
   /* width: 300px;  Dimensioni personalizzabili */
  /* height: 300px;  Dimensioni personalizzabili */
    overflow: hidden;
}

/* Stile per l'immagine */
.shimmer-image img {
    /* width: 100%;
    height: 100%; */
    display: block;
    object-fit: cover; /* Garantisce che l'immagine si adatti bene */
}

/* Effetto shimmer */
.shimmer-effect {
    position: absolute;
    top: 0;
    left: -100%; /* Parte da fuori la sinistra del contenitore */
    width: 100%;
    height: 100%;
    background: linear-gradient(
        120deg,
        rgba(255, 255, 255, 0.1) 0%,
        rgba(255, 255, 255, 0.5) 50%,
        rgba(255, 255, 255, 0.1) 100%
    );
    animation: shimmer 1.75s ; /* Movimento continuo */
}

/* Animazione del movimento shimmer */
@keyframes shimmer {
    0% {
        left: -100%; /* Inizia fuori dal contenitore */
    }
    100% {
        left: 100%; /* Si muove oltre il contenitore */
    }
}


/* Animazione neon */
@keyframes neonGlow {
    0%, 100% {
        color: #8B0000; /* Rosso granata iniziale */
        text-shadow: 0 0 5px #8B0000, 0 0 10px #8B0000;
    }
    50% {
        color: white; /* Bianco acceso */
        text-shadow: 0 0 10px white, 0 0 20px white, 0 0 30px #FF0000, 0 0 40px #FF0000;
    }
}

/* Classe per l'effetto neon */
.sidebar ul li.highlight {
    animation: neonGlow 3.5s infinite;
    font-weight: bold; /* Per accentuare l'effetto */
}











