* {
    margin: 0;
    padding: 0;
    list-style: none;
    text-decoration: none;
    box-sizing: border-box;
}
  
:root {
    --rose: #FF79DA;
    --violet: #9356DC;
    --vert-clair: #99E2D0;
}
  
@keyframes itemAppear {
    0% {
      transform: scale(0);
    }
    100% {
      transform: scale(1);
    }
}
  
body, html {
    margin: 0;
    font-family: "Roboto", sans-serif;
    scroll-behavior: smooth;
}

/********************************
*            Header             *
********************************/
.header__menupage {
    position: relative;
}
.header__previous {
    position: absolute;
    top: 35%;
    left: 2em;
    width: 2em;
    height: 2em;
    color: black;
    font-size: 1.7em;
}

/********************************
*             Images            *
********************************/
.RestaurantOfImage {
    max-width: 100%;
    max-height: 32em;
    width: 100%;
    object-fit: cover;
}

/********************************
*         Menus / Header        *
********************************/
.menu {
    margin-top: -4em;
    border-radius: 3em 3em 0 0;
    background-color: #f6f6f6;
    z-index: 1;
    position: relative;
}
.menu__header {
    padding: 1em 2em 0 1em;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.menu__title {
    font-family: "Shrikhand";
    font-size: 2.5em;
}
@media (width > 1280px) {
    .container {
        width: 100%;
    }
}

/********************************
*          Sous Menus           *
********************************/
.submenus {
    display: grid;
}
@media (min-width: 64em) {
    .submenus {
        grid-template-columns: repeat(3,1fr);
        column-gap: 1em;
    }
}
.submenu {
    max-width: 100%;
    padding: 0 1em;
    overflow: hidden;
}
.submenu__title {
    font-weight: normal;
    position: relative;
    padding-bottom: 0.5em;
    text-transform: uppercase;
    font-size: 1.4em;
    margin-top: 35px;
}
.submenu__title::after {
    content: "";
    width: 3em;
    height: 0.25em;
    position: absolute;
    left: 0;
    bottom: 0;
    background-color: #99E2D0;
}
.menuItem {
    background-color: white;
    padding: 1em;
    display: flex;
    border-radius: 0.75em;
    margin: 1em 0;
    box-shadow: 0.5em 0.5em 1em rgba(0, 0, 0, 0.1);
    overflow: hidden;
    cursor: pointer;
    animation: itemAppear 0.6s;
    animation-timing-function: cubic-bezier(0.5, 1.58, 0.34, 0.82);
    animation-fill-mode: both;
    transform: scale(0);
    max-width: 100%;
}
.menuItem__header {
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
    flex: 1;
}
.menuItem__title {
    margin: 0;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
    font-size: 1.6em;
}
.menuItem__description {
    margin: 0;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
    font-size: 1.3em;
}
.menuItem__price {
    font-weight: bold;
    display: flex;
    justify-content: flex-end;
    align-items: flex-end;
    padding-left: 0.5em;
    margin-right: 25px;
    font-size: 1.3em;
}
.menuItem__confirmation {
    width: 4em;
    margin: -1em -5em -1em -1em;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #99E2D0;
    transition-duration: 0.5s;
}
.menuItem:hover .menuItem__confirmation {
    margin-right: -1em;
}
.menuItem__wrapIcon {
    width: 1.5em;
    height: 1.5em;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 100px;
    background-color: white;
    transform: rotate(-180deg);
    transition-duration: 0.8s;
}
.menuItem:hover .menuItem__wrapIcon {
    transform: rotate(0);
}

.menuItem__icon {
    color: #99E2D0;
}
.time-0 {
    animation-delay: 0s;
}
.time-1 {
    animation-delay: 0.1s;
}
.time-2 {
    animation-delay: 0.2s;
}
.time-3 {
    animation-delay: 0.3s;
}
.time-4 {
    animation-delay: 0.4s;
}
.time-5 {
    animation-delay: 0.5s;
}
.time-6 {
    animation-delay: 0.6s;
}
.time-7 {
    animation-delay: 0.7s;
}
.time-8 {
    animation-delay: 0.8s;
}
.time-9 {
    animation-delay: 0.9s;
}
.wrapBoutton {
    display: flex;
    justify-content: center;
    text-decoration: cadetblue;
    padding: 3em 0;
}
.commandBoutton {
    font-size: 1.8em;
    font-weight: 500;
    color: white;
    padding: 0.8em 2.5em;
    border: 0;
    border-radius: 100px;
    cursor: pointer;
    background-color: #686868;
    background-image: linear-gradient(0deg, rgba(147, 86, 220, 0.9) 0%, rgba(255, 121, 218, 0.9) 100%);
    transition-duration: 0.25s;
    box-shadow: 0.25em 0.25em 10px rgba(0, 0, 0, 0.25);
}
.commandBoutton:hover {
    background-color: white;
    box-shadow: 0.25em 0.25em 10px rgba(0, 0, 0, 0.5);
}
.commandBoutton a {
    text-decoration: none;
    color: inherit;
}