@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;500&display=swap');
*,*::before,*::after{
    box-sizing: border-box;
}
nav {
    font-size: 15px;
    -webkit-box-shadow: 0px 10px 20px 5px rgba(0,0,0,0.25); 
    box-shadow: 0px 10px 20px 5px rgba(0,0,0,0.25);
}
main{
    background-color:rgba(212, 212, 212, .4);
}
html{
    scroll-behavior: smooth;
    margin-bottom: 0;
}
body {
    padding-top: 70px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin:0;
    /* background-color: #aaa; */
}
h3 {
    font-family: 'Roboto', sans-serif;
    font-weight: 500;
}
p {
    font-size:.9vw;
}
#back-to-top {
    position: fixed;
    bottom: 30px;
    right: 7%;
    width: 50px ;
    height: 50px;
    line-height: 50px;
    text-align: center;
    align-items: center;
    font-size: 35px;
    border-radius: 50%;
    color: orangered;
    display: none;
    cursor: pointer;
}
/* ___________________________A propos___________________________ */
.propos  p {
    font-size: 20px;
}
/* ___________________________Compétences___________________________ */
div.logo img{
    margin: auto;
}
section#competences{
    min-height: fit-content;
} 
.skill {
    width: 28%;
    margin-left:2%;
    margin-right:2%;
    min-height: 40vh;
}
.barre { 
    height: 15px;
    position: relative;
    background: #f3efe6;
    overflow: hidden;
}
.barre span {
    display: block;
    height: 100%;
}
.progress {
    background-color: #e4c465;
    -webkit-animation: progressBar 1s ease-in-out;
    -webkit-animation-fill-mode:both; 
    -moz-animation: progressBar 2s ease-in-out;
    -moz-animation-fill-mode:both; 
}
@-webkit-keyframes progressBar {
    0% { width: 0; }
    100% { width: 100%; }
}
@-moz-keyframes progressBar {
    0% { width: 0; }
    100% { width: 100%; }
}
/* ___________________________Réalisations___________________________ */
.modale {
    margin: auto;
    margin-top: 100px;
}
.real img {
    width:100%;
}
.real {
    height: 30vh;
}
.thumbnail, .thumbnail .col-6 img {
    cursor: pointer;
}
.thumbnail, .thumbnail .col-6 {
    margin-bottom: 13px;
    max-height: 10vh;
    overflow: hidden;
    object-fit: cover;

}
.thumbnail .col-6 img {
    cursor: pointer;
    /* position: absolute; */
    width: 100%;
    /* height: fit-content; */
    overflow: hidden;
    /* height: 10vh; */

}

.bloc-grande-image {
    position: relative;
    align-items: stretch;
    display: flex;
    height: 75vh;
    overflow: hidden;
}
.bloc-grande-image img {
    position:absolute;
    width: 100%;
    top: 0;
}
#legende {
    position: absolute;
    bottom: 0;
    padding: 15px;
    background-color: rgba(0, 0, 0, .7);
    /* width: calc(100% - 30px); */
    width: 100%;
    color: white;
    font-style: italic;
    font-size: 21px;
}
/* ___________________________Parcours___________________________ */

.fantome {
    background-color: transparent;
    width: 48%;
    height: max-content;
}
.parcours-item {
    width: 48%;
    position:  relative;
}
.trait {
    width: 0.2%;
    margin-right:1.9%;
    margin-left:1.9%;
    background-color: #333;
    align-items: stretch;
}
.fleche-droite{
    width: 3vh;
    height: 3vh;
    transform: rotate(45deg);
    position: absolute;
    top: 50%;
    left: -3%;
    border: 1px !important; 
}
.fleche-gauche {
    width: 3vh;
    height: 3vh;
    transform: rotate(45deg);
    position: absolute;
    top: 50%;
    right: -2%;
    border: 1px !important; 
}
.ombre-droite {
    -webkit-box-shadow: 5px 5px 5px 2px rgba(0,0,0,0.2); 
    box-shadow: 5px 5px 5px 2px rgba(0,0,0,0.2);
}
.ombre-gauche {
    -webkit-box-shadow: -5px 5px 5px 2px rgba(0,0,0,0.2); 
    box-shadow: -5px 5px 5px 2px rgba(0,0,0,0.2);
}
/* __________________________Formations___________________________ */
.diplome {
    width: 40%;
    margin-right: 2.5%;
    background-color: #474747;
    color: #EAEAEA;
}

.annee {
    width: 15%;
    font-size: 3vw;
    background-color: #474747;
    color: #EAEAEA;
    border-radius: 5%   ;
}

.description {
    width: 40%;
    margin-left: 2.5%;
    background-color: #474747;
    color: #EAEAEA;
    border-radius: 5%;
}
span.diplome {
    width: fit-content;
    font-size: 1.5vw;
    color: #FF9322;
}
.footer_admin {
    position: fixed;
    bottom: 0;
    width: 100%;
    margin-top: 5vh;
}
.description p {
    font-size: 1.5vw;
}
/* ___________________________FOOTER___________________________ */
footer {
    background-color: #505050;
}
footer h2 {
    color : white ;
}

