@font-face {
    font-family: 'Baloo';
      src: url('fonts/Baloo/Baloo-Regular.eot'); /* IE9 Compat Modes */
      src: url('fonts/Baloo/Baloo-Regular.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
          url('fonts/Baloo/Baloo-Regular.woff2') format('woff2'), /* Super Modern Browsers */
          url('fonts/Baloo/Baloo-Regular.woff') format('woff'), /* Pretty Modern Browsers */
          url('fonts/Baloo/Baloo-Regular.ttf')  format('truetype'), /* Safari, Android, iOS */
          url('fonts/Baloo/Baloo-Regular.svg#svgFontName') format('svg'); /* Legacy iOS */
      font-weight: 400;
      font-style: normal;
      font-display: swap;   
}

@font-face {
    font-family: 'Poppins';
      src: url('fonts/Poppins/Poppins-Regular.eot'); /* IE9 Compat Modes */
      src: url('fonts/Poppins/Poppins-Regular.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
          url('fonts/Poppins/Poppins-Regular.woff2') format('woff2'), /* Super Modern Browsers */
          url('fonts/Poppins/Poppins-Regular.woff') format('woff'), /* Pretty Modern Browsers */
          url('fonts/Poppins/Poppins-Regular.ttf')  format('truetype'), /* Safari, Android, iOS */
          url('fonts/Poppins/Poppins-Regular.svg#svgFontName') format('svg'); /* Legacy iOS */
      font-weight: 400;
      font-style: normal;
      font-display: swap;   
}

@font-face {
    font-family: 'Inter';
      src: url('fonts/Inter/Inter-Regular.eot'); /* IE9 Compat Modes */
      src: url('fonts/Inter/Inter-Regular.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
          url('fonts/Inter/Inter-Regular.woff2') format('woff2'), /* Super Modern Browsers */
          url('fonts/Inter/Inter-Regular.woff') format('woff'), /* Pretty Modern Browsers */
          url('fonts/Inter/Inter-Regular.ttf')  format('truetype'), /* Safari, Android, iOS */
          url('fonts/Inter/Inter-Regular.svg#svgFontName') format('svg'); /* Legacy iOS */
      font-style: normal;
      font-display: swap;   
}



body, html, #app{
    padding: 0;
    margin: 0;
    width: 100%;
    height: auto;
    background-color: #ECECF9;
    transition: background-color 0.2s ease;
}

#app{
    position: relative;
    justify-content: flex-start;
    align-items: flex-start;
}

img {
    -moz-user-select: none;
    -webkit-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

a {
    text-decoration: none;
}


div#top-bar {
    width: 100%;
    display: flex;
    justify-content: space-between; 
    align-items: center; 
    position: -webkit-sticky;
    position: sticky;
    top: 0;
    height: 75px;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.25);
}

div#phone-menu {
    height: 100%;
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    width: 80px;
}

.not-overlay {
    visibility: hidden;
    height: 0;
}

div.line-btn {
    width: 40px;
    height: 5px;
    background-color: #000;
}

div#nav-bar-btn {
    display: flex;
    column-gap: 2%;
    margin-right: 60px;
}

a.btn-top-bar {
    color: rgb(0, 0, 0);
    text-decoration: none;
    margin-right: 20px;
    padding: 15px;
    font-size: 16px;
    font-family: 'Inter';
    transition: transform 0.1s ease;
}

a.btn-top-bar:hover{
    transform: translateY(-2px);
}

.not-visible {
    display: none;
    visibility: hidden;
    position: absolute;
}

div#dark-mode-btn {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #000;
    gap: 16px;
    padding-left: 5px;
    padding-right: 5px;
    border: 3px solid #000;
    border-radius: 22px;
    cursor: pointer;
    height: 44px;
    justify-self: flex-end;
}

div#light-mode-btn {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    padding-left: 5px;
    padding-right: 5px;
    border: 3px solid #000;
    border-radius: 22px;
    cursor: pointer;
    height: 44px;
    justify-self: flex-end;
}


