/* general css  for the application*/
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 62.5%;
}

body {
    font-family: -apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Open Sans,Helvetica Neue,sans-serif;
    font-size:1.5rem;
    overflow: hidden;
}

section {
    height: 89vh;

}

#background_video {
    resize: both;
    position: absolute;
    z-index: -1;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);

    object-fit: cover;
    height: 100vh;
    width: 100vw;
}
#video_cover {
    position: absolute;
    z-index: -1;
    width: 100%; height: 100%;

    background: url('../images/sunDown_cover.png') no-repeat;
    background-size: cover;
    background-position: center;
}
h1, h2, h3, h4, h5, h6 {
    font-family: -apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Open Sans,Helvetica Neue,sans-serif;
}

/* css for in devlopment banner*/
#banner {
    background: red;
    font-weight: bold;
    font-size: 22px;
    font-style: italic;
    text-align: center;
}

.StyleHeaders {
    font-weight: bolder;
    border-top: black double 1rem;
    border-bottom: black double 1rem;
    text-align: center;
    text-decoration-style: solid;
    background: rgb(255, 255, 255);
    margin: 0;
    padding-top: 2px;
}

.Unselectable_text {
    -webkit-user-select: none; /* Safari */
    -moz-user-select: none; /* Firefox */
    -ms-user-select: none; /* IE10+/Edge */
    user-select: none; /* Standard */
}

.white_background_round_border {
    background: rgba(255, 255, 255, 0.34);
    padding: 1%;
    margin: 1%;
    box-shadow: 0 0 10px 4px rgba(0, 0, 0, 0.2);
    transition: all 0.5s ease-in-out;
    max-width: 1100px;
}

/*
.white_background_round_border:hover {
    border-radius: 5px;
    background: rgba(255, 255, 255, 0.61);
    border: 1px double black;
    box-shadow: 0 0 40px 40px rgba(0,0,0,0.05);
    -webkit-transform: scale(1.1);
    transform: scale(1.1);
    z-index: 2;
}
*/
.sous-section {
    flex-basis: 10% !important;
}

.sous-section img {
    width: 6rem !important;
    height: 6rem !important;
}

/* css for the header/footer*/
header, footer {
    background: rgba(191, 191, 191, 1);
}

/* css for the header content */
.Sticky {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 3;
}

#Main_Navigation_bar {
    display: flex;
    justify-content: space-around;
}

header a {
    text-align: center;
    flex-basis: 33.33%;
    text-decoration: none;
    padding: 1%;
    margin: 0;
    font-weight: bold;
    color: white;
    transition: all 1s;
    background: rgba(0, 0, 0, 0.5);
}

header a:hover {
    background: white;
    font-weight: bolder;
    color: black;
}

.Return {
    flex-basis: 100%;
}

.hover { /* class to use in js*/
    background: white;
    font-weight: bolder;
    color: black;
}

/* css for the footer content */
footer {
    font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Open Sans,Helvetica Neue,sans-serif;
    font-weight: bolder;
    font-size: 2em;
    text-align: center;
    padding: 1%;
}

/* css for the main */

/* css for div message info*/
#message_info {
    background: black;
    color: white;
    font-weight: bold;
    text-align: center;
    padding: 3px;
    display: none;
}

/* Css for the first section description */
#about, #competencies, #realization, #contact, .Diplomes {
    display: flex;
    justify-content: center;
    align-items: center;
}

#competencies, .Diplomes {
    position: relative;
    flex-direction: column;
}

#bgImgComps {
    position: absolute;
    /*background: url("../images/bg_image.jpeg") no-repeat; */
    background-size: 100% 100%;
    resize: both;
    z-index: -1;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);

    height: 100vh;
    width: 100vw;

}

#bgImgCertification {
    position: absolute;
    background: url("../images/bg_image3.jpg") no-repeat;
    background-size: 100% 100%;
    resize: both;
    z-index: 1;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);

    height: 100vh;
    width: 100vw;
}

#bgImgFormation {
    background-image: url("../images/bg_image3.jpg");
    background-repeat: no-repeat;
    background-position: center;
    -webkit-background-size: contain;
    -moz-background-size: contain;
    -o-background-size: contain;
    background-size: contain;
}

#about * {
    margin: 0;
}

#about img {
    width: 20rem;
    height: auto;
    margin: auto;
}

#description_wrapper * {
    margin: 1%;
}

#wrapper_Identifiant {
    margin: 0 auto;
    white-space: nowrap;
    width: fit-content;
    background: rgba(255, 255, 255, 0.34);
    padding: 1%;
    box-shadow: 0 0 5px 5px rgba(0, 0, 0, 0.5);
}

