html {
  font-size: 62, 5%;
}

body {
  font-family: var(--font-family);
  color: var(--text);
  font-size: 1.6rem;
}

p {
  margin: 1rem 0;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 1rem 0 2rem 0;
  font-family: var(--font-family-logo-titles);
}

ul {
  list-style: none;
}

a {
  color: var(--text);
  text-decoration: none;
}

img {
  max-width: 100%;
  object-fit: cover;
}

.pseudo-title {
  font-weight: 800;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

.btn {
  display: inline-block;
  box-shadow: 8px 6px 15px 0px rgba(0, 0, 0, 0.2);
  padding: 15px 35px 15px 35px;
  font-weight: 700;
  font-size: 1.5rem;
  color: white;
  border: 1px solid #f2f2f2;
  border-radius: 30px;
  background: linear-gradient(to left bottom, var(--secondary), var(--primary));
  cursor: pointer;
}
.btn:hover {
  opacity: 0.8;
  box-shadow: 8px 6px 15px 3px rgba(0, 0, 0, 0.2);
  transition: all 0.2s;
}

.fill {
  position: relative;
  display: inline-block;
  font-size: 35px;
  color: #ddd;
}

.fill::after {
  content: "\f004";
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 100%;
  color: var(--primary);
  overflow: hidden;
  transition: width 0.5s ease;
}

.fill:hover::after {
  width: 100%;
}

@keyframes bounce {
  0% {
    transform: rotate(-45deg);
  }
  10% {
    transform: rotate(-35deg);
  }
  70% {
    transform: rotate(20deg);
  }
  80% {
    transform: rotate(-10deg);
  }
  90% {
    transform: rotate(5deg);
  }
  100% {
    transform: rotate(0deg);
  }
}
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateX(-2rem);
  }
  to {
    opacity: 1;
  }
}
.container {
  display: flex;
  flex-direction: column;
}

