body {
  font-family: "Titillium Web", sans-serif;
  margin: 0;
  padding: 0;
  background-color: #333;
  color: white;
}

header,
footer {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  background-color: #393e46;
  padding: 1em;
  text-align: center;
  z-index: 1;
}

header img {
  max-width: 150px;
}

nav {
  align-self: flex-end;
  text-align: right;
  background-color: #393e46;
}
nav ul {
  list-style-type: none;
  margin: 0;
  padding: 0;
  overflow: hidden;
}

nav li {
  display: inline;
  padding: 14px 16px;
}

nav a {
  color: white;
  text-align: center;
  text-transform: uppercase;
  text-decoration: none;
}

nav a:hover {
  background-color: #111;
}

main {
  margin: 2em;
}

section {
  margin-bottom: 2em;
  position: relative;
}

#contact a {
    margin-left: 15px;
    font-size: 1.5em;
    font-weight: 700;
    color: #333;
    text-decoration: none;
}

.divider {
    padding-top: 50px;
    padding-bottom: 100px;
}

#about h2 {
  margin-bottom: 2em;
}

.moi {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1em;
}

#about img {
  max-width: 100%;
  border-radius: 50%;
}

#about p {
  font-size: 12px;
}

.langages h3 {
  margin: 2em;
}

.langages ul {
  text-align: center;
  list-style-type: none;
}

.langages li {
  font-size: 1.2em;
  display: inline;
  padding: 14px 30px;
}

.grid-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1em;
}

.grid-item {
    background-color: snow ;
    color: #333;
    border-radius: 20px;
    box-shadow: 4px 4px 8px rgba(2, 81, 228, 0.8);
    grid-row-end: span auto;
  padding: 1em;
  text-align: center;
  font-size: 1em;
}

.grid-item img {
  max-width: 100%;
}

.grid-item a {
  text-decoration: none;
  color: #333;
  
}

/* Slideshow container */
.slideshow-container {
    max-width: 1000px;
    min-height: 200px;
    position: relative;
    margin: auto;
  }
 
  /* Fading animation */
.fade {
    animation-name: fade;
    animation-duration: 1.5s;
  }
  
  @keyframes fade {
    from {opacity: .4}
    to {opacity: 1}
  }
   

@media screen and (min-width: 600px) {
  #about p {
    font-size: 1.3em;
  }

  .langages li {
    font-size: 16px;
  }

  .mySlides2 img {
    height: 300px;
  }
}

@media screen and (min-width: 900px) {
    .moi {
        display: grid;
        grid-template-columns: 0.3fr 1fr;
        gap: 1em;
      }
      
  #about p {
    font-size: 1.8em;
  }

  .langages li {
    font-size: 28px;
  }

  .mySlides2 img {
    height: 400px;
  }
}

#contact a {
  color: white;
}

/* Shape divider */
.custom-shape-divider-top-1673448116 {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
}

.custom-shape-divider-top-1673448116 svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 90px;
}

.custom-shape-divider-top-1673448116 .shape-fill {
    fill: #1762EC;
}

.custom-shape-divider-bottom-1673448249 {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    transform: rotate(180deg);
}

.custom-shape-divider-bottom-1673448249 svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 90px;
}

.custom-shape-divider-bottom-1673448249 .shape-fill {
    fill: #1762EC;
}