
*{
  transition: all 700ms;
}

.fillImage{
  display: block;
  max-width: 100%;
  height: auto;
}

body {
  height: 110vh;
  background-color: #6994c3;
  background-image: radial-gradient(circle at top right, rgba(255, 255, 255, 0.239), transparent),
    radial-gradient(circle at 20% 80%, rgba(0, 0, 0, 0.13), transparent);
}

canvas {
  position: fixed;
  width: 100%;
  left: 0%;
  height: 100%;
}

.window {
  display: none;
  position: fixed;
  z-index: 1;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(255, 255, 255, 0.9);
  padding-top: 20px;
}

.window p {
  text-align: center;
  color: #fff;
}

.window button {
  display: block;
  margin: 0 auto;
  margin-bottom: 10px;
}

.window.show {
  display: block;
}

button {
  background-color: #333333;
  box-shadow: rgba(176, 213, 255, 0.25) 0 -25px 18px -14px inset,
  rgba(187, 216, 255, 0.16) 0 1px 2px, rgba(255, 255, 255, 0.12) 0 2px 4px,
  rgba(0, 130, 255, 0.61) 0 4px 8px, rgba(89, 156, 255, 0.25) 0 8px 16px,
  rgba(229, 236, 255, 0.25) 0 16px 32px;
  color: white;
  cursor: pointer;
  border-radius: 5px;
  padding: 7px 20px;
  border: 0;
  text-align: center;
}

button:hover {
  background-color: white;
  color: black;
  box-shadow: rgba(44, 101, 187, 0.35) 0 -25px 18px -14px inset,
  rgba(59, 139, 255, 0.25) 0 1px 2px, rgba(44, 123, 187, 0.25) 0 2px 4px,
  rgba(44, 116, 187, 0.25) 0 4px 8px, rgba(89, 156, 255, 0.25) 0 8px 16px,
  rgba(141, 175, 255, 0.25) 0 16px 32px;
  border-radius: 30px;
  transform: scale(1.05) rotate(-1deg);
}

/* Media query pour les écrans de moyenne taille */
@media only screen and (max-width: 1000px) {
  canvas {
    z-index: -1;
  }
}

.social-bar {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 2vw;
}

.social-bar a {
  display: inline-block;
  width: 45px;
  height: 45px;
  margin: 0 10px;
  background-color: #333;
  border-radius: 50%;
  text-align: center;
  line-height: 40px;
  color: #fff;
  transition: transform 0.3s ease-in-out;
}

.social-bar a:hover {
  transform: scale(1.2);
}

.social-icon {
  position: relative;
  margin-top: 12px;
  width: 20px;
  height: 20px;
}

ul li i
{
  font-size: 7vw;
}
ul li i img
{
  width: 6vw;
  height: 6vw;
}
ul li i img:hover
{
  width: 7vw;
  height: 7vw;
}
ul li::marker
{
  color: transparent;
}

ul li i:hover
{
  font-size: 8vw;
}

.CVIcon, .project1, .project2 {
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}
iframe{
  display: flex;
  justify-content: center;
  align-items: center;
  width: 90%;
  margin: 0 auto;
  height: 90%;
}
.CVIcon {
    background-image: url("../Images/CV.jpg");
}

#cv{
  width: 50%;
  justify-content: center;
  position: relative;
  margin: 0 auto;
  display: flex;
}

.Tools {
  background-image: url("../Images/ListLogo.JPG");
  background-size: cover;
  width: 45%;
}

.Okonda {
  background-image: url("../Images/Logo/LogoOkonda.png");
  background-size: cover;
}

.space-between
{
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.grid-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  grid-gap: 2vw;
  text-align: center;
  margin-bottom: 7vw;
}

.grid-item {
  position: relative;
  overflow: hidden;
  margin: 0 auto;
}

.grid-item img {
  display: flex;
  width: 50%;
  margin: 0 auto;
}

.grid-item:hover img {
  transform: scale(1.1);
}

@media only screen and (max-width: 768px) {
  .grid-container {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    grid-gap: 10px;
  }

  .grid-item img {
    max-height: 40vw;
  }
}

@media only screen and (max-width: 480px) {
  .grid-container {
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    grid-gap: 5px;
  }

  .grid-item img {
    max-height: 50vw;
  }
}