@keyframes loader-ohmyfood {
  0% {
    font-size: x-small;
    opacity: 0.3;
    -webkit-transform: rotate(180deg) scale(0.1);
    transform: rotate(180deg) scale(0.1);
  }
  100% {
    font-size: 3em;
    opacity: 1;
    color: #FF79DA;
    -webkit-transform: rotate(0deg) scale(1);
    transform: rotate(0deg) scale(1);
  }
}
@keyframes loader-container {
  0% {
    display: flex;
  }
  100% {
    display: none;
    height: 0;
    transform: scale(0);
  }
}
@keyframes loader-menu {
  0% {
    opacity: 0;
    margin-top: 50px;
  }
  100% {
    opacity: 1;
    margin-top: 0;
  }
}
* {
  box-sizing: border-box;
  font-family: Roboto, sans-serif;
}

body {
  margin: 0;
  padding: 0;
  max-width: 768px;
  min-width: 330px;
  margin: auto;
}

p, h2, h3, a {
  text-decoration: none;
  padding: 10px;
}

footer h2, header h1 {
  font-family: Shrikhand;
}

img {
  width: 100%;
}

ul {
  list-style-type: none;
}

#loader-contener {
  background-color: rgba(0, 0, 0, 0.8);
  height: 100%;
  width: 100%;
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  z-index: 10;
  display: flex;
  justify-content: center;
  align-items: center;
  animation: loader-container 1s 3s;
  animation-fill-mode: forwards;
}
#loader-contener span {
  display: block;
  font-size: 1px;
  animation-fill-mode: forwards;
}
#loader-contener span:first-child {
  animation: loader-ohmyfood 3s;
  font-family: Shrikhand;
}
#loader-contener span:nth-child(2) {
  animation: loader-ohmyfood 2s 1s;
  font-family: Shrikhand;
}
#loader-contener span:last-child {
  animation: loader-ohmyfood 1s 2s;
  font-family: Shrikhand;
}

header h1 {
  margin: 5px;
  text-align: center;
  font-size: 2rem;
}

#search {
  background-color: #ececec;
  border-top: groove lightgrey;
  padding: 12px;
  display: flex;
  justify-content: center;
  color: #5c5c5c;
}
#search * {
  transform: translateX(30px);
}

#site-search {
  border-style: none;
  background-color: transparent;
  font-size: 1em;
  font-weight: bold;
  color: #5c5c5c;
}

#intro {
  background-color: #f8f8f8;
  text-align: center;
}
#intro h2 {
  padding: 0 20px 0 20px;
  font-size: 1.5em;
  font-weight: bolder;
  margin-top: 40px;
}
#intro p {
  padding: 0 15px 0 15px;
  color: #616161;
  font-size: 1.08em;
}

button {
  font-family: Roboto, sans-serif;
  font-size: 1em;
  padding: 15px 30px;
  margin: 10px 0 60px 0;
  color: white;
  border-style: none;
  border-radius: 30px;
  background: linear-gradient(to bottom right, #FF79DA, #9356DC);
  box-shadow: 1px 5px 18px darkgrey;
}

#Fonc {
  display: flex;
  flex-direction: column;
  background-color: white;
  padding: 20px 0 30px 0;
}
#Fonc ul {
  margin: 0 20px 5px -20px;
}
#Fonc li {
  background-color: #f8f8f8;
  display: flex;
  align-items: center;
  box-shadow: 1px 5px 18px darkgrey;
  border-radius: 20px;
  margin: 0 0 30px 0;
}
#Fonc li:hover {
  background-color: #f2eafb;
}
#Fonc li:hover i {
  color: #9356DC;
}
#Fonc span {
  color: white;
  font-size: 0.9em;
  background-color: #9356DC;
  border-radius: 50px;
  padding: 4px 9px;
  transform: translateX(-10px);
}
#Fonc i {
  color: #5c5c5c;
  margin: 0 10px;
}

#Rest {
  background-color: #f8f8f8;
  padding-bottom: 40px;
}
#Rest h2 {
  padding: 30px 0 0 20px;
  margin-bottom: 0;
  font-weight: bold;
}

figure {
  width: auto;
  height: 250px;
  background-color: white;
  border-radius: 20px;
  box-shadow: 1px 5px 18px darkgrey;
  margin: 0 20px;
  position: relative;
}

figure span {
  font-size: 0.9em;
  position: absolute;
  top: 10px;
  right: 20px;
  z-index: 1;
  color: green;
  background-color: #99E2D0;
  padding: 5px 9px;
}

