:root {
  --clr-primary: #f70058;
  --clr-dark: #0c0e36;
  --clr-light: #fff;
  --fw-normal: 400;
  --fw-bold: 700;
}

.container {
  width: 80%;
  margin: auto;
}

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

.footer-col h4 {
  color: var(--clr-primary);
  font-size: 1rem;
  text-transform: uppercase;
  margin-bottom: 25px;
  position: relative;
  font-weight: var(--fw-bold);
}

.footer-col h4::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: -5px;
  background-color: var(--clr-primary);
  height: 2px;
  box-sizing: border-box;
  width: 40px;
}

.footer-col h4:last-child {
  padding-left: 0;
}

.footer-col a {
  color: var(--clr-light);
  text-decoration: none;
  font-size: 14px;
  text-transform: capitalize;
}

.footer-col ul li:not(:last-child) {
  margin-bottom: 10px;
}

.footer-col ul li a {
  color: var(--clr-light);
  display: block;
  font-weight: var(--fw-normal);
  transition: all 0.3s ease;
}

.footer-col ul li a:hover {
  transform: translateX(8px);
}

.footer-col .social-links a {
  display: inline-block;
  height: 40px;
  width: 40px;
  margin-bottom: 5px;
  background-color: rgba(255, 255, 255, 0.3);
  margin-right: 0 10px 10px 0;
  text-align: center;
  line-height: 40px;
  border-radius: 50%;
  background-color: #bcbcbc;
  transition: all 0.3s ease;
}

.footer-col .social-links a:hover {
  color: var(--clr-light);
  background-color: var(--clr-primary);
}

.row {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

.footer {
  background-color: var(--clr-dark);
  padding: 90px 70px;
  padding: 40px 10px 90px 10px;
  display: flex;
  justify-content: center;
  margin-top: auto;
}

.footer-col {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 10 0;
  font-size: 1rem;
  padding: 0 65px 0 45px;
}

.footer-col:not(:first-child) {
  margin-top: 40px;
}

/* Large devices */

@media (min-width: 768px) {
  .footer-col {
    font-size: 1.2rem;
    width: 50%;
  }

  .footer-col:not(:first-child) {
    margin-top: 0;
  }
}

@media (min-width: 820px) {
  .footer-col {
    font-size: 1rem;
    width: 33%;
  }
}
