body {
  overflow-x: hidden;
}
html,
body {
  margin: 0;
  padding: 0;
  font-family: "Arvo", serif;
}
.logo-site {
  position: relative;
  width: 100%;
  z-index: 999999;
}
.texte-accueil {
  font-size: 20px;
}
#site-logo {
  position: absolute;
  top: -116px;
  left: 0px;
  z-index: 1000;
  width: 133px;
  height: auto;
  border-radius: 20%;
  display: block;
}
#logo-link {
  height: 100%;
  width: 100%;
}
body {
  background-image: url("img/background_2024 copie.webp");
  background-repeat: no-repeat;
  background-position: center center;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  background-attachment: fixed;
  background-size: cover;
  position: relative;
  z-index: -9000;
}

header {
  width: 100%;
  background: rgba(0, 0, 0, 0.8);
  padding-bottom: 10px;
  position: fixed;
}
.mainheader {
  color: white;
  text-align: center;
  box-sizing: border-box;
  height: 174px;
  position: fixed;
  z-index: 1;
}

/* Styles pour le contenu principal */
main {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
}

/* Autres styles */
h4,
h2,
p {
  margin: 10px 0;
  z-index: 1;
  color: #1b063f;
  display: inline;
}

.categories {
  color: #00fff9;
  text-align: left;
  left: 16px;
  z-index: -1;
  top: 192px;
  font-size: xx-large;
  background-color: rgb(123 103 213);
  border-radius: 50%;
  position: fixed;
}

.top-header {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  position: relative;
  z-index: 99999;
  animation: neon 1.5s infinite;
}

.top-header h1 {
  font-size: 57px;
  margin: 0;
  position: relative;
  bottom: -30px;
}

.navbar {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 44px 0;
  position: relative;
  width: 100%; /* Assure que la navbar prend toute la largeur */
  box-sizing: border-box; /* Inclut le padding et les bordures dans la largeur totale */
  z-index: 9999;
}

.menu_principal {
  list-style: none;
  display: flex;
  padding: 0;
  margin: 0;
  border: 2px solid #ff00ff;
  border-radius: 10px;
  background-color: black;
}

.menu_principal > li {
  margin: 0 15px;
  position: relative;
}

.menu_principal > li > a {
  text-decoration: none;
  color: white;
  padding: 10px 20px;
  display: block;
  transition: background-color 0.3s ease;
}

.menu_principal > li > a:hover {
  background-color: rgba(255, 255, 255, 0.2);
  animation: neon 1.5s infinite;
}

@keyframes neon {
  0%,
  100% {
    text-shadow: 0 0 5px #fff, 0 0 10px #fff, 0 0 20px #ff00ff, 0 0 30px #ff00ff,
      0 0 40px #ff00ff, 0 0 50px #ff00ff, 0 0 60px #ff00ff;
  }
  50% {
    text-shadow: 0 0 2px #fff, 0 0 4px #fff, 0 0 8px #ff00ff, 0 0 12px #ff00ff,
      0 0 16px #ff00ff, 0 0 20px #ff00ff, 0 0 24px #ff00ff;
  }
}

.dropdown {
  display: none;
  position: absolute;
  top: 100%;
  left: -50px;
  background-color: rgba(0, 0, 0, 0.8);
  border-radius: 10px;
  min-width: 200px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
  z-index: 9999;
}

.dropdown li {
  margin: 0;
}

.dropdown li a {
  padding: 10px 20px;
  color: white;
  text-decoration: none;
  display: block;
  transition: background-color 0.3s ease;
}

.dropdown li a:hover {
  background-color: rgba(255, 255, 255, 0.2);
  animation: neon 1.5s infinite;
}

.menu_principal > li:hover .dropdown {
  display: block;
}

.container {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  padding: 0% 10% 0% 10%;
  margin-bottom: 89px;
  margin-top: 290px;
}

.colonne {
  display: flex;
  flex-direction: row;
  align-items: center;
  width: 100%;
  margin-bottom: 20px;
  padding: 20px;
  box-sizing: border-box;
  background-color: rgb(206 188 223 / 80%);
  color: #1b063f;
}
/* Style pour la div contenant l'image */
.colonne .image {
  flex: 1; /* Prend 50% de l'espace de la colonne */
  display: flex;
  justify-content: center;
  align-items: center;
}
.colonne .image img {
  max-width: 100%;
  height: auto;
}
/* Style pour la div contenant le texte */
.colonne .texte {
  flex: 1; /* Prend 50% de l'espace de la colonne */
  padding-left: 20px;
}

