@charset "UTF-8";
*, ::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Roboto", sans-serif;
}

h1, h2, h3, p, .fas, .far {
  color: black;
}

/*Typo Pages menus*/
.titre-resto {
  font-family: "Shrikhand";
  font-size: 1.1rem;
  font-weight: 100;
  font-style: italic;
}

/*Loader*/
.loader {
  background-color: #353535;
  top: 0px;
  left: 0px;
  height: 100%;
  width: 100%;
  position: fixed;
  animation: load-time 10s;
}
.loader .load-title {
  display: flex;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  margin: 0;
  padding: 0;
}
.loader .load-title .d, .loader .load-title .o, .loader .load-title .f, .loader .load-title .m, .loader .load-title .y, .loader .load-title .h, .loader .load-title .o1, .loader .load-title .o2 {
  letter-spacing: 5px;
  font-family: "Shrikhand";
  font-size: 2.5rem;
  color: #FF79DA;
  text-shadow: 0 0 0.3em #FF79DA;
  animation: anim-load 1.3s reverse infinite;
}

.load-title .o:nth-child(1) {
  animation-delay: 0s;
}

.load-title .h:nth-child(2) {
  animation-delay: 0.1s;
}

.load-title .m:nth-child(3) {
  animation-delay: 0.2s;
}

.load-title .y:nth-child(4) {
  animation-delay: 0.3s;
}

.load-title .f:nth-child(5) {
  animation-delay: 0.4s;
}

.load-title .o1:nth-child(6) {
  animation-delay: 0.5s;
}

.load-title .o2:nth-child(7) {
  animation-delay: 0.6s;
}

.load-title .d:nth-child(8) {
  animation-delay: 0.7s;
}

/*Accueil*/
.accueil {
  z-index: 1;
  position: relative;
}

/*Header*/
header {
  display: flex;
  align-items: baseline;
  z-index: 1;
  position: relative;
  background-color: white;
}
header #ohmyfood {
  width: 10rem;
  margin: auto;
  padding: 20px 0 15px 0;
}

.fa-arrow-left {
  margin: 1.5rem 0 0 1.5rem;
  font-size: 1.2rem;
}

.header-resto {
  background-color: #f6f6f6;
  display: block;
}

/*Section localisation*/
form {
  display: flex;
}
form .recherche {
  margin: auto;
}
form .recherche input {
  border: none;
  font-size: 1rem;
  font-weight: bold;
  padding-left: 1rem;
  background-color: #eaeaea;
}
form .recherche ::placeholder {
  margin: 20px 0px 20px 0px;
  color: black;
  opacity: 0.6;
}

.localisation {
  background-color: #eaeaea;
  box-shadow: inset 0px 4px 4px -3px rgba(53, 53, 53, 0.29);
  height: 3rem;
}

/*Section présentation*/
/*découverte*/
.decouverte {
  display: flex;
  flex-wrap: wrap;
  padding: 40px 0 50px 0;
  background-color: #f6f6f6;
}
.decouverte div {
  margin: auto;
}
.decouverte h1 {
  font-weight: 700;
  font-size: 1.5rem;
  text-align: center;
  margin: auto;
  padding: 0 50px 10px 50px;
}
.decouverte .sous-titre {
  text-align: center;
  margin: auto;
  padding: 0 30px 30px 30px;
  font-weight: 100;
  font-size: 1.1rem;
}
.decouverte a {
  margin: auto;
}

/*fonctionnement*/
.fonction {
  padding: 0 20px 50px 30px;
  background-color: white;
}
.fonction h2 {
  padding: 50px 0px 25px 0;
}
.fonction a {
  text-decoration: none;
}
.fonction a:hover {
  background-color: rgba(147, 86, 220, 0.3);
}

.fa-list-ul {
  font-size: 1.3rem;
  opacity: 0.5;
  color: black;
}

.fa-store {
  font-size: 1rem;
  color: rgba(0, 0, 0, 0.5);
}
.fa-store:hover {
  color: #9356DC;
}

/*Section restaurants*/
.menus {
  background-color: #f6f6f6;
  padding: 0 0 50px 0;
}
.menus h2 {
  padding: 50px 0px 25px 20px;
}

