main {
  flex-grow: 1;
}
main > .container {
    padding: 10rem 0;
}

/* --------------------------- */
/*            HEADER           */
/* --------------------------- */
.guest-header {
    background-color: var(--first-bg-color);
    font-size: 1.8rem;
    padding: 0.5rem 0;
    font-family: Poppins;
    box-shadow: var(--shadow-navbar-color);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
}
.guest-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* ===== nav-bar ===== */
.guest-navbar {
    flex-basis: 80%;
    max-width: 600px;
    background-color: var(--first-bg-color);
}
.guest-navbar ul {
    display: flex;
    justify-content: space-between;
}
.guest-navbar ul li {
    flex-grow: 1;
    border-right: 0.2rem solid var(--first-color);
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
}
.guest-navbar ul li:last-child {
    border: none;
}
.guest-navbar a {
    font-weight: 600;
}

.guest-burger {
  cursor: pointer;
  display: none;
}
@media screen and (max-width: 900px) {
  .guest-burger {
    display: block;
  }

  .guest-navbar {
    position: absolute;
    top: 100%;
    left: -100%;
    height: calc(100vh - 100%);
    width: 50%;
    max-width: none;
    border-top: 0.2rem solid var(--first-color);
    box-shadow: var(--shadow-simple);
    transition: all 0.3s ease;
}
  .guest-navbar.active {
    left: 0;
  }

  .guest-navbar ul {
    height: 100%;
    flex-direction: column;
    justify-content: space-around;
    align-items: center;
  }
  .guest-navbar ul li {
    border: none;
    border-bottom: 0.2rem solid var(--first-color);
    width: 80%;
  }
}
@media screen and (max-width: 600px) {
  .guest-navbar {
    width: 70%;
  }
}
/* --------------------------- */
/*          LOGIN FORM         */
/* --------------------------- */
.styled-form.login-form {
  max-width: 600px;
} 

/* --------------------------- */
/*             HOME            */
/* --------------------------- */
.hero {
  min-height: 60vh;
  background-image: url(/images/static/hero_bg.jpg);
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  /* background-color: var(--container-color); */
  position: relative;
  z-index: 1;
}
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.8);
  z-index: -1;
}

.hero .container {
  /* height: 100%; */
  /* max-width: 900px; */
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  gap: 3rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero .container h1 {
  font-size: clamp(25px, 3vw, 80px);
  color: var(--container-color);
  text-align: center;
  margin-bottom: 2.5rem;
}

.hero .container .hero-content {
  flex-basis: 60%;
  font-size: clamp(18px, 2vw, 40px);
  color: #fff;
  text-align: center;
  font-weight: 500;
}

.home-recipes {
  padding: 2.5rem 0;
}
.home-recipes h2 {
  color: var(--first-color);
  text-align: center;
  margin-bottom: 2rem;
}

.parallax {
  height: 15rem;
  background-image: url(/images/static/home_parallax.jpg);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: top;
  background-attachment: fixed;
  position: relative;
  z-index: 1;
}
.parallax::after {
  content: '';
  position: absolute;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.7);
  z-index: -1;
}
.parallax .container {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.parallax p {
  font-size: clamp(18px, 3vw, 35px);
  color: #fff;
  text-transform: capitalize;
  font-weight: 500;
  text-align: center;
  color: var(--first-bg-color);
}

.separator {
  width: 70%;
  height: 0.1rem;
  border: 0.1rem solid var(--first-color);
  margin: 2rem auto;
}

/* Home about */
.home-about {
  padding: 5rem 0;
}
.home-about h2 {
  text-align: center;
  margin-bottom: 2rem;
  color: var(--first-color);
}
.home-about .container {
  display: flex;
  gap: 3rem;
}
.home-about .image {
  flex-basis: 100%;
}
.home-about .about {
  flex-basis: 100%;
  font-size: 1.8rem;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.home-about .about > div {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.home-about .about li {
  list-style-type: disc;
}

@media screen and (max-width: 900px) {
  .home-about .container {
    flex-wrap: wrap;
  }
}

/* --------------------------- */
/*             USERS           */
/* --------------------------- */
.users {
  display: flex;
  flex-direction: column;
  gap: 3rem;
}
.user-cards {
  display: flex;
  flex-wrap: wrap;
  align-items: start;
  justify-content: center;
  gap: 3.5rem;
}
.user-card {
  /* background-color: var(--container-color); */
  padding: 2rem;
  width: clamp(230px, 100%, 330px);
  box-shadow: var(--shadow-smooth);
  border-radius: 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}

.user-card .image {
  width: 10rem;
  height: 10rem;
  border-radius: 50%;
}
.user-card .image img {
  border-radius: 50%;
}

.user-card-username {
  color: var(--first-color);
}
.user-card-recipe {
  font-weight: 600;
}

/* --------------------------- */
/*           PROFILE           */
/* --------------------------- */
.profile {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}
.profile-container {
  margin: 0 auto;
  padding: 2rem;
  box-shadow: var(--shadow-full-sides);
  border-radius: 1.5rem;
}
.profile .title-container {
  flex-basis: 100%;
}
.profile h2 {
  text-align: center;
  margin-bottom: 2rem;
}
.profile h3 {
  margin-bottom: 1.5rem;
}
.profile li {
  margin-bottom: 1rem;
}
.profile-card {
  max-width: 900px;
  display: flex;
  /* align-items: start; */
  gap: 2rem;
}
.profile-card .image {
  flex-basis: 100%;
  min-width: 200px;
  /* max-width: 400px; */
}
.profile-card .image img {
  border-radius: 1.5rem;
  max-height: 400px;
}
.profile-card-body {
  flex-basis: 100%;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}
.profile-card-content {
  background-color: var(--container-color);
  padding: 1.5rem;
  border-radius: 1.5rem;
}
.profile-card-value {
  font-weight: 700;
}

@media screen and (max-width: 900px) {
  .profile-card {
    flex-wrap: wrap;
    justify-content: center;
  }

  /* .profile-card-body > * {
    flex-basis: 100%;
  } */
}

/* --------------------------- */
/*        RECIPE REPORT        */
/* --------------------------- */
.report {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3rem;
}

.report-recipe {
  display: flex;
  justify-content: center;
  gap: 2rem;
}

.report-recipe .image,
.report-recipe-content  {
  max-width: 500px;
  flex-basis: 100%;
}

.report-recipe-content {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.report .styled-form {
  max-width: 800px;
}

/* --------------------------- */
/*            FOOTER           */
/* --------------------------- */
.home-footer .footer-top {
  background-color: var(--container-color);
  padding: 2rem 0 1rem;
}

.footer-top .container {
  padding: 2rem 0 1rem;
  border-top: 0.2rem solid var(--first-color);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
}

.footer-top .container .image {
  display: block;
  width: 10rem;
  height: 10rem;
}

@media screen and (max-width: 450px) {
  .footer-top .container {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
}

.footer-section h3 {
  margin-bottom: 1rem;
}

.home-footer .footer-bottom {
  padding: 2rem 0;
}
.footer-bottom .container {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: center;
  align-items: center;
}
.footer-bottom ul {
  font-weight: 600;
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  justify-content: center;
  align-items: center;
}

@media screen and (max-width: 600px) {
  .footer-bottom .container {
    flex-direction: column;
    justify-content: center;
  }
  .footer-bottom ul {
    flex-direction: column;
  }
}