header {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
header .box {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100vh;
  background: linear-gradient(to left bottom, var(--secondary), var(--primary));
  animation-name: fadeIn;
  animation-duration: 3s;
  animation-fill-mode: forwards;
}
@keyframes fadeIn {
  from {
    opacity: 1;
  }
  to {
    opacity: 0;
    scale: 0;
    width: 0;
    height: 0;
  }
}
header .box h1 {
  color: white;
  font-size: 5rem;
}
header .box span {
  display: inline-block;
  animation: bounce 1s;
  animation-fill-mode: forwards;
}
header .logo-main {
  margin: 2rem 2rem 2rem 2rem;
  width: 15rem;
}
header .search {
  width: 100%;
  padding: 1rem 0 1rem 0;
  background: var(--grey);
  display: flex;
  justify-content: center;
  align-content: center;
}
header .search i {
  font-size: 1.2rem;
  display: flex;
  align-items: center;
}
header .search input {
  border: 0;
  font-size: 1.2rem;
  background: var(--grey);
  padding: 15px;
  font-size: 18px;
  font-weight: 700;
}

main .explore {
  background: var(--background);
  text-align: center;
}
main .explore .pseudo-title {
  margin-top: 0;
  padding-top: 2rem;
  font-weight: 800;
}
main .explore a {
  margin: 1rem 0 2rem 0;
}
main .explications {
  padding-top: 2rem;
  padding-bottom: 5rem;
}
main .explications .pseudo-title {
  padding-left: 2rem;
}
@media (min-width: 1200px) {
  main .explications .pseudo-title {
    padding-left: 6.5rem;
  }
}
main .explications .explications-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}
@media (min-width: 1200px) {
  main .explications .explications-container {
    flex-direction: row;
  }
  main .explications .explications-container .left-button {
    margin-right: 2rem;
    margin-left: 6.5rem;
  }
  main .explications .explications-container .center-button {
    margin-right: 2rem;
  }
  main .explications .explications-container .right-button {
    margin-right: 6.5rem;
  }
  main .explications .explications-container a {
    min-width: 28.5rem;
  }
}
main .explications .explications-container a {
  margin-left: 2rem;
  margin-right: 2rem;
  width: 85%;
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  justify-content: center;
  align-content: center;
  box-shadow: 0px 4px 8px 5px rgba(0, 0, 0, 0.07);
  border-radius: 20px;
  font-weight: 700;
  background: var(--background);
  position: relative;
  cursor: pointer;
}
main .explications .explications-container a span {
  position: absolute;
  left: -0.5rem;
  min-width: 24px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50px;
  font-size: 14px;
  color: white;
  background: var(--primary);
  height: 24px;
}
main .explications .explications-container a i {
  display: flex;
  flex: 1;
  padding: 1rem 1rem 1rem 3rem;
  color: var(--primary);
}
main .explications .explications-container a .choice {
  display: flex;
  flex: 1;
  flex-wrap: nowrap;
  margin: auto;
  background: none;
}
main .restaurants {
  width: 100%;
  background: var(--background);
  padding-top: 2rem;
}
main .restaurants .pseudo-title {
  margin-left: 2rem;
}
@media (min-width: 1200px) {
  main .restaurants .pseudo-title {
    padding-left: 6.5rem;
  }
}
main .restaurants .restaurants-list {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
@media (min-width: 1200px) {
  main .restaurants .restaurants-list {
    display: grid;
    grid-template-columns: 100px 1fr 100px 1fr 100px;
    grid-auto-rows: auto;
    grid-template-areas: ". card1 . card2 ." ". card3 . card4 .";
  }
  main .restaurants .restaurants-list .card-1 {
    grid-area: card1;
  }
  main .restaurants .restaurants-list .card-2 {
    grid-area: card2;
  }
  main .restaurants .restaurants-list .card-3 {
    grid-area: card3;
  }
  main .restaurants .restaurants-list .card-4 {
    grid-area: card4;
  }
}
main .restaurants .restaurants-list .restaurants-elem {
  border: 4px solid white;
  box-shadow: 0px 4px 8px 5px rgba(0, 0, 0, 0.07);
  background: white;
  border-radius: 20px;
  margin: 0.5rem 2rem 2rem 2rem;
}
main .restaurants .restaurants-list .restaurants-elem a {
  display: grid;
  grid-template-columns: 1fr 80px;
  grid-auto-rows: auto;
  grid-template-areas: "img img" "indextitle heart" "indexsubtitle .";
}
main .restaurants .restaurants-list .restaurants-elem a .restaurants-elem-img {
  grid-area: img;
  width: 100%;
  height: 136px;
  object-fit: cover;
  border-top-left-radius: 20px;
  border-top-right-radius: 20px;
}
main .restaurants .restaurants-list .restaurants-elem a .card-title {
  grid-area: indextitle;
  font-weight: bold;
}
main .restaurants .restaurants-list .restaurants-elem a card-subtitle {
  grid-area: indexsubtitle;
}
main .restaurants .restaurants-list .restaurants-elem a .card-rating {
  grid-area: heart;
  font-size: 2rem;
  margin: auto;
}

footer {
  background: var(--text);
  display: flex;
  flex-direction: column;
  justify-content: start;
  align-items: start;
}
@media (min-width: 1200px) {
  footer {
    padding-top: 3rem;
    flex-direction: row-reverse;
    justify-content: end;
    align-items: center;
  }
  footer .restaurant-order {
    order: 3;
    margin: 1.5rem;
  }
  footer .partner-order {
    order: 2;
    margin-right: 5rem;
  }
  footer .legal-order {
    order: 1;
    margin-right: 1.5rem;
  }
  footer .second-logo {
    margin-right: 5rem;
    margin-left: 5rem;
  }
}
footer a {
  display: flex;
  color: white;
  font-size: 1.2rem;
}
footer a p {
  margin: 0.2rem;
}
footer a img {
  filter: invert(100%);
  padding: 1rem 0 1rem 0;
  font-size: 0.8rem;
}
footer a i {
  margin: auto;
  margin-right: 0.3rem;
  font-size: 1.2rem;
}

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