/* Footer */
.footer {
  width: 100%;
  background: rgba(0, 0, 0, 0.8);
  text-align: center;
  height: 70px;
  box-sizing: border-box;
  padding: 20px;
  border-top: 5px solid #dddddd00; /* Bordure supérieure pour délimiter le footer */
  bottom: 0;
  position: relative;
}
body > footer > p {
  color: white;
}
/*main les composants,peripheriques,pcportables,decorations*/
.index {
  display: flex;
  justify-content: center;
  align-content: flex-start;
  min-height: 100vh;
  flex-wrap: wrap;
  margin-top: 255px;
  position: relative;
  z-index: 0;
}

.category {
  transition: transform 0.3s;
  background-color: rgb(206 188 223 / 80%);
  padding: 20px;
  display: flex;
  margin: 44px 20px 0 20px;
  flex-direction: row;
  align-items: center;
}

.category img {
  width: 150px;
  height: 150px;
  border-radius: 10px;
  display: block;
}

.category p {
  margin: 3%;
  font-size: xx-large;
  font-weight: bold;
}

.category:hover {
  transform: scale(1.1);
  animation: neon 10s cubic-bezier(0.075, 0.82, 0.165, 1) infinite;
}
/*animations produit*/
.card {
  position: relative;
  width: 600px;
  height: 360px;
  border-radius: 30px;
  display: flex;
  align-items: center;
  transition: 0.5s;
}

.card .circle {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 20px;
  overflow: hidden;
}

.card .circle::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #00ffff;
  clip-path: circle(127px at center);
  transition: 0.5s;
}

.card:hover .circle::before {
  background: #00ffff;
  clip-path: circle(400px at center);
}

.card img {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  height: 150px;
  pointer-events: none;
  transition: 0.5s;
}

.card:hover img {
  left: 82%;
  height: 280px;
}

.card .content {
  position: relative;
  width: 50%;
  left: 25%;
  padding: 28px 24px 28px 40px;
  transition: 0.5s;
  opacity: 0;
  visibility: hidden;
}

.card:hover .content {
  left: 0;
  opacity: 1;
  visibility: visible;
}

h2::first-letter {
  font-size: 1.4em;
}

.card .content h2 {
  margin-left: 30px;
  font-family: "Arvo", serif;
  color: #1f1f1f;
  letter-spacing: 2px;
  font-size: 2em;
  line-height: 1em;
  margin-bottom: 3px;
}

.card .content h3 {
  margin-left: 33px;
  color: #1f1f1f;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  line-height: 2em;
  font-size: 1em;
  font-weight: 200;
  margin-bottom: 10px;
}

.card .content p {
  margin-left: 30px;
  -webkit-text-stroke: 1px rgb(82, 82, 82);
  color: #ffffff;
  letter-spacing: 1.5px;
}

.card .content a {
  position: relative;
  padding: 18px 20px;
  border-radius: 10px;
  background: #dc60d5;
  color: #000000;
  margin-top: 18px;
  display: inline-block;
  text-decoration: none;
  font-weight: 200;
  transition: 0.5s;
}
.card .text-circle {
  position: absolute;
  top: 5%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #00fff9;
  text-align: center;
  opacity: 1;
  visibility: visible;
  transition: 0.5s;
  font-size: xx-large;
  font-weight: bold;
  background-color: rgb(123 103 213);
  border-radius: 39%;
}
.card:hover .text-circle {
  opacity: 0;
  visibility: hidden;
  transition: 0.5s;
}
.container-card {
  display: flex;
  position: absolute;
  z-index: 0;
  padding: 20px;
  flex-wrap: wrap;
  justify-content: center;
  top: 224px;
}
/*menu hamburger*/
.menu-toggle {
  display: none;
  font-size: 30px;
  background: none;
  border: none;
  color: rgb(255, 255, 255);
  cursor: pointer;
}
/* Par défaut */
.menu_hamburger {
  display: none;
}
/*contact box*/
form {
  max-width: 618px;
  margin: 0 0 126px 0;
  padding: 40px;
  background-color: #f9f9f9;
  display: flex;
  z-index: 0;
  flex-wrap: wrap;
  flex-direction: column;
  align-content: center;
}
label {
  display: block;
  margin-bottom: 5px;
}
input,
textarea {
  width: 100%;
  padding: 10px;
  margin-bottom: 10px;
  border: 1px solid #ccc;
  border-radius: 4px;
}
button {
  background-color: rgb(123 103 213);
  color: white;
  border: none;
  padding: 10px 20px;
  border-radius: 4px;
  cursor: pointer;
}
button:hover {
  background-color: rgb(0 0 0 / 41%);
}
/*footer contact*/
.footer-contact {
  position: fixed;
  bottom: 0px;
  background-color: #000000c4;
  z-index: 10000;
  width: 100%;
  height: 180px;
  display: flex;
  flex-direction: row;
  align-content: center;
  justify-content: center;
  align-items: center;
}

