* {
  padding: 0;
  margin: 0;
}

body {
  background-image: url(images/Marbre_11zon.jpg);
  background-size: cover;
}

hr {
  width: 75%;
  margin: auto;
  color: #430c05;
  margin-bottom: 20px;
}

h1 {
  font-size: 3em;
  font-family: "MedievalSharp", cursive;
  color: #00353f;
  padding-bottom: 20px;
}

h3 {
  font-size: 1.5em;
  font-family: "MedievalSharp", cursive;
  color: #00353f;
}

h4 {
  font-family: "MedievalSharp", cursive;
  color: #00353f;
}

h2 {
  font-size: 3em;
  font-family: "MedievalSharp", cursive;
  color: #00353f;
  padding-bottom: 20px;
}

p {
  font-size: 1.3em;
  font-family: "Playfair Display", serif;
  color: #00353f;
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
  text-decoration: none;
}

a:visited {
  color: inherit;
}

.navbar {
  width: 100%;
  height: 60px;
  background-color: #051c24;
  overflow: hidden;
  display: flex;
  text-align: center;
  justify-content: space-around;
  align-items: center;
  z-index: 1;
  position: fixed;
  opacity: 0.8;
  top: 0;
}

.navbar a {
  width: 10%;
  display: flex;
  color: white;
  text-align: center;
  justify-content: center;
  align-items: center;
  font-size: 1.4em;
  padding: 14px 16px;
  text-decoration: none;
  border-radius: 5px;
  transition: background-color 0.3s ease, color 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.2);
}

.navbar a:hover {
  background-color: #ddd;
  color: black;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
}

.navbar h1 {
  color: white;
  padding-top: 20px;
}

.bandeau {
  background-image: url("images/bandeau_11zon.jpg");
  background-attachment: fixed;
  background-size: contain;
  background-repeat: no-repeat;
  height: 600px;
}

.bandeau2 {
  background-image: url("images/bandeau2_11zon.jpeg");
  background-attachment: fixed;
  background-size: contain;
  background-repeat: no-repeat;
  height: 600px;
}

.profil {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 20px 0;
}

.profil h2 {
  padding: 10px 0;
}

.profil hr {
  padding-bottom: 0;
}

.presentation {
  display: flex;
}

.presentation img {
  width: 60%;
  object-fit: contain;
}

#Qui_suis_je {
  margin: auto;
  text-align: center;
  padding: 20px;
}

#Qui_suis_je h2 {
  padding: 20px;
}

#Qui_suis_je p {
  text-align: left;
}

#Mon_savoir_faire {
  background-image: url(images/blue_11zon.jpg);
  text-align: center;
  padding: 20px 10px;
  align-items: center;
  justify-content: center;
}

#Mon_savoir_faire h2,
#Mon_savoir_faire p {
  color: white;
}

#Mon_savoir_faire hr {
  width: 60%;
}

.skills-container {
  display: flex;
  justify-content: space-around;
  align-items: stretch;
}

.skills {
  width: 18%;
  height: auto;
  display: inline-block;
  text-align: left;
  border: 1px solid black;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  border-radius: 5px;
  background-color: #14202ed3;
}

.skills img {
  width: 100%;
}

.skills h3 {
  color: white;
  text-align: center;
}

.skills p {
  margin: 0 10px;
  display: flex;
  align-items: center;
  font-size: 16px;
}

#Me_contacter {
  background-color: #ffbf66;
  text-align: center;
  padding: 50px;
}

.carousel-container {
  width: 80%;
  height: auto;
  margin: auto;
  position: relative;
  overflow: hidden;
  text-align: center;
  padding: 50px;
  margin-bottom: 30px;
}

.carousel-container hr {
  width: 100%;
}

.carousel-slide {
  width: 100%;
  display: flex;
  transition: transform 1s ease;
}

.carousel-slide img {
  width: 100%;
  object-fit: contain;
}

.dot-container {
  position: absolute;
  bottom: 8px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
}

.dot {
  cursor: pointer;
  height: 15px;
  width: 15px;
  margin: 0 2px;
  background-color: #bbb;
  border-radius: 50%;
  display: inline-block;
}

.dot.active {
  background-color: #717171;
}

.Projets {
  margin: auto;
  position: relative;
  text-align: center;
  padding-top: 30px;
  animation: fadeInUp 1s ease;
}

.Projets a {
  font-size: 22px;
  text-decoration: none;
}

.Projets::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("images/wallpaper.png");
  background-size: cover;
  background-repeat: no-repeat;
  opacity: 0.5;
  z-index: -1;
}

.Works {
  width: 440px;
  display: inline-block;
  overflow: hidden;
  margin: 20px;
  text-align: center;
  box-shadow: 5px 3px 3px black;
  border: 1px black solid;
  border-radius: 5%;
  padding: 10px 0px;
  background-color: white;
}

.works-images {
  width: 400px;
  height: 300px;
  overflow: hidden;
  border: 1px solid black;
  border-radius: 2%;
  margin: auto;
  margin-bottom: 10px;
}

