/***************************************************
                    STYLE COMMUN
***************************************************/

* {
  margin: 0;
  padding: 0;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}
html {
  scroll-behavior: smooth;
}
a {
  text-decoration: none;
}
a:hover {
  cursor: pointer;
}

.bold {
  font-weight: bold;
}
.medium {
  font-weight: 600;
}

.bg-blue1 {
  background-color: #182233;
}
.bg-blue2 {
  background-color: #1e2d42;
}
.bg-blue3 {
  background-color: #b3cee2;
}

.font-blue2 {
  color: #b3cee2;
}
.font-blue1 {
  color: #182233;
}
.font-white {
  color: #ffffff;
}
.font-red {
  color: #fd4e5d;
}

.font-18px {
  font-size: 18px;
}
.font-24px {
  font-size: 24px;
}
.font-32px {
  font-size: 32px;
}
.font-48px {
  font-size: 48px;
}

.contact-btn {
  padding: 4px 10px;
  background-color: #fd4e5d;
  color: white;
}
.contact-btn:hover {
  color: white;
  transform: translateY(0px) scale(1.04);
  background-color: #ff3344;
}
.btn1 {
  padding: 8px 30px;
  border-radius: 8px;
  border: 2px solid #fd4e5d;
  color: #fd4e5d;
  transition: all 0.3s ease;
}
.btn1:hover {
  cursor: pointer;
  background-color: #fd4e5d;
  color: white;
}
nav.scrolled {
  border-bottom: 1px solid rgba(167, 203, 223, 0.6);
}

/********** HEADER **********/
nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-left: 6%;
  padding-right: 6%;
  width: 88%;
  height: 10vh;
  position: sticky;
  top: 0;
  border-bottom: 1px solid rgba(167, 203, 223, 0);
  z-index: 10000;
}
nav ul {
  list-style: none;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
  width: fit-content;
  gap: 30px;
}
nav a {
  display: flex;
  transition: all 0.3s ease;
  border-radius: 6px;
  text-decoration: none;
  color: #b3cee2;
}
nav a:hover {
  color: #ffffff;
  transform: translateY(-2px);
}
header {
  background-color: #182233;
  height: fit-content;
  padding: 50px 0px;
}
header .presentation {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 50px;
  height: 100%;
  padding-left: 6%;
  padding-right: 6%;
}
header .left {
  display: flex;
  flex-direction: column;
  justify-content: space-evenly;
  width: 60%;
  height: 100%;
  gap: 10px;
}
header .right {
  width: 40%;
  display: flex;
  justify-content: center;
  align-items: center;
}
header .pdp {
  border-radius: 50%;
  height: 300px;
  width: auto;
}
.btn-nav-header {
  display: flex;
  justify-content: start;
  align-items: center;
  margin-top: 20px;
  gap: 20px;
}
header .social-media {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-top: 20px;
}
header .social-media a {
  display: inline-flex;
  padding: 8px;
  border-radius: 5px;
  border: 1px solid #b3cee22f;
  transition: all 0.3s;
  background-color: #1e2d42;
}
header .social-media .cv {
  font-size: 19px;
}
header .social-media svg {
  height: 25px;
  width: 25px;
  color: #ffffff;
  transition: color 0.3s;
}
header .social-media a:hover {
  border-color: #b3cee2;
  transform: translateY(-2px);
}
header .social-media a:hover svg {
  color: #b3cee2;
}
/********** FIN HEADER **********/

.swipe-left,
.swipe-right {
  position: relative;
  background-color: #b4b7ba73;
  height: 70px;
  width: 30px;
}
.swipe-left:hover,
.swipe-right:hover {
  cursor: pointer;
}
.img-container p {
  display: flex;
  align-items: start;
  justify-content: center;
  color: rgba(0, 0, 0, 0.719);
}

/***************************************************
                    COMPETENCES
***************************************************/

