body {
    background-image: url("img/demo.jpg");
    background-color: #f0f0f0;
    color: #343a40;
    margin: 10px;
    background-color: rgb(223, 223, 232);
    filter: drop-shadow(0 0 2px rgba(255,255,255, 0.7)) drop-shadow(0 0 2px rgba(41, 131, 172, 0.11)) drop-shadow(0 0 30px rgba(147, 209, 236, 0.06)) drop-shadow(0 0 30px rgba(120, 189, 225, 0.8));

}
@media (max-width: 991px) {
    body {
      font-size: 14px;
    }
  }

h1.display-4 {
    font-size: 7.5rem;  
}

.display-4 {
    transform: translate(0, 10%);
    font-size: calc(7vw + 0.5rem);
    font-family: "frozen", serif;
    background-image: url("img/testo1.jpg");
    -webkit-background-clip: text;
    -webkit-text-fill-color: #221c8317;
    background-size: contain;
    position: relative;
    -webkit-text-stroke: 1px #4f90ab;
    
}
.label {
    padding: 0.1em;
}

.animation {
    position: absolute;
    left: 0;
    background: linear-gradient(
        45deg,
        rgba(255, 255, 255, 0) 45%,
        rgba(255, 255, 255, 0.8) 50%,
        rgba(255, 255, 255, 0) 55%,
        rgba(255, 255, 255, 0) 100%
    );
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: shine 3s infinite;
    background-size: 200%;
    margin-left: 310px;
}

@keyframes shine {
    0% {
        background-position: -120%;
    }
    10% {
        background-position: 120%;
    }
    100% {
        background-position: 120%;
    }
}

@font-face {
    font-family: "Frozen";
    src: url("https://s3-us-west-2.amazonaws.com/s.cdpn.io/209981/Ice%20kingdom%20-%20Bold%20-%20Por%20Kustren.woff");
}


#home{
    background-color: #82bdf900;

}
.jumbotron {

    margin-bottom: 2rem;
    border-radius: .3rem;
    color: #95c1f000;
    padding: 60px 0;
    
}

.section-title {
    color: #ffffff;
    margin-top: 20px;
    margin-bottom: 20px;
    text-align: center;
    font-size: 2em;
    background: linear-gradient(to right, #c0dae799, #8cd3d77d, #6390aaa6, #959fc5a1, #c2bedf8c, #dae3ae91);
    border-radius: 300em;
    padding: 0.1em;
}

.card-deck .card {
    margin-bottom: 20px;
    border: none;
    border-radius: 15px;
    overflow: hidden;
    color: #fff; /* Colore del testo bianco per migliore leggibilità */
    
}

.card {
    position: relative;
    background-size: cover;
    background-position: center;
}

.card-title,
.card-text {
    color: #091542; /* Colore del testo bianco */
}

.card-body {
    position: relative;
    z-index: 1;
    background-color: rgb(41 39 159 / 0%); /* Overlay scuro con opacità ridotta */
    padding: 20px;
    border-radius: 0 0 15px 15px;
    color: #fff; /* Colore del testo bianco */
}

.card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    background-size: cover;
    background-position: center;
    opacity: 0.2; /* Riduce l'opacità dell'immagine di sfondo */
}

.card:nth-child(1)::before {
    background-image: url('img/gaming.png');
    color: #ffffff;/* Sostituisci con il percorso dell'immagine */
}

.card:nth-child(2)::before {
    background-image: url('img/sicu.png');
    color: #ffffff;/* Sostituisci con il percorso dell'immagine */
}

.card:nth-child(3)::before {
    background-image: url('img/lucegas.png');
    color: #ffffff;/* Sostituisci con il percorso dell'immagine */
}

.card-deck:nth-child(2) .card:nth-child(1)::before {
    background-image: url('img/money.png');
    color: #ffffff;/* Sostituisci con il percorso dell'immagine */
}

.card-deck:nth-child(2) .card:nth-child(2)::before {
    background-image: url('img/sped.jpg');
    color: #ffffff;/* Sostituisci con il percorso dell'immagine */
}

.card-deck:nth-child(2) .card:nth-child(3)::before {
    background-image: url('img/sertele.png');
    color: #ffffff;/* Sostituisci con il percorso dell'immagine */
}
.layout {
    display: flex;
}

.layout_item {
    padding: 0 10px;
}



.c-link {
    color: #fff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.c-link:hover {
    color: #f0f0f0;
}



.form-group label {
    font-weight: bold;
}

.form-control {
    border-radius: 0;
}

.btn-primary {
    background-color: #9dbee1;
    border: none;
    width: 100%;
}

.btn-primary:hover {
    background-color: #004494;
}



/* Aggiungi queste classi al tuo file CSS */

.container.bg-image-1 {
    position: relative;
    background-size: cover;
    background-position: center;
    color: #ffffff;
    margin-top: 50px;
    border-radius: 50px;
    background-color: rgb(219 210 210 / 0%);
    padding: 3%;
}

.container.bg-image-1::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgb(210 212 219 / 47%); /* Cambia il colore e l'opacità come desideri */
    z-index: 1;
    border-radius: 50px;
}

.container.bg-image-1 > * {
    position: relative;
    z-index: 2;
}


.lead {
    color: #fff;
}




.animation {
    position: absolute;
    left: 0;
    background: linear-gradient(
        11deg,
        rgba(255, 255, 255, 0) 45%,
        rgba(67, 40, 216, 0.8) 50%,
        rgba(255, 255, 255, 0) 55%,
        rgba(24, 22, 155, 0.678) 100%
    );
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: shine 1.2s infinite;
    background-size: 200%;
    margin-left: 2.5%;
}

