/**
 * Galerie d'images, apparaissant en début de page en mode mobile
 */

.gallery__control,
.gallery__title {
  display: none;
}

@media screen and (max-width: 600px) {

  .main {
    padding-top: 87px;
  }

  .gallery__control,
  .gallery__title {
    display: revert;
    z-index: 1;
  }
  
  .mobile-gallery {
    width: 100%;
    height: calc(100vh - 150px);
    /*max-height: -webkit-fill-available;*/
    position: relative;
  }

  .mobile-gallery .gallery__title{
    padding: 0 5px;
  }

  .mobile-gallery section {
    display: none;
  }

  .gallery__content section {
    display: revert;
  }

  .gallery__control--previous {
    position: absolute;
    bottom: 50%;
    left: var(--padding-standard);
  }

  .gallery__control--next {
    position: absolute;
    bottom: 50%;
    right: var(--padding-standard);
  }

  .gallery__control--dots {
    position: absolute;
    bottom: 80px;
    left: 50%;
    transform: translate(-50%, 0);
  }

  .gallery__control--dot {
    margin-left: 2px;
    margin-right: 2px;
  }

  .gallery__control--download {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: var(--padding-standard);
  }
  
  .gallery__control--download .button {
    width: 100%;
    display: inline-block;
    text-align: center;
  }

  .gallery__control--hidden {
    display: none;
  }

  .gallery__title {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    text-align: center;
    font-size: min(28px, 7vw);
    text-transform: uppercase;
  }

  .gallery__content {
    position: absolute;
    top: 60px;
    left: var(--padding-standard);
    right: var(--padding-standard);
    bottom: 110px;
    display: flex;
    flex-direction: row;
    overflow: hidden;
  }

  .gallery__content--container {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: row;
    transition: transform 330ms ease-in-out;
  }

  .gallery__content section {
    flex: 0 0 100%;
    position: relative;
    height: 100%;

  }

  .gallery__content .section__paragraph {
    text-align: center;
    font-size: 14px;
    line-height: 19px;
    font-weight: 400;
    width: 100%;
    max-width: 250px;
  }

  .gallery__content h2,
  .gallery__content .section__paragraph--stores {
    display: none;
  }

  .main__section,
  .main__section--intro {
    padding-top: 0;
    padding-bottom: 0;
  }

  .gallery__content .section__screenshot,
  .main__section--intro .section__item--image img {
    position: absolute;
    top: 80px;
    left: 50%;
    transform: translate(-50%, 0);
    max-height: 75%;
    width: auto;
    max-width: 60%;
  }

  .main__section--intro .section__item--text {
    padding-right: 0;
  }

 }