/* ********** FONT-FACE ********** */
@font-face {
  font-family: Roboto;
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: local("Roboto-Regular"), url("../../fonts/Roboto-Regular.woff2") format("woff2");
}
@font-face {
  font-family: Shrikhand;
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: local("Shrikhand-Regular"), url("../../fonts/Shrikhand-Regular.woff2") format("woff2");
}
/* ********** KEYFRAMES ********** */
@keyframes cover {
  0% {
    width: 100%;
    height: 100%;
  }
  80% {
    height: 100%;
  }
  100% {
    width: 100%;
  }
}
@keyframes rotate {
  0% {
    opacity: 1;
    transform: rotate(0deg);
  }
  80% {
    opacity: 1;
  }
  100% {
    transform: rotate(180deg);
  }
}
@keyframes translate {
  0% {
    opacity: 0;
  }
  50% {
    opacity: 0;
    transform: translateY(-50px);
  }
}
html {
  scroll-behavior: smooth;
}

body,
h1,
h2,
h3,
ul,
ol,
figure,
p {
  margin: 0;
}

body {
  font-family: Roboto, sans-serif;
}

ul {
  padding: 0;
  list-style: none;
}

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

a {
  text-decoration: none;
  color: inherit;
}

[type=checkbox] {
  display: none;
}

header {
  display: flex;
  place-content: center;
  place-items: center;
  position: relative;
  z-index: 10;
  height: 63px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.15);
}
header .fa-arrow-left {
  position: absolute;
  top: 20px;
  left: 20px;
}
header img {
  width: 162px;
}

.btn {
  display: block;
  margin: 30px auto;
  border: none;
  border-radius: 25px;
  padding: 15px 25px;
  width: 200px;
  font-size: 1rem;
  font-weight: bold;
  background-image: linear-gradient(180deg, hsl(317, 100%, 74%) 0%, hsl(267, 66%, 60%) 100%);
  color: hsl(0, 0%, 100%);
  box-shadow: 0 4px 4px 0 rgba(0, 0, 0, 0.15);
  cursor: pointer;
}
.btn:hover, .btn:focus {
  opacity: 0.9;
  box-shadow: 0 4px 4px 0 rgba(0, 0, 0, 0.25);
}

.heart .fa-heart {
  position: absolute;
  z-index: 100;
  font-size: 1.35rem;
  cursor: pointer;
}
.heart .fa-solid {
  opacity: 0;
  transition: opacity 3s;
  background-image: linear-gradient(to bottom, hsl(317, 100%, 74%), hsl(267, 66%, 60%) 80%);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
}
.heart input:checked ~ .fa-solid {
  opacity: 1;
}

footer {
  display: flex;
  flex-flow: column;
  gap: 15px;
  padding: 25px;
  background-color: hsl(0, 0%, 21%);
  color: hsl(0, 0%, 100%);
}
footer h3 {
  font-family: Shrikhand, serif;
}
footer ul {
  display: flex;
  flex-flow: column;
  gap: 10px;
}

/* ********** TABLET ********** */
@media (min-width: 48rem) {
  footer {
    flex-flow: row-reverse;
    place-items: center;
    padding: 20px 50px;
  }
  footer ul {
    width: 100%;
  }
}
/* ********** DESKTOP ********** */
@media (min-width: 64rem) {
  footer {
    gap: 80px;
  }
  footer ul {
    flex-flow: row;
    place-content: flex-end;
  }
  footer li:nth-child(2) {
    margin-right: 40px;
  }
}
.loader {
  position: fixed;
  z-index: 1000;
  width: 0%;
  height: 0%;
  background-color: hsl(0, 0%, 21%);
  animation: cover 1s;
}
.loader [class*=fa-stack] {
  top: calc(50% - 160px);
  left: calc(50% - 200px);
  opacity: 0;
  animation: rotate 1s linear;
}
.loader .fa-stack-1x {
  color: hsl(165, 56%, 79%);
}
.loader .fa-stack-2x {
  color: hsl(267, 66%, 60%);
}

