@charset "UTF-8";
/* CSS Document */

@font-face {
  font-family: "mr-eaves-regular";
  src: url("../mr-eaves-sans/mreaves-reg.ttf");
}

@font-face {
  font-family: "mr-eaves-regular-italic";
  src: url("../mr-eaves-sans/mreaves-regitalic.ttf");
}

@font-face {
  font-family: "mr-eaves-light";
  src: url("../mr-eaves-sans/mreaves-light.ttf");
}

@font-face {
  font-family: "mr-eaves-light-italic";
  src: url("../mr-eaves-sans/mreaves-lightitalic.ttf");
}

@font-face {
  font-family: "unit";
  src: url("../unit/Unit-Regular.ttf");
}


*  {
  margin: 0;
  padding: 0;
}

h3{
  font-family: "mr-eaves-light", Helvetica;
  letter-spacing: 1px;
  text-align: center;
  font-size: 1.4vw;
  line-height:1;
  padding-bottom: 0.5px;
  text-decoration-color: black;
}



h4{
  font-family: "mr-eaves-light", Helvetica;
  letter-spacing: 1px;
  text-align: left;
  font-size: 1.2vw;
  line-height:1.1;
}


h5{
  font-family: "mr-eaves-light-italic", Helvetica;
  letter-spacing: 1px;
  text-align: left;
  font-size: 1vw;
  line-height:1;
}


.titre img {
  width: 15%;
  height: 15%;
  padding-top: 0.7%;
  display: flex;
  justify-content: center;
  align-items: center;
}
	
.titre a {
  width: 90%;
  margin: 0 auto;
  padding-top: 0.5%;
  display: flex;
  justify-content: center;
	}


main {
  min-height: 500px;
  width: 90%;
  margin: 0 auto;
  padding: 5px;
}

/* FLEXBOX */
.flexbox{
  padding-top: 0.5%;
  padding-bottom: 1%;
  margin-top: 5px;
  display: flex;
  justify-content:center;
  align-items: center;
}

.flexbox li a {
  border: none;
  width: 90%;
  height: auto;
  display: block;
}


.flexbox ul{
  display: flex;
  justify-content: space-around;
}

.flexbox li{
  height: auto;
  width: 20%;
  margin: 0;
  padding: 0;
  display: flex;
  justify-content: center;
  align-items: center;
}

.flexbox img{
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}


/* fin menu */




/* GRID */
.container{
  display: grid;
  grid-template-columns: 50% 50%;
  grid-template-rows: auto;
  grid-row-gap: 0.5%;
  grid-column-gap: 2%;
  padding-top: 10px;
  padding-bottom: 5px;
  margin-bottom: 5px;
  margin-top: 1%;
  justify-items: center;
}

.container a {
  text-decoration: none;
  height: auto;
  color: black;
   padding-bottom: 2px;
}

.item{
  display: grid;
  padding: 5px;
  justify-items: center;
  width: 100%;
  height: 90%;
  padding-bottom: 1px;
}

.item h3{
  padding-bottom: 2px;
  margin-bottom: 2px;
}
.item h4{
  padding-bottom: 2px;
  margin-bottom: 2px;
}
.item h5{
  padding-bottom: 2px;
  margin-bottom: 2px;
}




/* cecile */
.item-39 figcaption img{
  width: 100%;
  padding-bottom: 0;
  margin-bottom: 0;
}

.item-39 audio{
  width: 100%;
  padding-top: 0;
  margin-top: 0;
}

.item-39 figure{
  width: 100%;
  height: 100%;
  justify-items: center;
}

.item-2 video{
  width: 97%;
  padding-bottom: 0;
  margin-bottom: 0;
  justify-items: center;
  align-items: flex-start;

}

.item-2 source{
  width: 97%;
  padding-bottom: 0;
  margin-bottom: 0;
  justify-items: center;
  align-items: flex-start;

}

/* fin cecile */



.item h4{
  height: 100%;
  width: 95%;
  margin: 0;
}

.item h5{
  height: 100%;
  width: 95%;
  margin: 0;
}



.item img{
  width: 95%;
}

.item h3{
  margin-top: 4%;
}


/* RESPONSIVE -950px */

@media screen and (max-width: 950px) {
.container {
  display: grid;
  grid-template-columns: 50% 50%;
	grid-template-rows: auto;
  grid-row-gap: 1%;
  padding-top: 0.5%;
  align-items:start;
  margin-top: 1%;
  justify-items: center;
}
}


@media screen and (max-width: 950px) {
h3{
 font-size: 2.2vw;
}
}

@media screen and (max-width: 950px) {
h4{
 font-size: 2vw;
}
}

@media screen and (max-width: 950px) {
h5{
 font-size: 1.7vw;
}
}


@media screen and (max-width: 950px) {
.flexbox ul {
  display: grid;
  grid-template-columns: 25% 25% 25% 25%;
  grid-template-rows: auto;
  grid-row-gap: 2%;
  padding-top: 0.2%;
  align-items:end;
  justify-items: center;
}
}

@media screen and (max-width: 950px) {
.flexbox li{
  height: auto;
  width: 100%;
  margin: 0;
  padding: 0;
  display: flex;
  justify-content: center;
  align-items: center;
}
}

@media screen and (max-width: 950px) {
.titre img {
  width: 15%;
  padding-top: 0.7%;
  margin: 0;
  display: flex;
  justify-content: center;
  align-items: center;
}
}

@media screen and (max-width: 950px) {
  .sous-titre ul{
  display: grid;
  grid-template-columns: 24% 24% 24% 24%;
 grid-column-gap: auto;
 grid-row-gap: 10%;
  height: 100%;
  width: 98%;
 justify-items: center;
}
}

@media screen and (max-width: 950px) {
.sous-titre li,
.sous-titre a{
  height: 100%;
  width: 98%;
  margin: 2%;
  padding: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.8vw;
}
}


/* RESPONSIVE -600px */

@media screen and (max-width: 600px) {
.container {
  display: grid;
  grid-template-columns: 100%;
  	grid-template-rows: auto;
  grid-row-gap: 0.3%;
  padding-top: 0.5%;
  align-items:center;
  justify-items: center;
}
}

@media screen and (max-width: 600px) {
h3{
 font-size: 3vw;
}
}

@media screen and (max-width: 600px) {
h4{
 font-size: 2.7vw;
}
}

@media screen and (max-width: 600px) {
h5{
 font-size: 2.4vw;
}
}



@media screen and (max-width: 600px) {
.flexbox ul {
  display: grid;
  grid-template-columns: 30% 30% 30%;
  grid-template-rows: auto;
  grid-row-gap: 2%;
  padding-top: 0.2%;
  align-items:center;
  justify-items: center;
}
}

@media screen and (max-width: 600px) {
.flexbox li{
  height: auto;
  width: 100%;
  margin: 0;
  padding: 0;
  /* Centrer un unique élément veticalement et horizontalement */
  display: flex;
  justify-content: center;
  align-items: center;
}
}

@media screen and (max-width: 600px) {
.titre img {
  width: 20%;
  padding-top: 0.7%;
  display: flex;
  justify-content: center;
  align-items: center;
}
}

@media screen and (max-width: 600px) {
  .sous-titre ul{
  display: grid;
  grid-template-columns: 32% 32% 32%;
 grid-column-gap: 2%;
  grid-row-gap: 1%;
 justify-items: center;
}
}

@media screen and (max-width: 600px) {
.sous-titre li,
.sous-titre a{
  height: 100%;
  width: 82%;
  margin: 2%;
  padding: 0;
  /* Centrer un unique élément veticalement et horizontalement */
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 2vw;
}
}