* {
    font-family: 'Montserrat', sans-serif;
}

#sectionAccueil {
    background-color: #ffffff;
    background-image: url('../IMG/bg-2.png');
    background-repeat: no-repeat;
    background-size: 800px;
    background-position: calc(50% - 350px) center;
}

#sectionPresentation {
    background-color: #ffffff;
    background-image: url('../IMG/bg.png');
    background-repeat: no-repeat;
    background-size: 800px;
    background-position: calc(50% + 350px) center;
}

.fp-tooltip {
    display: none !important;
}

#fp-nav ul li a span {
    /*background: red !important*/
}

/* TITLE */

nav {
    position: absolute;
    text-align: center;
    top: 0px;
    width: 100%;
    z-index: 2;
    /*background-color: white;*/
    /*display: flex;
    justify-content: space-between;*/
    text-align: right;
    padding-right: 10%;
}

#logoCA35 img {
    max-width: 80%;
}

#title,
#titleButton {
    text-align: center;
}

.titleMentions {
    margin-top: 5em;
    color: #ffffff;
    text-align: center;
    font-size: 0.8em;
}

.titleMentions a:link,
.titleMentions a:visited,
.titleMentions a:hover,
.titleMentions a:active {
    color: #ffffff;
}

.bgWhite {
    background-color: white;
}


/* PRESENTATION */


/* FORMULAIRE */

#FormTitle {
    text-align: center;
    color: #000 !important;
    margin-top: 5em;
    margin-bottom: 5em;
}

.EmailFilleul {
    margin-right: 20px;
}

.spinner-border {
    width: 7em;
    height: 7em;
    color: #339081;
}

/* MENTIONS */

.mentions {
    font-size: 0.9rem;
    text-align: justify;
}

/* TEXT */

h1 {
    color: #158b92;
    font-size: 3rem;
    letter-spacing: 1px;
    text-align: center;
    font-family: 'Montserrat', sans-serif;
    font-weight: 900;
}

h2 {
    color: #158b92;
    font-size: 2.5rem;
    letter-spacing: 1px;
    text-align: center;
    font-family: 'Montserrat', sans-serif;
    font-weight: 900;
}

h3 {
    font-size: 1.3rem;
    letter-spacing: 1px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 400;
}

h4 {
    font-size: 1.3rem;
    letter-spacing: 1px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 400;
}

h5 {
    color: #000000;
    font-weight: 100;
    font-size: 2.5rem;
    letter-spacing: 1px;
    text-align: center;
    font-family: 'Montserrat', sans-serif;
    font-weight: 300;
}

.secondColor {
    color: #797676;
}

.px-4 {
    font-size: 2em;
}

p {
    font-size: 1.3rem;
    letter-spacing: 1px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 400;
}

.textGreen {
    color: #007461;
    font-weight: bold;
}

.intervenenantText {
    font-family: 'Montserrat';
    font-size: 0.95rem;
    font-weight: 300;
}

.listElement img {
    width: 48px;
    height: auto;
}

/* BUTTON */

.buttonWhite,
.buttonbleu {
    font-family: 'Montserrat', sans-serif;
    font-weight: 900;
    text-transform: uppercase;
    border-radius: 2em;
    padding: 0.7em 1.5em;
    transition-duration: 0.5s;
}

.buttonbleu {
    color: white;
    background-color: #158b92;
    border: solid 1px #158b92;
}

.buttonbleu:hover {
    cursor: pointer;
    background-color: #158b92
}

.buttonWhite {
    color: #158b92;
    background-color: #ffffff;
    border: solid 1px #158b92;
}

.buttonWhite:hover {
    background-color: #ffffff30
}

.buttonText {
    font-size: 16px;
    padding-left: 4px;
}

/* ICONS */
.material-icons {
    font-family: 'Material Icons';
    font-weight: normal;
    font-style: normal;
    font-size: 24px;
    /* Preferred icon size */
    display: inline-block;
    line-height: 1;
    text-transform: none;
    letter-spacing: normal;
    word-wrap: normal;
    white-space: nowrap;
    direction: ltr;

    /* Support for all WebKit browsers. */
    -webkit-font-smoothing: antialiased;
    /* Support for Safari and Chrome. */
    text-rendering: optimizeLegibility;

    /* Support for Firefox. */
    -moz-osx-font-smoothing: grayscale;

    /* Support for IE. */
    font-feature-settings: 'liga';
}

#accompagnant_div {
    display: none;
}

@media screen and (max-width: 2000px) {
    #sectionAccueil {
        background-size: 50%;
        background-position: left center;
    }

    #sectionPresentation {
        background-size: 40%;
        background-position: right center;
    }
}

@media screen and (max-width: 1199px) {
    #sectionAccueil {
        background-image: linear-gradient(rgba(255, 255, 255, 0.8),
        rgba(255, 255, 255, 0.8)),
        url('../IMG/bg-2.png');
        padding-top: 10em;
        background-size: 40%;
        background-position: center bottom 100px;
    }

    #sectionPresentation {
        background-image: linear-gradient(rgba(247, 248, 250, 0.8),
        rgba(247, 248, 250, 0.8)),
        url('../IMG/bg.png');
    }
}


@media screen and (max-width: 991px) {
    #sectionAccueil {
        padding-top: 0em;
        background-size: 70%;
    }

    #sectionPresentation {
        padding-top: 0em;
        background-size: 100%;
    }

    #logoCA35 img {
        width: 80%;
        max-width: 320px;
        position: initial;
    }

    h1 {
        font-size: 2rem;
    }

    h1 span {
        font-size: 3rem;
    }

    h2 {
        font-size: 1.7em;
    }

    h3 {
        font-size: 1.5rem;
    }

    p {
        font-size: 0.9rem;
    }
}

@media screen and (max-height: 800px) {
    #logoCA35 img {
        width: 80%;
        max-width: 180px;
        position: initial;
    }
    

}

@media screen and (max-width: 400px) {
    #logoCA35 img {
        width: 80%;
        max-width: 180px;
    }

    #sectionAccueil, #sectionPresentation {
        background-size: 100%;
    }
    
    #sectionAccueil {

        background-position: center top 300px;
    }
}