p.dev-name {
    margin: 0;
    padding-left: 2%;
    text-align: center;
    font-size: 32px;
    white-space: nowrap;
    font-family: Baloo;
}

.text-dark-mode {
    color: #EEEEEE;
    transition: color 0.2s ease;
}

.img-light-mode {
    border: 6px solid #123949;
    transition: border-color 0.2s ease;
}

.img-dark-mode {
    border: 6px solid #E9E9E9; 
    transition: border-color 0.2s ease;
}

div#content {
    margin-top: 5%;
    display: flex;
    flex-direction: column;
    /* gap: 100px; */
}

div#presentation {
    display: flex;
    flex-direction: column;
    gap: 110px;
}

div#content-presentation {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-around;
    flex-wrap: wrap;
    width: 100%;
}


.presentation-title-name {
    font-size: 56px;
    text-align: left;
    font-family: Baloo;
    width: 100%;
}

.presentation-title-text {
    font-size: 36px;
    font-family: Baloo;


}

.presentation-title-description {
    font-family: Rubik;
    font-size: 28px;
    text-align: justify;
}

div#content-presentation-text {
    width: 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.presentation-personal-image {
    border-radius: 100%;
    width: 25%;
    height: 25%;
    box-shadow: 8px 8px 9px rgba(0, 0, 0, 0.25);
}

.go-next-part-container {
    display: flex;
    margin-top: 50px;
    justify-content: center;
    margin-bottom: 80px;
}

.go-next-part {
    width: 55px;
    height: 41px;
    background-color: #123949;
    color: #FFF;
    text-align: center;
    align-self: flex-end;
    border-radius: 24px;
    box-shadow: 0px 4px 32px rgba(0, 0, 0, 0.25);
    display: flex;
    justify-content: center;
    align-items: center;
}

a.go-next-part .logo-expand {
    display: flex;
    width: 12px;
    height: 16px;
    transform: rotate(-90deg);
    flex-direction: column;
    justify-content: center;
    color: #FFF;

    font-family: Rubik;
    font-size: 27px;
    font-style: normal;
    font-weight: 400;
    line-height: 18px;
    letter-spacing: 2px;
}

/**** Competences part ****/

div#competences {
    background-color: rgba(162,191,227, 0.26);
    width: 100%;
    height: 20%;
    display: flex;
    flex-direction: column;
    padding-top: 204px;

}

div.competences-title {
    margin-left: 10%;
    margin-right: 10%;
    font-size: 56px;
    font-family: Baloo;
}

.competences-label {
    font-size: 22px;
    font-family: Poppins;
}

div.competences-list {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    align-content: flex-start;
    gap: 100px;
    margin-top: 5%;
    margin-bottom: 5%;
    flex-wrap: wrap;
}

.competences-container {
    display: flex;
    padding-right: 38px;
    padding-left: 38px;
    padding-top: 15px;
    padding-bottom: 15px;
    flex-direction: column;
    align-items: center;
    gap: 32px;
    border-radius: 28px;
    background: #FFF;
    width: 40%;
    /* DropShadow */
    box-shadow: 8px 8px 9px 0px rgba(0, 0, 0, 0.25);
}

.competences-container .competences-type-label {
    color: #000;
    font-family: Baloo;
    font-size: 40px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    margin-top: 8px;
    margin-bottom: 8px;
    align-self: flex-start;
}

.container-competences-list {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    align-content: flex-start;
    row-gap: 30px;
    column-gap: 52px;
    flex-wrap: wrap;
}

.competences-content {
    display: flex;
    padding: 6px 7px;
    align-items: center;
    gap: 17px;
    width: auto;
}

.icon-24px {
    width: 24px;
    height: 24px;
}

.icon-35px {
    width: 35px;
    height: 35px;
}

.icon-50px {
    width: 50px;
    height: 50px;
}

/**** PROJECT PART ****/

div#projets {
    width: 100%;
    height: 20%;
    display: flex;
    flex-direction: column;
    padding-top: 204px;
}

