* {
  margin: 0;
  padding: 0;
  box-sizing: border-box; /* To Box Model */
}

/* Global */

body {
  font-family: "Merriweather", sans-serif;
  background-color: #ebf2ff;
  overflow-x: hidden;
}

.button-primary {
  background-image: linear-gradient(
    to right,
    #ff512f 0%,
    #dd2476 51%,
    #ff512f 100%
  );
  color: #fff;
  padding: 12px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
}

.container {
  width: 100%;
  margin: 0 auto;
  padding: 0 15px;
}

.navbar {
  display: flex;
  justify-content: space-around;
  align-items: center;
}

.navbar-brand {
  width: 100px;
}

.navbar-logo {
  width: 100%;
}

.hero-container {
  width: 100%;
}

.hero-img-container {
  width: 100%;
  position: relative;
}

.hero-img,
.hero-img-bg-solid {
  width: 100%;
  position: absolute;
}

.hero-img {
  margin-top: 20px;
  width: 100%;
  left: auto;
  right: auto;
  z-index: 2;
  border-radius: 6px;
  box-shadow: 0 25px 25px -12px rgb(0 0 0 / 25%);
}

.hero-text {
  font-size: 30px;
  color: #1d3557;
  margin: 20px 0;
}

/* Menu Styles */

.explore-menu-container {
  margin-top: 50px;
}

.explore-menu-text {
  font-size: 30px;
  color: #1d3557;
  margin: 20px 0;
  text-align: center;
}

.menu-card {
  width: 100%;
  background-color: #fff;
  border-radius: 8px;
  margin-bottom: 15px;
}

.food-image {
  width: 100%;
  border-radius: 8px 8px 0 0;
}

.food-description {
  padding: 20px;
}

.explore-menu-button {
  display: flex;
  justify-content: center;
}

/* Flex */

.row-one,
.row-two {
  width: 100%;
  display: flex;
  gap: 4px;
}

.row-one {
  align-items: baseline;
  margin-bottom: 4px;
}

.row-two {
  flex-direction: row-reverse;
}

.restaurant1-image,
.restaurant2-image,
.restaurant3-image,
.restaurant4-image {
  width: 100%;
  height: 100%;
  border-radius: 7px;
}

.restaurant1,
.restaurant3 {
  width: 90%;
  height: 110px;
}

.restaurant2,
.restaurant4 {
  width: 110%;
  height: 130px;
}

.restaurants-description {
  font-size: 30px;
  color: #1d3557;
  margin: 20px 0;
  text-align: center;
}

/* Subscription */

.subscribe {
  margin-top: 60px;
  padding: 0 25px;
}

.subscribe-text {
  font-size: 30px;
  color: #1d3557;
  margin: 10px 0;
}

.subscribe-flex {
  display: flex;
  align-items: center;
  gap: 10px;
}

#email {
  padding: 9px 10px;
  border: 1px solid #ee89a0;
  background-color: #fcedf0;
  color: #1d3557;
  font-weight: 700;
  border-radius: 4px;
}

