@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&family=Teko:wght@300..700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Eater&display=swap');

body {
    animation: gradientAnimation 6s ease infinite;
}

#loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: black;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    opacity: 1;
    transition: opacity 2s ease-in-out;
}

.loader-container {
    animation: pulse 1.5s infinite ease-in-out;
}

.logo {
    width: 120px;
    height: auto;
    opacity: 0.9;
    animation: pulse 1.5s infinite ease-in-out;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 0.9;
    }

    50% {
        transform: scale(1.1);
        opacity: 1;
    }

    100% {
        transform: scale(1);
        opacity: 0.9;
    }
}

@keyframes fadeOutLogo {
    0% {
        opacity: 1;
        transform: scale(1);
    }

    100% {
        opacity: 0;
        transform: scale(1.5);
    }
}

@keyframes gradientAnimation {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

.cont{
    padding:10px;
}

.page-content {
    opacity: 1;
    transition: opacity 0.5s ease-in-out;
}

    .page-content.fade-out {
        opacity: 0;
    }

* {
    /*font-family: "Montserrat",sans-serif;*/
    font-family: "Teko",sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-weight: 300 !important;
}

@keyframes shock {
    0% {
        transform: translate(0, 0) rotate(0deg) scale(1);
        filter: brightness(1) contrast(1);
    }

    10% {
        transform: translate(-5px, 3px) rotate(-2deg) scale(1.02);
        filter: brightness(1.5) contrast(1.4);
    }

    20% {
        transform: translate(4px, -6px) rotate(2deg) scale(0.98);
        filter: brightness(0.7) contrast(1.2);
    }

    30% {
        transform: translate(-3px, 4px) rotate(-1deg) scale(1.01);
        filter: brightness(1.3) contrast(1.5);
    }

    40% {
        transform: translate(6px, -3px) rotate(1deg) scale(0.99);
        filter: brightness(0.8) contrast(1.2);
    }

    50% {
        transform: translate(-4px, 2px) rotate(2deg) scale(1.03);
        filter: brightness(1.6) contrast(1.6);
    }

    60% {
        transform: translate(3px, -5px) rotate(-2deg) scale(1);
        filter: brightness(0.9) contrast(1.1);
    }

    70% {
        transform: translate(-2px, 3px) rotate(1deg) scale(0.97);
        filter: brightness(1.2) contrast(1.3);
    }

    80% {
        transform: translate(5px, -4px) rotate(-1deg) scale(1.02);
        filter: brightness(1.4) contrast(1.4);
    }

    90% {
        transform: translate(-3px, 2px) rotate(1deg) scale(1);
        filter: brightness(1.1) contrast(1.1);
    }

    100% {
        transform: translate(0, 0) rotate(0deg) scale(1);
        filter: brightness(1) contrast(1);
    }
}

.shock {
    animation: shock 0.4s linear;
    text-shadow: 0 0 8px #fff, 0 0 16px cyan, 0 0 24px red;
}

.main-title {
    /*font-family: "Teko", sans-serif;*/
    /*color: rgb(0, 139, 139);*/
    /*font-family: "Bebas Neue";
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3), 0 0 6px rgba(0, 139, 139, 0.2) !important;
    font-weight: 700 !important;
    letter-spacing: 1px !important;*/

    background: linear-gradient(45deg, rgba(0, 139, 139, 1), rgba(0, 255, 255, 0.8), rgba(0, 139, 139, 1));
    color: transparent !important;
    background-clip: text !important;
    -webkit-background-clip: text !important;
    text-shadow: 0 0 5px rgba(0, 139, 139, 0.6), 0 0 15px rgba(0, 139, 139, 0.4), 0 0 25px rgba(0, 255, 255, 0.4) !important;
    font-weight: 700 !important;
    letter-spacing: 1px !important;
    transition: all 0.3s ease-in-out;
}

.under-title {
    font-family: "Teko",sans-serif;
    background: linear-gradient(45deg, rgba(0, 139, 139, 0.8), rgba(0, 255, 255, 0.6), rgba(0, 139, 139, 0.8)) !important;
    color: transparent !important; /* Rende il testo trasparente per il gradiente */
    background-clip: text !important; /* Applica il gradiente solo al testo */
    -webkit-background-clip: text !important; /* Per compatibilitą con Safari */

    text-shadow: 0 0 3px rgba(0, 139, 139, 0.4), 0 0 10px rgba(0, 255, 255, 0.3), 0 0 15px rgba(0, 139, 139, 0.2); /* Glow pił delicato rispetto al titolo */

    font-weight: 500 !important; /* Peso un po' pił sottile rispetto al titolo */
    letter-spacing: 0.5px !important; /* Un po' meno spaziato rispetto al titolo */
    transition: all 0.3s ease-in-out !important;
}

    .under-title .spike {
        font-family: "Eater", serif;
        font-weight: 400 !important;
        color: #9effff;
        display: inline-block;
    }

    .under-title.white {
        color: #ffffffba !important;
    }

.text-justify {
    text-align: justify
}

.img_logo {
    max-height: 80px
}

.container {
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 10px;
    padding-right: 10px
}

.navbar {
    background-color: #008b8b;
    padding-left: 20%;
    padding-right: 20%
}

.navbar-toggler {
    border: none;
    outline: 0;
    display: flex;
    align-items: center
}

.custom-toggler {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 22px;
    cursor: pointer
}

.line {
    background-color: #fff;
    height: 3px;
    width: 100%;
    transition: all .3s ease
}

.navbar-toggler[aria-expanded=true] .line:nth-child(1) {
    transform: translateY(9px) rotate(45deg)
}

.navbar-toggler[aria-expanded=true] .line:nth-child(2) {
    opacity: 0
}

.navbar-toggler[aria-expanded=true] .line:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg)
}

