body {
  margin: 0;
  font-family: "Yusei Magic", sans-serif;
  font-weight: 400;
  font-style: normal;
  scroll-behavior: smooth;
}

nav {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  position: sticky;
  top: 1px;
  height: 8rem;
  background-color: #E2EDDC;
  z-index: 1000;

}

.logo-2 {
  -webkit-animation: rotate-in-center 0.9s cubic-bezier(0.250, 0.460, 0.450, 0.940) backwards;
  animation: rotate-in-center 0.9s cubic-bezier(0.250, 0.460, 0.450, 0.940) backwards;
}

@-webkit-keyframes rotate-in-center {
  0% {
    -webkit-transform: rotate(-360deg);
    transform: rotate(-360deg);
    opacity: 0;
  }

  100% {
    -webkit-transform: rotate(0);
    transform: rotate(0);
    opacity: 1;
  }
}

@keyframes rotate-in-center {
  0% {
    -webkit-transform: rotate(-360deg);
    transform: rotate(-360deg);
    opacity: 0;
  }

  100% {
    -webkit-transform: rotate(0);
    transform: rotate(0);
    opacity: 1;
  }
}

.logo-1 {
  -webkit-animation: scale-in-center 1s cubic-bezier(0.250, 0.460, 0.450, 0.940) both;
  animation: scale-in-center 1s cubic-bezier(0.250, 0.460, 0.450, 0.940) both;
}

@-webkit-keyframes logo-1 {
  0% {
    -webkit-transform: scale(0);
    transform: scale(0);
    opacity: 1;
  }

  100% {
    -webkit-transform: scale(1);
    transform: scale(1);
    opacity: 1;
  }
}

@keyframes scale-in-center {
  0% {
    -webkit-transform: scale(0);
    transform: scale(0);
    opacity: 1;
  }

  100% {
    -webkit-transform: scale(1);
    transform: scale(1);
    opacity: 1;
  }
}

.logo-2 img {
  height: 450px;
  width: 450px;
  position: relative;
  top: 47px;
  z-index: 1000;
}

.nav-list {
  display: flex;
  flex-direction: row;
  justify-content: space-around;
  list-style: none;
}

.logo-2 {
  font-size: 2rem;
  cursor: pointer;
}

a {
  text-decoration: none;
  color: #2B292E;
  scroll-behavior: smooth;
}

.lista-nav {
  padding: 1rem;
  margin: 1rem;
  font-size: 1.5rem;
}

.logo {
  padding: 1rem;
  margin: 1rem;

}

@media (max-width: 768px) {
  .nav-list {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 7rem;
    right: 0;
    background-color: #E2EDDC;
    width: 200px;
    padding: 1rem;
  }

  .nav-list.active {
    display: flex;
    box-shadow: -11px 9px 19px -5px #4D4D4D;
  }

  /*il gatto diventa il pulsante*/
  .logo-2 img {
    height: 135px !important;
    width: auto;
    cursor: pointer;
  }
}


.hero {
  position: relative;
  height: 100vh;
  overflow: hidden;
}

.hero-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
  margin-bottom: 0;
}

@media (max-width: 768px) {

  .hero {
    position: relative;
    height: 36vh;
    overflow: hidden;

  }

}

.menu {
  background-image: url(img/pattern.png);
  height: 20rem;
  background-size: cover;
  background-repeat: no-repeat;
  background-color: #F18E96;
  margin-top: 0;
  display: flex;
  justify-content: center;
  flex-direction: column;
  align-items: center;
  text-align: center;
  font-size: 1.8rem;
}

.img-hero img {
  object-fit: cover;
  width: 100%;
  margin-bottom: 0;
}

.menu-delvery {
  height: 100%;
  width: 100%;
  display: flex;
  flex-direction: row;
  justify-content: space-around;
  margin-top: 0;
  height: 47rem;
  background-color: rgba(230, 57, 70, 0.5);

}

.order-here {
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
}

.take-away {
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
  text-align: center;
}

.here {
  font-size: 2.5rem;
}

.gattone-order {
  height: 350px;
  width: 350px;
  object-fit: cover;
  display: block;
}