.footer-icon {
  text-align: center;
  position: relative;
  display: flex;
  flex-direction: row;
  justify-content: center;
}

.footer-icon img {
  width: 100px; /* Ajuste la largeur selon vos besoins */
  height: auto; /* Maintient les proportions de l'image */
}

.footer-icon a {
  display: inline-block;
  width: auto; /* Laisse la largeur de l'image déterminer la taille */
  transition: transform 0.3s ease;
}

.footer-icon a:hover {
  transform: scale(1.2);
}
.contact-page {
  background: #f9f9f9;
  position: relative;
  z-index: -1;
  margin: 131px 0 73px 0;
  padding: 23px;
}
.contact-flex {
  display: flex;
  flex-direction: column;
  justify-content: center;
}
#contact-form {
  width: 100%;
  position: relative;
}
/* Media Queries pour les grands écrans (max-width: 768px) */
@media (max-width: 768px) {
  h2 {
  margin-top: 40px;
}
.container {
  margin-top: 320px;
}
.menu-toggle {
  display: block;
}
.navbar {
  top: -103px;
}
#site-logo {
  position: relative;
  width: 11%;
  border-radius: 20%;
  min-width: 85px;
  margin: 0 auto;
  margin-top: 250px;
}
#logo-link {
  height: 67%;
  width: 100%;
}
.logo-site {
  z-index: 0;
}
.top-header {
  display: flex;
  align-items: center; /* Centrer verticalement */
  justify-content: center; /* Centrer horizontalement */
  flex-direction: column;
}
.top-header h1 {
  font-size: 32px;
  white-space: nowrap;
  bottom: -317px;
}
.menu_principal {
  display: none;
}
.menu_hamburger {
  width: 92%;
  top: 77px;
  position: absolute;
  border: 2px solid #ff00ff;
  border-radius: 10px;
  flex-direction: column;
}
.menu_hamburger.active {
  display: flex;
  background-color: rgb(0, 0, 0);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
  margin-top: 25px;
}
.menu_hamburger li {
  display: block;
  margin: 10px 0;
}
.menu_hamburger.active li a {
  color: white;
  transition: background-color 0.3s ease;
  text-decoration: none;
  padding: 10px 20px;
  display: block;
  animation: neon 1.5s infinite;
  padding-right: 60px;
}
.index {
  display: flex;
  min-height: 100vh;
  margin-top: 275px;
  flex-direction: column;
  flex-wrap: wrap;
  justify-content: flex-start;
  margin-bottom: 39px;
}
.container-card {
  display: block;
  padding-top: 41px;
  width: auto;
  z-index: 0;
}
.card {
  position: relative;
  width: 100%;
  height: 453px;
  border-radius: 30px;
  display: flex;
  align-items: center;
  transition: 0.5s;
}
.card:hover img {
  left: 82%;
  height: 150px;
}
.texte-accueil {
  font-size: 10px;
}
.colonne .image img {
  max-width: 100%;
  height: 156px;
}
/*footer contact*/
.footer-icon svg {
  width: 30px; /* Réduit la taille de l'icône sur les petits écrans */
  height: 30px;
}
.footer-contact {
  max-width: 633px;
  margin-top: 60px;
  position: relative;
}
.footer-icon {
  position: relative;
  display: flex;
  flex-direction: row;
  justify-content: center;
}

/*box contact*/
form {
  width: 50%;
  position: relative;
  z-index: 0;
  top: 52px;
  margin-bottom: 49px;
}
#contact-form {
  max-width: 100%;
  width: 64%;
}
.contact-page {
  background: #f9f9f9;
  position: relative;
  max-width: 100%;
  z-index: 0;
  margin: 332px 26px 0 34px;
}
body > header {
  display: flex;
  flex-direction: column;
  align-content: center;
  justify-content: center;
  align-items: center;
}
.contact-flex {
  display: flex;
  flex-direction: column;
  justify-content: center;
}


/* {
    box-shadow: 0 0 0 3px red;
    inset;
} */
