#footer {
    background-color: var(--secondary-color);
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    padding: 20px;
    color: #fff;
}

#footer h2 {
    font-size: 3rem;
    font-weight: bold;
    margin-left: 80px;
    text-transform: uppercase;
    text-align: start;
    width: 100%;
}

#footer #contact {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-around;
    width: 70%;
}

#footer #contact-list {
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    margin-left: 30px;
    height: 100%;
}

#footer .contact-item{
    display: flex;
    flex-direction: row;
    align-items: center;
    margin: 10px 0;
    font-size: 1.2rem;
    width: 80%;
}

#footer .contact-item p {
    margin-left: 30px;
}

#footer .contact-item img {
    width: 60px;
    height: 60px;
    margin-right: 10px;
}
#footer a {
    color: #fff!important;
    text-decoration: none!important;
}

#footer #contact-container {
    display: flex;
    flex-direction: row;
    justify-content: start;
    width: 100%;
    align-items: center;
}

#footer #map {
    width: 30%;
}

#footer label {
    font-size: 1.2rem;
    margin-right: 10px;
}

#footer #contact-formulaire {
    width: 50%;
    padding: 50px;
}

#footer input[type="text"], #footer input[type="email"] {
    width: 100%;
    padding: 5px;
    border: none;
    background-color: transparent;
    color: var(--background-primary-color);
    border-bottom: 2px solid var(--background-primary-color);
}

#footer textarea {
    width: 100%;
    padding: 5px;
    border: none;
    background-color: var(--background-primary-color);
    color: var(--secondary-color);
}

#footer button[type="submit"] {
    color: var(--background-primary-color);
    padding: 10px 20px;
    border: none;
    cursor: pointer;
    font-size: 1.2rem;
    width: 100%;
    border: 2px solid #fff;
}

#footer #map .mapouter {
    position: relative;
    text-align: right;
    height: 400px;
    width: 100%;
    padding: 20px;
}


#footer #map .mapouter {
    width: 100%;
    height: 100%;
}

#footer #map .gmap_canvas {
    width: 100%;
    height: 100%;
}

#footer #map iframe {
    width: 100%;
    height: 100%;
    border: none;
}

#footer .reseau-item{
    display: flex;
    flex-direction: row;
    align-items: center;
    margin: 10px 0;
    font-size: 1.2rem;
    justify-self: space-around;
    width: 100%;
}

@media (max-width: 1200px) {
    #footer {
        flex-direction: column;
        align-items: center;
    }

    #footer h2 {
        text-align: center;
        margin: 20px 0;
        font-size: 2.5rem;
    }

    #footer #contact {
        width: 100%;
        align-items: center;
    }

    #footer #contact-container {
        flex-direction: column;
        align-items: center;
        width: 100%;
    }

    #footer .contact-item {
        width: 100%;
    }

    #footer #contact-formulaire {
        width: 80%;
        padding: 30px;
    }

    #footer #map {
        width: 100%;
        margin-top: 20px;
        display: flex;
        justify-content: center;
        align-items: center;
    }
}

/* mobile */
@media (max-width: 768px) {
    #footer {
        flex-direction: column;
        align-items: center;
    }

    #footer #contact {
        width: 100%;
        align-items: center;
    }

    #footer h2 {
        text-align: center;
        margin: 20px 0;
        font-size: 2rem;
    }

    #footer #contact-container {
        flex-direction: column;
        align-items: center;
        width: 100%;
    }

    #footer .contact-item {
        width: 100%;
    }

    #footer #contact-formulaire {
        width: 90%;
        padding: 20px;
    }

    #footer #map {
        width: 100%;
        margin-top: 20px;
        display: flex;
        justify-content: center;
        align-items: center;
    }
}
