:root {
    --beige_primaire: rgb(241, 235, 225);
    --gris_fond: rgb(28, 28, 27);
    --type-heading-h1-font-size: 3.488rem;
    --type-heading-h2-font-size: 2.074rem;
    --type-heading-h3-font-size: 1.728rem;
    --type-heading-h4-font-size: 1.44rem;
    --type-heading-h1-font-size-mobile-max: 2.802rem;
    --type-heading-h1-font-size-mobile-min: 2.202rem;
    --type-heading-h2-font-size-mobile: 1.602rem;
    --type-heading-h3-font-size-mobile: 1.424rem;
    --type-heading-h4-font-size-mobile: 1.266rem;
}

footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-direction: column;
    position: relative;
    padding: 20px;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 10%;
    right: 10%;
    border-top: 5px solid var(--beige_primaire);
    width: 80%;
}

footer #inside1 {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-direction: row;
    width: 100%;
    height: 100%;
}

footer #middle {
    display: flex;
    justify-content: space-evenly;
    align-items: start;
    width: 100%;
}

footer #middle_phone {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    width: 100%;
}

footer div#middle_phone #links_logo_phone {
    display: flex;
    justify-content: center;
    align-items: center;
}


footer #infos {
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-direction: column;
    height: 50%;
}

footer #infos_contacts {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-direction: column;
}

footer #infos_contacts p {
    margin: 10px;
}

footer .medias_icons {
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    width: 80%;
    margin-top: 20px;
}

footer .medias_icons a {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

footer .medias_icons img {
    width: 40px;
    height: 50px;
}

footer #links {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-direction: column;
}

footer #links a {
    margin-bottom: 10px;
    text-underline-offset: 5px;
}

footer #links h3 {
    padding-bottom: 10px;
}

ion-icon {
    color: var(--beige_primaire);
    font-size: 50px;
}

footer h3 {
    text-align: center;
}

footer p {
    margin-bottom: 0;
    text-align: center;
}

footer div#logo_proprio {
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-direction: column;
}

footer #logo_footer {
    margin-top: 30.6432px;
    width: 150px;
    height: 150px;
    object-fit: cover;
}

footer #proprio {
    text-underline-offset: 5px;
}

footer a.btnTop {
    text-decoration: underline;
    cursor: pointer;
}

@media screen and (max-width: 1024px) {
    footer div#middle_phone #links_logo_phone {
        display: flex;
        justify-content: space-around;
        align-items: center;
        width: 100%;
    }
}

@media screen and (max-width: 600px) {
    footer div#middle_phone #links_logo_phone {
        display: flex;
        justify-content: center;
        align-items: center;
        flex-direction: column;
    }    
}