@media (max-width: 768px) {
  .menu-delvery {
    display: flex;
    flex-direction: column;
    height: 100%;
  }

  .btn-order-1 {
    margin-bottom: 30px !important;
    margin-top: 30px !important;
  }

  .central-img {
    text-align: center;
  
  }

  .gattone-order {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-left: 6rem;
  }
}

.gattone-order {
  -webkit-animation: heartbeat 1.5s ease-in-out infinite both;
  animation: heartbeat 1.5s ease-in-out infinite both;
}

@-webkit-keyframes gattone-order {
  from {
    -webkit-transform: scale(1);
    transform: scale(1);
    -webkit-transform-origin: center center;
    transform-origin: center center;
    -webkit-animation-timing-function: ease-out;
    animation-timing-function: ease-out;
  }

  10% {
    -webkit-transform: scale(0.91);
    transform: scale(0.91);
    -webkit-animation-timing-function: ease-in;
    animation-timing-function: ease-in;
  }

  17% {
    -webkit-transform: scale(0.98);
    transform: scale(0.98);
    -webkit-animation-timing-function: ease-out;
    animation-timing-function: ease-out;
  }

  33% {
    -webkit-transform: scale(0.87);
    transform: scale(0.87);
    -webkit-animation-timing-function: ease-in;
    animation-timing-function: ease-in;
  }

  45% {
    -webkit-transform: scale(1);
    transform: scale(1);
    -webkit-animation-timing-function: ease-out;
    animation-timing-function: ease-out;
  }
}

@keyframes heartbeat {
  from {
    -webkit-transform: scale(1);
    transform: scale(1);
    -webkit-transform-origin: center center;
    transform-origin: center center;
    -webkit-animation-timing-function: ease-out;
    animation-timing-function: ease-out;
  }

  10% {
    -webkit-transform: scale(0.91);
    transform: scale(0.91);
    -webkit-animation-timing-function: ease-in;
    animation-timing-function: ease-in;
  }

  17% {
    -webkit-transform: scale(0.98);
    transform: scale(0.98);
    -webkit-animation-timing-function: ease-out;
    animation-timing-function: ease-out;
  }

  33% {
    -webkit-transform: scale(0.87);
    transform: scale(0.87);
    -webkit-animation-timing-function: ease-in;
    animation-timing-function: ease-in;
  }

  45% {
    -webkit-transform: scale(1);
    transform: scale(1);
    -webkit-animation-timing-function: ease-out;
    animation-timing-function: ease-out;
  }
}


.btn-order-1 {
  height: auto;
  width: 350px;
  padding: 1.5rem;
  border-radius: 8px;
  font-size: 1.5rem;
  box-shadow: 0 8px 30px rgba(94, 41, 110, 0.6);
  background-color: #FF6666;
  color: rgb(26, 25, 25);
  margin: 0 auto;
}

.btn-order-1:hover {
  background-image: url("img/pattern.png");
  background-size: cover;
  background-position: center;
  color: black;
}


.our-istory {
  background-image: url(img/story.png);
  height: 90rem;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  width: 100%;
}

.our-istory {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  padding-top: 10rem;
}

.ystory-1 {
  font-size: 8rem;
  margin-bottom: 0;
  margin-left: 80px;
  color: #E2EDDC;
}

.ystory-2 {
  font-size: 8rem;
  margin-top: 0;
  margin-left: 10rem;
  color: #E2EDDC;
}

.pagraf-istory {
  font-size: 2.5rem;
  width: 80%;
  margin: 80px 80px auto;
  color: #E2EDDC;
}

@media (max-width: 768px) {
  .our-istory {
    padding-top: 5rem;
  }

  .ystory-1 {
    font-size: 5rem;
    text-align: center;
    margin-right: 40px;

  }

  .ystory-2 {
    font-size: 5rem;
    text-align: center;
    margin-right: 100px;

  }

  .pagraf-istory {
    font-size: 1.5rem;
    width: 70%;
    margin: 80px 80px auto;
    color: #E2EDDC;
  }

  .our-istory {
    height: 43rem;
  }
}

.ramen-menu {
  background-image: url(img/pattenr-2.png);
  height: 100%;
  background-size: cover;
  background-repeat: no-repeat;
  background-color: rgba(201, 201, 201, 0.5);
}

