/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@400;700&family=Poppins:wght@300;600;700;900&display=swap');

/************
CORE STYLE
*************/
body {
    background-color: #f2f2f0;
}
.wrapper {
    position: relative;
}

.section {
    padding: 100px 0;
}

.img-responsive {
    max-width: 100%;
    height: auto;
}

.container {
    width: 100%;
    max-width: 2000px;
    padding: 0 15px;
    margin-left: auto;
    margin-right: auto;
}

#about .flex,
#description .flex,
#inscription .flex,
footer .flex {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
}

@media (max-width: 768px) {
    .container {
        padding: 0 10px;
    }
}

/************
TYPO
*************/
p {
    font-size: 15px;
    margin-bottom: 12px;
    line-height: 1.4;
    font-family: "Open Sans", sans-serif;
}

h1, h2, h3, h4, h5, h6 {
    font-family: "Poppins", sans-serif;
}

h1 {
    font-size: 65px;
    line-height: 1.2;
    font-weight: 600;
    letter-spacing: 3px;
    margin-bottom: 20px;
}

h2 {
    font-size: 38px;
    line-height: 1.2;
    font-weight: 600;
}

h3 {
    font-size: 32px;
    line-height: 1.2;
    font-weight: 600;
}

h4 {
    font-size: 26px;
    line-height: 1.4;
    text-transform: uppercase;
    margin-bottom: 12px;
}

h5 {
    font-size: 22px;
    line-height: 1.2;
    font-weight: bold;
}

h6 {
    font-size: 18px;
    line-height: 1.2;
    text-transform: uppercase;
    font-weight: bold;
    margin-bottom: 20px;
}

.semi-bold {
    font-weight: 600;
}

.bold {
    font-weight: 700;
}

.text-red {
    color: #d04144;
}

/************
TYPO MEDIAQUERIES
*************/
@media (max-width: 991px) {
    h1, .h1 {
        font-size: 54px;
    }

    h2 {
        font-size: 32px;
    }

    h3 {
        font-size: 26px;
    }
}

@media (max-width: 767px) {
    h1, .h1 {
        font-size: 40px;
    }

    h4 {
        font-size: 18px;
    }

    h6 {
        font-size: 16px;
    }
}

@media (max-width: 550px) {
    h1, .h1 {
        font-size: 36px;
    }

    h2 {
        font-size: 26px;
    }

    h3 {
        font-size: 22px;
    }
}

@media (max-width: 380px) {
    h1, .h1 {
        font-size: 32px;
    }
}
/************
NAV
*************/

nav {
    width: 100%;
    height: 40px;
    background-color: #3a5897;
    border-bottom: 0.5px solid white;
    position: fixed;
    z-index: 1000;
    opacity: 0.9;
    box-shadow: 0 2px 4px 0 rgba(0,0,0,.2);
    transition: opacity 0.3s ease-in;
}

nav:hover {
    opacity: 1;
}

nav a {
    display: block;
    color: white;
}

.liste-items {
    display: flex;
    justify-content: center;
    color: #f1f1f1;
    height: 100%;
    line-height: 40px;
    font-family: "Poppins";
    font-size: 12px;
    text-transform: uppercase;
} 

.items {
    cursor: pointer;
    flex-shrink: 0;
    text-align: center;
    width: 16.6%;
}

.items:hover {
    background-color: #4767b8;
}

.items span {
    font-size: 10px;
}

nav #logo_nav a {
    background: transparent url('../img/logo_fdr_nav.png') no-repeat center center;
    background-size: 65%;
    text-indent: -9999px;
}


/* sous-liste */

.sous-liste {
    position: relative;
    top: -2px;
    display: none; 
}

.items-sous-liste {
    text-align: center;
    background: #3a5897;
    border-bottom: 0.5px solid #273583;
}

.items-sous-liste:hover {
    background-color: #4767b8;
}

.items-sous-liste {
    height: 40px;

}

.items:hover > ul.sous-liste,
.items:focus > ul.sous-liste,
.items:active > ul.sous-liste {
    display: block;
}

/* sous liste 2 */

.sous-liste2 {
    position: relative;
    left: 100%;
    top: -40px;
    background-color: #3a5897;
    font-family: "Poppins";
    font-size: 12px;
    text-transform: initial;
    display: none;
}