#description_wrapper {
    flex: 1;
    vertical-align: top;
    padding: 2%;
    text-align: center;

}

.button_Information {

    background: rgba(0, 0, 0, 0.34);
    padding: 1%;
    margin: 2%;
    text-decoration: none;
    color: white;
    font-weight: bold;
    transition: all 1.2s;
    border: none;
}

.button_Information:hover {
    background: rgba(255, 251, 247, 0.39);
    color: black;
    border: 1px solid black;
    z-index: 2;
}

/* Css for the second section competencies */
.sous_categorie_competences {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
}

.sous_categorie_competences h2 {
    flex-basis: 100%;
    text-align: center;
    font-size: 1.4em;
}

.sous_categorie_competences * {
    margin: 1%;
}

.sous_categorie_competences .sous-section {
    margin: 0.5%;
}

/* css for third section realization */
#realization {
    position: relative;
    flex-wrap: wrap;
    justify-content: space-around;
}
#bgImgRea {
    position: absolute;
    /*background: url("../images/bg_image2.jpg") no-repeat;*/
    background-size: 100% 100%;
    resize: both;
    z-index: -1;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    height: 100vh;
    width: 100vw;
}

#realization article {
    padding: 0;
}

article .StyleHeaders {
    border-radius: 0;
}

#realization article:nth-child(2) .StyleHeaders {
    background: rgba(255, 0, 3, 0.73);
}

#realization article:nth-child(3) .StyleHeaders {
    background: rgba(255, 162, 0, 0.73);
}

.iconWrapper {
    display: flex;
    justify-content: space-around;
    color: black;

}

.iconWrapper a {
    text-decoration: none;
    color: black;
    margin-bottom: 1rem;
}

.icone3wa {
    width: 50px;
    height: auto;
    position: absolute;
    bottom: 0;
    left: 0;
    z-index: 2;
}

/* css for second and third sections*/

#competencies article, #realization article {
    flex-basis: 30%;
    text-align: center;
}

#competencies img {
    width: 125px;
    height: 200px;
}

/* css for fourth section */
#contact {

    position: relative;
    flex-wrap: wrap;
    justify-content: space-between;
}

#particles-js {
    position: absolute;
    /*background: url("../images/bg_image3.jpg"); */
    background-size: 100% 100%;
    resize: both;
    z-index: -1;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    height: 100vh;
    width: 100vw;
}

#contact .white_background_round_border {
    text-align: center;
}

#contact h1 {
    flex-basis: 100%;
}

#contact > article {
    padding-left: 0;
    padding-right: 0;
    text-indent: 1%;
    flex-basis: 100%;
}

#contact form {
    margin-left: 5%;
}

#contact label {
    font-weight: bold;
}

#contact h2 {
    border-color: white;
    background: black;
    color: #FFFFFF;
}

#contact input[type=text], #contact select, #contact textarea {
    width: 90%;
    padding: 12px;
    border: 1px solid #ccc;
    margin-top: 6px;
    margin-bottom: 16px;
    resize: vertical;
}

#contact input[type=submit] {
    background-color: #000000;
    color: white;
    padding: 12px 20px;
    border: none;
    cursor: pointer;
    transition: all 700ms ease-out;
}

#btn_wrapper {
    width: 100%;
    text-align: center;
}

#contact input[type=submit]:hover {
    background-color: #ffffff;
    color: #000000;
}

#infos_contact {
    margin: 0 auto;
}

/* css for font awesome icons*/
.fa-3x {

    border: none;
    transition: all 700ms ease-in-out;
}

.fa-github:hover {
    color: white;
    background: #5d6a75;
}

.fa-phone:hover {
    color: #2b9916;
}

.fa-at:hover {
    color: whitesmoke;
}

.fa-linkedin:hover {
    color: #0077B5;
}

.fa-free-code-camp:hover {
    color: white;
    background: #006400;
}

/* css for Diplomes section*/
.Diplomes {
    padding-left: 0;
    padding-right: 0;
    font-weight: bold;
}
@media only screen and (min-width: 1052px) {
    #background_video {
        height:100vw;
    }
    section {
        height: 100vh;
    }
}

@media only screen and (max-width: 400px) {
    h1 {
        text-align: center;
    }

    #about {
        flex-wrap: wrap;
        justify-content: space-around;
    }

    #infos_contact p, .Diplomes p {
        margin-left: 5%;
    }

    .cookie-alert {
        text-align: center;
        left: 0;
        right: 0;;
        margin: 0 auto;
        max-width: 700px;
        padding: 10px 30px;
    }

    .titreRealisation {
        margin-top: 100px;
    }
}