.ramen-menu-title {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  padding-top: 2rem;
}

.ystory-3 {
  font-size: 10rem;
  margin-bottom: 0;

  color: #373837;
}

.ystory-4 {
  font-size: 10rem;
  margin-top: 0;
  margin-left: 22rem;
  color: #424241;
}

.card-container {
  height: 200vh;
}

.card {
  position: relative;
  /* fondamentale per poter poi inserire il testo al passaggio del mouse */
  width: 800px;
  height: 500px;
  overflow: hidden;
  border-radius: 15px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  cursor: pointer;
}

.card-cont {
  display: flex;
  justify-content: space-around;
  align-items: center;
  margin-top: 8rem;
  margin-bottom: 8rem;
}

.card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s;
}

.card .info {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.6);
  color: white;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  opacity: 0;
  transition: opacity 0.3s;
  padding: 20px;
}

.card:hover img {
  transform: scale(1.05);
}

.card:hover .info {
  opacity: 1;
}

.ramen-title {
  font-size: 2.5rem;
}

.btn-order-4 {
  height: auto;
  width: 200px;
  padding: 1rem;
  border-radius: 8px;
  font-size: 1.5rem;
  box-shadow: 0 8px 30px rgba(94, 41, 110, 0.6);
  background-color: #FF6666;
  color: rgb(26, 25, 25);
  margin: 24px 24px auto;
}

@media (max-width: 768px) {
  .card-container {
    height: auto;
  }

  .ystory-3 {
    font-size: 5rem;
    text-align: center;
    margin-right: 40px;

  }

  .ystory-4 {
    font-size: 5rem;
    text-align: center;
    margin-left: 0;

  }

  .card-cont {
    flex-direction: column;
    gap: 2rem;
    margin: auto;
  }

  .card {
    width: 90%;
    height: auto;
    margin-bottom: 3rem;
  }

  .ramen-title {
    font-size: 1.5rem;
  }

  .btn-order-4 {
    width: 140px;
    font-size: 1rem;
    padding: 0.8rem;
  }
}

#formulario-container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  background-color: #759AA3;
  margin-top: 0;
  height: 100vh;
  width: 100%;

}

.contact {
  font-size: 2.5rem;
}

form {
  display: flex;
  flex-direction: column;
  text-align: left;
}

label {
  margin-top: 30px;
  margin-bottom: 30px;
}

.name,
.email {
  font-size: 1.5rem;
  color: #E2EDDC;
}

.message {
  font-size: 1.5rem;
  color: #E2EDDC;
}

#name {
  width: 100%;
  padding: 10px;
  margin-bottom: 20px;
  border: none;
  border-bottom: 2px solid #ececec;
  outline: none;
  font-size: 14px;
  background: transparent;
  resize: none;
}

#email {
  width: 100%;
  padding: 10px;
  margin-bottom: 20px;
  border: none;
  border-bottom: 2px solid #ececec;
  outline: none;
  font-size: 14px;
  background: transparent;
  resize: none;
}

#message {
  width: 100%;
  padding: 10px;
  margin-bottom: 20px;
  border: none;
  border-bottom: 2px solid #ececec;
  outline: none;
  font-size: 14px;
  background: transparent;
  resize: none;
}

form button {
  margin-top: 50px;
  background: #333;
  color: white;
  border: none;
  padding: 10px 20px;
  cursor: pointer;
  border-radius: 5px;
  transition: background 0.3s;
}

form button:hover {
  background: #555;
}

footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 50px;
  background: #333;
  color: white;
}

.footer-left,
.footer-center,
.footer-right {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.footer-left {
  justify-content: flex-start;
}

.footer-center {
  justify-content: center;
}

.footer-right {
  justify-content: flex-end;
}

.im-footer-1 {
  max-height: 150px;

}

.im-footer-2 {
  max-height: 157px;
}

.fab {
  font-size: 24px;
  margin-left: 20px;
  color: white;
  transition: color 0.3s;
  margin-right: 50px;
}

.fab:hover {
  color: #ff6347;
  /* cambia colore su hover */
}