.items-sous-liste2 {
    border-bottom: 0.5px solid #273583;
}

.items-sous-liste2:hover {
    background-color: #4767b8;
}

.items > ul > .items-sous-liste:hover > ul.sous-liste2,
.items > ul > .items-sous-liste:focus > ul.sous-liste2,
.items > ul > .items-sous-liste:active > ul.sous-liste2 {
    display: block;
}


.hamburger {
    display: none;
    position: relative;
    top: 5px;
}

.bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    -webkit-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
    background-color: #f2f2f0;
}


/************
HEADER
*************/
.header {
    width: 100%;
    -webkit-background-size: cover;
    background-attachment: fixed;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    text-align: center;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    color: #fff;
    position: relative;
    z-index: 0;
}

.header h1 {
    background: transparent url("../img/logo_fdr.png") no-repeat center center;
    width: 300px;
    height: 300px;
    text-indent: -9999px;
    background-size: 80%;
}

.about-banner h2,
.description-banner h2,
#inscription h2 {
    font-size: 50px;
    font-weight: 300;
    color: #fff;
    text-align: right;
    text-transform: uppercase;
    position: relative;
    top: 30px;
}

#inscription h2 {
    text-align: center;
    line-height: 38px;
    margin-bottom: 100px;
}

.minititle {
    font-size: 32px;
}

.slash_red, .slash_white {
    font-weight: 900;
}

.slash_red {color: #fd6e72;}
.slash_white {color: #f2f2f0;}

/************
ARROW
*************/
.arrow-wrap {
    position: absolute;
    bottom: -100px;
    background-color: #f2f2f0;
    width: 10rem;
    height: 10rem;
    border-radius: 100%;
}

.arrow,
.arrow:visited {
    color: #3a5897;
    font-size: 40px;
    line-height: 70px;
    display: block;
    text-align: center;
    text-decoration: none;
}

.arrow:hover,
.arrow:focus {
    text-decoration: none;
    color: #d04144;
}

.arrow:active{
    font-size: 30px;
    color: #b7393c;
}

@-webkit-keyframes down-bounce {
    0%, 20%, 40%, 60%, 80%, 100% {
        -webkit-transform: translateY(0);
        transform: translateY(0);
    }
    30% {
        -webkit-transform: translateY(-4px);
        transform: translateY(-4px);
    }
    50% {
        -webkit-transform: translateY(-7px);
        transform: translateY(-7px);
    }
    70% {
        -webkit-transform: translateY(-4px);
        transform: translateY(-4px);
    }
}

@keyframes down-bounce {
    0%, 20%, 40%, 60%, 80%, 100% {
        -webkit-transform: translateY(0);
        transform: translateY(0);
    }
    30% {
        -webkit-transform: translateY(-4px);
        transform: translateY(-4px);
    }
    50% {
        -webkit-transform: translateY(-7px);
        transform: translateY(-7px);
    }
    70% {
        -webkit-transform: translateY(-4px);
        transform: translateY(-4px);
    }
}

.down-bounce {
    -webkit-animation: down-bounce 4s infinite;
    animation: down-bounce 4s infinite;
}

/************
VOTE
*************/

section#vote {
    padding-bottom: 0;
}

#vote .titre {
    text-align: center;
}

#vote, #about {
    color: #3a5897;
}

#vote .week-projet {
    margin-top: 60px;
}

.week-projet h2 {
    font-size: 16px;
    color: #e74a4e;
    height: 60px;
}

.week-projet p {
    margin-top: 20px;
    font-size: 12px;
}

#vote .week-projet a,
#vote .week-projet a:visited,
#vote .btn-projet a,
#vote .btn-projet a:visited {
    display: block;
    width: 200px;
    background-color: #d04144;
    font-family: "Poppins", sans-serif;
    font-size: 14px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-align: center;
    color: #f2f2f0;
    margin: 15px auto 60px;
    padding: 10px;
    text-decoration: none;
    border: 1px solid #b7393c;
}

#vote .week-projet a:hover,
#vote .week-projet a:focus,
#vote .btn-projet a:hover,
#vote .btn-projet a:focus {
    background-color: #fd6e72;
}

