:root {
    --margin: 10px;
  }
  html, body {
    margin: 0;
    padding: 0;
  }

  body {
    min-height: 100vh;
    width: 100%;
    background-color: #cbd6d1;
    cursor: url('croissant.png'), auto;
  }

  .wrapper {
    display: flex;
    flex-direction: row-reverse;
    justify-content: center;
    align-items: flex-start;
  }
  
  #contents-french{
    margin-top: 20vh;
  }

  #contents-american{
    margin-top: 20vh;
  }
  ul {
    list-style-type: none;
  }

  h1 {
    color: white;
  }
  
  #contents {
    display: flex;
    flex-wrap: wrap;
    grid-gap: var(--margin);
    align-items: start;
    justify-items: start;
    padding: 0;
  }

  img {
    height: 100%;
    object-fit: cover;
  }

  .block {
    padding: var(--margin);
    /*--color is the name of the variable that must be defined*/
    background-color: none;
    /*remove var to remove random width function*/
    width: 25vw;
    height: 70vh;
    
  }

  .block__image__caption{
    margin: none;
    display: none;
    word-break:break-all
  }
  /*caption on hover*/
  /*.block--image:hover .block__image__caption{
    display: block;
  }*/
  header{
    z-index: 1;
    display: flex;
    justify-content: space-around;
    margin-left: 21vw;
    margin-right: 19vw;
    margin-top: 1vw;
    width: 60vw;
    font-style: normal;
    font-weight: 500;
    font-size: 2.5vw;
    color: #ffffff;
    position: fixed;
  }
  .sidenav {
    width: 15vw;
    position: fixed;
    z-index: 1;
    top: 20vh;
    left: 3vw;
    overflow-x: hidden;
    padding: 8px 0;
  }
  
  .sidenav a {
    padding: 6px 8px 6px 16px;
    text-decoration: none;
    font-style: normal;
    font-weight: 500;
    font-size: 1.5vw;
    display: block;
  }
  
  
  .main {
    margin-left: 140px; /* Same width as the sidebar + left position in px */
    font-size: 28px; /* Increased text to enable scrolling */
    padding: 0px 10px;
  }
  
  @media screen and (max-height: 450px) {
    .sidenav {padding-top: 15px;}
    .sidenav a {font-size: 18px;}
  }