footer ul {
    list-style: none;
    font-size: 13px;

}
footer ul li {
    padding: .3vh;
}

/* footer ul li:nth-of-type(2) span, footer ul:first-of-type span{
    opacity: .6;
    cursor: pointer;
} */
footer ul li a, footer ul li, footer ul li a .fa-github{
    /* opacity: .6; */
    cursor: pointer;
    color: #fff;
}

footer ul li:nth-of-type(2) span:hover, footer ul:first-of-type span:hover{
    opacity: 1;
    transition: 500ms;
}
footer a {
    text-decoration: none;
    
}
footer a:hover, footer ul li:hover  {
    text-decoration: none;
    color: orangered !important;
    cursor: pointer;
    transition: 750ms;
}
footer a i{
    opacity: .6;
}

footer iframe {
    max-height: 330px ;
    width: 100%                 ;
}

div.mentions-legales {
    display: flex;
    background-color: #555D5E;
    color: white;
    font-size: 12px;
    justify-content:center;
    height: 5Vh;
    align-items: center;
}
.contact ul {
    font-size: 18px;
}

/* __________________________________________FORMULAIRE DE CONTACT__________________________________________ */
#contact_form{
   
    background-image: url('../img/bg_form.jpg')!important;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
}
#contact_form input, #contact_form textarea{
    background-color: transparent;
}
#contact_form input {
    border-top: none;
    border-right: none;
    border-left: none;
    border-radius: 0;
}
input.bouton {
    width: 175px;
    border: 3px solid #fff;
    border-top: 2px solid #fff!important;
    border-left: 2px solid #fff!important;
    border-right: 2px solid #fff!important;
    color: white;
    padding: 10px;
}
#contact_form ::placeholder {
    color: #fff;
    opacity: 1;
}
.container-form {
    width: 50%;
    background-color:#0170A8;
    margin: auto;
    border: 9px solid #90E3E9;
    -webkit-box-shadow: 0px 0px 30px 5px rgba(0,0,0,0.45);
    -moz-box-shadow: 0px 0px 30px 5px rgba(0,0,0,0.45);
    box-shadow: 0px 0px 30px 5px rgba(0,0,0,0.45)
}
.container-form h1 {
    font-size: 55px;
    font-weight: 600;
    color: white;
}
.container-form p {
    font-size: 15px;
    color: #fff;
}
/* __________________________________________CODEPEN__________________________________________ */
.box {
    font-family: 'Raleway', sans-serif;
    background: #333;
    background-image: url('../img/background.jpg');
    color: #ccc;
    overflow: hidden;
    width:100%;
    height: 80vh;
    background-attachment: fixed;
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    text-align:center;
    margin:auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    /* height: 100%; */
    padding: 0 3rem;
}

h1.nolaxe, h1.paralaxe2 {
    font-weight: 200;
    margin: 0.4rem;
}

h1.paralaxe {
    font-size: 3.5rem;
}

h1.paralaxe2 {
    font-size: 2rem;
    color: #aaa;
}

  /* Cursor */
.txt-type .txt {
    /* border-right: solid 2px #777; */
    padding-right: 3px;
}
.blinking-cursor {
    color: #2e3d48;
    -webkit-animation: 1s blink step-end infinite;
    -moz-animation: 1s blink step-end infinite;
    -ms-animation: 1s blink step-end infinite;
    -o-animation: 1s blink step-end infinite;
    animation: 1s blink step-end infinite;
}

@keyframes blink {
    from,
    to {
        color: #2e3d48;
    }
    50% {
        color: transparent;
    }
}

@media (min-width: 1200px) {
    h1.paralaxe {
        font-size: 5rem;
    }
}

@media (max-width: 800px) {
    .box {
        padding: 0 1;
    }

    h1.paralaxe {
        font-size: 3rem;
    }
}

@media (max-width: 500px) {
    h1.paralaxe {
        font-size: 2.5;
    }

    h1.paralaxe2 {
        font-size: 1.5rem;
    }
}


/* ______________________________________Responsive design______________________________________ */
@media (max-width: 1000px){
    .skill {
        width:45%;
        margin-bottom: 30px;
    }
    .propos {
        display: none;
    }
    .fantome {
        display: none;
    }
    .trait {
        display: none;
    }
    .parcours-item {
        width: 95%;
        margin: auto;
    }
    .fleche-droite, .fleche-gauche {
        display: none;
    }

}
@media (max-width: 770px){
    .description {
        display: none!important;
    }
    .diplome {
        width: 70%;
        text-align: center;
        justify-content: center!important;
    }
    .annee {
        width: 30%;
        font-size: 35px;
    }
    span.diplome {
        font-size: 30px;
        padding-top: 15px;
        padding-bottom: 15px;
    }
    span.spec {
        font-size: 15px;
        padding-top: 15px;
        padding-bottom: 15px;
    }
    .skill {
        width:80%;
        margin: auto;
    }
    .parcours-item  {
        font-size: 35px;
    }
    .parcours-item p {
        font-size: 20px;
    }
    .contact h2 {
        font-size: 45px;
    }
    .contact ul {
        font-size: 20px;
    }
}
