/********** Debut css de base ***********/
body {
  background-color: #050922;
  color: rgb(255, 255, 255);
}

main {
  margin: 1rem;
}

h2 {
  color: white;
  margin: 2rem 0;
}

h3 {
  color: white;
}

.button {
  background: linear-gradient(-135deg, #007bff, #9631aa);
  color: #fff;
  border: none;
  border-radius: 15px;
  padding: 10px 25px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 16px;
  transition: background 0.3s ease, transform 0.3s ease-in-out;
  margin-right: 20px;
  margin: 0;
}

.button:hover {
  background: #7973c2;
  transform: scale(1.03);
}

.second-button {
  color: #fff;
  border: none;
  border: 2px solid #7973c2;
  border-radius: 15px;
  padding: 10px 25px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 16px;
  transition: background 0.3s ease, transform 0.3s ease-in-out;
  margin: 0;
}

.second-button:hover {
  border: #fff;
  background: white;
  transform: scale(1.03);
  color: #7973c2;
  font-weight: 600;
}

.linkedin {
  border-radius: 30%;
  margin-top: 0.2rem;
}

.linkedin:hover {
  scale: 1.2;
}

.github:hover {
  scale: 1.2;
}
/********** Fin css de base **********/

/********** Debut header **********/
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px;
}

.navbar h3 {
  margin: 0;
  color: white;
}

.social-networks {
  display: flex;
  gap: 15px;
}

.nav-list {
  display: flex;
  justify-content: center;
  list-style: none;
  gap: 35px;
  padding: 0;
  margin-top: 2rem;
  margin-bottom: 2rem;
  font-weight: bold;
}

.nav-link {
  text-decoration: none;
  color: white;
  font-size: 16px;
}

.nav-link:hover {
  color: #9631aa;
}

/* Media Query */
@media (min-width: 768px) {
  .navbar h3 {
    margin-right: auto;
    margin-left: 4rem;
  }

  .social-networks {
    margin-left: auto;
    margin-right: 4rem;
  }

  .nav-list {
    flex-direction: row;
    gap: 4rem;
  }

  .nav-link {
    font-size: 18px;
  }
}

@media (min-width: 1200px) {
  .navbar h3 {
    margin-right: auto;
    margin-left: 7rem;
    font-size: 22px;
  }

  .social-networks {
    margin-left: auto;
    margin-right: 7rem;
  }

  .nav-list {
    flex-direction: row;
    gap: 6rem;
  }

  .nav-link {
    font-size: 20px;
  }
}
/********** Fin header **********/

/********** Debut intro **********/
.intro {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-left: 1rem;
}

.intro-h1 {
  background: linear-gradient(-135deg, #007bff, #9631aa);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
}

.intro-suite-h1 {
  font-size: 28px;
}

.button-cv {
  background: linear-gradient(-135deg, #007bff, #9631aa);
  color: #fff;
  border: none;
  border-radius: 15px;
  padding: 10px 25px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 16px;
  transition: background 0.3s ease, transform 0.3s ease-in-out;
  margin-left: 1rem;
  margin-bottom: 2rem;
}

.button-cv:hover {
  background: #7973c2;
  transform: scale(1.03);
}

/* Media Query */
@media (min-width: 768px) {
  .intro {
    align-items: center;
    text-align: left;
  }

  .intro-h1 {
    font-size: 36px;
  }

  .intro-suite-h1 {
    font-size: 36px;
  }

  .intro-p {
    font-size: 18px;
    margin-bottom: 1rem;
    margin-left: 3rem;
    margin-right: 3rem;
  }

  .button-cv {
    margin-left: 4rem;
  }
}

@media (min-width: 1200px) {
  .intro {
    align-items: center;
    text-align: left;
  }

  .intro-h1 {
    font-size: 40px;
  }

  .intro-suite-h1 {
    font-size: 40px;
  }

  .intro-p {
    font-size: 18px;
    margin-bottom: 1rem;
    margin-left: 9rem;
    margin-right: 9rem;
  }

  .button-cv {
    margin-left: 10rem;
  }
}
/********** Fin intro **********/

/********** Debut projects **********/
.project-card {
  border-radius: 15px;
  max-width: 400px;
  margin-left: auto;
  margin-right: auto;
  padding: 17px;
  border: 2px solid #7973c2;
  box-shadow: 0 0 10px #7973c2, 0 0 1px #7973c2;
  margin-top: 3rem;
}

.project-card p {
  padding-bottom: 15px;
}

.project-card img {
  width: 100%;
  height: auto;
  border-radius: 10px;
  filter: grayscale(60%);
}

.project-card img:hover {
  filter: grayscale(0%);
  transition: filter 0.2s ease-in-out;
}

.project-card .button-container {
  display: flex;
  justify-content: center;
  gap: 2rem;
}

/* Media Query */
@media (min-width: 768px) {
  .projects-h2 {
    text-align: center;
    margin-top: 4rem;
  }

  .project-card {
    display: flex;
    flex-direction: column;
    text-align: center;
    max-width: 400px;
    margin: 0 auto;
    margin-top: 4rem;
  }
}

@media (min-width: 1200px) {
  .projects-h2 {
    text-align: left;
    margin-left: 6.7rem;
    margin-top: 4rem;
    font-size: 26px;
  }

  #projects {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-left: 6rem;
    margin-right: 6rem;
    gap: 40px;
  }

  .project-card {
    display: flex;
    flex-direction: column;
    text-align: center;
    max-width: 400px;
    margin: 0 auto;
  }

  .project-card img {
    margin-bottom: 15px;
    width: 100%;
    height: 200px;
    border-radius: 10px;
    margin: 0;
  }

  .project-card .button-container {
    display: flex;
    justify-content: center;
    gap: 1rem;
  }
}
/********** Fin projects **********/

/********** Debut technologies **********/
#technologies {
  margin-top: 3rem;
}

