body {
  background: #f1f1f1;
  background-size: cover;
  background-repeat: no-repeat;
  min-height: 100vh;
  position: relative;
  font-family: "Lato", sans-serif;
  height: 100%;
  width: 100%;
margin: 0;
padding: 0;
position: center;

}


.w3-padding-16 {
  transition: transform 500ms cubic-bezier(0.68, -0.55, 0.265, 1.55), background-position 800ms cubic-bezier(0.68, -0.55, 0.265, 1.55), box-shadow 500ms linear;
background-color: white;
background-size: contain;
background-position: -200px center;
background-repeat: no-repeat;
}

.w3-padding-16:hover {
transform: scale(1.05);
z-index: 0;
background-position: -50px;
background-color: white;
box-shadow: 0 3px 6px rgba(0, 0, 0, 0.16), 0 3px 6px rgba(0, 0, 0, 0.23);

}
.w3-padding-16:active {
color: black;
}



/* Barre du haut */
.headerdev {
  box-sizing: cover; 
  position: fixed; 
  width:100%; 
  z-index: 2;
}




.barre {
  padding: 10px;
margin: 0;
    background-color: #38a2ee;
    justify-content: center;
    align-items: center;
  -webkit-justify-content: center;
  -webkit-align-items: center;
  box-sizing: cover; position: fixed; width:100%;
  z-index: 2;
}


.contenu{
  padding-top: 100px;
  text-align: center;

}


/* Carte d'information */
.cartesans {
  
  z-index: 0;
    
    transition: transform 500ms cubic-bezier(0.68, -0.55, 0.265, 1.55), background-position 800ms cubic-bezier(0.68, -0.55, 0.265, 1.55), box-shadow 500ms linear;
    
    
  }
  
  .cartesans:hover {
    transform: scale(1.05);
    z-index: 0;
    
   
  }
  .cartesans:active {
    transform: scale(1);
    z-index: 0;
    
  }



/* Carte d'information */
.carte {

margin-top: 3px;
z-index: 0;
  display:inline-block; 
  width:380px; /* 100% peut-être excessif */
  height: 100px;
  vertical-align:top;/* ou bottom, pas d'interligne ni jambage de texte */
  	box-sizing: border-box;
  	background-color: #FAFAFA;
color:black;
position: center;

  border: none;
  padding: 10px 20px ;

  
  transition: transform 500ms cubic-bezier(0.68, -0.55, 0.265, 1.55), background-position 800ms cubic-bezier(0.68, -0.55, 0.265, 1.55), box-shadow 500ms linear;
  
  background-size: contain;
  background-position: -200px center;
  background-repeat: no-repeat;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24);
}

@media (max-width: 500px) {
  .carte {
    width:300px;
  }
}

.carte:hover {
  transform: scale(1.05);
  z-index: 0;
  background-position: -50px;
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.16), 0 3px 6px rgba(0, 0, 0, 0.23);
}
.carte:active {
  transform: scale(1);
  z-index: 0;
  background-position: 150px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24);
}




.bleubouton {
  color: white;
  font-weight: bold;
  font-size: 1rem;
  text-decoration: none;
  margin:none;
  border: none;
  text-transform: uppercase;
  padding: 10px 20px;
  background-color: #2196F3;
  transition: transform 500ms cubic-bezier(0.68, -0.55, 0.265, 1.55), background-position 800ms cubic-bezier(0.68, -0.55, 0.265, 1.55), box-shadow 500ms linear;
  background-image: url('data:image/svg+xml;utf8,<?xml version="1.0" encoding="utf-8"?><svg version="1.1" id="Livello_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"   width="1296px" height="768px" viewBox="0 0 1296 768" enable-background="new 0 0 1296 768" xml:space="preserve"><g><polygon fill="white" points="766.6,1.2 -0.2,768 200.7,768 967.5,1.2   "/></g><g><polygon fill="white" points="1094.8,1.2 328,768 528.9,768 1295.7,1.2   "/></g></svg>');
  background-size: contain;
  background-position: -200px center;
  background-repeat: no-repeat;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24);
}
.bleubouton:hover {
  transform: scale(1.1);
  background-position: -50px;
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.16), 0 3px 6px rgba(0, 0, 0, 0.23);
}
.bleubouton:active {
  transform: scale(1);
  background-position: 150px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24);
}





/* Messagerie */
.message-recu {
    position: relative;
    margin-left: 20px;
    margin-bottom: 10px;
    padding: 10px;
    background-color: #A8DDFD;
    width: 200px;
    height: 50px;
    text-align: left;
    font: 400 .9em 'Open Sans', sans-serif;
    border: 1px solid #97C6E3;
    border-radius: 10px;
}

.message-emis {
    position: relative;
    margin-bottom: 10px;
    margin-left: calc(100% - 240px);
    padding: 10px;
    background-color: #f8e896;
    width: 200px;
    height: 50px;
    text-align: left;
    font: 400 .9em 'Open Sans', sans-serif;
    border: 1px solid #dfd087;
    border-radius: 10px;
}

.message-contenu {
    padding: 0;
    margin: 0;
}

.message-sender-right {
    position: absolute;
    font-size: .85em;
    font-weight: 300;
    bottom: 5px;
    right: 5px;
}

.message-sender-left {
    position: absolute;
    font-size: .85em;
    font-weight: 300;
    bottom: 5px;
    left: 5px;
}

.message-recu:after {
    content: '';
    position: absolute;
    width: 0;
    height: 0;
    border-top: 15px solid #A8DDFD;
    border-left: 15px solid transparent;
    border-right: 15px solid transparent;
    top: 0;
    left: -15px;
}

.message-recu:before {
    content: '';
    position: absolute;
    width: 0;
    height: 0;
    border-top: 17px solid #97C6E3;
    border-left: 16px solid transparent;
    border-right: 16px solid transparent;
    top: -1px;
    left: -17px;
}

.message-emis:after {
    content: '';
    position: absolute;
    width: 0;
    height: 0;
    border-bottom: 15px solid #f8e896;
    border-left: 15px solid transparent;
    border-right: 15px solid transparent;
    bottom: 0;
    right: -15px;
}

.message-emis:before {
    content: '';
    position: absolute;
    width: 0;
    height: 0;
    border-bottom: 17px solid #dfd087;
    border-left: 16px solid transparent;
    border-right: 16px solid transparent;
    bottom: -1px;
    right: -17px;
}