#vote .week-projet a:active,
#vote .btn-projet a:active {
    background-color: #b7393c;
    -moz-box-shadow:    inset 0 0 9px rgba(0,0,0, 0.3);
    -webkit-box-shadow: inset 0 0 9px rgba(0,0,0, 0.3);
    box-shadow:         inset 0 0 9px rgba(0,0,0, 0.3);
}

#vote .btn-projet a {
    width: 100%;
}
#vote .container {
    padding: 0 20px;
}
#vote h3 {
    margin-bottom: 20px;
    text-align: center;
}

#vote h4 {
    font-size: 18px;
    text-decoration: underline;
    clear: both;
    margin-top: 30px;
}

#vote img {
    display: block;
    margin: 25px auto;
    width: 70%;
    height: auto;
}

#vote img.img-project {
    float: left;
    margin: -25px 10px 0 0;
    width: 150px;
    height: 100%;
}

#vote img.img-right {
    float: right;
    margin: -25px 0 0 10px;
}

#vote p {
    text-align: justify;
    clear: both;
    margin-bottom: 30px;
}

/************
PROJECT
*************/
#project,
#metier {
    background-color: #e74a4e;
}

#project h2,
#metier h2 {
    font-size: 30px;
    font-weight: 300;
    color: #fff;
    text-align: center;
    text-transform: uppercase;
}

#proj_desc .img-block,
#metier_desc .img-block {
    text-align: center;
}

#proj_desc a,
#proj_desc a:visited {
    display: block;
    width: 100%;
    background-color: #d04144;
    font-family: "Poppins", sans-serif;
    font-size: 14px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-align: center;
    color: #f2f2f0;
    margin: 20px auto;
    padding: 10px;
    text-decoration: none;
    border: 1px solid #b7393c;
}

#proj_desc a:hover,
#proj_desc a:focus {
    background-color: #fd6e72;
}

#proj_desc a:active {
    background-color: #b7393c;
    -moz-box-shadow:    inset 0 0 9px rgba(0,0,0, 0.3);
    -webkit-box-shadow: inset 0 0 9px rgba(0,0,0, 0.3);
    box-shadow:         inset 0 0 9px rgba(0,0,0, 0.3);
}

/************
METIERS
*************/
#metier_desc h3 {
    font-size: 24px;
    margin-bottom: 10px;
}

#metier_desc .img-block h3 {
    font-size: 18px;
    margin: 0;
    color: #d04144;
}

#metier_desc .img-block p {
    font-size: 10px;
    font-style: italic;
}

/************
ABOUT
*************/
#about {
    background: transparent url(../img/footer_shapes.jpg) no-repeat center bottom;
    background-size: 30%;
    bottom: 0;
    padding-bottom: 300px;
}

#about .about-banner {
    background: #000 url(../img/banner_quisontils.jpg) no-repeat center center;
    height: 397px;
}

#about .about-descrip {
    padding: 100px 0 0 0;
}

/************
DESCRIPTION
*************/

#description {
    color: #3a5897;
    position: relative;
    top: -47px;
    padding: 0;
    background: transparent url(../img/footer_shapes.jpg) no-repeat center bottom;
    background-size: 30%;
    bottom: 0;
    padding-bottom: 300px;
}

#description .description-banner {
    background: #000 url(../img/banner_description.jpg) no-repeat center center;
    height: 397px;
    margin-bottom: 100px;
}

#description .align-top {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: start;
    -ms-flex-align: start;
    align-items: start;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
}

#description a,
#description a:visited {
    color: #d04144;
    text-decoration: underline;
}

#description a:hover,
#description a:focus {
    color:#fd6e72;
}

#description a:active {
    color:#b7393c;
}

#description .inondations {
    font-style: italic;
    margin-bottom: 30px;
}

#description .mot-orga {
    margin-top: 60px;
    margin-bottom: 60px;
}

.mot-orga .quotation{
    background: #dededd;
    padding: 0 50px;
    margin-right: 20px;
    text-align: center;
}

.mot-orga .quotation::before {
    content: '';
    background: transparent url(../img/quote.png) no-repeat center top;
    height: 39px;
    width: 100%;
    display: block;
    position: relative;
    top: -25px;
}