figure img {
  height: 175px;
  width: 100%;
  object-fit: cover;
  border-radius: 15px 15px 0 0;
}

figcaption {
  position: relative;
}
figcaption h3, figcaption p {
  margin: 0;
  padding: 5px 0 0 10px;
  color: black;
}
figcaption i {
  position: absolute;
  right: 20px;
  top: 20px;
  font-size: 1.5em;
}

footer {
  background-color: #3d3d3d;
  color: white;
  padding: 0px 0 0 10px;
  display: flex;
  flex-direction: column;
}
footer h2 {
  font-size: 1.2em;
  font-weight: lighter;
}
footer a {
  color: white;
  padding: 0 0 10px 10px;
  font-size: 0.9em;
}
footer i {
  padding-right: 5px;
}

#headermenu {
  display: flex;
  justify-content: center;
  padding: 10px 0;
  position: relative;
}
#headermenu img {
  width: 50%;
  max-width: 200px;
}
#headermenu a {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  left: 50px;
}

main {
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  background-color: #f8f8f8;
}
main button {
  width: 50%;
  margin: 20px 0 0 30%;
}

.imgmenu {
  height: 260px;
  width: auto;
  object-fit: cover;
}

#menu {
  margin-top: 0;
  transform: translateY(-40px);
  background-color: #f8f8f8;
  border-radius: 40px 40px 0 0;
}
#menu h2 {
  font-size: 1em;
  font-weight: lighter;
  padding: 0 0 0 20px;
  margin-bottom: 5px;
}
#menu ul {
  display: flex;
  flex-direction: column;
  margin: 10px 0 0 10px;
  padding: 0;
}
#menu ul li {
  display: flex;
  background-color: white;
  border-radius: 15px;
  margin: 0 10px 18px 0;
  box-shadow: 1px 5px 18px darkgrey;
  overflow: hidden;
  animation: loader-menu 1.2s;
  animation-fill-mode: forwards;
}
#menu ul li p {
  font-size: 0.9em;
  font-weight: lighter;
}
#menu ul li > * {
  padding: 0;
}
#menu ul li > div:first-child {
  flex-grow: 1;
}
#menu ul li div:nth-child(2) {
  display: flex;
  justify-content: center;
  align-items: flex-end;
}
#menu ul li div:not(:last-child) {
  padding: 10px;
}
#menu ul li > div:first-child * {
  margin: 0;
  padding: 1px;
  text-overflow: ellipsis;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  /** CSS property that will contain text to a given amount of lines when used in combination with display: -webkit-box. It will end with ellipsis when text-overflow: ellipsis is included.**/
  -webkit-box-orient: vertical;
}
#menu ul span {
  font-size: 0.9em;
  font-weight: bold;
  padding-right: 10px;
}
#menu ul div.animated {
  background-color: #99E2D0;
  color: white;
  width: 21%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-right: -22%;
  transition: margin-right 0.8s ease;
}
#menu ul div.animated i {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 22px;
  width: 22px;
  border-radius: 100%;
  background-color: white;
  color: #99E2D0;
  transform: rotate(-360deg);
  transition: transform 0.7s ease-in-out;
}
#menu ul li:hover div.animated {
  margin-right: 0;
}
#menu ul li:hover div.animated i {
  transform: rotate(0deg);
}

.underline {
  border-top: 2px solid #99E2D0;
  margin: 0 300px 0 20px;
  display: block;
  width: 30px;
}

main h1 {
  font-family: Shrikhand;
  font-weight: lighter;
  font-size: 1.5em;
  padding: 15px 40px 5px 20px;
}
main h1 i {
  transform: translateX(40px);
}

@media screen and (min-width: 768px) {
  body {
    max-width: 1580px;
  }

  #Fonc li {
    min-width: 300px;
    margin-right: 30px;
  }

  #Rest_desktop {
    display: flex;
    flex-wrap: wrap;
  }

  figure {
    width: 330px;
  }

  #menu ul {
    flex-direction: row;
    flex-wrap: wrap;
    margin: 10px 0 0 10px;
    padding: 0;
  }
  #menu ul li {
    display: flex;
    background-color: white;
    border-radius: 15px;
    margin: 0 10px 18px 0;
  }
}
@media screen and (min-width: 1050px) {
  #Fonc ul {
    display: flex;
    flex-direction: row;
  }

  #Fonc li {
    width: 30%;
    min-width: 300px;
    margin-right: 30px;
  }
}

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