@keyframes shine {
    0% {
        background-position: -120%;
    }
    10% {
        background-position: 120%;
    }
    100% {
        background-position: 120%;
    }
}

@font-face {
    font-family: "Frozen";
    src: url("https://s3-us-west-2.amazonaws.com/s.cdpn.io/209981/Ice%20kingdom%20-%20Bold%20-%20Por%20Kustren.woff");
}

.navbar{
    height: 60px;
    margin-top: 0.01em;
    border-radius: 0em 0em 1em 1em;
}



#bg-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
    background-color: #82bdf900;
}
.paragrafo{
    background-color: rgba(230, 233, 249, 0.92);
    border-radius: 0.5em;
    padding: 1em; 
}


.meil{
    background-color: rgba(230, 233, 249, 0.92);
    border-radius: 5px; 
}


.bg-video2 {
    position: relative;
    overflow: hidden;
}

.bg-video2 video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    z-index: -1;
    transform: translate(-50%, -50%);
    background-size: cover;
    opacity: 0.7; /* Optional: to make the content more readable */
}

.bg-video2 .content {
    position: relative;
    z-index: 1;
    color: white; /* Ensure the text is readable over the video */
}

.bg-video3 {
    position: relative;
    overflow: hidden;
}

.bg-video3 video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    z-index: -1;
    transform: translate(-50%, -50%);
    background-size: cover;
    opacity: 0.7; /* Optional: to make the content more readable */
}

.bg-video3 .content {
    position: relative;
    z-index: 1;
    color: white; /* Ensure the text is readable over the video */
}
.bg-video6 {
    position: relative;
    overflow: hidden;
}

.bg-video6 video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    z-index: -1;
    transform: translate(-50%, -50%);
    background-size: cover;
    opacity: 0.7; /* Optional: to make the content more readable */
}

.bg-video6 .content {
    position: relative;
    z-index: 1;
    color: white; /* Ensure the text is readable over the video */
}


.bg-video7 {
    position: relative;
    overflow: hidden;
}

.bg-video7 video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    z-index: -1;
    transform: translate(-50%, -50%);
    background-size: cover;
    opacity: 0.7; /* Optional: to make the content more readable */
}

.bg-video7 .content {
    position: relative;
    z-index: 1;
    color: white; /* Ensure the text is readable over the video */
}

.bg-video8 {
    position: relative;
    overflow: hidden;
}

.bg-video8 video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    z-index: -1;
    transform: translate(-50%, -50%);
    background-size: cover;
    opacity: 0.7; /* Optional: to make the content more readable */
}

.bg-video8 .content {
    position: relative;
    z-index: 1;
    color: white; /* Ensure the text is readable over the video */
}
.bg-video9 {
    position: relative;
    overflow: hidden;
}

.bg-video9 video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    z-index: -1;
    transform: translate(-50%, -50%);
    background-size: cover;
    opacity: 0.7; /* Optional: to make the content more readable */
}

.bg-video9 .content {
    position: relative;
    z-index: 1;
    color: white; /* Ensure the text is readable over the video */
}

.container-sic,.container-neb,.container-paga,.container-game,.container-servizi,.container-lugas{
    border-radius: 1em;
    background-color: #f8fafb73;

}
.tab-content>.active {
    background-color: #f8fafb96;
    border-radius: 0.7rem;
    padding: 0.5em;
    margin-top: 0.5em;
}
.h1#home-titolo  {
    
    color: #fff;
    margin-top: -0.4em;
    
}
#home-titolo2  {

    
    color: #fff;
    margin-top: -0.4em

}
#contatti  {
    margin-top: 2.4em

}
/* Assicurati che il CSS del footer sia specifico e unico */
#custom-footer {
    background-color: #000000;
    color: #ecf0f1;
    padding: 2em 0;
    font-family: Arial, sans-serif;
}

#custom-footer .container-footer {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

#custom-footer .row {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

#custom-footer .col-md-4 {
    flex: 1;
    margin: 10px;
    min-width: 200px;
}

#custom-footer h2, #custom-footer h3 {
    font-size: 18px;
    margin-bottom: 10px;
    background: linear-gradient(to right, #afd99cd4, #c4bb78, #678c5a , #c6b15e, #f6e223, #e8852e);
    -webkit-background-clip: text;
    color: transparent;
}

#custom-footer p {
    color: #bdc3c7;
    margin-bottom: 5px;
}

#custom-footer ul {
    list-style: none;
    padding: 0;
}

#custom-footer ul li {
    margin-bottom: 5px;
}

#custom-footer .social li {
    display: inline;
    margin-right: 10px;
}

#custom-footer .social a {
    color: #ecf0f1;
    text-decoration: none;
    transition: color 0.3s;
}

#custom-footer .social a:hover {
    color: #3498db;
}

#custom-footer .contact a {
    color: #ecf0f1;
    text-decoration: none;
    transition: color 0.3s;
}

#custom-footer .contact a:hover {
    color: #3498db;
}

#custom-footer .contact i {
    margin-right: 5px;
}

#custom-footer .copyright {
    text-align: center;
    margin-top: 20px;
    border-top: 1px solid #34495e;
    padding-top: 10px;
    font-size: 14px;
    background: linear-gradient(to right, #afd99cd4, #c4bb78, #678c5a , #c6b15e, #f6e223, #e8852e);
    -webkit-background-clip: text;
    color: transparent;
}

#custom-footer .back-to-top {
    display: block;
    text-align: center;
    margin-top: 10px;
    color: #ecf0f1;
    text-decoration: none;
    transition: color 0.3s;
}

#custom-footer .back-to-top:hover {
    color: #3498db;
}

#custom-footer .back-to-top i {
    margin-right: 5px;
}

#custom-footer #info {
    color: white;
}