.mot-orga h3 {
    color: #d04144;
    font-size: 14px;
    text-transform: uppercase;
    text-align: left;
    margin: -10px 0 20px 0;
}

.mot-orga .citation {
    font-size: 24px;
    line-height: 1.2;
    font-weight: 700;
    font-style: italic;
}

.mot-orga i {
    font-style: italic;
}

#description .mot-orga a,
#description .mot-orga a:visited {
    display: block;
    width: 200px;
    background-color: #d04144;
    font-family: "Poppins", sans-serif;
    font-size: 14px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-align: center;
    color: #f2f2f0;
    margin: 0 auto;
    padding: 10px;
    text-decoration: none;
    position: relative;
    bottom: -15px;
    border: 1px solid #b7393c;
}

#description .mot-orga a:hover,
#description .mot-orga a:focus {
    background-color: #fd6e72;
}

#description .mot-orga a:active {
    background-color: #b7393c;
    -moz-box-shadow:    inset 0 0 9px rgba(0,0,0, 0.3);
    -webkit-box-shadow: inset 0 0 9px rgba(0,0,0, 0.3);
    box-shadow:         inset 0 0 9px rgba(0,0,0, 0.3);
}

span.suspension {
    display: block;
    font-family: Arial, Helvetica, sans-serif;
    font-weight: bolder;
    font-size: 150px;
    line-height: 0;
}

#description .arrow-wrap {
    background-color: #d04144;
    left: 46vw;
}

#description .arrow,
#description .arrow:visited {
    color: #f2f2f0;
    text-decoration: none;
}

#description .arrow:hover,
#description .arrow:focus {
    color: #fd6e72;
}

#description .arrow:active{
    color: #b7393c;
}

/************
INSCRIPTION
*************/
#inscription {
    background: #d04144 url("../img/footer_shapes.jpg") no-repeat center bottom;
    padding-bottom: 280px;
    position: relative;
}

#inscription .sub {
    padding: 50px;
    -moz-box-shadow:    inset 0 0 9px rgba(0,0,0, 0.3);
    -webkit-box-shadow: inset 0 0 9px rgba(0,0,0, 0.3);
    box-shadow:         inset 0 0 9px rgba(0,0,0, 0.3);
}

#inscription .picto {
    margin-right: 30px;
    position: relative;
    top: 6px;
}
#inscription .sub a,
#inscription .sub a:visited {
    display: block;
    width: 80%;
    margin: 0 auto;
    background-color: #e74a4e;
    border: 1px solid #b7393c;
    font-family: "Poppins", sans-serif;
    font-weight: 700;
    font-size: 18px;
    line-height: 36px;
    text-transform: uppercase;
    color: #fff;
    text-align: center;
    text-decoration: none;
    padding: 10px 5px;
}

#inscription .sub a:hover,
#inscription .sub a:focus {
    background-color: #fd6e72;
}

#inscription .sub a:active{
    background-color: #b7393c;
    -moz-box-shadow:    inset 0 0 9px rgba(0,0,0, 0.3);
    -webkit-box-shadow: inset 0 0 9px rgba(0,0,0, 0.3);
    box-shadow:         inset 0 0 9px rgba(0,0,0, 0.3);
}

/************
FOOTER
*************/
.footer {
    background-color: #131313;
    text-align: center;
}

.footer h2,
.footer .footer-orga {
    background: transparent url("../img/footer_logo_fdr.png") no-repeat center center;
    width: 100%;
    height: 100%;
    font-size: 150px;
    text-indent: -9999px;
}

.footer .footer-orga {
    background: transparent url("../img/logo_orga_footer.png") no-repeat center center;
    font-size: 80px;
}

.footer .copyright {
    font-size: 12px;
    color: #f2f2f0;
    border-top: 1px dashed #f2f2f0;
    padding: 20px;
}

/************
MOT BOURG
*************/

.bourgmestre-mot {
    margin-top: 50px;
    background: #273583 url('../img/mot-bourg-logo-axa.png') no-repeat right 5px bottom 5px;
    color: #fff;
    padding: 20px;
    -moz-box-shadow:    2px 2px 0 #e74a4e;
    -webkit-box-shadow: 2px 2px 0 #e74a4e;
    box-shadow:         2px 2px 0 #e74a4e;
    position: relative;
}

