@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");
}

*  {
  margin: 0;
  padding: 0;
}

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


main {
  min-height: 500px;
  width: 90%;
  /* Centrer une boite */
  margin: 0 auto;
  padding: 5px;
}


/* FLEXBOX */

.flexbox{
  border-radius: 10px;
  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 */


.hello img {
  width: 100%;
  display:block;
  padding-top: 5%;
}




/* RESPONSIVE -950px */

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

@media screen and (max-width: 950px) {
h3 {
 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;
}
}

/* RESPONSIVE -600px */


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