@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@100;300;400;600;700;800;900&display=swap');


/*-------------------Barre verte de defilement au scroll-------------------------
body {
    font-family: 'Poppins', 'tahoma', 'verdana';
    margin: 0px;
    padding: 0px;
    background: linear-gradient(to right top, green 50%, white 50%);
    background-size: 100% calc(100% - 100vh + 10px);
    background-repeat: no-repeat;
}


body:before {
    content: '';
    position: fixed;
    top: 10px;
    bottom: 0;
    width: 100%;
    background-color: white;
    z-index: -1;
}*/
#myBtn {
    display: none; /* Hidden by default */
    position: fixed; /* Fixed/sticky position */
    bottom: 20px; /* Place the button at the bottom of the page */
    right: 30px; /* Place the button 30px from the right */
    z-index: 99; /* Make sure it does not overlap */
    border: none; /* Remove borders */
    outline: none; /* Remove outline */
    background-color: #002768; /* Set a background color */
    color: white; /* Text color */
    cursor: pointer; /* Add a mouse pointer on hover */
    padding: 15px; /* Some padding */
    border-radius: 10px; /* Rounded corners */
    font-size: 18px; /* Increase font size */
}
#myBtn:hover {
    background-color: #eb1717;
}
.icon-chevron-up:before {
    content: "\41";
}
section,
footer {
    clear: both;
}
body {
    background-color: #fffbf6;
}
main {
    max-width: 1000px;
    width: 100%;
    height: auto;
    padding: 0;
    margin: 0 auto;

}
.container{
    display: flex;
    flex-direction: row;
    justify-content: center;
}
.navbar{
    padding: 0;
}
header {
    background-color: #e3f2fd;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    width: 100%;
}
header nav a {
    font-family: 'poppins';
    display: flex;
    justify-content: flex-end;
    color: #002768;
    font-weight: 400;
    padding: 0 20px;
    text-decoration-style: none;
}
nav a:hover {
    color: #eb1717;
    transition: 0.5s;
    text-decoration: none;
    font-weight: 500;
}
#menuhaut {
    padding-right: 80px;
}
#logo {
    padding: 20px;
    width: 130px;
    height: auto;
}
#menuhaut a {
    display: inline-block;
    text-align: right;
    color: #70beeb;
    text-decoration: none;
    padding: 30px;
    font-size: 1.2em;
}
#menuhaut a:hover {
    background-color: #ff5454;
    transition: all 1s;
    text-decoration: none;
}
img {
    max-width: 100%;
}
h1 {
    margin: 40px 0;
    text-align: center;
    font-family: 'bely-display', sans-serif;
    font-weight: 400;
    font-style: normal;
    font-size: 60px;
}
h2 {
    font-family: 'bely-display', sans-serif;
    font-weight: 700;
    font-style: normal;
    font-size: 40px;
    text-align: center;
    color: #1d71b8;
    margin: 45px auto 38px;
}
.ml{
    font-size: 2em;
    font-weight: 400;
    text-align: left;
    margin-left: 30px;
}
h3 {
    font-family: 'bely-display', sans-serif;
    font-style: normal;
    margin-left: 30px;
    padding-top: 30px;
    font-weight: 600;
}
p {
    text-align: left;
    font-family: 'poppins';
    margin: 0 auto;
    padding-left: 10px;
    font-weight: 300;
}
strong{
    font-weight: 700;
    color: sandybrown;
}
ul{
    list-style: none;
    margin-top: 20px;
}
li {
    margin: 20px;
    font-family: 'poppins';
    font-weight: 300;
}
section {
    display: inline;
}
.carousel-caption{
    color: #f2f2f2;
    background: rgba(0, 0, 0, 0.4);
    margin: auto;
    width: 1000px;
}
.carousel-caption h5{
    font-family: 'Bely-display';
    font-weight: 700;
    font-size: 40px;
}
.carousel-caption p{
    font-weight: 400;
}
.carousel-item p{
    text-align: left;
    margin: auto 20px;
    padding: 0;
}
#carouselExampleCaptions{
    width: 100%;
    box-shadow: 0 0 17px #ccc;
    margin: 80px 0;
}
.moi {
    border-radius: 15px;
    background-color: #fafafa;
    box-shadow: 5px 5px 30px rgba(0, 0, 0, 0.1);
    height: auto;
    max-width: 1000px;
    margin: 15px auto;
    padding: 20px 0;
}
.moi p {
    margin: 20px;
    text-align: left;
}
article {
    border-radius: 15px;
    background-color: #fff;
    margin: 20px 30px;
    box-shadow: 5px 5px 30px rgba(0, 0, 0, 0.1);
    max-height: 650px;
    overflow: scroll;
}
.cv {
    height: auto;
}
.parcours {
    border-radius: 15px;
    background-color: #f2f2f2;
    margin: 20px 30px;
    box-shadow: 5px 5px 30px rgba(0, 0, 0, 0.1);
    max-width: 1100px;
    margin: 0 auto;
}
article h3 {
    text-align: center;
    font-weight: 700;
    font-size: 18px;
    margin: 0 auto;
    padding: 35px 0 10px 0;
}
article figcaption {
    max-height: 700px;
}
article strong{
    margin: 5px 0;
    padding: 10px 0;
    text-align: center;
}
article p {
    padding: 10px 0;
    text-align: left;
}
.presentation p {
    text-align: right;
    font-size: 1.3em;
}
.presentation li {
    margin-left: 34px;
    padding-top: 20px;
    list-style-type: none;
    font-size: 1.1em;
    color: #4aabe3;
}
.flex {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
}
.flex article figure img {
    /*padding: 5px;*/
    border-radius: 15px;
    background-color: #e9e9e9;
}
.flex article figure img:hover {
    box-shadow: 2px 2px 20px rgba(0, 0, 0, 0.4);
    transition: ease-in-out 0.5s;
}
.news {
    display: flex;
}
.news article img {
    width: 300px;
    height: auto;
    padding: 20px;
}
.animations {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}
.animation article video {
    width: 350px;
    height: auto;
}
section figure {
    display: inline-block;
    width: 300px;
    height: 200px;
    margin: 10px 50px;
}
.news {
    width: 700px;
    height: auto;
    margin-left: 40px;
    padding: 20px;
}
.dessin {
    position: absolute;
    top: 130px;
    margin-left: 30px;
}
.imgd {
    float: right;
    display: block;
    margin: 10px 0 20px 20px;
}
.imgg {
    float: left;
    display: block;
    margin: 10px 20px 20px 0px;
    width: 200px;
}
.clear {
    clear: both;
}
.image-d {
    float: right;
    display: block;
    margin-top: -400px;
    padding-bottom: 40px;
    padding-right: 55px;
}
video {
    display: flex;
    flex-direction: row;
    width: 800px;
    height: 600px;
    padding-bottom: 35px;
}
footer {
    background-color: #e3f2fd;
    width: 100%;
}
#menubas {
    text-align: left;
    list-style: none;
    font-weight: 700;
    margin-top: 60px;
    padding: 20px auto;
}
#menubas h3 {
    padding-top: 20px;
}
#menubas ul {
    display: flex;
    list-style-type: none;
    justify-content: space-around;
    padding: 20px;
}
img.category_image {
    border: 0;
    width: 20px;
    height: 20px;
    margin: 0;
    padding: 0;
}
footer nav .reseau {
    list-style-type: none;
}
.reseau li a{
    color: #002768;
}
.reseau li a:hover{
    color: #ff5454;
}
footer nav .reseau li {
    display: inline-block;
    margin: 0 10px;
    padding: 10px;
}
footer nav .container ul {
    display: inline-flex;
    list-style-type: none;
    width: 30%;
    justify-content: space-between;
    margin-left: 820px;
}
footer .reseau a:hover {
    transition: all 1s;
    text-decoration-line: none;
}
#footer-nav{
    display: flex;
    flex-direction: column;
}
#contact {
    background-color: #dacccc;
}
legend {
    border-left: 4px solid #a2cffa;
    padding-left: 15px;
}
form {
    padding-left: 15px;
    margin-bottom: 10px;
}
input {
    width: 200px;
    height: auto;
    margin-bottom: 10px;
}
textarea {
    width: 600px;
    height: 200px;
}
.envoyer {
    margin-left: 1000px;
    background-color: #e3f2fd;
}
@media screen and (max-width:991px) {
    #button {
        width: 30px;
        height: 30px;
        margin: 30px 0 30px 30px;
        bottom: 30px;
        right: 10px;
    }
    #button::after {
        font-size: 1.2em;
        line-height: 30px;
        color: #fff;
    }
}
@media screen and (max-width: 480px) {
    label {
        width: 100%;
    }

    textarea {
        width: 100%;
    }

    video {
        display: block;
        max-width: 100%;
        margin: 0 auto;
    }
    section .video article .animations{
        max-width: 400px;
        max-height: auto;
        margin: 0;
    }

    nav.navbar.navbar-light{
        display: flex;
        flex-wrap: nowrap;
        padding: 1px;
    }

    header nav a {
        padding: 5px 5px;
        background-color: #e3f2fd;
    }
}
@media screen and (max-width: 768px) {
    .clear {
        width: 100%;
    }

    .image-d {
        width: 100%;
    }
}