/**************************/
/* SIGN-IN PAGE */
/**************************/

/**************************/
/* HEADER */
/**************************/
.header {
  /* display: flex;
  justify-content: space-between;
  align-items: center; */
  background-color: #fff4f9;

  /* Because we want header to be sticky later */
  height: 9.6rem;
  padding: 2.5rem 4.8rem;
  position: relative;
}

.fill-white {
  background-color: white;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-radius: 15px;

  /* max-width: 120rem;
  padding: 0 3.2rem;
  margin: 0 auto; */

  /* Because we want header to be sticky later */
  height: 8.6rem;
  padding: 0 4.8rem;
  position: relative;
}

.logo {
  height: 10rem;
}

/**************************/
/* NAVIGATION */
/**************************/

.main-nav-list {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 4.8rem;
}

.main-nav-link:link,
.main-nav-link:visited {
  display: inline-block;
  text-decoration: none;
  color: #333;
  font-weight: 500;
  font-size: 1.8rem;
  transition: all 0.3s;
}

.main-nav-link:hover,
.main-nav-link:active {
  color: #ae0057;
}

.main-nav-link.nav-cta:link,
.main-nav-link.nav-cta:visited {
  padding: 1.2rem 2.4rem;
  border-radius: px;
  color: #fff;
  background-color: #ae0057;
}

.main-nav-link.nav-cta:hover,
.main-nav-link.nav-cta:active {
  background-color: #8f0048;
}

.sign-in {
  text-decoration: none;
  color: #ae0057;
  font-size: 2rem;
}

.sign-in:link,
.sign-in:visited {
  text-decoration: none;
  color: #ae0057;
  font-size: 2.2rem;
}

.sign-in:hover,
.sign-in:active {
  color: #58012d;
  text-decoration: underline;
}

/* MOBILE */
.btn-mobile-nav {
  border: none;
  background: none;
  cursor: pointer;

  display: none;
}

.icon-mobile-nav {
  height: 4.8rem;
  width: 4.8rem;
  color: #333;
}

.icon-mobile-nav[name="close-outline"] {
  display: none;
}

/* STICKY NAVIGATION */
.sticky .header {
  position: fixed;
  top: 0;
  bottom: 0;
  width: 100%;
  height: 8rem;
  padding-top: 0;
  padding-bottom: 0;
  background-color: rgba(255, 255, 255, 0.97);
  z-index: 999;
  box-shadow: 0 1.2rem 3.2rem rgba(0, 0, 0, 0.03);
}

.sticky .section-hero {
  margin-top: 9.6rem;
}

/**************************/
/* HERO SECTION */
/**************************/

.section-hero {
  background-color: #fff4f9;
  padding: 4.8rem 0 9.6rem 0;
}

.hero {
  /* max-width: 150rem;
  margin: 0 auto; */
  /* padding: 0 3.2rem; */
  /* margin-left: 15rem; */
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 0rem;
  align-items: center;
}

.transforming {
  font-size: 6rem;
  font-family: celaraz;
  color: #53012a;
  /* letter-spacing: 0.1rem; */
}

.hero-description {
  font-size: 2rem;
  line-height: 1.6;
  margin-bottom: 4.8rem;
}

.caption {
  font-size: 2rem;
  margin-bottom: 2rem;
}

#newsletter-form {
  display: flex;
}

#newsletter-form input[type="email"] {
  padding: 15px;
  font-size: 1.5rem;
  border: 1px solid #ddd;
  border-radius: 5px;
  width: 70%;
  margin-right: 10px;
}

#newsletter-form button {
  padding: 10px 20px;
  font-size: 1.5rem;
  color: #fff;
  background-color: #ae0057;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}

#newsletter-form button:hover {
  background-color: #8d0247;
}

.hero-img {
  width: 100%;
  height: 70rem;
}

.past-issues {
  margin-top: 60px;
}

.filter-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  margin-bottom: 40px;
}

.filter-buttons button {
  background-color: #ae0057;
  color: white;
  border: none;
  padding: 15px 30px;
  margin: 5px;
  border-radius: 5px;
  cursor: pointer;
}

.filter-buttons button:hover {
  background-color: #8d0247;
}

.past-issues h2 {
  font-size: 3rem;
  margin-bottom: 20px;
  text-align: center;
}

.issues-list {
  list-style: none;
  max-width: 1000px;
  margin: 8rem auto;
  text-align: left;
}

.issues-list li {
  font-size: 2rem;
  display: flex;
  justify-content: space-between;
  margin-bottom: 15px;
  border-bottom: 1px solid #ddd;
  padding-bottom: 10px;
}