.art-resto {
  background-color: white;
  margin: 0 1.3rem 1.3rem 1.3rem;
  border-radius: 20px;
  box-shadow: 2px 2px 12px lightgrey;
}
.art-resto a {
  text-decoration: none;
}

.fig-resto {
  display: flex;
  flex-direction: column;
  position: relative;
}
.fig-resto .img-resto {
  object-fit: cover;
  height: 11rem;
  border-radius: 15px 15px 0 0;
}
.fig-resto .img-note {
  object-position: 0rem -8rem;
}

.caption-resto {
  padding: 1rem;
}

.fig-menu {
  display: flex;
}
.fig-menu .fa-heart {
  margin: 0 0 0 auto;
  border: none;
  background-color: transparent;
  font-size: 1.5rem;
}
.fig-menu .fa-heart:hover {
  color: transparent;
  font-weight: bold;
  background: linear-gradient(#9356DC, #FF79DA);
  animation: btn-like 2s;
  -webkit-background-clip: text;
}

/*Les boutons Accueil*/
/*Le bouton explorer*/
.btn-explore {
  text-align: center;
  font-size: 1rem;
  color: white;
  border-radius: 2.1rem;
  padding: 1rem 1.2rem;
  border: none;
  background: linear-gradient(to top, #9356DC, #FF79DA);
  box-shadow: 0px 7px 7px 0px rgba(51, 47, 23, 0.15);
  margin: auto;
}
.btn-explore:hover {
  opacity: 0.9;
  box-shadow: 0px 7px 7px 0px rgba(53, 48, 24, 0.37);
}

/* Les boutons fonctionnement*/
.btn-fonction {
  background-color: #f6f6f6;
  border: none;
  border-radius: 1.5rem;
  margin-bottom: 25px;
  box-shadow: 2px 2px 12px lightgrey;
  display: flex;
  padding: 1.5rem 1rem 1.5rem 0rem;
  align-items: baseline;
  width: 100%;
  text-decoration: none;
}
.btn-fonction:hover {
  background-color: #f3e9ff;
}
.btn-fonction:hover .fa-store, .btn-fonction:hover .fa-mobile-alt, .btn-fonction:hover .fa-list-ul {
  color: #9356DC;
}
.btn-fonction:hover .fa-mobile-alt, .btn-fonction:hover .fa-list-ul {
  opacity: 1;
}
.btn-fonction .numero {
  background-color: #9356DC;
  border-radius: 2rem;
  color: white;
  height: 22px;
  width: 22px;
  font-size: 0.9rem;
  font-weight: 300;
  margin-right: 22px;
  margin-left: -15px;
  padding-top: 2.5px;
  padding-left: 7px;
}
.btn-fonction .fa-mobile-alt {
  font-size: 1.3rem;
  opacity: 0.5;
  color: black;
}
.btn-fonction .titre-fonction {
  color: black;
  font-size: 1rem;
  font-weight: 700;
  margin: auto;
}

/*Les boutons Pages Menus*/
/*Les boutons entree plat dessert*/
.btn {
  display: flex;
  background-color: white;
  border: none;
  border-radius: 1rem;
  white-space: nowrap;
  overflow: hidden;
  box-shadow: 2px 2px 12px lightgrey;
  margin-bottom: 1rem;
}
.btn .fa-check-circle {
  display: none;
}
.btn:hover .prix {
  animation: hover-check 0.5s;
}
.btn:hover .check {
  display: flex;
  border-radius: 0 1rem 1rem 0;
  border: none;
  height: 4.5rem;
  width: 3.6rem;
  background-color: #99E2D0;
  animation: hover-check 0.5s;
}
.btn:hover .check .fa-check-circle {
  display: flex;
  color: white;
  font-weight: bold;
  font-size: 1.3rem;
  padding: 1.6rem 1rem 1rem 1rem;
  animation: icon-check 0.5s;
}

/*Le bouton commander*/
.btn-command {
  text-align: center;
  font-size: 1rem;
  color: white;
  border-radius: 2.1rem;
  padding: 1rem 1.2rem;
  border: none;
  background: linear-gradient(to top, #9356DC, #FF79DA);
  box-shadow: 0px 7px 7px 0px rgba(51, 47, 23, 0.15);
  margin: 2rem auto;
  padding: 1rem 3rem;
  display: flex;
}
.btn-command:hover {
  opacity: 0.9;
  box-shadow: 0px 7px 7px 0px rgba(53, 48, 24, 0.37);
}

/*Le bouton favori*/
.fa-heart .fa-heart {
  margin: 0 0 0 auto;
  border: none;
  background-color: transparent;
  font-size: 1.5rem;
}
.fa-heart .fa-heart:hover {
  color: transparent;
  font-weight: bold;
  background: linear-gradient(#9356DC, #FF79DA);
  animation: btn-like 2s;
  -webkit-background-clip: text;
}

/*Pages Menus*/
.img-carte {
  display: flex;
  width: 100%;
  object-fit: cover;
  z-index: 2;
}

.img-note {
  object-position: 0rem -8rem;
}

.titre-resto {
  display: flex;
  align-items: baseline;
  margin: 0 0 1rem 0.3rem;
}
.titre-resto .fa-heart {
  margin: 0 0 0 auto;
  border: none;
  background-color: transparent;
  font-size: 1.5rem;
}
.titre-resto .fa-heart:hover {
  color: transparent;
  font-weight: bold;
  background: linear-gradient(#9356DC, #FF79DA);
  animation: btn-like 2s;
  -webkit-background-clip: text;
}

.bloc-menu {
  display: flex;
  flex-wrap: wrap;
  width: 100%;
}

.menu {
  padding: 30px 15px;
  border-radius: 2.2rem 2.2rem 0 0;
  background-color: #f6f6f6;
  margin-top: -2rem;
  position: relative;
  z-index: 1;
}

.menu-note {
  margin-top: -13rem;
}

.menu-title {
  font-size: 1rem;
  font-weight: 500;
  border-bottom: 3px solid #99E2D0;
  width: 2.5rem;
  padding-bottom: 0.3rem;
  margin: 1rem 0 0.8rem 0.3rem;
}

.entree, .plat, .dessert {
  width: 100%;
  padding-bottom: 1rem;
}

.text-btn {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  flex: 1;
}

.titre-p {
  font-size: 1.1rem;
  font-weight: 600;
  padding: 0.8rem 0 0.3rem 0.8rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.soustitre-p {
  font-size: 0.95rem;
  font-weight: 300;
  padding: 0 0 0.93rem 0.8rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.prix {
  padding-top: 2.3rem;
}
.prix strong {
  padding: 0 1rem;
}

.entree .btn-1, .plat .btn-1, .dessert .btn-1 {
  animation-delay: 1s;
  animation: anim-menu 1s;
}

.entree .btn-2, .plat .btn-2, .dessert .btn-2 {
  animation-delay: 2s;
  animation: anim-menu 2s;
}

.entree .btn-3, .plat .btn-3, .dessert .btn-3 {
  animation-delay: 3s;
  animation: anim-menu 3s;
}

.entree .btn-4 {
  animation-delay: 4s;
  animation: anim-menu 4s;
}

/*Etiquette nouveau*/
.new {
  padding: 0.4rem 0.7rem;
  background-color: #99E2D0;
  font-size: 0.9rem;
  font-weight: 700;
  color: #128667;
  position: absolute;
  right: 0.8rem;
  top: 0.8rem;
  border-radius: 0.15rem;
}

/*Footer*/
footer {
  display: flex;
  flex-direction: column;
  background-color: #353535;
  padding: 20px 0 40px 25px;
}
footer .titre-ohmy {
  font-family: "Shrikhand";
  color: white;
  font-style: italic;
  font-size: 1.1rem;
  font-weight: 100;
  padding-bottom: 10px;
}
footer .foot {
  display: flex;
  padding-top: 10px;
  align-items: baseline;
}
footer .foot i {
  color: white;
  font-size: 0.8rem;
  padding-right: 10px;
}
footer .foot h3 {
  color: white;
  font-size: 1rem;
  font-weight: 300;
}
footer .foot a {
  text-decoration: none;
  color: white;
}

/*Breakpoints Accueil*/
/*Mobile S*/
@media screen and (max-width: 320px) {
  .decouverte h1 {
    padding-left: 1rem;
    padding-right: 1rem;
  }
  .decouverte .sous-titre {
    padding: 0 10px 30px 10px;
  }

  .fig-resto .img-resto {
    height: 8rem;
  }

  .new {
    padding: 0.2rem 0.5rem;
    right: 0.6rem;
    top: 0.6rem;
  }
}
/*tablet*/
@media screen and (min-width: 660px) and (max-width: 768px) {
  .decouverte a {
    margin: auto;
  }

  .bloc-btn {
    display: flex;
  }
  .bloc-btn .btn-2 {
    margin-right: 3rem;
    margin-left: 3rem;
  }

  .art-bloc {
    display: flex;
    flex-wrap: wrap;
  }

  .art-resto {
    flex-direction: row;
    width: 44%;
    flex-grow: 1;
    flex-shrink: 1;
    flex-basis: 260px;
  }

  .fa-store, .fa-list-ul, .fa-mobile-alt {
    margin-right: 1rem;
  }
}
/*Laptop*/
@media screen and (min-width: 769px) and (max-width: 1024px) {
  .decouverte .decouverte {
    padding-bottom: 20px;
  }
  .decouverte .decouverte div {
    margin: auto;
  }
  .decouverte a {
    margin-top: 5px;
    margin-left: 0px;
  }
  .decouverte .sous-titre {
    padding-bottom: 0px;
  }

  .btn-explore {
    margin-left: 0rem;
    margin-top: 0.4rem;
  }

  .bloc-btn {
    display: flex;
  }
  .bloc-btn .btn-2 {
    margin-right: 3rem;
    margin-left: 3rem;
  }
  .bloc-btn a {
    margin: auto;
    width: 100%;
  }

  .art-bloc {
    display: flex;
    flex-wrap: wrap;
    margin: auto;
  }

  .art-resto {
    flex-direction: row;
    width: 45.9%;
    flex-direction: row;
    width: 44%;
    flex-grow: 1;
    flex-shrink: 1;
    flex-basis: 300px;
  }

  .fig-resto .img-note {
    object-position: 0rem -15rem;
  }
  .fig-resto .img-franc, .fig-resto .img-delice {
    object-position: 0rem -6rem;
  }
}
/*Laptop L*/  
@media screen and (min-width: 1025px) and (max-width: 1440px) {
  .decouverte .decouverte {
    padding-bottom: 20px;
  }
  .decouverte .decouverte div {
    margin: auto;
  }
  .decouverte a {
    margin-top: 5px;
    margin-left: 0px;
  }
  .decouverte .sous-titre {
    padding-bottom: 0px;
  }

  .btn-explore {
    margin-left: 0rem;
    margin-top: 0.4rem;
  }

  .bloc-btn {
    display: flex;
  }
  .bloc-btn .btn-2 {
    margin-right: 3rem;
    margin-left: 3rem;
  }
  .bloc-btn a {
    margin: auto;
    width: 100%;
  }

  .fonction {
    padding-right: 4rem;
    padding-left: 4rem;
  }

  .menus {
    padding-right: 2rem;
    padding-left: 2rem;
  }

  .art-bloc {
    display: flex;
  }

  .art-resto {
    flex-direction: row;
    width: 22.1%;
    flex-grow: 1;
    flex-shrink: 1;
    flex-basis: 300px;
  }
}
/*4K 1920px*/
@media screen and (min-width: 1441px) and (max-width: 1920px) {
  .decouverte .decouverte {
    padding-bottom: 20px;
  }
  .decouverte .decouverte div {
    margin: auto;
  }
  .decouverte a {
    margin-top: 5px;
    margin-left: 0px;
  }
  .decouverte .sous-titre {
    padding-bottom: 0px;
  }

  .btn-explore {
    margin-left: 0rem;
    margin-top: 0.4rem;
  }

  .fonction {
    padding: 0 12rem 3rem 12rem;
  }

  .bloc-btn {
    display: flex;
  }
  .bloc-btn .btn-2 {
    margin-right: 5rem;
    margin-left: 5rem;
  }
  .bloc-btn a {
    margin: auto;
    width: 100%;
  }

  .art-bloc {
    display: flex;
  }

  .art-resto {
    flex-direction: row;
    width: 100%;
  }

  .menus {
    padding: 0 10rem 3rem 10rem;
  }
}
/*Breakpoints pages menus*/
/*Tablet-menus*/
@media screen and (min-width: 426px) and (max-width: 768px) {
  .img-carte {
    margin-top: -10rem;
  }

  .menu {
    margin-top: -5rem;
  }

  .entree, .plat, .dessert {
    margin-right: 3rem;
    margin-left: 3rem;
  }

  .menu-note {
    margin-top: -25rem;
  }

  .img-note {
    object-position: 0rem -11rem;
  }
}
/*Laptop-menus*/ 
@media screen and (min-width: 769px) and (max-width: 1024px) {
  .bloc-menu {
    flex-wrap: nowrap;
  }

  .entree, .plat, .dessert {
    overflow: hidden;
  }

  .img-carte {
    margin-top: -13rem;
  }

  .menu {
    margin-top: -8rem;
  }

  .plat {
    margin-right: 1.5rem;
    margin-left: 1.5rem;
  }

  .menu-note {
    margin-top: -33rem;
  }

  .img-note {
    object-position: 0rem -15rem;
  }
}
/*Laptop-4K-menus*/
@media screen and (min-width: 1025px) and (max-width: 1439px) {
  .img-carte {
    margin-top: -22rem;
  }

  .bloc-menu {
    flex-wrap: nowrap;
    padding-left: 2rem;
    padding-right: 2rem;
    margin: auto;
  }

  .menu {
    margin-top: -14rem;
  }

  .plat {
    margin-left: 2rem;
    margin-right: 2rem;
  }

  .menu-note {
    margin-top: -45rem;
  }

  .img-note {
    object-position: 0rem -18rem;
  }
}
/*Laptop L-4K-menus*/
@media screen and (min-width: 1440px) and (max-width: 1920px) {
  .img-carte {
    margin-top: -22rem;
  }

  .bloc-menu {
    flex-wrap: nowrap;
    padding-left: 2rem;
    padding-right: 2rem;
    margin: auto;
  }

  .menu {
    margin-top: -14rem;
  }

  .titre-resto {
    padding-left: 2rem;
    padding-right: 2rem;
  }

  .plat {
    margin-left: 2rem;
    margin-right: 2rem;
  }

  .menu-note {
    margin-top: -60rem;
    padding-bottom: 22rem;
  }

  .img-note {
    object-position: 0rem -26rem;
  }
}
/*Breakpoints footer*/
/*Tablet*/
@media screen and (min-width: 600px) and (max-width: 768px) {
  .foot-ohmy {
    display: flex;
  }
  .foot-ohmy .foot {
    flex-direction: row;
    width: 100%;
    justify-content: center;
  }
}
/*Laptop-4K*/
@media screen and (min-width: 769px) {
  .foot-ohmy {
    display: flex;
    width: 90%;
  }
  .foot-ohmy .foot {
    flex-direction: row;
    width: 50%;
  }
}
/*Les keyframes*/
/*Le loader*/
@keyframes anim-load {
  from {
    color: #9356DC;
    text-shadow: 0 0 0.13em #9356DC;
  }
  to {
    color: #FF79DA;
    text-shadow: 0 0 0.13em #FF79DA;
  }
}
@keyframes load-time {
  0% {
    z-index: 2;
  }
  100% {
    z-index: 1;
  }
}
/*Le bouton favori*/
@keyframes btn-like {
  from {
    color: #9356DC;
    transition-duration: 3s;
    opacity: 0.4;
  }
  to {
    background: linear-gradient(#9356DC, #FF79DA);
    -webkit-background-clip: text;
    opacity: 1;
  }
}
/*Le bouton check dans les menus*/
@keyframes hover-check {
  0% {
    transform: translateX(50px);
  }
  100% {
    transform: translateX(0px);
  }
}
@keyframes icon-check {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
/*Deroulement des plats des menus*/
@keyframes anim-menu {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

/*# sourceMappingURL=style.css.map */
