.text--medium {
  font-family: "Open Sans", sans-serif;
  font-size: 16px;
  line-height: 20px;
  font-weight: 400;
  color: #ecf0f1;
}

.cards {
  width: 100%;
  justify-content: center;
  display: flex;
  flex-wrap: wrap;
  flex-direction: row;
}

.card {
  display: flex;
  flex-direction: column;
  cursor: pointer;
  transition: all 0.3s ease 0s;
  border-radius: 0.7em;
  box-shadow: 0px 2px 7px 0px #131313;
  width: calc(30% - 30px);
  margin: 15px 15px;
}

.card:not(.card:has(.card-formulaire-data-titre)) .card-formulaire-data-corps
{
  border-radius: 0.7em;
}

.card:hover {
  transform: translateY(-7px);
}

.card-formulaire-data {
  border-radius: 0.7em;
  width: 310px;
  height: auto;
  box-shadow: 0px 2px 7px 0px #131313;
  margin: auto;
}

.card-formulaire-data-titre {
  height: 30px;
  text-align: center;
  width: 100%;
}

.card-formulaire-data-corps {
  line-height: 25px;
  display: flex;
  text-align: center;
  padding: 10px;
  height: 100%;
  width: 100%;
  background-color: var(--chocolat-lait);
  border-radius: 0 0 0.7em 0.7em;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}


.card-formulaire-data-div-img, .card-formulaire-data-corps img{
  margin-top: 5px;
  display: flex;
  width: 100%;
  height: auto;
  justify-content: space-around;
}

.card_large
{	
   width: calc(60% - 50px);
}

.card_medium
{
   width: calc(45% - 50px);
}

.card_auto
{
  width: auto;
}


.container-box {
    display: flex;
    overflow-y: auto;
    flex-direction: row;
    flex-wrap: wrap;
    align-content: center;
    justify-content: center;
    padding: 5px;
}

.boxShadow {
    box-shadow: var(--chocolat-lait) 0px 1px 2px 0px, var(--chocolat-lait) 0px 1px 3px 1px;
}
.box {
    width: calc(50% - 40px);
    max-width: 500px;
    max-height: 50%;
    margin: 20px auto;
    border-radius: 1em;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    overflow-y: visible;
}

.inBox {
    width: 100%;
    display: flex;
    margin-top: 5px;
    margin-bottom: 5px;
    align-items: center;
    flex-direction: column;
    justify-content: flex-start;
}

.inBox label {
    width: auto;
    text-align: center;
}

@media only screen and (max-width: 1370px) {
  .card {
    width: calc(40% - 30px);
  }

.card_large
{
   width: calc(60% - 50px);
}

.card_medium
{
   width: calc(60% - 50px);
}

}

@media only screen and (max-width: 966px) {
 main {
    overflow: hidden;
    
  }
  .card {
    width: 90%;
    
  }

  .cards{
    padding: 10px;
  }
  .card_auto
{
  width: 90%;
}

.box {
    width: calc(75% - 40px);
    max-height: none;
}

}

@media only screen and (max-width: 500px) {
  main {
    overflow: hidden;
   
  }
  .card {
    
  }
}

@media only screen and (max-width: 320px)
{
main {
    overflow: hidden;
    flex-direction: column;
  }


}
