@media only screen and (max-width: 48em) {
  .default_inner .list figure.portrait {
    -ms-flex-preferred-size: 50%;
    flex-basis: 50%;
    max-width: 50%; }
  .default_inner .list.collaborators figure {
    -ms-flex-preferred-size: 50%;
    flex-basis: 50%;
    max-width: 50%; 
  }
}

@media only screen and (min-width: 48em) {
  h2 {
    font-size: calc(17px + 3px); }
  h3 {
    font-size: calc(16px + 3px); }
  h4 {
    font-size: 18px; }
  main p {
    font-size: calc(16px + 3px); 
  } 
  main {
    padding: 20px;
    padding-top: 70px; 
  }

  header {
    padding: 15px;
    padding-left: 17px; 
  }

  header .menu_btn{
    top: 28px;
    right: 20px;
  }

  body[data-template="home"] header .site_logo h1,
  body[data-template="map"] header .site_logo h1,
  body[data-template="films"] header .site_logo h1
   {
    font-size: calc(var(--siteTitle) - 10px);
  }

  .languages {
    font-size: calc(13px + 1px); 
  }

  nav .main-nav_first-level li {
    font-size: calc(17px + 3px); 
  } 
  .sidebar .articles-type__filters ul li{
    font-size: calc(17px + 3px);
  }

  .articles-list h3{
    font-size: 15px;
  }

  .articles-list__carte .article-carte .map-spot, 
  .articles-list__carte .article-carte .map-spot a{
    width: 20px;
    height: 20px;
  }

  .default_inner h1 {
    font-size: var(--articleTitle);
  }

  .article_sidebar {
    padding-top: 140px;
    column-count: 1;
    column-gap: 0em;
  }

  .sidebar ul li {
    font-size: 15px; }
  .articles-list .filters ul li {
    font-size: 15px; }
  .articles-list h2 {
    font-size: 25px; }
  .articles-list h3 {
    font-size: 17px;
    line-height: 1.2; 
  } 

  .article {font-size: 20px; }
  
  .article h1 {
    margin-top: 0;
    text-align: center;
    font-size: 70px; 
  }
    .article h2 {
      font-size: 25px; }
    .article .credits p {
      font-size: 15px; }
  .related h2 {
    font-size: 25px; }
  .related h3 {
    font-size: 17px; } 

  footer{
    padding: var(--pageMargin);
  }
}

@media only screen and (min-width: 64em) {
  .show-for-small-only {
    display: none !important; }
  .hide-for-small-only {
    display: block !important; }

  header {
    padding: 15px;
    padding-left: 36px; 
  }

  body[data-template="home"] header .site_logo h1,
  body[data-template="map"] header .site_logo h1,
  body[data-template="films"] header .site_logo h1
   {
    font-size: var(--siteTitle);
  }

  body header .site_logo h1 {
    font-size: var(--menu);
  }
  
  header .menu_btn {
    right: 36px;
    top: 20px; 
  }
  
  header nav .main-nav_first-level {
    font-size: 25px;
    padding: 25px; 
    padding-top: 20px;
  }
  
  header nav .main-nav_first-level li {
      letter-spacing: 2px;
      margin: 0; 
  }

  h2 {
    font-size: 25px; }
  h3 {
    font-size: 23px; }
  h4 {
    font-size: 18px; }

  main {
    padding: 36px;
    padding-top: 150px;
    padding-bottom: 100px; 
  }

  body[data-template="home"] main,
  body[data-template="films"] main,
  body[data-template="map"] main {
    padding-top: 75px;
  }

  main p, main li {
    font-size: 23px;
  }

  .default_inner .list .list-date {
    font-size: 15px; }
  .default_inner .list .list-content-header h1 {
    font-size: 25px; }
  .home h1 {
    font-size: 90px;
    left: 10%;
    text-align: left;
    width: 420px; }
  .home .home_image-wrapper {
    width: 80%;
    margin-left: 20%;
    height: 100%;
    background: url("../images/schpensa-close.jpg");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center; }
  .home h1:hover ~ .home_image-wrapper {
    background: url("../images/schpensa-open.jpg");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center; } 
}

@media only screen and (max-width: 1600px) {
  main p, main li{
    font-size: 20px;
  }  
}