.navbar-nav .nav-link {
    color: #fff;
    font-size: 25px;
    transition: color .3s ease
}

    .navbar-nav .nav-link:hover {
        color: #000
    }

.collapse.show {
    padding: 10px
}

    .collapse.show .nav-link {
        color: #fff
    }

        .collapse.show .nav-link:hover {
            color: #000
        }

.buttons-container {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 15px
}

.hero {
    position: relative;
    height: 80vh;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url(../images/bg.png) no-repeat center center / cover;
    filter: blur(2px);
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 1;
    color: #000;
}

h1.display-1 {
    font-weight: 700
}

.text-darkcyan {
    color: #008b8b
}

footer {
    background-color: #1e1e2d;
    color: #fff;
    text-align: center;
    padding: 10px 0
}

.custom-btn1 {
    font-size: 30px;
    color: #fff;
    background-color: #008b8b;
    padding: 8px;
    border-radius: 5px;
    border: 1px solid #008b8b
}

    .custom-btn1:not(:disabled):not(.disabled).hover, .custom-btn1:not(:disabled):not(.disabled):hover, .show > .custom-btn.dropdown-toggle {
        background-color: #fff;
        color: #008b8b;
        transform: scale(1.2)
    }

.custom-btn2 {
    font-size: 40px;
    color: #fff;
    background-color: #008b8b;
    padding: 5px;
    border-radius: 10px;
    border: 2px solid #008b8b
}

    .custom-btn2:not(:disabled):not(.disabled).hover, .custom-btn2:not(:disabled):not(.disabled):hover, .show > .custom-btn.dropdown-toggle {
        background-color: #fff;
        color: #008b8b;
        transform: scale(1.2)
    }

.carousel-indicators button {
    width: 15px !important;
    height: 15px !important;
    border-radius: 100% !important;
    border: none !important;
    margin: 5px !important
}

    .carousel-indicators button.active {
        background-color: #000
    }

.sponsor-box {
    width: 150px;
    height: 150px;
    border-radius: 8px;
    display: flex;
    justify-content: center;
    align-items: center
}

.carousel-item {
    height: 400px
}

    .carousel-item img, .carousel-item video {
        height: 100%;
        width: 100%;
        object-fit: contain
    }

.carousel-inner img, .carousel-inner video {
    max-height: 100%;
    height: auto;
    max-width: 100%
}

.carousel {
    height: 100%
}

.carousel-custom-index .carousel-item img, .carousel-custom-index .carousel-item video {
    height: 100%;
    width: auto;
    object-fit: contain
}

.carousel-custom-index .carousel-inner {
    align-items: center;
    justify-content: center;
    height: 400px !important
}

.carousel-custom-index .carousel-caption {
    align-items: center;
    justify-content: center;
    height: 100%
}

.carousel-custom-chi-siamo .carousel-item img, .carousel-custom-chi-siamo .carousel-item video {
    height: 100%;
    width: 100%;
    object-fit: contain
}

.carousel-custom-chi-siamo .carousel-inner img, .carousel-custom-chi-siamo .carousel-inner video {
    max-height: 100%;
    height: auto;
    max-width: 100%
}