.issues-list span {
  font-weight: bold;
}

.issues-list a {
  text-decoration: none;
  color: #ae0057;
}

.issues-list a:hover {
  text-decoration: underline;
}

/**************************/
/* CTA SECTION */
/**************************/

.section-cta {
  /* top / right / bottom / left */
  /* padding: 9.6rem 0 12.8rem 0; */

  /* top / horizontal / left */
  padding: 10.8rem 0 12.8rem;
  margin-top: 8rem;
  background-color: #fff4f9;
}

.cta {
  display: grid;
  /* 2/3 = 66.6% + 1/3 = 33.3% */
  grid-template-columns: 2fr 1fr;
  /* background-color: #e67e22; */
  box-shadow: 0 2.4rem 4.8rem rgba(0, 0, 0, 0.15);
  border-radius: 11px;

  background-image: linear-gradient(to right bottom, #ffffff, #ffffff);
  overflow: hidden;
}

.cta-text-box {
  padding: 4.8rem 6.4rem 6.4rem 6.4rem;
  color: #ae0057;
}

.cta .heading-secondary {
  /* color: #45260a; */
  color: inherit;
  margin-bottom: 3.2rem;
}

.cta-text {
  font-size: 1.8rem;
  line-height: 1.8;
  margin-bottom: 4.8rem;
}

.cta-img-box {
  background-image: linear-gradient(
      to right bottom,
      #6d8aff23,
      rgba(177, 6, 6, 0.226)
    ),
    url("../img/cta.png");
  background-size: cover;
  background-position: center;
}

.cta-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 3.2rem;
  row-gap: 2.4rem;
}

.cta-form label {
  display: block;
  font-size: 1.6rem;
  font-weight: 500;
  margin-bottom: 1.2rem;
}

.cta-form input,
.cta-form select {
  width: 100%;
  padding: 1.2rem;
  font-size: 1.8rem;
  font-family: inherit;
  color: inherit;
  border: none;
  background-color: #f0f0f0;
  border-radius: 9px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.cta-form input::placeholder {
  color: #b9b9b9;
}

.cta *:focus {
  outline: none;
  box-shadow: 0 0 0 0.8rem rgba(0, 0, 0, 0.5);
}

/**************************/
/* FOOTER */
/**************************/

.footer {
  padding: 12.8rem 0;
  border-top: 1px solid #eee;
  background-color: #fff;
}

.grid--footer {
  grid-template-columns: 1fr 1fr 1fr 1fr;
  gap: 7rem;
}

.logo-col {
  display: flex;
  flex-direction: column;
}

.footer-logo {
  display: block;
  margin-bottom: 3.2rem;
}

.social-links {
  list-style: none;
  display: flex;
  gap: 2.4rem;
}

.social-icon {
  height: 2.4rem;
  width: 2.4rem;
}

.copyright {
  font-size: 1.4rem;
  line-height: 1.6;
  color: #767676;
  margin-top: auto;
}

.footer-heading {
  font-size: 1.8rem;
  font-weight: 500;
  margin-bottom: 4rem;
}

.contacts {
  font-style: normal;
  font-size: 1.6rem;
  line-height: 1.6;
}

.address {
  margin-bottom: 2.4rem;
}

.footer-nav {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 2.4rem;
}

.footer-link:link,
.footer-link:visited {
  text-decoration: none;
  font-size: 1.6rem;
  color: #767676;
  transition: all 0.3s;
}

.footer-link:hover,
.footer-link:active {
  color: #ae0057;
}

/* RESPONSIVENESS  */
/* Responsive Adjustments */
/* Responsive Adjustments */
@media (max-width: 768px) {
  .past-issues h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
  }

  .filter-buttons button {
    padding: 15px;
  }

  .issues-list {
    margin: 4rem 8rem;
  }

  .issues-list li {
    font-size: 1.8rem;
    flex-direction: column;
    align-items: flex-start;
  }

  .issues-list li span,
  .issues-list li a {
    margin-bottom: 5px;
  }
}

@media (max-width: 480px) {
  .past-issues h2 {
    font-size: 2rem;
    margin-bottom: 10px;
  }

  .filter-buttons {
    gap: 0.1rem;
  }

  .filter-buttons button {
    padding: 10px;
    font-size: 1.2rem;
  }

  .issues-list {
    margin: 2rem 8rem;
  }

  .issues-list li {
    font-size: 1.6rem;
    margin-bottom: 10px;
    padding-bottom: 5px;
  }

  .issues-list li span,
  .issues-list li a {
    font-size: 1.4rem;
  }
}