.subscribe .button-primary {
  padding: 7px 12px;
  border-radius: 3px;
  background-image: linear-gradient(to right, #ff512f 0%, #dd2476 91%);
  font-weight: 700;
}

/* Quote */

.quote {
  margin-top: 50px;
  position: relative;
  background: url(https://images.unsplash.com/photo-1522336572468-97b06e8ef143?ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&ixlib=rb-1.2.1&auto=format&fit=crop&w=755&q=80)
    center center / cover no-repeat;
  width: 100%;
  height: 190px;
  border-radius: 15px;
  align-items: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.quote-bg {
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 100%;
  border-radius: 15px;
  background-color: #0a4065;
  opacity: 49%;
}

.quote-text {
  position: absolute;
  color: #fff;
  display: block;
  text-align: center;
  padding: 0 15px;
  font-size: 19px;
  font-weight: bold;
}

/* Footer */

.footer {
  margin-top: 50px;
  border-radius: 20px 20px 0 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background-image: linear-gradient(
    to right,
    #ff512f 0%,
    #dd2476 51%,
    #ff512f 100%
  );
  color: #fff;
}

.footer-logo {
  filter: brightness(0) invert(1);
  width: 300px;
}

.nav-items {
  list-style-type: none;
  line-height: 25px;
}

@media (min-width: 768px) {
  .navbar {
    justify-content: space-between;
    padding: 10px 20px;
  }
  .navbar-brand {
    width: 150px;
  }
  .button-primary {
    padding: 12px 20px;
    font-size: 20px;
  }
  .hero-container {
    display: flex;
    flex-direction: row-reverse;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
  }
  .hero-img {
    margin-top: 40px;
  }

  .explore-menu-container {
    position: relative;
  }

  .explore-menu-bg {
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 100%;
    background-image: linear-gradient(
      to right,
      #ff512f 0%,
      #dd2476 51%,
      #ff512f 100%
    );

    z-index: -3;
    transform: skewY(-5deg);
  }

  .explore-menu-lists {
    margin-top: 50px;
    display: flex;
    gap: 8px;
  }
  #pizza-card {
    margin-top: -20px;
    margin-bottom: 30px;
  }
  .restaurants-container {
    display: flex;
    align-items: center;
    margin-top: 50px;
  }
  .restaurants-description,
  .restaurants-flex {
    width: 100%;
  }
  .restaurants-description {
    margin-right: 50px;
  }
  .restaurant1,
  .restaurant3 {
    width: 90%;
    height: 130px;
  }

  .restaurant2,
  .restaurant4 {
    width: 110%;
    height: 150px;
  }
  .subscribe {
    padding: 0 100px;
  }
  #email {
    padding-left: 20px;
    padding-right: 230px;
  }
  .subscribe .button-primary {
    padding: 7px 12px;
    font-size: 15px;
  }
  .quote {
    margin-top: 150px;
    height: 300px;
  }
  .quote-text {
    padding: 0 35px;
    font-size: 32px;
    font-weight: 500;
  }
  .footer {
    flex-direction: row;
    justify-content: space-evenly;
  }
}

@media (min-width: 1020px) {
  .container {
    max-width: 900px;
  }
  .hero-text {
    font-size: 40px;
  }
  .explore-menu-container {
    margin-top: 100px;
  }
  .explore-menu-lists {
    gap: 20px;
    padding: 0 20px;
  }
  .explore-menu-text {
    font-size: 40px;
  }
  .restaurants-description {
    font-size: 40px;
  }
  .restaurant1,
  .restaurant3 {
    width: 90%;
    height: 200px;
  }

  .restaurant2,
  .restaurant4 {
    width: 110%;
    height: 250px;
  }
  .subscribe {
    margin-top: 100px;
    padding: 0 160px;
  }
  .subscribe-text {
    font-size: 40px;
    margin: 5px 0;
  }
  #email {
    padding-left: 20px;
    padding-right: 250px;
  }
  .subscribe .button-primary {
    padding: 6px 12px;
    font-size: 15px;
  }
  .quote {
    width: 114%;
    height: 300px;
    margin-left: -60px;
    margin-right: -60px;
  }
  .quote-text {
    padding: 0;
    font-size: 32px;
    font-weight: 500;
  }
}

@media (min-width: 1400px) {
  .container {
    max-width: 1250px;
  }
  .hero-text,
  .explore-menu-text,
  .restaurants-description {
    font-size: 50px;
  }
  .subscribe {
    margin-top: 100px;
    padding: 0 150px 0 250px;
  }
  .subscribe-flex {
    gap: 20px;
  }
  .subscribe-text {
    font-size: 50px;
    margin: 5px 0;
  }
  #email {
    padding: 10px 320px 10px 20px;
    font-size: 20px;
  }
  .subscribe .button-primary {
    padding: 10px 20px;
    font-size: 18px;
    border-radius: 7px;
  }
  .quote {
    margin-top: 150px;
    height: 300px;
    margin-right: 0;
    margin-left: 0;
    padding: 0 100px;
    width: 100%;
  }
  .quote-text {
    padding: 0 35px;
    font-size: 35px;
    font-weight: 500;
  }
}
