body{
  font-size: 3em;
  font-family: helvetica;
  -webkit-overflow-scrolling: touch;
}

body.message{
  font-size: 2em;
}

@media screen and (max-width : 800px){
  body{
    font-size: 2.25em;
  }
}

@media screen and (max-width : 700px){
  body{
    font-size: 1.75em;
  }
}

em{
  font-style: italic;
}


.container {
  display: flex;
  flex-direction: column;
}


.image-container{
  display: flex;
  height: 40vh;
  overflow-x: scroll;
}

.image-container img{
  height: 100%;
}

.image-container-marges{
  padding-left: 0.6em;
}
.image-container-marges img{
  padding-right: 0.4em;
}

.text-container {
  height: 2em;
  white-space: nowrap;
  overflow-x: hidden;
  display: flex;
  align-items: center;
  position: -webkit-sticky;
  top: 0px;
  border-top: solid 0.02em;
  border-bottom: solid 0.02em;
  padding: 0.5em;
}

.text-container-sticky{
  background-color: white;
  position: sticky;
  z-index: 1;
}

.text-container-black{
  background-color: black;
  color: white;
  position: relative;
}


.text-container-blue{
  font-size: 0.5em;
  height: 1em;
  background-color: blue;
  color: white;
  position: relative;
  border: none;
}

.text-container-blue-white{
  font-size: 0.5em;
  height: 1em;
  background-color: white;
  color: blue;
  position: relative;
  border: none;
}

.textcourant-container{
  font-family: times;   
  margin-bottom: 0.5em;
  font-size: 0.7em;
  color: black;
  padding-top: 0.5em;
  padding-left: 1em;
  padding-right: 0.5em;
}

.legende-container{
  font-family: helvetica;
  margin-bottom: 0.5em;
  font-size: 0.4em;
  color: grey;
  padding-top: 0em;
  padding-left: 2em;
  padding-right: 0.5em;
  text-align: left;
}


.txt-msg-container{
  font-family: helvetica;
  margin-bottom: 0.5em;
  font-size: 0.5em;
  color: blue;
  padding-top: 1em;
  padding-bottom: 0.8em;
  padding-left: 4em;
  padding-right: 4em;
  text-align: left;
}

.button-container{
  font-size: 0.5em;
  color: blue;
  width: 3vw;
  height: 3vw;
  background-color: white;
  border: solid 0.2em;
  border-color: blue;
  border-radius: 1em;
  position: fixed;
  padding: 1em;
  z-index: 2;
  /*transition: width 0.3s, height 0.3s;*/
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  text-align: left;
}

.info-container{
  bottom: 2em;
  right: 2em;
}


.info-container-clicked, .msg-container-clicked {
  width: 18em;
  height: auto;
  text-align: left;
  align-items: flex-end;
}

.info-container-text, .msg-container > form{
  display: none;
}

.info-container-clicked > .info-container-text, .msg-container-clicked > form{
    display: block;
}

.msg-container > .show{
  display: block;
}

.msg-container-clicked > .show{
    display: none;
}

.msg-container{
  bottom: 2em;
  left: 2em;
}

.lecteur {
    left: 4em;
}

textarea{
  width: 100%;
  height: 5em;
  font-size: 1em;
}


.button{
  font-size:1em;
  font-style: bold;
}


.animation {
  /*animation: 10s infinite slidein;*/

}
@keyframes slidein { 
  0% { transform: translateX(0%); }
  100% { transform: translateX(-100%); }  
}