form {
  display: flex;
  place-content: center;
  place-items: center;
  gap: 10px;
  position: relative;
  height: 50px;
  background-color: hsl(0, 0%, 92%);
  color: hsl(0, 0%, 21%);
  box-shadow: 0 4px 4px rgba(0, 0, 0, 0.25);
}
form label,
form input {
  position: relative;
  left: 10px;
}
form input {
  border: none;
  width: 130px;
  font-size: 1rem;
  background-color: hsl(0, 0%, 92%);
  color: hsl(0, 0%, 21%);
}

hgroup {
  padding: 40px 20px 10px;
  text-align: center;
  background-color: hsl(0, 0%, 97%);
}
hgroup h1 {
  margin: 0 auto 10px;
  width: 280px;
  font-size: 1.5rem;
}
hgroup p {
  margin: auto;
  width: 310px;
  font-size: 1.1rem;
  color: hsl(0, 0%, 21%);
}
hgroup a {
  font-size: 1rem;
}

/* ********** TABLET ********** */
@media (min-width: 48rem) {
  hgroup {
    padding: 40px 50px 10px;
  }
  hgroup h1,
  hgroup p {
    width: fit-content;
  }
  h1 {
    font-size: 2rem;
  }
}
/* ********** DESKTOP ********** */
@media (min-width: 64rem) {
  h1 {
    font-size: 2.5rem;
  }
}
section {
  padding: 50px 20px;
}
section ol {
  display: flex;
  flex-flow: wrap;
  gap: 25px;
  margin: 20px 0;
  padding: 10px;
  counter-reset: li;
}
section li {
  display: flex;
  place-items: center;
  gap: 20px;
  position: relative;
  border-radius: 20px;
  padding: 30px 40px;
  width: 100%;
  background: #F6F6F6;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
  cursor: pointer;
}
section li::before {
  display: flex;
  place-content: center;
  place-items: center;
  position: absolute;
  left: -12px;
  border-radius: 50%;
  width: 24px;
  height: 24px;
  counter-increment: li;
  content: counters(li, ".") "";
  background: hsl(267, 66%, 60%);
  color: white;
}
section li i {
  color: hsl(0, 0%, 49%);
}
section li:hover i, section li:focus i {
  color: hsl(267, 66%, 60%);
}

/* ********** TABLET ********** */
@media (min-width: 48rem) {
  section {
    padding: 50px;
  }
}
/* ********** DESKTOP ********** */
@media (min-width: 64rem) {
  section {
    margin: auto;
    max-width: 1080px;
  }
  section ol {
    flex-flow: nowrap;
  }
}
article {
  padding: 50px 20px;
  background-color: hsl(0, 0%, 97%);
}
article ul {
  display: flex;
  flex-flow: wrap;
  gap: 20px;
  padding: 20px 0;
}
article li {
  width: 100%;
}
article figure {
  position: relative;
}
article b {
  position: absolute;
  top: 15px;
  right: 15px;
  border-radius: 2px;
  padding: 7px 9px;
  background-color: hsl(165, 56%, 79%);
  color: hsl(165, 100%, 21%);
}
article img {
  border-radius: 15px 15px 0 0;
  width: 100%;
  height: 200px;
}
article figcaption {
  display: flex;
  flex-flow: column;
  gap: 5px;
  position: relative;
  margin-top: -5px;
  border-radius: 0 0 15px 15px;
  padding: 15px;
  background-color: hsl(0, 0%, 100%);
}
article .fa-heart {
  top: 20px;
  right: 20px;
}

/* ********** TABLET ********** */
@media (min-width: 48rem) {
  article {
    padding: 50px;
  }
  article ul {
    gap: 50px;
  }
  article ul li {
    width: calc((100% - 50px) / 2);
  }
}
/* ********** DESKTOP ********** */
@media (min-width: 64rem) {
  h2,
  ul {
    margin: auto;
    max-width: 1080px;
  }
}

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