body {
  font-family: "Poppins", sans-serif;
  color: black;
  background: white;
  border-color: black;
}

body.dark-theme {
  color: white;
  background: black;
}

.dark {
  color: white;
  background: black;
}

.dark-theme .dark {
  color: black;
  background: white;
}

.bordered {
  border-style: solid;
  border-width: 1px;
  border-color: black;
}

.dark-theme .bordered {
  border-color: white;
}

a {
  color: inherit;
  text-decoration: none;
}

#container-main {
  margin-bottom: 480px;
  background-color: inherit;
  z-index: 2 !important;
  position: relative;
  overflow: hidden;
}

header {
  margin-bottom: 128px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.header-title {
  font-size: 5.2rem;
  font-weight: bolder;
  display: inline;
}

section {
  margin-bottom: 150px;
}

.section-title {
  font-size: 3rem;
  font-weight: 200;
  display: inline;
  border-style: solid;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  padding: 2px;
}

.items-wrapper {
  margin-top: 50px;
  display: grid;
  grid-template-columns: 1fr;
  grid-gap: 0.5rem;
}

@media (min-width: 576px) {
  .items-wrapper {
    grid-template-columns: 1fr 1fr;
  }

  .section-title {
    font-size: 4rem;
    padding: 4px;
  }
}

@media (min-width: 992px) {
  .items-wrapper {
    grid-template-columns: 1fr 1fr 1fr;
  }

  .section-title {
    font-size: 4rem;
    padding: 4px;
  }
}

.item {
  height: fit-content;
  overflow: hidden;
}

.item-img {
  width: 100%;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: 50% 50%;

  border-top: 0;
  border-left: 0;
  border-right: 0;
}

.item-img {
  width: 100%;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: 50% 50%;
  border-bottom-style: solid;
  border-bottom-width: 1px;
  border-color: black;
  height: 380px;
}

.item-img-kokoro {
  background-image: url("/images/kokoro.webp");
}
.item-img-rubisen {
  background-image: url("/images/rubisen.webp");
  height: 420px;
}
.item-img-lifeio {
  background-image: url("/images/lifeio.webp");
  height: 320px;
}
.item-img-openclassrooms {
  background-image: url("/images/openclassrooms.webp");
  height: 320px;
}
.item-img-openclassrooms:hover {
  background-image: url("/images/openclasrooms_video.webp");
}
.item-img-samsys {
  background-image: url("/images/samsys.webp");
  height: 430px;
}
.item-img-samsys:hover {
  background-image: url("/images/samsys_video.webp");
}
.item-img-isen {
  background-image: url("/images/isen.webp");
}
.item-img-isen:hover {
  background-image: url("/images/isen_video.webp");
}

.project:hover {
  color: white;
  background: black;
  border-color: black;
}

.dark-theme .project:hover {
  color: black;
  background: white;
  border-color: white;
}

.project:not(:last-child) {
  margin-right: 20px;
}

.item-title {
  font-weight: bold;
  font-size: 2rem;
  padding: 5px;
  word-break: break-word;
}

.item-subtitle {
  font-weight: 300;
  font-size: 1.2rem;
  padding: 5px;
}

.item-text {
  font-size: 1rem;
  padding: 5px;
}

.container {
  /* On ajoute une marge sur les cotés de l'écran */
  padding-right: 15px;
  padding-left: 15px;

  /* Et on centre */
  margin-right: auto;
  margin-left: auto;
}

/* Sur les grands écrans, on limite la largeur du contenu */
@media (min-width: 1200px) {
  .container {
    width: 1170px;
  }
}

footer {
  padding-top: 120px;
  padding-bottom: 120px;
  position: fixed;
  bottom: 0;
  z-index: 1 !important;
  width: 100%;
}

.footer-title {
  font-size: 96px;
  font-weight: bolder;
}

.footer-title-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.footer-text {
  color: darkgray;
}