.equal-height {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100%
}

    .equal-height img, .equal-height video {
        max-height: 100%;
        height: auto;
        max-width: 100%
    }

.gradiente-link {
    font-weight: 700;
    background: linear-gradient(90deg,#00c6ff,#1e90ff,#4682b4);
    -webkit-background-clip: text;
    color: transparent;
    transition: background .3s ease,color .3s ease
}

    .gradiente-link:hover {
        background: linear-gradient(90deg,#1e90ff,#4682b4,#5a9bd4);
        -webkit-background-clip: text;
        color: transparent
    }

.gradiente-link-ig {
    font-weight: 700;
    background: linear-gradient(90deg, #feda75, #fa7e1e, #d62976, #962fbf, #4f5bd5);
    -webkit-background-clip: text;
    color: transparent;
    transition: background 0.3s ease, color 0.3s ease;
}

    .gradiente-link-ig:hover {
        background: linear-gradient(90deg, #fa7e1e, #d62976, #962fbf, #4f5bd5, #feda75);
        -webkit-background-clip: text;
        color: transparent;
    }

.gradiente-link-email {
    font-weight: 700;
    background: linear-gradient(90deg, #00c9a7, #00b5d5, #0099f7);
    -webkit-background-clip: text;
    color: transparent;
    transition: background 0.3s ease, color 0.3s ease;
}

    .gradiente-link-email:hover {
        background: linear-gradient(90deg, #00b5d5, #0099f7, #00c9a7);
        -webkit-background-clip: text;
        color: transparent;
    }

.gradiente-link-spotify {
    font-weight: 700;
    background: linear-gradient(90deg, #a4fba6, #1db954, #1aa34a);
    -webkit-background-clip: text;
    color: transparent;
    transition: background 0.3s ease, color 0.3s ease;
}

    .gradiente-link-spotify:hover {
        background: linear-gradient(90deg, #1db954, #1aa34a, #0e7c35);
        -webkit-background-clip: text;
        color: transparent;
    }


.image-container {
    position: relative;
    overflow: hidden
}

.overlay {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    height: 100%;
    width: 100%;
    opacity: 0;
    transition: opacity .5s ease;
    background-color: rgba(5,27,34,.8);
    pointer-events: none;
    padding: 10px
}

.text-hover {
    max-height: 80%;
    overflow-y: auto;
    color: #fff;
    font-size: 20px;
    position: absolute;
    text-align: center;
    padding-right: 1px;
    padding-left: 1px
}

.img-hover:hover + .overlay {
    opacity: 1
}

.claim {
    padding: 20px !important;
}

/* container generale di tutti gli eventi */
#eventi-list {
  margin: 4rem auto;
  max-width: 1200px;
  padding: 0 1rem;
  border-bottom: 2px solid var(--darkcyan);
}

/* singolo evento */
.evento {
  margin-bottom: 4rem;
  padding-bottom: 4rem;
  border-top: 2px solid var(--darkcyan);
}

/* titolo evento */
.evento .titolo {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 2.5rem;
  color: var(--darkcyan);
  margin-bottom: 1rem;
  text-align: center;
}

/* data / sottotitolo */
.evento .data {
  font-size: 1.2rem;
  color: #ccc;
  margin-bottom: 1.5rem;
  text-align: center;
}

/* immagine principale */
.evento .immagine-principale {
  display: block;
  margin: 0 auto 1.5rem;
  max-width: 75%;
}

.descrizione {
  white-space: pre-wrap;        
  color: var(--text-light); 
  font-size: 1.1rem;
  line-height: 1.6;
  margin: 1.5rem auto;
  max-width: 800px;
  text-align: center;
}

/* carosello */
.evento .carousel {
  max-width: 90%;
  margin: 2rem auto 0;
}

.upcoming-header,
.past-header {
  position: relative;
  padding: 1.5rem 0;
  margin: 3rem 0 2rem;
  background-color: rgba(0,0,0,0.05);
  border-radius: 0.5rem;
  text-align: center;
}
.upcoming-header h2,
.past-header h2 {
  display: inline-block;
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--darkcyan);
  margin: 0;
  padding: 0 1rem;
}
.upcoming-header::after,
.past-header::after {
  content: "";
  display: block;
  width: 8rem;
  height: 4px;
  background: var(--darkcyan);
  margin: 1rem auto 0;
  border-radius: 2px;
}

