/* Base */

:root {
  --color-body: #fdfafa;
  --background-body: #0c0505;
}

* {
  box-sizing: border-box;
}

html {
  font-size: 62.5%;
}

body {
  font-family: Verdana, Geneva, Tahoma, sans-serif;
  font-size: 1.6rem;
  line-height: 1.6;
  color: var(--color-body);
  margin: 0;
  background: var(--background-body);
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  color: #ffffff;
  font-weight: 500;
  line-height: 1;
}

h1,
.h1 {
  font-size: 3.1rem;
}

h2,
.h2 {
  font-size: 2.8rem;
  text-transform: uppercase;
  display: flex;
  justify-content: center;
}

h3,
.h3 {
  font-size: 2.1rem;
}

a {
  text-decoration: none;
}

img {
  max-width: 100%;
  height: auto;
}

ul {
  padding-left: 2rem;
}

li {
  margin-bottom: 1rem;
}

.list-unstyled {
  list-style: none;
  margin: 0;
  padding: 0;
}

.category {
  margin: 0;
  font-size: 1rem;
  text-transform: uppercase;
  color: #f7f4f4;
}

.container {
  padding: 1rem 2rem;
}

.d-flex {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.grid {
  display: flex;
  flex-wrap: wrap;
}

.grid__item {
  flex-grow: 1;
  flex-shrink: 0;
  width: 100%;
  padding: 1rem;
}

@media screen and (min-width: 750px) {
  .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
  }

  .grid__item {
    max-width: 50%;
  }
}

/* Sections */

section {
  padding: 5.5rem 0;
}

.section-title {
  margin-top: 30px;
  font-size: 3.8rem;
}

.section-header {
  text-align: center;
}

@media screen and (min-width: 750px) {
  .section-title {
    font-size: 4.8rem;
  }
}

.header {
  background: #0e0d0d;
  border-bottom: 1px solid #ffffff;
  position: sticky;
  top: 0;
  z-index: 1;
}

.header .logo {
  width: 100px;
  height: 50px;
  background-color: #c4bdc0;
}

.header li {
  display: inline-flex;
  align-items: center;
  padding: 0 0.5rem;
}

.header a {
  color: var(--color-body);
}

.header a:hover {
  color: rgb(241, 17, 17);
}

.header .right {
  display: flex;
  align-items: center;
}

.socials {
  display: flex;
  justify-content: center;
}

.socials li {
  margin-bottom: 0;
}

.socials a {
  padding: 0 2px;
}

.socials .icon {
  /* Stylisation des icônes SVG */

  fill: white; /* Couleur blanche des icônes SVG */
  width: 30px; /* Taille de l'icône (ajustable) */
  height: 30px; /* Taille de l'icône (ajustable) */
  margin: 0 5px; /* Espacement entre les icônes */
}

.burger {
  background: none;
  border: none;
  width: 35px;
  height: 35px;
  cursor: pointer;
  position: relative;
  margin-left: 1rem;
}
.burger .bar {
  display: block;
  width: 22px;
  height: 3px;
  background: var(--color-body);
}
.burger .bar::before,
.burger .bar::after {
  display: block;
  content: "";
  width: 22px;
  height: 3px;
  background: var(--color-body);
  position: absolute;
}
.burger .bar::before {
  transform: translateY(-8px);
}

.burger .bar::after {
  transform: translateY(8px);
}

@media screen and (max-width: 749px) {
  nav {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    position: fixed;
    top: 55px;
    left: 110%;
    width: 0;
    overflow: hidden;
    opacity: 0;
    height: calc(100vh - 55px);
    background: #0f0f0f;
    transition: all 0.4s ease-out;
  }

  nav .menu li {
    display: flex;
    justify-content: center;
  }

  nav .menu a {
    display: block;
    font-size: 2rem;
    padding: 2rem;
    transition: all 0.4s;
  }

  .show-nav nav {
    opacity: 2;
    width: 100%;
    left: 0;
    z-index: 2;
  }

  .show-nav nav li a:hover {
    transform: scale(1.1);
    text-decoration: none;
  }

  .show-nav .burger .bar {
    width: 0;
  }

  .burger .bar::before,
  .burger .bar::after {
    transition: all 0.2s ease-out;
  }

  .show-nav .burger .bar::before {
    transform: rotate(-45deg);
  }

  .show-nav .burger .bar::after {
    transform: rotate(45deg);
  }
}
@media screen and (min-width: 750px) {
  .navbar {
    display: flex;
  }

  .burger {
    display: none;
  }
}

.hero {
  background-image: url("../img/photo background.jpg");
  color: #030303;
  padding: 1rem 0 0 0;
}