#technologies h2 {
  margin-bottom: 4rem;
}

.skill {
  width: 100%;
}

.labels {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 5px;
}

.labels p {
  margin: 0;
  white-space: nowrap;
}

.left-label {
  text-align: left;
  flex: 1;
  color: white;
}

.right-label {
  text-align: right;
  flex: 1;
  color: white;
}

.progress-bar {
  width: 100%;
  background-color: rgb(199, 199, 199);
  border-radius: 10px;
  overflow: hidden;
  height: 10px;
  margin-top: 5px;
  margin-bottom: 3rem;
}

.progress {
  height: 100%;
  background: linear-gradient(-135deg, #007bff, #9631aa);
  text-align: right;
  padding-right: 10px;
  color: white;
  border-radius: 10px;
}

/* Niveau: beginner, regular, advanced */
.beginner {
  width: 10%;
}

.regular {
  width: 57%;
}

.advanced {
  width: 80%;
}

.grid-container {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 15px;
  margin-bottom: 5.5rem;
}

.additional {
  display: flex;
  align-items: center;
  margin-bottom: 10px;
}

.additional p {
  margin: 0;
  color: #fff;
}

.additional::before {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 50%;
  margin-right: 10px;
  background: linear-gradient(135deg, #007bff, #9631aa);
}

/* Media Query */
@media (min-width: 768px) {
  #technologies {
    text-align: center;
    margin: 0 auto;
    margin-top: 6rem;
  }

  .skill {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 0 auto;
    max-width: 600px;
  }

  .labels {
    width: 100%;
    margin-bottom: 0.5rem;
  }

  .left-label {
    text-align: left;
    color: white;
  }

  .right-label {
    text-align: right;
    color: white;
  }

  .grid-container {
    grid-template-columns: repeat(3, 3fr);
    margin-left: 5rem;
  }
}

@media (min-width: 1200px) {
  .skill {
    max-width: 935px;
  }

  #technologies {
    margin-bottom: 3rem;
  }

  #technologies h2 {
    text-align: left;
    margin-left: 6.8rem;
    margin-top: 2rem;
  }

  .grid-container {
    grid-template-columns: repeat(3, 3fr);
    margin-left: 8.5rem;
    justify-content: space-between;
    column-gap: 9rem;
  }

  @media (min-width: 1500px) {
    .skill {
      max-width: 1399px;
    }

    .grid-container {
      margin-left: 14rem;
    }
  }
}
/********** Fin technologies **********/

/********** Debut about me **********/
.experience {
  position: relative;
}

.entry {
  display: grid;
  grid-template-columns: 100px 1fr;
  align-items: start;
  margin-bottom: 20px;
}

.date {
  text-align: left;
  color: #fff;
}

.text {
  text-align: left;
}

.timeline-bar {
  margin-top: 1.1rem;
  width: 1px;
  background-color: rgb(199, 199, 199);
  height: 71%;
  position: absolute;
  left: 50px;
  top: 0;
}

.point {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: linear-gradient(135deg, #007bff, #9631aa);
  position: absolute;
  left: -4.5px;
}

/* Media Query */
@media (min-width: 768px) {
  .h2-about {
    display: flex;
    justify-content: center;
    margin-top: 2rem;
  }

  #about-me {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
}

@media (min-width: 1200px) {
  #about-me {
    align-items: flex-start;
    margin-left: 7.2rem;
  }
}
/********** Fin about me **********/

/********** Debut footer **********/
footer {
  display: flex;
  flex-direction: column;
  padding: 20px;
  color: #fff;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

footer p {
  margin: 5px 0;
}

.social-networks {
  display: flex;
  gap: 15px;
}

.contact-info {
  margin-top: 20px;
  text-align: center;
}

a {
  color: #fefefe;
  text-decoration: none;
}

.email:hover {
  color: #9631aa;
}

.feel-free {
  background: linear-gradient(-135deg, #007bff, #9631aa);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
}

/* Media Query */
@media (min-width: 768px) {
  .feel-free {
    margin-left: 4.7rem;
  }
}

@media (min-width: 1200px) {
  .feel-free {
    margin-left: 8rem;
  }
}
/********** Fin footer **********/