.bourgmestre-mot img {
    position: absolute;
    top: -60px;
    left: 0;
    width: 100px;
    height: 105px;
}

.bourgmestre-mot h3 {
    text-transform: uppercase;
    font-size: 14px;
}

.bourgmestre-mot h4 {
    text-transform: none;
}

.bourgmestre-mot p {
    font-style: italic;
    font-size: 12px;
}


/************
MEDIA QUERIES
*************/
@media (max-width: 1200px)
{
    .week-projet h2 {
        font-size: 14px;
        height: inherit;
    }
    #vote .week-projet a,
    #vote .week-projet a:visited,
    #vote .btn-projet a,
    #vote .btn-projet a:visited {
        font-size: 10px;
        width: 100%;
    }
    #about {
        background-size: 40%;
        padding-bottom: 200px;
    }

    section#project {
        padding: 50px 0;
    }

    #project h2 {
        font-size: 18px;
    }

    #proj_desc p {
        font-size: 12px;
    }
}


@media (max-width: 991px) 
{
    .liste-items {
        position: fixed;
        left: -100%;
        top: 2rem;
        flex-direction: column;
        background-color: #3a5897;
        width: 100%;
        border-radius: 10px;
        text-align: center;
        transition: 0.3s;
        box-shadow:
            0 10px 27px rgba(0, 0, 0, 0.05);
    }

    .liste-items.active {
        left: 0;
    }

    nav #logo_nav a {
        background-size: 30%;
    }

    .items {
        width: 100%;
    }

    .items-sous-liste {
        height: 100%;
    }

    .sous-liste2 {
        left: 0;
        top: 2px;
        background-color: #4767b8;
    }

    .items-sous-liste2:hover {
        background-color: #273583;
    }

    .hamburger {
        display: block;
        cursor: pointer;
    }

    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    #about .img-block img {
        display: block;
        margin: 0 auto;
    }
    #about-projet p {
        font-size: 20px;
        line-height: 1.4;
    }
    #about-projet .arrow-wrap,
    #description .arrow-wrap {
        left: 40vw;
    }
    #vote {
        text-align: center;
    }

    #vote h2 {
        height: inherit;
        margin-bottom: 20px;
    }

    .quotation2{
        margin-top: 60px;
    }

    .img-responsive{
        max-width: 50%;
    }
    #vote .week-projet a,
    #vote .week-projet a:visited,
    #vote .btn-projet a,
    #vote .btn-projet a:visited {
        width: 200px;
    }

    #about {
        background-size: 50%;
        padding-bottom: 100px;
    }

    #proj_desc a,
    #proj_desc a:visited {
        width: 200px;
    }
}

@media (max-width: 767px) 
{
    .header {
        background-attachment: scroll;
    }

    .header h1 {
        background-size: 80%;
    }

    #about-projet .arrow-wrap,
    #description .arrow-wrap {
        left: 30vw;
    }
    .img-responsive{
        max-width: 100%;
    }

    #about .about-projet p {
        font-size: 28px;
        line-height: 34px;
    }


    #about .text-block {
        padding: 5px;
        margin-top: 35px;
    }

    #about .img-block img {
        margin-top: 60px;
    }

    .about-banner h2,
    .description-banner h2 {
        font-size: 34px;
    }
    .minititle {
        font-size: 24px;
    }

    #inscription .sub a {
        font-size: 12px;
    }

    #project h2 {
        font-size: 16px;
    }

    #proj_desc p {
        font-size: 10px;
    }

    .bourgmestre-mot h3 {
        font-size: 12px;
    }
    
    #vote h4 {
        margin-bottom: 30px;
    }
    
    #vote img {
        margin: 15px auto;
        width: 90%;
        height: auto;
    }
    
    #vote img.img-project {
        float: initial;
        width: 80%;
        margin: 0 auto 30px;
        height: 100%;
    }
    
    #vote img.img-right {
        float: initial;
        margin: 0 auto 30px;
    }
}

@media (max-width: 480px) 
{
    nav #logo_nav a {
        background-size: 40%;
    }

    #contact .container {
        padding-left: 0;
        padding-right: 0;
    }
    #proj_desc a,
    #proj_desc a:visited {

        width: 100%;
    }
}