body, html {
    margin: 0;
    padding: 0;
    font-family: Arial, Verdana, sans-serif;
    min-height: 100%;
}
*, *::before, *::after {
    box-sizing: border-box;
}
ul, p, h1, h2, h3, h4, h5, h6 {
    margin-top: 0;
}
button {
    cursor: pointer;
}
img {
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 100%;
}

.container {
    max-width: 1350px;
    margin-left: auto;
    margin-right: auto;
    padding: 15px;
}
.medium-container {
    max-width: 999px;
}
.small-container {
    max-width: 600px;
}



.flex-menus {
    padding: 0;
    margin: 0;
    display: flex;
    list-style: none;
    flex-wrap: wrap;
    /*justify-content: space-between;*/
}
.flex-menu {
    width: calc( 33.33% - 15px );
    text-align: center;
    box-shadow: 0 0 8px 0px rgba(0,0,0,0.3);
    border-radius: 10px;
    color: #000;
    text-decoration: none;
    transition: box-shadow .3s ease-in-out;
    margin-bottom: 25px;
    cursor: pointer;
}
.flex-menu:nth-child(3n+2) {
    margin-left: 22px;
    margin-right: 22px;
}
.flex-menu-icone-container {
    min-height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    transition: color .3s ease-in-out;
}
.flex-menu-title {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 0;
    padding: 8px 0;
    position: relative;
    transition: color .3s ease-in-out;
}
.flex-menu-title::before {
    position: absolute;
    content: "";
    top: 0;
    left: 5%;
    right: 5%;
    height: 1px;
    background-color: #ccc;
    transition: background-color .3s ease-in-out;
}
.flex-menu:hover {
    box-shadow: 0 0 8px 0px #1c7ed6;
    text-decoration: none;
}
.flex-menu:hover .flex-menu-title::before {
    background-color: #1c7ed6;
}
/* .flex-menu:hover .flex-menu-title,
.flex-menu:hover .flex-menu-icone-container {
    color: #1c7ed6;
} */
.flex-menu.working-on-it,
.flex-menu.working-on-it:hover {
    color: #f00;
    box-shadow: 0 0 8px 0px #f00;
}
.flex-menu.working-on-it .flex-menu-title::before,
.flex-menu.working-on-it:hover .flex-menu-title::before {
    background-color: #f00;
}
.flex-menu-section-title {
    font-weight: 700;
    text-transform: uppercase;
    border-top: solid 2px #000;
    padding-top: 25px;
    margin-top: 15px;
    font-size: 1.2rem;
}



.page-error-http {
    min-height: 100vh;
}
.page-error-http {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}



.button-secoue {
    cursor: pointer;
}
.button-secoue {
    background: #fff;
    border: solid 2px #ccc;
    padding: 6px 12px;
    border-radius: 6px;
}
.button-secoue:hover {
    animation: shake 0.5s;
    animation-iteration-count: 1;
}
@keyframes shake {
    0%   { transform: translate(1px, 1px) rotate(0deg); }
    10%  { transform: translate(-1px, -2px) rotate(-1deg); }
    20%  { transform: translate(-3px, 0px) rotate(1deg); }
    30%  { transform: translate(3px, 2px) rotate(0deg); }
    40%  { transform: translate(1px, -1px) rotate(1deg); }
    50%  { transform: translate(-1px, 2px) rotate(-1deg); }
    60%  { transform: translate(-3px, 1px) rotate(0deg); }
    70%  { transform: translate(3px, 1px) rotate(-1deg); }
    80%  { transform: translate(-1px, -1px) rotate(1deg); }
    90%  { transform: translate(1px, 2px) rotate(0deg); }
    100% { transform: translate(1px, -2px) rotate(-1deg); }
}



.button-double-bordure {
    background: transparent;
    padding: 6px 12px;
    position: relative;
    border: none;
    color: #ff5400;
    transition: all .15s ease-in-out;
}
.button-double-bordure::before,
.button-double-bordure::after {
    content: "";
    position: absolute;
    height: 100%;
    width: 100%;
    border: solid 1px #ff5400;
    left: -4px;
    bottom: -4px;
    transition: all .15s ease-in-out;
}
.button-double-bordure::after {
    left: 4px;
    bottom: 4px;
}

.button-double-bordure:hover {
    color: #1c7ed6;
}
.button-double-bordure:hover::before,
.button-double-bordure:hover::after {
    left: 0;
    bottom: 0;
    border-color: #1c7ed6;
}




/* 
 * PAGES ERREURS
 */
.page-erreur {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #f00;
}
.error-image {
    position: relative;
}
.page-erreur .big-middle {
    font-size: 6rem;
    margin-bottom: 0;
}
.error-image::before,
.error-image::after {
    position: absolute;
    font-size: 4rem;
    top: -4rem;
    line-height: 1;
    left: 36%;
}
.error-image::after {
    left: auto;
    right: 34%;
}
#page-403 .error-image::before,
#page-403 .error-image::after {
    content: "!";
    color: #f00;
}
#page-404 .error-image::before,
#page-404 .error-image::after {
    content: "?";
    color: #f00;
}
#page-404 .error-image::before {
    left: 34%;
}
#page-404 .error-image::after {
    right: 32%;
}


.center-child-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}



@media screen and ( max-width: 1440px ) {
    .container {
        max-width: 999px;
    }
    .small-container {
        max-width: 600px;
    }
}



@media screen and ( max-width: 1080px ) {
    .container {
        max-width: 760px;
    }
    .small-container {
        max-width: 600px;
    }
}