footer {
  color: var(--dark-blue-text);
  width: 100%;
  height: 450px;
  position: relative;
  padding: 70px 70px 10px 70px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  /* background-color: red; */
  font-family: "Inter", sans-serif;
}

footer .footer-container {
  width: 100%;
  height: 80%;
  display: flex;
  justify-content: space-between;
  /* background-color: purple; */
}

footer .footer-container .footer-col {
  width: 35%;
  min-height: 10px;
  margin: 0 10px;
}

footer .footer-container .footer-col h3 {
  font-size: 18px;
  margin-bottom: 15px;
  color: var(--dark-blue-text);
  border-left: 4px solid var(--dark-blue-text);
  padding-left: 10px;
  /* font-family: "Lato", sans-serif; */
  font-weight: 700;
}

footer .footer-container .footer-col ul {
  list-style: none;
}

footer .footer-container .footer-col ul li {
  margin-bottom: 10px;
}

footer .footer-container .footer-col ul li a {
  text-decoration: none;
  color: #0b142e;
  transition: 0.3s;
  /* font-family: "Inter", sans-serif; */
}

footer .footer-container .footer-col ul li a:hover {
  color: var(--dark-blue-text);
}

footer .footer-social {
  min-width: 10px;
  height: 40px;
  margin-top: 20px;
  display: flex;
  align-items: center;
}

footer .footer-social a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  margin-right: 20px;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  box-shadow: rgba(0, 0, 0, 0.062) 0px 2px 4px;
  padding-top: 1px;
  color: var(--dark-blue-text);
}

footer .footer-social a:hover {
  transform: scale(1.1);
}

footer .footer-bottom {
  width: 100%;
  height: 20%;
  font-size: 14px;
  color: #313131;
  display: flex;
  align-items: center;
  justify-content: center;
}

footer .footer-container .footer-col:nth-child(4) {
  display: flex;
  flex-direction: column;
  /* background-color: red; */
}

footer .footer-container .footer-col:nth-child(4) form {
  margin-top: 20px;
}

footer .footer-container .footer-col:nth-child(4) .newsletter {
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

footer
  .footer-container
  .footer-col:nth-child(4)
  .newsletter
  input[type="email"] {
  padding: 0 12px;
  border: none;
  height: 40px;
  width: 220px;
  border-radius: 4px;
  background-color: rgb(240, 240, 240);
  align-self: flex-start;
}

.footer-btn {
  display: flex;
  justify-content: center;
  align-self: flex-start;
}

.footer-btn .cta {
  display: flex;
  padding: 2px 25px;
  text-decoration: none;
  font-size: 20px;
  color: white;
  background: linear-gradient(90deg,rgba(248, 102, 196, 1) 0%, rgba(248, 102, 196, 1) 100%);
  transition: 1s;
  box-shadow: 6px 6px 0 black;
  transform: skewX(-15deg);
  align-items: center;
  margin-top: 10px;
}

.footer-btn .cta:focus {
  outline: none;
}

.footer-btn .cta:hover {
  transition: 0.5s;
  box-shadow: 10px 10px 0 #fbc638;
}

.footer-btn .cta span:nth-child(2) {
  transition: 0.5s;
  margin-right: 0px;
}

.footer-btn .cta:hover span:nth-child(2) {
  transition: 0.5s;
  margin-right: 45px;
}

.footer-btn .cta span:nth-child(2) svg {
  width: 40px;
  height: 30px;
}

.footer-btn .cta span {
  transform: skewX(15deg);
}

.footer-btn .cta span:nth-child(2) {
  width: 20px;
  margin-left: 30px;
  position: relative;
  top: 12%;
}

/**************SVG****************/

.footer-btn .cta span:nth-child(2) svg path.one {
  transition: 0.4s;
  transform: translateX(-60%);
}

.footer-btn .cta span:nth-child(2) svg path.two {
  transition: 0.5s;
  transform: translateX(-30%);
}

.footer-btn .cta:hover span:nth-child(2) svg path.three {
  animation: color_anim 1s infinite 0.2s;
}

.footer-btn .cta:hover span:nth-child(2) svg path.one {
  transform: translateX(0%);
  animation: color_anim 1s infinite 0.6s;
}

.footer-btn .cta:hover span:nth-child(2) svg path.two {
  transform: translateX(0%);
  animation: color_anim 1s infinite 0.4s;
}

/* SVG animations */

@keyframes color_anim {
  0% {
    fill: white;
  }
  50% {
    fill: #fbc638;
  }
  100% {
    fill: white;
  }
}

@media (max-width: 900px) {
  footer {
    height: fit-content;
    padding: 20px 20px;
  }

  footer .footer-container {
    flex-direction: column;
    height: fit-content;
  }

  footer .footer-container .footer-col {
    width: 100%;
    margin: 10px 0;
  }

  footer .footer-container .footer-col:nth-child(1) {
    order: 2;
  }

  footer .footer-container .footer-col:last-child {
    order: 2;
    margin: 30px 0;
  }

  footer .footer-container .footer-col:nth-child(1) p,
  footer .footer-container .footer-col:last-child p {
    text-align: center;
  }

  footer .footer-container .footer-col:nth-child(1) .footer-social {
    justify-content: center;
  }

  footer
    .footer-container
    .footer-col:nth-child(4)
    .newsletter
    input[type="email"],
  .footer-btn {
    align-self: center;
  }

  footer .footer-container .footer-col ul {
    margin-left: 17px;
  }

  .footer-bottom {
    height: 40%;
  }
}