.contact-footer {
  background: linear-gradient(45deg, #14202e, #14202e);
  padding: 30px;
  display: flex;
  justify-content: space-around;
  align-items: center;
  line-height: 1.8;
}

.Copyright {
  background: #0c131c;
  padding-left: 10%;
}

.footer-enorenov {
  max-width: 700px;
}

.footer-info {
  max-width: 600px;
}

footer h2 {
  font-size: 1.5em;
  padding-bottom: 5px;
}

footer p {
  font-size: 1.3em;
}

footer h2,
footer h2,
footer h3,
footer p {
  color: white;
}

.Project_photos {
  max-width: 2000px;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding-top: 70px;
  margin: auto;
}

.Copyright {
  text-align: center;
  padding: 0;
}

.Copyright p {
  font-size: 1.4em;
  padding: 15px 0;
}

form p {
  margin: auto;
  padding-bottom: 20px;
  font-size: 16px;
}

form {
  max-width: 700px;
  margin: 20px auto;
  background-color: #ffffffdf;
  padding: 150px;
  border-radius: 8px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  margin-top: 80px;
}

label {
  display: block;
  margin-bottom: 8px;
}

input,
textarea {
  width: 100%;
  padding: 8px;
  margin-bottom: 16px;
  border: 1px solid #ccc;
  border-radius: 4px;
  box-sizing: border-box;
  overflow: hidden;
  resize: none;
  appearance: textfield;
}

input[type="submit"] {
  background-color: #4caf50;
  color: #fff;
  cursor: pointer;
}

input[type="submit"]:hover {
  background-color: #45a049;
}

input::-webkit-inner-spin-button,
input::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

input::-o-inner-spin-button,
input::-o-outer-spin-button {
  -o-appearance: none;
  margin: 0;
}

form h3 {
  font-size: 1.3em;
  padding-bottom: 30px;
}

.burger-menu {
  display: none;
  cursor: pointer;
  padding: 0px;
  position: fixed;
  top: 5px;
  left: 10px;
  z-index: 2;
}

.bar {
  width: 3em;
  height: 0.4em;
  background-color: white;
  margin: 11px;
}

.Infos {
  width: 90%;
  margin: auto;
  padding-top: 100px;
}

@media only screen and (max-width: 1751px) {
  .presentation {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .presentation img {
    width: 80%;
    max-width: 800px;
    padding-top: 10px;
  }
}

@media only screen and (max-width: 1501px) {
  .bandeau {
    height: 300px;
  }

  .bandeau2 {
    height: 300px;
  }

  .skills {
    width: 45%;
    margin-bottom: 10px;
  }

  .skills-container {
    flex-wrap: wrap;
  }
}

@media only screen and (min-width: 1001px) {
  .image-zoom:hover {
    transform: scale(1.2);
  }

  .image-zoom {
    transition: 0.4s;
  }
}

@media only screen and (max-width: 1001px) {
  body {
    max-width: 900px;
  }

  h1 {
    font-size: 2em;
    padding: 10px 0;
  }

  h2 {
    font-size: 2em;
    padding: 10px 0;
  }

  h2 {
    margin: 15px;
  }

  p {
    font-size: 1em;
    line-height: normal;
  }

  h3 {
    font-size: 1.2em;
  }

  hr {
    margin-bottom: 10px;
  }

  .navbar {
    height: 80px;
    max-width: 900px;
  }

  .navbar a {
    display: none;
    visibility: hidden;
  }

  .navbar h1 {
    padding-bottom: 20px;
    position: absolute;
  }

  .burger-menu {
    display: block;
  }

  .navbar a {
    display: block;
    text-align: center;
    width: 100%;
  }

  .navbar.show {
    position: fixed;
    top: 0;
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 60%;
    text-align: center;
  }

  .navbar.show a {
    text-align: center;
    visibility: visible;
    font-size: 2em;
  }

  .navbar.show h1 {
    padding-left: 0;
    position: static;
  }

  .bandeau {
    height: 140px;
  }

  .bandeau2 {
    height: 140px;
  }

  #Qui_suis_je {
    width: 90%;
    padding: 10 0;
  }

  #Mon_savoir_faire {
    padding: 20px;
    margin-top: 15px;
  }

  .skills-container {
    width: 100%;
    flex-direction: column;
    align-items: center;
  }

  .skills {
    width: 90%;
    margin-bottom: 20px;
  }

  .skills h3 {
    padding-bottom: 5px;
  }

  .carousel-container {
    width: 100%;
    height: auto;
    padding: 10px 0px;
  }

  .Projets {
    width: 100%;
    flex-direction: column;
    align-items: center;
    padding-top: 0;
    position: static;
  }

  .Works {
    width: 350px;
    padding: 0;
    margin: 10px 10px;
  }

  form {
    width: 90%;
    padding: 10px;
    padding-top: 100px;
  }

  .Project_photos {
    width: 100%;
    margin: auto;
    padding-top: 100px;
    padding-bottom: 5px;
  }

  .Project_photos img {
    max-width: 300px;
    object-position: center;
  }

  .Infos {
    width: 96%;
  }

  .Articles {
    width: 95%;
    margin-bottom: 10px;
  }

  .contact-footer {
    display: block;
    padding: 10px;
    line-height: 1;
  }

  .contact-footer p {
    font-size: 1em;
    line-height: 1.2;
    padding: 15px 0;
  }

  .presentation img {
    width: 80%;
    padding-top: 10px;
  }
}

@media only screen and (max-width: 701px) {
  .Works {
    margin: 10px 0;
  }
}
