/* -----------tout------------ */

/*                                        background-color: #321A59;                              */



p {
    font-weight: 600;
    font-size: 1.5rem;
}
.content {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.add {
    font-size: 2rem;
    color: #321A59;
    width: 200px;
}

.title-section {
    text-transform: capitalize;
}

/* --------------page de garde------------- */


.top {
    position: relative;
    overflow: hidden;
    width: 100%;
    height: 100vh;
    display: flex;
    box-shadow: 0 0 20px 1px #000000;
    background-color: black;
    
}

.top video {
    position: absolute;
    min-width: 100%;
    min-height: 100%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    /* z-index: -1; */
}



.top .top-bloc {
    /* background-color: #acacac; */
    display: flex;
    align-items: center;
    margin-left: 35%;
}



.top .top-bloc img {
    width: 220px;
    height: 400px;
    animation: apparition-img 1s forwards ease-out;
    animation-delay: 1s;
    opacity: 0;
}

@keyframes apparition-img {
    from {
        transform: translateX(-200px);
    }

    to {
        opacity: 1;
        transform: translateX(0px);
    }
}



.top .img-responsive {
    display: none;
}

.top .top-bloc .text {
    /* background-color: azure; */
    padding-left: 3rem;
    text-shadow: rgb(0, 0, 0) 0px 0px 10px;
}

.top .top-bloc h2 {
    font-size: 2rem;
    font-weight: 600;
    color: #fff;
    padding-bottom:1rem;
}

.top .top-bloc .text .name {
    margin-bottom: 8rem;
}

.top .top-bloc .text .name h1 {
    padding-bottom: 1rem;
}

.top .top-bloc .text .subtitle h2.domaine {
    font-size: 4rem;
    font-weight: 800;
    animation: apparition 1s forwards ease-out;
    animation-delay: 1.8s;
    opacity: 0;
}

.top .top-bloc .text .subtitle a {
    text-decoration: none;
}

.top .top-bloc .text .subtitle h2.freelance:hover {
    /* background-color: #47267a; */
    color: #ffa14d;
    cursor: pointer;
}

.top .top-bloc .text .subtitle h2.freelance {
    background-color: white;
    color: #321A59;
    font-weight: 900;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    font-size: 2.5rem;
    text-shadow: none;
    width: 290px;
    margin: 1rem 0;
    animation: apparition 1s forwards ease-out;
    animation-delay: 2s;
    opacity: 0;
    transition: 0.3s;

}

.top .top-bloc h1 {
    font-size: 5rem;
    font-weight: 800;
    color: #fff;
}

.top .top-bloc h1.anim1 {
    animation: apparition 1s forwards ease-out;
    animation-delay: 1.2s;
    opacity: 0;
}
.top .top-bloc h1.anim2 {
    animation: apparition 1s forwards ease-out;
    animation-delay: 1.4s;
    opacity: 0;
}
.top .top-bloc h1.anim3 {
    animation: apparition 1s forwards ease-out;
    animation-delay: 1.6s;
    opacity: 0;
}
.top .top-bloc h1.anim4 {
    font-size: 2rem;
    color: #ffa14d;
    animation: apparition 1s forwards ease-out;
    animation-delay: 1.7s;
    opacity: 0;
}

@keyframes apparition {
    from {
        transform: translateX(100px);
    }

    to {
        opacity: 1;
        transform: translateX(0px);
    }
}




/* -------------à la une------------------ */

.une img {
    width: 200px;
}

.une {
    width: min(100% - 2rem, 90rem);
    display: flex;
    flex-direction: column;
    min-height: 800px;
    justify-content: center;
    /* border-top: 1px solid #321A59; */
    padding: 6rem 0;
}

.une .rond1 {
    margin-left: 150px;
}
.une .rond3 {
    margin-left: 200px;
}

.une .croix {
    margin-left: 50px;
}

.une .title-section {
    padding-top: 4rem;
}

.une > div {
    padding: 4rem 0;
    display: flex;
}

.une .gauche {
    width: 50%;
}

.une iframe {
    width: 100%;
    height: 250px;
}

.une .droite {
    width: 50%;
    padding-left: 3rem;
}

.une .droite h2 {
    text-transform: capitalize;
    font-size: 4rem;
    color: #321A59;
    padding-bottom: .5rem;
}

.une .droite h3 {
    text-transform: uppercase;
    font-size: 1.5rem;
    color: gray;
    padding-bottom: 2rem;

}

.une .droite .desc {
    /* font-size: 1.3rem; */
    padding-bottom: 1em;
    line-height: 1.5em;
}

.une a {
    text-decoration: none;
    color: white;
    background-color: #321A59;
    /* border-radius: 200px; */
    padding:.8em;
    display:flex;
    font-size: 1.5rem;
    margin-top:1em;
    transition: .3s;
    justify-content: center;
    align-items: center;
    font-weight: 600;
    gap:5px;
    display: inline-block;

}

.une a:hover {
    /* background-color: #47267a; */
    color: #ffa14d;
}


.une h1 {
    background-color: #321A59;
    color: white;
    font-size: 2rem;
    padding: 1.5rem;
    margin-top: 8rem;

}

.une .stage {
    background-color: #000000;
    color: white;
    /* border: 2px solid blue; */
    height: 50px;
    padding: 0;
    margin: 4rem 0;
}

.une .stage span {
    /* border: 2px solid red; */
    line-height: 50px;
    font-size: 2rem;
    width: 100%;
    font-weight: 600;
    color: #ffffff;
    overflow: hidden;
}

.une .stage p {
    /* border: 2px solid green; */
    line-height: 50px;
    white-space: nowrap;
    position: relative;
    left: 100%;
    animation: stage 20s linear infinite;

}

@keyframes stage {
    from {
       left: 100%;
    }

    to {
        left: -207%;
    }
}


/* -------------à propos------------------ */

.propos {
    width: min(100% - 2rem, 90rem);
    display: flex;
    flex-direction: column;
    height: 700px;
    justify-content: center;
    border-top: 1px solid #321A59;
}

.propos h2 {
    padding-bottom: 3rem;
    text-transform:capitalize;
}
.propos div {
    display: flex;
    justify-content: center;
}

.propos .gauche {
    flex-direction: column;
    justify-content: center;
}

.propos .gauche div {
    gap:10px;
}

.propos i {
    font-size: 2rem;
}

.propos .droite {
    /* position: relative; */
    width: 80%;

}

.propos .gauche p {
    width: 80%;
    /* font-size: 1.3rem; */
    padding-bottom: 1em;
    line-height: 1.5em;
}

.propos img {
    width: 300px;
    height: 300px;
    position: relative;
    z-index: 1;
}

.propos .carre {
    position: absolute;
    width: 300px;
    height: 300px;
    background-color: #47267a;
    transform: translate(20px, 20px);
}

.propos a {
    text-decoration: none;
    color: white;
    background-color: #321A59;
    /* border-radius: 200px; */
    padding:.8em;
    display:flex;
    font-size: 1.5rem;
    margin-top:1em;
    transition: .3s;
    justify-content: center;
    align-items: center;
    font-weight: 600;
    gap:5px;

}

.propos .downloadCV {
    background-color:white;
    border: #321A59 2px solid;
    color: #321A59;
}

.propos a:hover {
    /* background-color: #47267a; */
    color: #ffa14d;
}
.propos .downloadCV:hover {
    background-color: white;
    color: #ffa14d;
}
.propos div div {
    justify-content: left;
}

.propos .rond1 {
    transform: translateX(-100px);
}

.propos .rond2 {
    transform: translateX(-50px);
}

.propos .rond3 {
    transform: translateX(300px);
}

.propos .rond4 {
    transform: translateX(250px);
}

.propos .croix {
    transform: translateX(450px);
}

/* --------compétences---------- */

/* .competences div, .competences table, td, tr {
    border: 1px solid red;
} */

.competences {
    width: min(100% - 2rem, 90rem);
    display: flex;
    flex-direction: column;
    min-height: 1200px;
    justify-content: center;
    border-top: 1px solid #321A59;
    padding:5rem 0;
}

.competences .right-border {
    border-right: 3px solid #321A59;
}

.competences .left-border {
    border-left: 3px solid #321A59;
}

.competences table {
    margin: 5rem 0;
}


.competences td.td-gauche {
    width: 40%;
    height: 20px;    
}

.competences td.td-milieu {
    width: 180px;
    display: flex;
    width: 100%;
    align-items: center;
    padding-bottom: 5rem;
}

.competences td.td-milieu div.icon {
    font-size: 4rem;
    color: white;
    background-color: #321A59;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: .3s;
}

.competences td.td-milieu div.icon:hover {
    color: #ffa14d;
    transform: scale(1.2);
}






.competences td.td-milieu div.remplissage {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
}

.competences td.td-milieu .trait {
    background-color: #321A59;
    width: 60px;
    height: 2px;
}

.competences td.td-droite {
    width: 40%;
    height: 20px;

}

.competences .box{
    display: flex;
    flex-direction: column;
    height: 100%;
    width: 100%;
    background-color: #f8f8f8;
    padding:1.5rem;
}

.competences .box .title-competence{
    color: #321A59;
    font-size: 2.5rem;
}

.competences .box p {
    color: #321A59;
    font-size: 1rem;
    font-size: 1.5rem;
    padding: 1.5em 0;
    line-height: 1.2em;
    
}

.competences .logiciel {
    display: flex;
    gap: 10px;
}

.competences .logiciel img {
    width: 40px;
    height: 40px;
}

.competences .competences-responsive {
    display: none;
}

/* ------------mes réalisations---------------- */

.real {
    width: min(100% - 2rem, 90rem);
    display: flex;
    flex-direction: column;
    /* align-items: center; */
    min-height: 900px;
    justify-content: center;
    border-top: 1px solid #321A59;
    padding:6em 0;
}

.real h2{
    padding-top: 8rem;
}

.real div {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    padding:3rem 0;
    width: 100%;
    justify-content: center;
}
.real img {
    width: 440px;
    height: 300px;
    object-fit: cover;
    transition: .2s;
}

.real .case {
    display: flex;
    align-items:end;
    position: relative;
    overflow: hidden;



}

.real .case .color {
    width: 100%;
    height: 100%;
    background: linear-gradient(0deg, rgba(0,0,0,1) 10%, rgba(0, 0, 0, 0.2) 70%);
    /* background: linear-gradient(0deg, rgba(0,0,0,1) 0%, rgba(50,26,89,1) 40%); */
    position: absolute;
    filter: opacity(0%);
    transition: .2s;

}

.real .case .title-case {
    position: absolute;
    color: #ffffff;
    transition: .2s;
    font-size: 2.5rem;
    filter: opacity(0%);
    margin: 2.5rem 4rem 4rem 4rem;
    opacity: 0;


}

.real .case .categorie {
    position: absolute;
    transition: .2s;
    font-size: 1.2rem;
    filter: opacity(0%);
    margin: 2.5rem 4rem;
    opacity: 0;
    text-transform: uppercase;
    font-weight: 800;
    color: #888888;

}

.real .case:hover .color {
    filter: opacity(90%);
    cursor:pointer;
    box-shadow: 0 0 20px 1px #ececec;
}

.real .case:hover .title-case {
    filter: opacity(90%);
    cursor:pointer;
    animation: apparition-title-case .3s forwards ease-out;
    
}

.real .case:hover .categorie {
    filter: opacity(90%);
    cursor:pointer;
    animation: apparition-title-case .3s forwards ease-out;
    
}

.real .case:hover img{
    transform: scale(1.05);
    filter: blur(1px);
}

.real .voir {
    text-decoration: none;
    color: white;
    background-color: #321A59;
    /* border-radius: 200px; */
    padding:1em;
    display:flex;
    font-size: 1.5rem;
    margin-top:1em;
    margin-left:5px;
    transition: .3s;
    justify-content: center;
    align-items: center;
    font-weight: 600;
    gap:5px;
    width: 200px;

}

.real .voir:hover {
    color: #ffa14d;
}

/* .real a.voir {
    text-decoration: none;
    background-color: #321A59;
    color:white;
    padding:1rem 2rem;
    border-radius: 200px;
    font-size: 1.5rem;
    transition: .3s;
}

.real a.voir:hover {
    background-color: #47267a;
} */

.real .rond1 {
    transform: translateX(500px);
}

.real .rond2 {
    transform: translateX(600px);
}

.real .rond3 {
    transform: translateX(550px);
}

.real .rond4 {
    transform: translateX(-50px);
    padding:3rem 0;
}

.real .croix {
    transform: translateX(430px);
}

@keyframes apparition-title-case {
    from {
        transform: translateX(50px);
    }

    to {
        opacity: 1;
        transform: translateX(0px);
    }
}

/* ------------ besoin ------------------ */

.besoin {
    width: 100%;
    display: flex;
    flex-direction: column;
    /* align-items: center; */
    min-height: 700px;
    justify-content: center;
    align-items: center;
    padding:12em 0 0 0;
    background-color: #f8f8f8;
}

.besoin .content {
    /* border: 2px solid red; */
    width: min(100% - 2rem, 90rem);
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
}

.besoin h1 {
    font-size: 3rem;
    padding-bottom: 3rem;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
}

.besoin h2 {
    font-size: 2rem;
    /* text-decoration: underline; */
    padding-bottom: 10rem;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;

}

.besoin .orange {
    color: #ffa14d;
    text-shadow: 0px 2px 1px rgb(22, 22, 22);
}

.besoin p {
    font-size: 3rem;
    font-weight: 800;
}

.besoin i {
    font-size: 8rem;
    animation: scrolldown 2s infinite;
    height: 100px;
}

.besoin a {
    font-size: 3rem;
    font-weight: 800;
    color: #321A59;
    transition: 0.3s;
    text-decoration: none;
}

.besoin a:hover {
    font-size: 3rem;
    font-weight: 800;
    color: #321A59;
    text-decoration:underline;
    transform: scale(1.02);

}

@keyframes scrolldown {
0% {
   padding-top: 0rem;
}

50% {
    padding-top: 2rem;
}

60% {
    padding-top: 2rem;
}

100% {
    padding-top: 0rem;
}
}






@media screen and (max-width: 1000px) {
    .add {
        display: none;
    }

    

    .title-section {
        font-size: 4rem;
    }

    .top {
        display: flex;
        justify-content: center;
    }

    .top .top-bloc {
        display: flex;
        align-items: center;
        justify-content: center;
        margin: 0;
    }

    .real img {
        width: 300px;
        height: 300px;
    }

    div.carre {
        display: none;
    }
}

/* .top div {
    border: 2px solid black;
} */
@media screen and (max-width: 700px) {
    .top .top-bloc {
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 100%;
    }

    .top img {
        display: none;
        
    }

    .top .top-bloc .img-responsive {
        display: inline;
        width: 300px;
        height: 300px;
    }

    .top .top-bloc .text {
        padding-left: 0rem;
    }

    .top .top-bloc .text .name {
        margin: 3rem 0;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .top .name h1 {
        font-size: 3rem;
    }

    .top .top-bloc .text .subtitle {
        margin: 2rem 0;
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
}

@media screen and (max-width: 650px) {



    .top {
        padding-bottom: 5rem;
        height: 100vh;
    }

    

    




    /* --------------à la une------------- */

    .une>div {
        flex-direction: column;
    }

    .une .title-section {
        text-align: center;
    }

    .une .gauche{
        width: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
        padding-bottom: 2rem;
    }

    .une .droite {
        width: 100%;
        padding-left: 0;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .une .droite h2, .une .droite h3 {
        width: 80%;
    }

    .une .gauche iframe {
        width: 95%;
        height: 220px;
    }

    .une .desc {
        width: 80%;
    }







    /* --------------à propos------------- */

    .propos .droite {
        display: none;
    }
    .propos div {
        width: 100%;
    }
    .propos .gauche{
    align-items: center;
    }

    .propos .gauche div {
        display: flex;
        justify-content: center;
    }






    /* ----------mes compétences--------- */

    .competences table {
        display: none;
    }

    .competences {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .competences .title-section {
        text-align: center;
        padding-bottom: 6rem;
    }

    .competences .competences-responsive {
        display: flex;
        flex-direction: column;
    }

    .competences .competences-responsive > div{
        margin: 2rem 0;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .competences-responsive .competence-content {
        background-color: #f8f8f8;
        padding:2rem;
        margin: 2rem;
        position: relative;
        padding-top:4rem;
        width: 100%;
    }

    .competences-responsive .competence-content h3 {
        font-size: 3rem;
        color: #321A59;
    }

    .competences-responsive .competence-content p {
        font-size: 1.5rem;
        color: #321A59;
        padding:1em 0;
    }

    .competences-responsive div.icon {
        font-size: 4rem;
        color: white;
        background-color: #321A59;
        width: 70px;
        height: 70px;
        display: flex;
        align-items: center;
        justify-content: center;
        transition: .3s;
        position: absolute;
        z-index: 1;
        transform: translateY(-20px);
    }
    


    /* ---------real------------------ */


    .real {
        align-items: center;
    }

    .real > div {
        flex-direction: column;
        width: 100%;
        padding:6rem 0;
    }

    .real img {
        object-fit: cover;
        width: 100%;
        height: 150px;
    }

    .real .case .color {
        filter: opacity(90%);
        background: linear-gradient(0deg, rgba(0,0,0,1) 10%, rgba(0, 0, 0, 0.5) 100%);

    }

    .real .case .title-case {
        filter: opacity(100%);
        font-size: 2.5rem;
        z-index: 99;
        opacity: 1;
        margin: 0;
    }

    .real a {
        display: flex;
        justify-content: center;
        align-items: center;
        width: 100%;

    }

    .real .case {
        align-items: center;
    }


    

}


