.footer {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    background-color: #1c6434;
    width: 100%;
    padding: 20px;
    box-sizing: border-box;
    position: relative;
    flex-wrap: nowrap;
    min-height: 200px;
}

/* Posizionamento link in alto */
.redirecturi {
    display: flex;
    justify-content: center;
    gap: 5%;
    width: 700px;
    font-family: 'Poppins', sans-serif;
    margin-bottom: 20px;
}

.redirectanchor {
    color: #fff;
    text-align: center;
    transition-duration: 0.3s;
}

.redirectanchor:hover {
    color: #ffffff6d;
}

/* Icone social centrali */
.icon {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 10px;
    margin-bottom: 5px;
}

.icon a img {
    width: 40px;
    transition: 0.3s;
}

.icon a img:hover {
    transform: scale(1.2);
    opacity: 0.5;
}

/* Info in basso a sinistra */
.info {
    position: absolute;
    bottom: 20px;
    left: 20px;
    text-align: left;
    width: auto;
    color: #fff;
}

.info p{
    color: #fff;
}

.info a {
    color: #fff;
    transition: 0.3s;
}

.info a:hover {
    color: #ffffff6d;
}

/* Small in basso al centro */
.small {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    width: 100%;
}

.small p {
    font-size: clamp(0.7rem, 0.7vw, 1.5rem);
    color: black;
}

/* Responsività sotto i 700px */
@media (max-width: 700px) {
    .footer {
        flex-direction: column;
        align-items: center;
        min-height: 400px;
    }

    /* Link in colonna */
    .redirecturi {
        flex-direction: column;
        gap: 10px;
        width: 100%;

    }
    .redirectanchor {
        margin-bottom: 1%;
    }

    /* Icone social centrali su una riga */
    .icon {
        margin-top: 20px;
        margin-bottom: 20px;
    }

    /* Info centrata su mobile */
    .info {
        text-align: center;
        position: relative;
        margin-top: 20px;
        bottom: auto;
        left: auto;
    }

    /* Small al centro in fondo */
    .small {
        position: relative;
        bottom: auto;
        left: auto;
        transform: none;
    }
}
