/* Definizione di colori personalizzati */
@font-face {
    font-family: "DINCustom";
    src: url("../fonts/DIN/DIN_Regular.ttf") format("truetype"),
    url("../fonts/DIN/DIN_Regular.otf") format("opentype");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "DINCustom";
    src: url("../fonts/DIN/DIN_Bold.otf") format("opentype"),
    url("../fonts/DIN/DIN_Bold.ttf") format("truetype");
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

:root {
    --color-primary: #ed1c24; /* Colore principale */
    --color-secondary: #ffed4a; /* Colore secondario */
    --color-accent: #e3342f; /* Colore di accento */
    --color-body: #231f20;
}
body {
    font-family: "Merriweather", serif;
}
/* Utilizzo dei colori personalizzati nelle classi */
.bg-primary {
    background-color: var(--color-primary);
}
.text-primary {
    color: var(--color-primary);
}
.bg-secondary {
    background-color: var(--color-secondary);
}
.text-secondary {
    color: var(--color-secondary);
}
.bg-accent {
    background-color: var(--color-accent);
}
.text-accent {
    color: var(--color-accent);
}
.month {
    @apply text-white bg-primary;
}

.background-image, .background-image-homePage {
    background-size: cover;
    background-position: center;
    height: 800px;
    width: 100%;
    position: relative;
}

.background-image-homePage::after {
    content: "";
    position: absolute;
    inset: 0;
    background: none;
}

.background-image::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
            to bottom,
            rgba(0, 0, 0, 0) 10%,
            rgba(0, 0, 0, 0.7) 100%
    );
}
.video-container {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 ratio */
    height: 0;
    overflow: hidden;
    max-width: 100%;
    background: #000;
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}
.single-item .item {
    position: relative;
}
.single-item .item:not(.hide-after)::after{
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
            to bottom,
            rgba(0, 0, 0, 0) 20%,
            rgba(0, 0, 0, 0.7) 100%
    );
    border-bottom-left-radius: 8px;
    border-bottom-right-radius: 8px;
}

.container {
    padding: 0 20px;
}

@media (min-width: 1280px) {
    .container {
        max-width: 1200px !important;
    }
}

.slick-dots {
    bottom: 0;
    text-align: right;
}

.slick-dots li button:before {
    color: #000;
}

.slick-dots {
    bottom: 20px;
    right: 20px;
}

.slick-dots li button:before {
    color: white;
    opacity: 1;
}

.slick-dots li.slick-active button:before,
.slick-dots li button:before {
    font-size: 26px;
}

.fontADV {
    font-family: "DINCustom", Arial, sans-serif;
}