@import url(reset.css);
@import url(header.css);
@import url(acceuil.css);
@import url(footer.css);
@import url(asso.css);
@import url(mediation.css);

:root {
    --primary-color: #759D1A;
    --second-color: #647D29;
    --text-color: #ffffff;
    --dark-text-color: #1A200B;
    --accent-color: #EAF9C9;
    --font-use: 'Capriola';

    --blue-primary-color: #27A4A6;
    --blue-dark-color: #107173;
    --blue-accent-color: #B6F6F6;
    --blue-dark-text-color: #083E3F;
}


@font-face {
    font-family: "Capriola";
    src: url(../ressources/font/Capriola-Regular.ttf);
}

html {
    scroll-behavior: smooth;
}

main {
    width: 100%;
    height: fit-content;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: var(--accent-color);
    font-family: var(--font-use);
    font-size: 1rem;
    z-index: -2;
}

a {
    text-decoration: none;
    color: var(--text-color);
}

br {
    margin-top: 2px;
    margin-bottom: 2px;
}

h4 {
    font-size: 1.2rem;
    text-align: center;
}

h2 {
    font-size: 1.8rem;
    text-align: center;
}

.titre_base {
    font-size: 1.2rem;
    margin: 20px 0 20px 0;
    color: var(--primary-color);
}

.btn_retour_haut {
    position: fixed;
    bottom: 20px;
    right: 50px;
    width: 50px;
    height: 50px;
    border-radius: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: lightgrey;
    transition: all 0.3s ease-in-out;
    opacity: 0;
}

.btn_retour_haut.active_btn_scroll {
    opacity: 1;
    bottom: 20px;
}

.btn_retour_haut:hover {
    cursor: pointer;
    border: gray solid 4px;
}

.btn_retour_haut img {
    width: 30%;
    max-height: 30%;
    transform: rotate(90deg);
}