@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;

}

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

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

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

.container a {
  text-decoration: none;
	color: black;
}

.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%;
  /* Centrer une boite */
  margin: 0 auto;
  padding: 5px;
}


/* FLEXBOX */

.flexbox{
  padding-top: 0.5%;
  padding-bottom: 2%;
  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 */

/*sous-titre*/

.sous-titre{
  padding-top: 0.5%;
  margin-top: 5px;
  padding-left: 0.7%;
  padding-right: 0.7%;
  display: flex;
  justify-content:center;
  align-items: center;
}

.sous-titre li a {
  border: none;
  width: 95%;
  height: auto;
  display: block;
}



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

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

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

/* fin sous-titre*/




/* GRID */

.item-2{
  height: 100%;
  width: 95%;
  margin: 0;
  padding: 0;
  /* Centrer un unique élément veticalement et horizontalement */
  display: flex;
  justify-content: center;
  align-items: center;
}

.container{
  display: grid;
  grid-template-columns: 33.3% 33.3% 33.3%;
  grid-template-rows: auto;
  grid-row-gap: 5%;
  padding-top: 20px;
  padding-bottom: 20%;
  margin-top: 3%;
  align-items:end;
  justify-items: center;
}

.item{
  display: grid;
  padding: 5px;
  justify-items: center;

}

.item img{
  width: 95%;
}

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



/* 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: 2%;
  align-items:center;
  justify-items: center;
}
}

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


@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: 20% 20% 20% 20% 20%;
 grid-column-gap: auto;
 grid-row-gap: 2%;
  height: 100%;
  width: 99.5%;
 justify-items: center;
}
}

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

@media screen and (max-width: 950px) {
.container img{
  width: 98%;
}
}

@media screen and (max-width: 950px) {
.container h3,
.container h3 a{
  padding-bottom: 2%;
}
}




/* RESPONSIVE -600px */

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

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



@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;
  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: 25% 25% 25% 25%;
 grid-column-gap: auto;
 grid-row-gap: 2%;
  height: 100%;
  width: 97%;
 justify-items: center;
}
}

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

@media screen and (max-width: 600px) {
.container h3,
.container h3 a{
  padding-bottom: 4%;
}
}
