@font-face {
    font-family: 'Averta';
    src: url('fonts/Averta-Thin.woff2') format('woff2'),
        url('fonts/Averta-Thin.woff') format('woff');
    font-weight: 100;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Averta';
    src: url('fonts/Averta-Regular.woff2') format('woff2'),
        url('fonts/Averta-Regular.woff') format('woff');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Averta';
    src: url('fonts/Averta-Extrabold.woff2') format('woff2'),
        url('fonts/Averta-Extrabold.woff') format('woff');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@media (max-width: 576px) {
    .edito{column-count: 1;}
}

@keyframes gradient {
    0% {background-position: 0% 50%;}
    50% {background-position: 100% 50%;}
    100% {background-position: 0% 50%;}
}

html, body {
    font-family: 'Averta', sans-serif;
    height: 100%;
    width: 100%;
    color: #5C0000;
    background: linear-gradient(-60deg, #FF7E61, #DA77FF, #73FEF6, #8BFF8F);
    background-size: 500% 500%;
    animation: gradient 30s ease infinite;
}

body {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

p {
    font-weight: 700;
}

hr {
    border-top: 3px solid #5C0000;
    opacity: 100%;
}

a[href^=tel]{
    color:inherit;
    text-decoration: inherit;
    font-size:inherit;
    font-style:inherit;
    font-weight:inherit;
}


.edito {
    column-count: 2;
    column-gap: 30px;
}

.svg-color {
    fill: #5C0000;
}

.sk8 svg {
    max-width: 600px;
}

.btn-xtc {
    background-color: #FFFFFF;
    border: none;
    box-shadow: 0px 0px 3px 1px rgba(0, 0, 0, 0.31);
    -webkit-box-shadow: 0px 0px 3px 1px rgba(0, 0, 0, 0.31);
    -moz-box-shadow: 0px 0px 3px 1px rgba(0, 0, 0, 0.31);
    border-radius: 88px !important;
    -webkit-border-radius: 88px;
    -moz-border-radius: 88px;
    color: #000000;
    border: 0;
    min-height: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    float: left;
    margin-right: 10px;
    -webkit-appearance: none;
}

.tel,.tel:visited {
    color: #5C0000 !important;
    text-decoration:none !important;
}

.tel:hover,.tel:focus{
    color: #5C0000;
}

.btn-xtc:hover, .btn-xtc:focus, .btn-xtc:active {
    background-color: #EBEBEB;
    color: #5C0000;
     box-shadow: 0px 0px 1px 1px rgba(0, 0, 0, 0.31);
    -webkit-box-shadow: 0px 0px 1px 1px rgba(0, 0, 0, 0.31);
    -moz-box-shadow: 0px 0px 1px 1px rgba(0, 0, 0, 0.31);
}

.side-border {
    border-right: 3px solid #5C0000;
}

.logo-mifa img {
    max-width: 120px;
    float: left;
}

.modal p {
    color: #000000;
}

.griffe p {
    font-size: 0.6em;
    font-weight: 400;
    writing-mode: vertical-rl;
    text-orientation: sideways;
}

.griffe a {
    color: inherit;
}

.griffe a:hover {
    color: #ffffff;
}

h1 {
    font-size: 1em;
    font-weight: 700;
    border-bottom: 3px solid #5C0000;
    line-height: inherit;
}

.soustitre1 p {
    border-bottom: 3px solid #5C0000;
}

.soustitre2 p {
    display: block;
    width: auto;
    color: #000000;
    border-bottom: 3px solid #000;
}

.partenaires {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.note-min {
    font-size: 0.8em;
}