html {
    scroll-behavior: smooth;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(50px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.slide-text {
    opacity: 0;
    animation: slideIn 0.8s ease-out forwards;
}

body {
    margin: 0;
    font-family: "Poppins", sans-serif;
    display: flex;
    flex-direction: column;
    background-color: #C7CED3;
}

/*----------------------------------------------------------------------------*/

.auto {
    margin: auto;
}

.column {
    display: flex;
    flex-direction: column;
}

.row {
    display: flex;
    flex-direction: row;
}

.wrap {
    display: flex;
    flex-wrap: wrap;
}

.leftComp {
    margin-left: 2vw;
}

.primaryColor {
    color: #116ACC;
}

.container {
    width: 90%;
    height: 100%;
    margin: 0 auto;
}

.alignLeft {
    margin: auto auto auto 0;
}

.marginBottom {
    margin-bottom: 10vh;
}

.whiteBack {
    background-color: white;
}

.contentCenter{
    align-content: center;
}

/*-------------------------------------------------------------------------------*/

.px55 {
    font-size: 55px;
}

.px24 {
    font-size: 24px;
    line-height: 28px;
}

.gray {
    background-color: #C7CED3;
}

.pink {
    background-color: pink;
}

.blueFond {
    background-color: #116ACC;
}

.darkBlueFond {
    background-color: #182233;
}

/*-------------------------------------------------------------------------------*/
.burger-menu {
    display: none;
}

.headerContact {
    height: 6vh;
}

header {
    height: 8vh;
    position: sticky;
    top: 0;
    z-index: 10;
}

header,
.headerContact {
    background-color: #000000;
    opacity: 90%;
}

.headerContent {
    align-items: center;
    height: 100%;
}

.topButtonContainer {
    display: flex;
    margin: auto auto auto 0;
    width: 60%;
    height: 100%;
    gap: 0.5vw;
}

.topButtonContainer a {
    width: 10vw;
    margin: auto 0;
    text-decoration: none;
    color: white;
    text-align: center;
    font-size: 22px;
}

.topButtonContainer a:hover {
    color: #fd4e5d;
}

/*------------------------------------Premier Bloc---------------------------------------------*/
.first_block {
    height: fit-content;
}

.hello {
    text-align: center;
    line-height: 1;
}

.firstCont {
    background-color: white;
    margin: 7vh auto 18vh auto;
    width: 80vw;
    height: auto;
}

.spacing1 {
    margin: 50px auto;
}

.present {
    box-shadow: -20px 10px 50px 1px #000;
    transition: box-shadow 0.6s ease-in-out;
}

.present:hover {
    box-shadow: -20px 10px 50px 1px #0550a0;
}

.hello p {
    width: 100%;
    height: fit-content;
    margin: auto;
}

.divLinks {
    width: fit-content;
}

.links {
    width: 48px;
}

/*-----------------------------------Second Bloc----------------------------------------------*/

.second_block {
    height: fit-content;
}

.second_content {
    height: fit-content;
    width: 80vw;
    color: white;
    margin: auto auto 10vh auto;
}

.marginComp {
    width: 90%;
    margin: auto;
    height: 20vh;
    line-height: 0px;
    justify-content: center;
}

.lycee {
    margin: 0vh auto 10vh auto;
}

.compLogo {
    width: 100px;
    height: 100px;
}

.skillDesc {
    background-color: #182233;
    padding: 10px;
    border-radius: 5px;
    margin-top: 5px;
}

.skillDesc h2,
.skillDesc p {
    margin: 0;
}

.pSkills {
    width: 30%;
    height: 170px;
}

.hide {
    max-height: 500px;
    opacity: 1;
    overflow: hidden;
    transition: max-height 0.5s ease-in-out, opacity 0.5s ease-in-out;
}

.hidden {
    max-height: 0;
    opacity: 0;
}

/*TIMELINE*/
.timeLine {
    width: 5px;
    height: 100vh;
    background: black;
    margin: 5vh auto;
}

.skillOutline{
    border : 1px solid rgb(255, 255, 255);
}







.gridProjects{
    display: grid;
    grid-template-columns: repeat(2,minmax(0,1fr));
    gap: 2vw;}

    @media (max-width : 920px) {
        .gridProjects{
        grid-template-columns: repeat(1,minmax(0,1fr));
        }
    }

  .gridSkills {
    display: grid;
    grid-template-columns: repeat(3,minmax(0,1fr));
  }

    @media (max-width : 1440px) {
    .gridSkills {
      grid-template-columns: repeat(2,minmax(0,1fr));
    }
  }

      @media (max-width : 920px) {
    .gridSkills {
      grid-template-columns: repeat(1,minmax(0,1fr));
    }
  }

  .divComp{
    margin: 0 5% 0 0;
  }

  .w-12 {
    width: 50px;
    height: auto;
  }


/*-----------------------------------Troisième Bloc------------------------------------------------*/

.projet {
    color: white;
}

.subProject {
    width: fit-content;
    margin-bottom: 10vh;
}

.thirdContent,
.thirdContentBis {
    width: fit-content;
    height: fit-content;
    gap: 4vw;
    margin: 0 auto;
}

.Projet1 {
    background-color: #182233;
    margin-top: 7vh;
    width: 42.56vw;
    height: fit-content;
}

.cadreProjet {
    width: 100%;
    max-height: 34vh;
    overflow: hidden;
}

.cadreProjet img {
    width: 100%;
}

.marginProject {
    margin: auto 10px;
}



.divVoir {
    width: 50%;
    height: 10%;
    margin: 15px auto;
    text-align: center;
}

.buttonVoir {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #182233;
    width: 100%;
    height: 100%;
    text-decoration: none;
    color: hsl(0, 0%, 100%);
    transition: transform 0.2s ease-in-out;
    border-radius: 25px;
    border: 2px solid #ffffff;
}

/*-----------------------------------Quatrième Bloc------------------------------------------------*/

.fourth_block {
    background-color: rgb(245, 242, 237);
}

.fourthContent {
    gap: 5vw;
    margin: 5vh auto;
    width: fit-content;
}

.imgAchievements {
    height: 35vh;
    transition: rotate 0.2s ease;
    box-shadow: 0 0 25px #000000;
}

.imgAchievements:hover {
    animation: 1s;
    rotate: -3deg;
    cursor: pointer;
}

.cadreAchieve {
    width: fit-content;
}

/*-----------------------------------FOOTER------------------------------------------------*/

footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    height: 100%;
    background-color: gray;
}



/*------------------------------------BOUTON CONTACT---------------------------------------*/
.contactButton {
    transition: box-shadow 0.3s ease-in-out;
    width: fit-content;
    height: 50%;
    background-color: #000;
    border-radius: 1vw;
    cursor: pointer;
    margin: 0 0 0 auto;
    text-decoration: none;
    color: #0550a0;
    font-size: 25px;
    padding: 0.4%;
}



/*----------------------------------FORM CONTACT----------------------------------------------*/
.wholeContactPage {
    overflow: hidden;
}

.wholeContactFile {
    background-color: #C7CED3;
}

.contact-form {
    background-color: #f2f2f2;
    padding: 20px;
    border-radius: 10px;
    width: 45vw;
    margin: 3vh auto;
}

.contact-form label {
    color: black;
}

.contact-form .heading {
    font-size: 24px;
    color: black;
    margin-bottom: 12px;
    font-weight: bold;
    display: block;
}

.contact-form form {
    display: flex;
    flex-direction: column;
}

.contact-form label {
    margin-bottom: 10px;
}

textarea {
    resize: none;
    height: 250px;
}

.contact-form input,
.contact-form textarea {
    padding: 10px;
    border: none;
    border-radius: 5px;
    margin-bottom: 20px;
}

.sendButton {
    background-color: #116ACC;
    color: #fff;
    border: none;
    padding: 10px 20px;
    font-size: 16px;
    cursor: pointer;
    width: 35vw;
    margin: 0 auto;
    transition: transform 0.2s ease-in-out;
    border-radius: 25px;
}

.returnDiv {
    width: 19vw;
    height: 5vh;
    margin: 25px auto;
    background-color: #116ACC;
    transition: transform 0.2s ease-in-out;
    text-align: center;
    border-radius: 25px;
}

.returnDiv a {
    display: inline-block;
    text-decoration: none;
    color: white;
    width: 100%;
    height: 100%;
    width: 19vw;
    transition: transform 0.2s ease-in-out;
}

@media (max-width : 1240px) {

    .lycee,
    .fac,
    .bts {
        flex-direction: column;
    }

    .leftComp {
        margin: initial;
    }

    .compLogo {
        margin: 0 auto;
    }

    .skillDesc {
        text-align: center;
    }

    .pSkills {
        width: 90%;
        height: fit-content;
        flex-direction: column;
        margin-bottom: 8vh;
    }

    .contact-form {
        width: 70%;
    }
}


@media screen and (max-width: 1240px) {
    .topButtonContainer.active {
        display: flex;
    }

    .topButtonContainer {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 8vh;
        left: 0;
        background: rgba(0, 0, 0, 0.9);
        width: 250px;
        height: 37vh;
        padding: 10px;
        box-shadow: 10px 10px 10px 5px rgb(62 50 141 / 50%);
    }

    .topButtonContainer a {
        display: block;
        padding: 10px;
        text-align: left;
    }

    .burger-menu {
        display: block;
        cursor: pointer;
        font-size: 30px;
        color: white;
        margin-left: 10px;
    }
}


@media (max-width : 940px) {

    .thirdContent,
    .thirdContentBis {
        flex-direction: column;
    }

    .Projet1 {
        width: 80vw;
    }

    .fourthContent {
        flex-direction: column;
    }
}

@media (max-width : 1240px) {
    .px55 {
        font-size: 45px
    }
}