.hero .title {
  color: inherit;
  font-size: 4rem;
  margin: 1.6rem 0 0 0;
  font-weight: 700;
}

.hero__item {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.hero__item span {
  text-transform: uppercase;
}

.hero__item.left {
  animation-duration: 2s;
  animation-name: slideInleft;
  display: flex;
  justify-content: center;
}

.hero__item.right {
  animation-duration: 2s;
  animation-name: slideInRight;
}

.hero__avatar img {
  width: 100%;
}

@media screen and (max-width: 749px) {
  .hero__item.left {
    order: 2;
  }

  .hero__item.right {
    order: 1;
  }
}

@media screen and (min-width: 750px) {
  .hero__item {
    flex: 1 0 50%;
    text-align: left;
  }

  .hero__item.left {
    align-items: flex-start;
  }

  .hero .title {
    font-size: 5rem;
  }

  .hero__avatar img {
    max-width: 500px;
    border-radius: 20%;
  }
}

.about .section-title {
  margin-top: 2.8rem;
}

.grid__item.left {
  animation-duration: 3s;
  animation-name: slideInRight;
}
.grid__item.right {
  animation-duration: 3s;
  animation-name: slideInRight;
}

@media screen and (min-width: 750px) {
  .about img {
    padding-right: 3rem;
    height: 700px;
    width: 550px;
  }
}
.services {
  background: #0e0d0d;
}

.service__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #5b6c78;
  border-radius: 50%;
  fill: white; /* Couleur blanche des icônes SVG */
  width: 100px; /* Taille de l'icône (ajustable) */
  height: 100px; /* Taille de l'icône (ajustable) */
  margin: 0 5px; /* Espacement entre les icônes */
}

.service__icon svg {
  height: 50px;
}

.service__content {
  flex: 1;
}

.service h3 {
  margin-bottom: 0;
}

@media screen and (max-width: 749px) {
  .service {
    text-align: center;
  }

  .service__icon {
    margin: 0 auto;
  }
}

@media screen and (min-width: 750px) {
  .service {
    display: flex;
    align-items: center;
  }

  .service__icon {
    margin-right: 2rem;
  }
}

.form {
  max-width: 600px;
  margin: 4rem auto 0 auto;
}

.form input,
.form textarea {
  display: block;
  width: 100%;
  padding: 1rem;
  margin-bottom: 2rem;
}

.form textarea {
  min-height: 200px;
}

.form .btn {
  border: black;
  background: var(--color-body);
  color: #1f1e1e;
  width: auto;
  min-width: 160px;
  font-size: 2rem;
  text-transform: uppercase;
}

.form .btn:hover {
  cursor: pointer;
  background: #ffffff;
}

/* Footer */

footer {
  background: #000;
  color: #ffffff;
  text-align: center;
  font-size: 1.4rem;
}

footer p {
  margin: 0;
}

footer .grid {
  align-items: center;
}

footer .socials {
  justify-content: center;
  text-align: center;
}

footer .socials li {
  padding: 0 0.7rem;
}

footer .socials a {
  color: #ffffff;
  border: 1px solid #ffffff;
  border-radius: 50%;
  padding: 1rem;
  width: 50px;
  height: 50px;
  display: flex;
  justify-content: center;
  transition: all 0.4s;
}

footer .socials a:hover {
  background: #353434;
  color: var(--color-body);
}

@media screen and (min-width: 750px) {
  footer {
    text-align: left;
  }

  footer .grid__item {
    max-width: 33.333%;
  }
}

@keyframes slideInleft {
  from {
    transform: translateX(-110%);
  }

  to {
    transform: translateX(0);
  }
}

@keyframes slideInRight {
  from {
    transform: translateX(110%);
  }

  to {
    transform: translateX(0);
  }
}

.slider {
  height: 400px;
  max-width: 700px;
  position: relative;
  margin: auto;
}
@media screen and(min-width:750px) {
  .slider_content_item img {
    height: 800px;
    width: 1200px;
  }
}
.slider_nav_button__next {
  right: 20px;
}

.slider_nav_button__prev {
  left: 20px;
}

.slider_nav_button {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  cursor: pointer;
  transition: 0.3s all ease-in-out;
}
.slider_nav_button:hover {
  transform: translateY(-50%) scaleX(1.1);
}

.slider_nav_button {
  background: transparent;
  border: none;
}
.slider_nav_button svg {
  width: 50px;
  height: 50px;
}
.slider_nav_button svg path {
  stroke: white;
}

.slider_content {
  height: 100%;
  width: 100%;
  display: flex;
  overflow: hidden;
  scroll-behavior: smooth;
}

.slider_content_item {
  height: 100%;
  min-width: 100%;
}

.slider_content_item img {
  height: 100%;
  width: 100%;
}