/* animations */
@keyframes leftToRight {
    from {
        transform: translate(-100%, -100%) scale(.7, .7);
        opacity: 0;
    }
    to {
        transform: translate(0, 0%);
        opacity: 1;
    }
}

.left-to-right {
    animation: leftToRight 2.6s;
}

@keyframes rightToLeft {
    from {
        transform: translate(100%, 100%) scale(.7, .7);
        opacity: 0;
    }
    to {
        transform: translate(0, 0%);
        opacity: 1;
    }
}

.right-to-left {
    animation: rightToLeft 2.6s;
}

.hidden {
    opacity: 0;
}

/*css for scroll to top button*/
#scroll {
    position: fixed;
    right: 10px;
    bottom: 10px;
    cursor: pointer;
    width: 50px;
    height: 50px;
    background-color: #7397852f;
    text-indent: -9999px;
    display: none;
    -webkit-border-radius: 60px;
    -moz-border-radius: 60px;
    border-radius: 60px;
    transition: all 0.5s ease-in-out;
}

#scroll span {
    position: absolute;
    top: 50%;
    left: 50%;
    margin-left: -8px;
    margin-top: -12px;
    height: 0;
    width: 0;
    border: 8px solid transparent;
    border-bottom-color: #ffffff;
    transition: all 0.5s ease-in-out;
}

#scroll:hover {
    background-color: #f7f7f72f;
    opacity: 1;
    filter: "alpha(opacity=100)";
    -ms-filter: "alpha(opacity=100)";
}

#scroll:hover span {
    border-bottom-color: #000000;
}

.cookie-alert {
    position: fixed;
    bottom: 20px;
    right: 20px;
    border-radius: 10px;
    background: #2f2f2f;
    color: #fff;
    padding: 10px 15px;
    width: 280px;
    z-index: 100;
    font-size: 1rem;
}

.cookie-alert a {
    display: block;
    text-align: center;
    padding: 5px 10px;
    margin: 8px auto 0 auto;
    border-radius: 10px;
    background: transparent;
    border: 2px solid #000000;
    color: #63eeff;
    transition: all .3s ease;
}

.cookie-alert a:hover {
    background: #ffffff;
    color: #5d6a75;
}

canvas {
    display: block;
    vertical-align: bottom;
}

/* ---- stats.js ---- */

.count-particles {
    background: #000022;
    position: absolute;
    top: 48px;
    left: 0;
    width: 80px;
    color: #13E8E9;
    font-size: .8em;
    text-align: left;
    text-indent: 4px;
    line-height: 14px;
    padding-bottom: 2px;
    font-family: Helvetica, Arial, sans-serif;
    font-weight: bold;
}

.js-count-particles {
    font-size: 1.1em;
}

#stats,
.count-particles {
    -webkit-user-select: none;
    margin-top: 5px;
    margin-left: 5px;
}

#stats {
    border-radius: 3px 3px 0 0;
    overflow: hidden;
}

.count-particles {
    border-radius: 0 0 3px 3px;
}

/* ---- particles.js container ---- */

/* loader css*/
#wrap {
    display:none;/* provisoire en attendant que je regle en local le probleme du loader*/
    position: absolute;
    z-index: 1;
    background: white;
    height: 100vh;
    width: 100vw;
}
#wrapper {
    position:absolute;
    width:50%;
    left:50%;
    top:50%;
    z-index:2;
    background: rgba(255, 255, 255, 0.34);
}
svg {
    margin:0 auto;
    vertical-align:middle;
}
.cls-1,
.cls-3 {
    fill: none;
}

.cls-2 {
    clip-path: url(#clip-path);
}

.cls-3 {
    stroke: #000;
    stroke-miterlimit: 10;
    stroke-width: 4px;
}

.cls-4 {
    clip-path: url(#clip-path-2);
}
.animate {
    stroke-dasharray: 300;
    stroke-dashoffset: 300;
    animation: dash 2s ease-in-out forwards;
}
@keyframes dash {
    to {
        stroke-dashoffset: 0;
    }
}
/* width */
::-webkit-scrollbar {
    width: 10px;
}

/* Track */
::-webkit-scrollbar-track {
    background: #f1f1f1;
}

/* Handle */
::-webkit-scrollbar-thumb {
    background: #888;
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
    background: #555;
}