.skills-page {
  padding: 80px 15%;
  height: fit-content;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.header-skills {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}
.header-skills hr {
  height: 2px;
  width: 80px;
  background-color: #ffffff;
}
.skills-parent {
  display: grid;
  grid-template-columns: repeat(2, 2fr);
  align-items: start;
  gap: 50px;
  width: 100%;
  margin-top: 60px;
}
.skills-child {
  height: fit-content;
  width: 100%;
  border-radius: 15px;
  border: 1px solid #b3cee241;
  user-select: none;
}
.skills-child:hover {
  border-color: #b3cee2b9;
  cursor: pointer;
}
.skills-child svg {
  height: 50px;
  width: 50px;
  color: #b3cee2;
  background-color: #2d3d52;
  border-radius: 10px;
  padding: 8px;
}
.container-skills-child {
  padding: 15px;
}
.head-skills-child {
  display: flex;
  align-items: center;
  gap: 20px;
}
.triangle-open {
  transform: rotate(-90deg);
  margin-left: auto;
  transition: transform 0.3s ease;
}
.triangle-open.open {
  transform: rotate(0deg);
}
.bloc-skills-child {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
  max-height: 0;
  margin-top: 0;
  opacity: 0;
  overflow: hidden;
  transition:
    max-height 0.3s ease,
    margin-top 0.3s ease,
    opacity 0.3s ease;
}
.bloc-skills-child.active {
  max-height: 1000px;
  margin-top: 15px;
  opacity: 1;
}
.content-skills-child {
  display: flex;
  flex-wrap: wrap;
}
.bloc-skills-child hr {
  color: #ffffff;
  width: 100%;
  margin: auto;
}

/***************************************************
                    PROJETS
***************************************************/

.projects-page {
  padding: 80px 6%;
  height: fit-content;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.header-projects {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}
.header-projects hr {
  height: 2px;
  width: 80px;
  background-color: #ffffff;
}
.projects-parent {
  width: 100%;
  margin-top: 60px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-width: thin;
  scrollbar-color: #ffffff #1e2d42;
  padding-bottom: 10px;
}
.projects-child {
  flex-shrink: 0;
  width: 32%;
  height: 400px;
  border-radius: 20px;
  border: 1px solid #b3cee24c;
  transition: all 0.3s ease;
  user-select: none;
}
.projects-child:hover {
  border: 1px solid #b3cee2;
}
.projects-child:hover .head-projects-child img {
  opacity: 0.8;
}
.projects-child:hover .head-projects-child svg {
  background-color: #182233c5;
  color: #b3cee2;
  cursor: pointer;
}
.head-projects-child {
  width: 100%;
  height: 50%;
  position: relative;
}
.head-projects-child img {
  height: 100%;
  width: 100%;
  border-top-left-radius: 20px;
  border-top-right-radius: 20px;
  opacity: 0.5;
  transition: all 0.3s ease;
}
.head-projects-child a {
  position: absolute;
  top: 10px;
  right: 10px;
  width: fit-content;
  height: fit-content;
}
.head-projects-child svg {
  color: #b3cee285;
  background-color: #18223345;
  padding: 8px;
  border-radius: 10px;
  transition: all 0.3s ease;
  z-index: 10;
}
.content-projects-child {
  width: 90%;
  height: 40%;
  padding: 5%;
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  gap: 10px;
}
.langages-use {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: auto;
}
.langages-use p {
  padding: 2px 6px;
  background-color: #182233;
  border-radius: 6px;
}

/***************************************************
                    CERTIFICATIONS
***************************************************/

.certif-page {
  padding: 80px 6%;
  height: fit-content;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.header-certif {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}
.header-certif hr {
  height: 2px;
  width: 80px;
  background-color: #ffffff;
}
.certif-parent {
  width: 100%;
  margin-top: 60px;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px;
  padding-bottom: 10px;
}
.certif-child {
  width: 225px;
  height: 300px;
  user-select: none;
  transition: all 0.5s ease;
}
.certif-child:hover {
  transform: translateY(-10px);
}
.certif-child:hover .head-certif-child img {
  border-color: #fd4e5d;
  box-shadow: 0px 0px 20px #ffffff56;
}
.head-certif-child {
  width: 100%;
  height: 70%;
  display: flex;
  justify-content: center;
  align-items: center;
}
.head-certif-child img {
  height: 90%;
  width: 90%;
  border-radius: 50%;
  border: 6px solid #b3cee2;
  opacity: 1;
  transition: all 0.3s ease;
  background-color: white;
}
.head-certif-child img:hover {
  cursor: pointer;
}
.content-certif-child {
  width: 90%;
  padding: 5%;
  display: flex;
  flex-direction: column;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}
.popUp-pix {
  display: flex;
  height: 80vh;
  width: 40vh;
  background-color: #121b2b;
}

/***************************************************
                    CONTACT
***************************************************/

.contact-page {
  padding: 80px 15%;
  height: fit-content;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.header-contact {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}
.header-contact hr {
  height: 2px;
  width: 80px;
  background-color: #ffffff;
}
.contact-box {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 50px;
}
.contact-box form {
  display: flex;
  flex-direction: column;
  border-radius: 20px;
  padding: 30px;
  margin: 50px;
  gap: 20px;
  border: 1px solid #b3cee22f;
}
.contact-box h3 {
  padding: 20px 0px;
}
.contact-box form input {
  height: 20px;
  width: 96%;
  font-size: 18px;
  border-radius: 6px;
  border: 1px solid #b3cee22f;
  background-color: #182233;
  color: #b3cee2;
  padding: 2%;
}
.contact-box form input:focus {
  outline: none;
  border: 2px solid #b3cee2;
}
.contact-box form input::placeholder {
  color: #b3cee24c;
}
.input-box {
  display: flex;
  flex-direction: column;
  width: 100%;
  gap: 4px;
}
.contact-box .message {
  font-size: 18px;
  border-radius: 6px;
  border: 1px solid #b3cee22f;
  background-color: #182233;
  color: #b3cee2;
  padding: 2%;
  width: 96%;
}
.contact-box .message:focus {
  outline: none;
  border: 2px solid #b3cee2;
}
.submit-btn {
  width: 30%;
  font-size: 18px;
  border-radius: 6px;
  border: 1px solid #b3cee22f;
  background-color: #b3cee2;
  color: #182233;
  padding: 2%;
  margin: auto;
  transition: all 0.2s ease;
}
.submit-btn:hover {
  cursor: pointer;
  background-color: #b3cee2d8;
}

/***************************************************
                    FOOTER
***************************************************/

footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 6%;
  background-color: #121b2b;
}
footer .social-media {
  display: flex;
  gap: 20px;
}
footer svg {
  color: white;
}
footer svg:hover {
  color: #fd4e5d;
}

/***************************************************
                    PROJETS 1
***************************************************/

.project1 main {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 80px 10%;
  user-select: none;
}
.project1 .img-container {
  height: fit-content;
  width: fit-content;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.project1 .img-project {
  width: 100%;
  height: auto;
  padding: 40px 0px;
}
.project1 .img-caroussel1 {
  display: flex;
}
.project1 .img-caroussel2 {
  display: flex;
}
.project1 .hiddenP1 {
  display: none;
}
.project1 .description-project1 {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.project1 .footer-description-project1 {
  display: flex;
  justify-content: start;
  align-items: center;
  margin-top: 40px;
  gap: 10px;
}
.project1 .footer-description-project1 p {
  background-color: #fd4e5d;
  border-radius: 10px;
  padding: 6px 10px;
}
.project1 .icons-langages-use {
  margin-left: auto;
}
.project1 .icons-langages-use img {
  height: 80px;
  width: auto;
}

/***************************************************
                    PROJETS 2
***************************************************/

.project2 main {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 80px 10%;
  user-select: none;
}
.project2 .img-container {
  height: fit-content;
  width: fit-content;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.project2 .img-project {
  width: 100%;
  height: auto;
  padding: 40px 0px;
}
.project2 .img-caroussel1 {
  display: flex;
}
.project2 .img-caroussel2 {
  display: flex;
}
.project2 .hiddenP1 {
  display: none;
}
.project2 .description-project1 {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.project2 .footer-description-project1 {
  display: flex;
  justify-content: start;
  align-items: center;
  margin-top: 40px;
  gap: 10px;
}
.project2 .footer-description-project1 p {
  background-color: #fd4e5d;
  border-radius: 10px;
  padding: 6px 10px;
}
.project2 .icons-langages-use {
  margin-left: auto;
}
.project2 .icons-langages-use img {
  height: 80px;
  width: auto;
}

/***************************************************
                    PROJETS 3
***************************************************/

.project3 main {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 80px 10%;
  user-select: none;
}
.project3 .img-container {
  height: fit-content;
  width: fit-content;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.project3 .img-project {
  width: 100%;
  height: auto;
  padding: 40px 0px;
}
.project3 .img-caroussel1 {
  display: flex;
}
.project3 .img-caroussel2 {
  display: flex;
}
.project3 .hiddenP1 {
  display: none;
}
.project3 .description-project1 {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.project3 .footer-description-project1 {
  display: flex;
  justify-content: start;
  align-items: center;
  margin-top: 40px;
  gap: 10px;
}
.project3 .footer-description-project1 p {
  background-color: #fd4e5d;
  border-radius: 10px;
  padding: 6px 10px;
}
.project3 .icons-langages-use {
  margin-left: auto;
}
.project3 .icons-langages-use img {
  height: 80px;
  width: auto;
}

/***************************************************
                    PROJETS 4
***************************************************/

.project4 main {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 80px 10%;
  user-select: none;
}
.project4 .img-container {
  height: fit-content;
  width: fit-content;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.project4 .img-project {
  width: 100%;
  height: auto;
  padding: 40px 0px;
}
.project4 .img-caroussel1 {
  display: flex;
}
.project4 .img-caroussel2 {
  display: flex;
}
.project4 .hiddenP1 {
  display: none;
}
.project4 .description-project1 {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.project4 .footer-description-project1 {
  display: flex;
  justify-content: start;
  align-items: center;
  margin-top: 40px;
  gap: 10px;
}
.project4 .footer-description-project1 p {
  background-color: #fd4e5d;
  border-radius: 10px;
  padding: 6px 10px;
}
.project4 .icons-langages-use {
  margin-left: auto;
}
.project4 .icons-langages-use img {
  height: 80px;
  width: auto;
}
