.footer {
  color: #ffffff;
  background: #e25454;
  background-image: url("/assets/sparkles-a07666c8.svg");
  background-repeat: no-repeat;
  background-size: 130px;
  background-position-y: center;
  margin-top: 3rem;
  padding-top: 3rem;
  padding-bottom: 2rem;
}

.footer-col-title {
  color: #f8d7d7;
  font-size: 1rem;
  margin-bottom: 0.5rem;
}

.footer-icon {
  height: 45px;
  width: 45px;
  margin-top: 1.5rem;
  margin-right: 0.75rem;
  display: inline-block;
  fill: currentColor;
}

.footer-social-media {
  margin-top: 1rem;
}

.footer input[type="email"],
.footer-form-input {
  display: block;
  width: 80%;
  border: 1px solid #ffffff;
  border-radius: 50px;
  padding: 0.375em 1em;
}

.footer input[type="email"]:active,
.footer input[type="email"]:focus,
.footer-form-input:active,
.footer-form-input:focus {
  outline: none;
}

.footer button[type="submit"],
.footer-form-btn {
  background: transparent;
  border: 1px solid #ffffff;
  border-radius: 50px;
  color: #ffffff;
  font-size: 0.9rem;
  margin-top: 1rem;
  text-transform: uppercase;
  width: 80%;
  padding: 0.5rem 1rem;
  cursor: pointer;
}

.footer button[type="submit"]:hover,
.footer button[type="submit"]:active,
.footer-form-btn:hover,
.footer-form-btn:active {
  background: #e25454;
  outline: none;
}

.footer a {
  color: #ffffff;
}

.footer a:hover {
  color: #f8d7d7;
}

.footer-link {
  text-decoration: underline;
}

.footer-social-media a {
  text-decoration: none;
}

.footer-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: #ffffff;
}

.footer-link-icon {
  width: 1rem;
  height: 1rem;
  fill: currentColor;
  flex-shrink: 0;
}

.footer-note {
  font-size: 0.75rem;
  color: #f8d7d7;
  margin-top: 0.75rem;
  margin-bottom: 0;
}

@media only screen and (max-width: 768px) {
  .footer {
    text-align: center;
    margin-top: 2rem;
    padding-top: 2rem;
    padding-bottom: 1.5rem;
  }

  .footer .footer-col-title {
    padding-top: 1.5rem;
    margin-bottom: 0.75rem;
  }

  .footer .grid-item {
    width: 100%;
    max-width: 100%;
    flex-basis: 100%;
    margin-bottom: 0.5rem;
  }

  .footer-icon {
    margin-top: 0.75rem;
    margin-right: 0.5rem;
  }

  .footer-social-media {
    margin-top: 0.75rem;
  }

  .footer-note {
    margin-top: 0.5rem;
  }

  .footer-link {
    justify-content: center;
  }
}

@media screen and (min-width: 320px) and (max-width: 414px) {
  .footer {
    background-image: none;
  }
}
