*,
*::before,
*::after {
  box-sizing: border-box;
}

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

/* Header Top info */

header {
  display: flex;
  justify-content: center;
  flex-direction: column;
}

.header-info {
  margin: 0 1em;
  padding: 1em;
}

.phone {
  font-size: 0.9rem;
}

.time {
  font-size: 0.8rem;
  padding-left: 1rem;
  margin-right: 0.5em;
}

.shop {
  margin: 0 0.2em;
}

/* Header Nav section */

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: cornflowerblue;
  padding: 0 0.5em 0 1em;
  margin: 0 1em;
  border-radius: 3px;
}

.logo-link {
  font-size: 1.5rem;
}

.nav-links {
  display: flex;
  justify-content: space-evenly;
  width: 350px;
}

.nav-link {
  list-style: none;
}

.nav-link:hover {
  color: white;
  cursor: pointer;
}

.nav-link i {
  padding-right: 5px;
}

/* Header Brands Section */

.brands {
  background-color: rgb(151, 180, 235);
  padding: 0 0.5em 0 1em;
  margin: 0 1em;
}

.brand-links {
  display: flex;
  justify-content: space-evenly;
  padding: 0;
  cursor: pointer;
}

.brand-link {
  list-style: none;
}

.brand-link:hover {
  color: #ff0059;
}

.brand-link i {
  margin-right: 0.5rem;
}

/* Hero section */

.hero-container {
  background-image: url("https://nutrasite.s3.us-east-2.amazonaws.com/img/herobar.jpg");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  position: relative;
  padding-bottom: calc(700px + (474 - 700) * (100vw - 600px) / (1200 - 600));
  margin: 0 1em;
}

.hero-container:after {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  display: block;
  content: "";
  background-color: rgba(0, 0, 0, 0.6);
  z-index: 0;
}

.hero-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  z-index: 1;
}

.hero-text h2 {
  font-family: "Bellota", cursive;
  margin-bottom: 5px;
  font-size: 52px;
  color: white;
}

.hero-text p {
  font-size: 22px;
  color: white;
}

.hero-cta {
  display: inline-block;
  color: #fff;
  background-color: #ff0059;
  padding: 10px 20px;
  font-size: 28px;
  line-height: 32px;
  border-radius: 26px;
  cursor: pointer;
}

.hero-cta:hover {
  color: black;
  background-color: #fd70a1;
}

/* Menu section */

.menu {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  margin: 1rem auto;
}

.menu__card {
  display: flex;
  justify-content: center;
  align-content: center;
  position: relative;
  max-width: 32%;
  padding: 1rem 0;
}

.menu__card::before,
.menu__card::after {
  content: "";
  position: absolute;
  top: 1.25em;
  bottom: 1.25em;
  left: 1.25em;
  right: 1.25em;
  opacity: 1;
  transition: transform ease-out 250ms;
}

.menu__card::before {
  border-top: 1px solid black;
  border-bottom: 1px solid black;
  border-radius: 5px;
  transform: scale(0, 1);
}

.menu__card::after {
  border-left: 1px solid black;
  border-right: 1px solid black;
  border-radius: 5px;
  transform: scale(1, 0);
}

.menu__card:hover::before {
  transform: scale(1, 1);
}

.menu__card:hover::after {
  transform: scale(1, 1);
}

.menu__card__img {
  max-width: 50%;
  display: block;
  opacity: 1;
  transition: opacity ease-out 250ms;
}

.menu__card:hover .menu__card__img {
  opacity: 0.2;
}

.menu__card__text {
  position: absolute;
  text-align: center;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: black;
  opacity: 0;
  transition: opacity ease-out 250ms;
}

.menu__card:hover .menu__card__text {
  opacity: 1;
}

.menu__card__title {
  font-family: "Bellota", cursive;
  font-size: 2.5rem;
  color: black;
  margin: 0;
}

.menu__card__body {
  color: black;
}

.footer__container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  justify-items: center;
  background-color: cornflowerblue;
  padding: 1em 0;
}

.footer__info {
  padding-bottom: 1rem;
}

.footer__info p {
  margin: 0.2rem;
}

.footer__news {
  border-left: 1px solid white;
  border-right: 1px solid white;
  padding: 0 2em;
}

.footer__news input {
  padding: 0.3em;
  border: 1px solid cornflowerblue;
  margin-right: 0;
}

.footer__news button {
  padding: 0.3em;
  background-color: yellow;
  border: 1px solid cornflowerblue;
  margin-left: 0;
}

.footer__icon {
  font-size: 1.5rem;
  padding-left: 0.5rem;
}

@media (max-width: 600px) {
  .about-link {
    display: none;
  }
  .brands {
    padding: 0;
  }

  .hero-container {
    padding-bottom: 700px;
  }
  .hero-text h2 {
    font-size: 2.5rem;
  }
  .hero-text p {
    font-size: 1.5rem;
  }
}
