*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
:root {
  --base: #555;
  --base-100: #f1f1f1;
  --base-400: #555;
  --base-800: #000;
  --yellow: #ffda4b;
  --yellow-100: #fffbe6;
  --yellow-400: #ffda4b;
  --yellow-800: #8b6f00;
  --blue: #0a61ae;
  --blue-100: #e2f8ff;
  --blue-400: #61dafb;
  --blue-800: #0a61ae;
}
body {
  font-family: "Open Sans", sans-serif;
  font-optical-sizing: auto;
  font-style: normal;
  font-size: 20px;
  padding-bottom: 1000px;
}

small:hover {
  text-decoration: none
}

.github-blue {
  background-color: var(--blue-100);
  border-radius: 20px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1); /* Ajout d'une ombre douce */
  margin-bottom: 50px;
}

.github-blue p {
  font-size: 18px;
  color: var(--base-800);
  margin-bottom: 20px;
}

.github-stats img {
  width: 100%; /* Adaptation à la largeur du conteneur */
  max-width: 400px; /* Limite la taille sur les grands écrans */
  border-radius: 10px; /* Coins arrondis pour les images */
  margin-bottom: 20px; /* Espacement entre les deux graphiques */
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1); /* Ombre pour rendre les stats plus élégantes */
}

.github-blue .button {
  background-color: var(--blue);
  color: white;
  padding: 10px 20px;
  border-radius: 10px;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.github-blue .button:hover {
  background-color: var(--base-800);
  transform: translateY(-5px); /* Légère élévation au survol */
  text-decoration: none;
}


a {
  text-decoration: none;
  color: var(--blue);
}
a:hover {
  text-decoration: underline;
}
header {
  padding-top: 10px;
  padding-bottom: 10px;
  display: flex;
  justify-content: space-between;
  max-width: 1440px;
  margin: auto;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}
header .logo-holder {
  display: flex;
  padding: 10px;
  align-items: center;
  font-weight: 600;
  color: var(--base-800);
}
header .logo-holder .logo {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  background-color: var(--base-800);
  color: var(--base-100);
  height: 64px;
  width: 64px;
  margin-right: 20px;
  border-radius: 50%;
}
header .logo-holder .logo-text {
  flex: 1;
}
header nav {
  display: flex;
  align-items: center;
}
header nav ul {
  display: flex;
  list-style-type: none;
  gap: 5px;
}
header nav ul li {
  display: inline-block;
}
header nav ul li a {
  display: inline-block;
  padding: 10px 20px;
  color: var(--base);
}
header nav ul li a:hover {
  background-color: var(--base-100);
  border-radius: 10px;
  text-decoration: none;
}
header nav .mobile-toggle {
  display: none;
  color: var(--base-800);
  padding: 10px;
}
@media (max-width: 768px) {
  header nav .mobile-toggle {
    display: inline-block;
    position: absolute;
    top: 20px;
    right: 20px;
  }
}
@media (max-width: 1024px) {
  header {
    flex-direction: column;
    align-items: center;
  }
}
@media (max-width: 768px) {
  header {
    flex-direction: column;
    align-items: center;
  }
  header nav {
    margin-top: 10px;
    width: 100%;
  }
  header nav ul {
    display: none;
    flex-direction: column;
    text-align: center;
    width: 100%;
  }
  header nav ul a {
    width: 100%;
  }
  header nav ul.active {
    display: flex;
  }
}
section {
  max-width: 1440px;
  margin: auto;
  gap: 30px;
  margin-top: 30px;
  margin-bottom: 30px;
}
@media (max-width: 1440px) {
  section {
    padding-left: 30px;
    padding-right: 30px;
  }
}
.button {
  display: inline-block;
  padding: 10px 30px;
  background-color: var(--blue);
  color: var(--base-100);
  border-radius: 10px;
  transition: ease 0.3s all;
}
.button:hover {
  text-decoration: none;
  background-color: var(--base-800);
}
.button.white {
  background-color: white;
  color: var(--base-800);
}
.button.white:hover {
  background-color: var(--base-100);
  color: var(--base);
}
.button.black {
  background-color: black;
  color: white;
}
.button.black:hover {
  background-color: var(--base);
  color: var(--base-100);
}
h1 {
  font-size: 64px;
  line-height: 1;
  margin-bottom: 10px;
}
h1 small {
  display: block;
  font-weight: 100;
}
@media (max-width: 1024px) {
  h1 {
    font-size: 48px;
  }
}
.hero {
  display: flex;
}
@media (max-width: 1024px) {
  .hero {
    flex-direction: column;
  }
}
.hero .hero-blue {
  flex: 1;
  background-color: var(--blue-100);
  border-radius: 30px;
  padding: 30px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
@media (max-width: 768px) {
  .hero .hero-blue span {
    display: none;
  }
}
.hero .hero-blue .call-to-action {
  margin-top: 20px;
  margin-bottom: 10px;
}
.hero .hero-blue .call-to-action a {
  margin-right: 10px;
  margin-bottom: 10px;
}
.hero .hero-blue .social-links a:hover {
  text-decoration: none;
}
.hero .hero-yellow {
  flex: 1;
  background-color: var(--yellow);
  border-radius: 30px;
  padding: 0px 30px;
  display: flex;
  justify-content: center;
  align-items: flex-end;
}
.hero .hero-yellow img {
  margin-top: -60px;
  max-width: 420px;
  margin-bottom: -10px;
}
.logos {
  background-color: var(--base-100);
  border-radius: 30px;
  padding: 30px 0px;
}
@media (max-width: 1440px) {
  .logos {
    border-radius: 0px;
  }
}
.logos .marquee {
  width: 100vw;
  max-width: 100%;
  height: 128px;
  overflow: hidden;
  position: relative;
}
.logos .marquee .track {
  position: absolute;
  white-space: nowrap;
  will-change: transform;
  animation: marquee 40s linear infinite;
  display: flex;
  gap: 10px;
}
@keyframes marquee {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}
h2 {
  font-size: 64px;
  line-height: 1;
  margin-bottom: 10px;
  text-align: center;
  color: var(--base-800);
  padding: 30px;
}
h2 small {
  display: block;
  font-weight: 100;
  font-size: 0.5em;
  color: var(--base);
}
@media (max-width: 1024px) {
  h2 {
    font-size: 48px;
  }
}
h3 {
  font-size: 32px;
  font-weight: 600;
  line-height: 1;
  margin-bottom: 20px;
  color: var(--base-800);
}
.skills .holder-blue {
  background-color: var(--blue-100);
  border-radius: 30px;
  padding: 30px;
  display: flex;
}
@media (max-width: 1024px) {
  .skills .holder-blue {
    flex-direction: column;
  }
}
.skills .holder-blue .left-column {
  flex: 1;
}
.skills .holder-blue .left-column ul {
  list-style-type: none;
  gap: 10px;
  margin-right: 100px;
  margin-bottom: 20px;
}
.skills .holder-blue .left-column ul li {
  display: inline-block;
  background-color: var(--blue-400);
  padding: 10px 20px;
  border-radius: 15px;
  margin-bottom: 10px;
}
.skills .holder-blue .right-column {
  flex: 1;
}
.skills .holder-blue .right-column p {
  margin-bottom: 20px;
}

.button {
    transition: background-color 0.3s ease, transform 0.3s ease;
}
.button:hover {
    transform: translateY(-5px);
}

.bento-item {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
	size: 10px;
}
.bento-item:hover {
    transform: translateY(-10px); /* Légère élévation au survol */
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1); /* Ajout d'une ombre */
}
.bento-item img {
    transition: transform 0.3s ease;
}
.bento-item:hover img {
    transform: scale(1.05); /* Légère augmentation de l'image */
}

.bento-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); /* Les cartes s'adaptent à la largeur */
  gap: 20px; /* Espace entre les cartes */
}

.bento-item {
  border-radius: 15px; /* Coins arrondis */
  overflow: hidden; /* Pour s'assurer que les coins arrondis fonctionnent bien avec les images */
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.bento-item img {
  border-radius: 15px; /* Coins arrondis pour l'image aussi */
  transition: transform 0.3s ease;
}


@media (max-width: 768px) {
    .bento-grid {
        display: grid;
        grid-template-columns: 1fr;
        gap: 20px;
    }
}
@media (min-width: 769px) and (max-width: 1024px) {
    .bento-grid {
        grid-template-columns: 1fr 1fr;
    }
}
@media (min-width: 1025px) {
    .bento-grid {
        grid-template-columns: 1fr 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .bento-grid {
        display: grid;
        grid-template-columns: 1fr;
        gap: 20px;
    }
}
@media (min-width: 769px) and (max-width: 1024px) {
    .bento-grid {
        grid-template-columns: 1fr 1fr;
    }
}
@media (min-width: 1025px) {
    .bento-grid {
        grid-template-columns: 1fr 1fr 1fr;
    }
}

@media (max-width: 768px) {
  .github-blue {
      padding: 20px;
  }

  .github-stats img {
      max-width: 100%; /* Assure une bonne adaptation sur les petits écrans */
  }
}