div.projects-title {
    margin-left: 10%;
    margin-right: 10%;
    font-size: 56px;
    padding-bottom: 100px;
    font-family: Baloo;
}

div.projects-list {
    display: flex;
    align-items: center;
    flex-direction: column;
    gap: 57px;
    width: auto;
    padding-bottom: 57px;
}

div.project {
    display: flex;
    padding: 32px;
    min-width: 70%;
    max-width: 70%;
    flex-direction: column;
    justify-content: space-around;
    align-items: center;
    gap: 18px;

    border-radius: 38px;

    /* DropShadow */
    box-shadow: 8px 8px 9px 0px rgba(0, 0, 0, 0.25);
    flex-wrap: wrap;
}

a.go-to-github {
    display: flex;

    justify-content: center;
    align-items: center;
    gap: 10px;
    border-radius: 8px;

    text-decoration: none;
    text-align: center;
    font-family: Rubik;
    font-size: 23px;
    font-style: normal;
    font-weight: 400;
    line-height: 18px; 
    letter-spacing: 2px;
}

.github-light-mode {
    background-color: #02577A;
    color: #FFF;
    padding: 30px 60px;
    transition: color 0.2s ease;
    transition: background-color 0.2s ease;
}

.github-dark-mode {
    color: #0D1121;
    background-color: #FFFFFF;
    border: 4px solid #0D1121;
    transition: color 0.2s ease;
    transition: background-color 0.2s ease;
    padding: 24px 54px;
}

div.project-content {
    display: flex;
    min-height: 350px;
    align-items: flex-start;
    gap: 32px;
    align-self: stretch;
}

img.project-img {
    width: 600px;
    align-self: self-start;
    margin-top: 30px;
    border: 2px solid #0D1121;
    max-height: 346px;
    /* height: 346px; */
}


.project-content-txt-part {
    display: flex;
    flex-direction: column;
    gap: 20px;

    max-width: 700px;
    height: 100%;
}

.project-content-title {
    color: #000;

    font-family: Baloo;
    font-size: 44px;
    font-style: normal;
    font-weight: 400;
    line-height: 40.5px; /* 92.045% */
    letter-spacing: 2px;
}

.wip {
    font-size: 25px;
}

.project-content-desc {
    color: #000;
    font-family: Poppins;
    font-size: 24px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    text-align: justify;
}

/**** CONTACT PART ****/

div#contact {
    background-color: rgba(162,191,227, 0.26);
    width: 100%;
    height: 20%;
    display: flex;
    flex-direction: column;
    padding-top: 204px;
    padding-bottom: 242px;   
}

div.contact-title {
    margin-left: 10%;
    margin-right: 10%;
    font-size: 56px;
    font-family: Baloo;
}

div.contact-list {
    display: flex;
    justify-content: center;
    align-items: center;
    align-content: center;
    gap: 30px;
    margin-top: 5%;
    margin-bottom: 5%;
    flex-wrap: wrap;
    margin-left: 11%;
    margin-right: 11%;
}

div.contact-type {
    flex-shrink: 0;
    border-radius: 24px;
    box-shadow: 8px 8px 9px 0px rgba(0, 0, 0, 0.25);
}

div.contact-type:hover {
    transform: translateY(-3px);
    filter: brightness(95%);
    cursor: pointer;
}

.background-light-mode {
    background-color: #FFF;
    transition: background-color 0.2s ease;
}

.background-dark-mode {
    background-color: #ECECEC;
    transition: background-color 0.2s ease;
}

.contact-content {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 35px;
    padding-left: 20px;
    width: 650px;
}

div.contact-informations {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.contact-label {
    color: #000;
    font-family: Baloo;
    font-size: 32px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    margin-top: 15px;
    margin-bottom: 0px;
}

.contact-description {
    color: #000;
    font-family: Poppins;
    font-size: 24px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    margin: 0;
    margin-top: 0px;
    margin-bottom: 15px;
}

.contact-icon {
    width: 65px;
    height: 65px;
    flex-shrink: 0;
}