body {
    background-color: #d3cfcb;
    font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
    margin: 0;
    padding: 0;
}

nav {
    background-color: #e48509;
    color: #fff;
    padding: 10px 0;
}

.container {
    width: 90%;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.container h1 {
    margin: 0;
    padding: 0;
}

ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
}

ul li {
    display: inline;
    margin-left: 20px;
}

ul li a {
    text-decoration: none;
    color: #fff;
}

ul li a:hover {
    color: #000;
}

.container img {
    max-width: 80px;
    height: auto;
}

.logo-container {
    position: absolute;
    top: 35%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.logogif {
    max-width: 300px; /* Modifica la larghezza massima del logo */
    height: auto;
    display: inline-block;
}

/* Media query per rendere il logo responsivo */
@media screen and (max-width: 768px) {
    .logogif {
        margin-left: 20px; /* Modifica il margin-left per renderlo responsivo */
    }
}

.header-container {
    position: relative;
    height: 700px; /* Altezza desiderata dello sfondo */
    width: 100%; /* Larghezza desiderata dello sfondo */
    background-image: url('/png/image.png'); /* Percorso dell'immagine di sfondo */
    background-size: cover; /* Per adattare l'immagine di sfondo alla dimensione del contenitore */
    background-position: center; /* Per centrare l'immagine di sfondo */
}

.titolo2 {
    text-align: center;
    margin-top: 0%;
}

.containerpng {
    width: 100%;
    margin-top: 2%;
    overflow: hidden;
    border-radius: 15px; /* Arrotonda i bordi */
    height: auto; /* Imposta l'altezza automatica per adattarsi al contenuto */
}

.carousel {
    display: flex;
    animation: scroll 5s linear infinite;
    width: 30%; /* Imposta la larghezza del carousel al 100% del contenitore */
    max-height: 300px; /* Imposta un'altezza massima per il carousel */
}

.carousel img {
    max-width: 100%; /* Imposta la larghezza massima dell'immagine al 100% del carousel */
    height: auto; /* Altezza automatica per mantenere le proporzioni */
    vertical-align: middle;
    margin-right: 20px; /* Spazio tra le immagini */
    border-radius: 15px; /* Arrotonda i bordi delle immagini */
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1); /* Aggiungi ombra */
}

@keyframes scroll {
    from {
        transform: translateX(0%);
    }
    to {
        transform: translateX(calc(-100% - 20px)); /* Calcola il 100% meno lo spazio tra le immagini */
    }
}


.titolo3 {
    text-align: center;
}

/* Per WebKit (Chrome, Safari) */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-thumb {
    background-color: #e48509;
    border-radius: 5px;
}

/* Per Firefox */
::-moz-scrollbar {
    width: 10px;
}

::-moz-scrollbar-thumb {
    background-color: #000;
    border-radius: 5px; 
}


/* Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


header {
    text-align: center;
    padding: 50px 0;
}

h1 {
    font-size: 36px;
    margin-bottom: 20px;
}

p {
    font-size: 18px;
    line-height: 1.6;
}

.mlo-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    padding: 20px;
    box-sizing: border-box;
}

.mlo-item {
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    padding: 20px;
    width: 300px;
    text-align: center;
}

.mlo-item img {
    max-width: 100%;
    height: auto;
    max-height: 200px; /* Altezza massima dell'immagine */
    border-radius: 5px;
    margin-bottom: 10px;
}

.discord-button {
    display: inline-block;
    padding: 15px 30px;
    background-color: #677bc4;
    color: #fff;
    text-decoration: none;
    border-radius: 30px;
    font-size: 15px;
    transition: background-color 0.3s ease, transform 0.2s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.discord-button:hover {
    background-color: #6578bd;
    transform: translateY(-2px);
}

/* Footer */
footer {
    position: relative;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: #e48509;
    color: #fff;
    padding: 20px 0; /* Ridotto il padding per un aspetto più sottile */
}

.footer-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-start;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.footer-left,
.footer-right {
    flex: 0 0 45%;
    margin-bottom: 20px;
}

.footer-left h2,
.footer-right h2 {
    font-size: 24px;
    margin-bottom: 10px;
    color: #fff;
}

.footer-left p,
.footer-right ul {
    color: #fff;
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 15px;
}

.footer-right ul {
    list-style: none;
}

.footer-right ul li {
    margin-bottom: 5px;
}

.footer-right ul li a {
    color: #fff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-right ul li a:hover {
    color: #000;
}

.imagehome {
    display: block;
    max-width: 100%;
    height: auto;
    margin: 20px auto;
}

.footer-bottom {
    background-color: #e48509;
    padding: 15px 0;
    text-align: center;
}

.footer-bottom p {
    font-size: 14px;
}


/* Animazioni */
.footer-left h2 {
    transition: transform 0.3s ease, color 0.3s ease;
}

.footer-left:hover h2 {
    color: #000;
    transform: translateY(-5px) scale(1.05);
}

.footer-left p {
    transition: color 0.3s ease;
}

.footer-left:hover p {
    color: #000;
}

.footer-right ul li {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.footer-right:hover ul li {
    opacity: 1;
    transform: translateY(0);
}

.footer-right ul li a {
    color: #000;
    text-decoration: none;
    position: relative;
}

.footer-right ul li a::before {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #ffd700;
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.footer-right ul li a:hover::before {
    transform: scaleX(1);
}

.footer-right ul li a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 100%;
    height: 2px;
    background-color: #ffd700;
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.footer-right ul li a:hover::after {
    transform: scaleX(1);
}

.footer-right:hover h2 {
    color: #000;
    transform: translateY(-5px) scale(1.05);
}

.footer-right h2 {
    transition: transform 0.3s ease, color 0.3s ease;
}

