html {
    scroll-behavior: smooth;
}

body {

    margin: 0;
    padding: 0;
    -webkit-animation: fadein 1s;
    /* Safari, Chrome and Opera > 12.1 */
    -moz-animation: fadein 1s;
    /* Firefox < 16 */
    -ms-animation: fadein 1s;
    /* Internet Explorer */
    -o-animation: fadein 1s;
    /* Opera < 12.1 */
    animation: fadein 1s;
}

@keyframes fadein {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/* Firefox < 16 */
@-moz-keyframes fadein {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/* Safari, Chrome and Opera > 12.1 */
@-webkit-keyframes fadein {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/* Internet Explorer */
@-ms-keyframes fadein {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/* Opera < 12.1 */
@-o-keyframes fadein {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}


#hr-header {
    width: auto;
    border: none;
    background-color: #00a66e;
    height: 10px;
    margin: 0;
    padding: 0;
}

#hr-footer {
    width: 75%;
    height: 2px;
    border: none;
    background-color: #00a66e;
    margin-top: 50px;
    margin-bottom: 50px;
}

body hr {
    width: 75%;
    height: 2px;
    border: none;
    background-color: #00a66e;
    margin-top: 50px;
    margin-bottom: 50px;
}

header ul {
    margin: 0;
    padding: 0;
    list-style-type: none;
    position: absolute;
    right: 0px;
}

header .menu {
    display: inline-block;
    margin: 0;
    text-align: center;
}

header .menu a {
    /* text-shadow: 1px 0 0 #00a66e, -1px 0 0 #00a66e, 0 1px 0 #00a66e, 0 -1px 0 #00a66e, 1px 1px #00a66e, -1px -1px 0 #00a66e, 1px -1px 0 #00a66e, -1px 1px 0 #00a66e; */
    text-decoration: none;
    text-transform: uppercase;
    font-weight: bold;
    font-size: 20px;
    /* color: #00a66e; */
    color: black;
    display: block;
    padding: 30px 10px;
}

header .menu a:hover {
    color: #00a66e;
    animation: border-bottom-transition 0.5s;
    border-bottom: 5px solid #00a66e;
}

@keyframes border-bottom-transition {
    from {
        border-bottom: 0px solid #00a66e;
    }

    to {
        border-bottom: 5px solid #00a66e;
    }
}


header .logo {
    position: absolute;
    left: 50px;
    height: 80px;
    padding: 10px 0;
}


header .logo img {
    width: 100%;
    height: 100%;
    transition: all .3s ease-in-out;
}

header .logo img:hover {
    transform: scale(1.1);
}

header .header_background {
    width: max-content;
}

header {
    /* margin-bottom: 100px; */
    height: 200px;
}



/* FOOTER */
footer {
    text-align: center;
    margin: auto;
    margin-bottom: 50px;
}

footer a {
    font-size: 20px;
    color: #00a66e;
    font-weight: bold;
    text-decoration: none;
}

footer .logos {
    margin: auto;
    padding-top: 20px;
    width: 300px;
    height: 50px;

    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

footer .logos a {
    width: 75px;
    height: 50px;
}

footer .iconGit {
    background: url("../images/icon_github_green.png") no-repeat center;
}

footer .iconGit:hover {
    background: url("../images/icon_github_filled.png") no-repeat center;
}

footer .iconLinkedin {
    background: url("../images/iconlinkedin.png") no-repeat center;
}

footer .iconLinkedin:hover {
    background: url("../images/iconlinkedin_filled.png") no-repeat center;
}

.retourHaut {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 40px;
    height: 40px;
    vertical-align: middle;
    background: black;
    border: #008b5d 3px solid;
    box-shadow: 0 2px 4px 0 black, 0 3px 10px 0 black;
    transition: all .2s ease-in-out;
}

.retourHaut:hover {
    /* background: black;
    border: #00865a 3px solid; */
    transform: scale(1.1);
    box-shadow: none;
    cursor: pointer;
}

.retourHaut img {
    width: 20px;
    height: 20px;
}

section {
    margin: 50px;
}