.footer {
  width: 100%;
}

.footer-wrapper {
  width: 100%;
  background-color: var(--red);
}

.footer-container {
  width: 80%;
  margin: 0 auto;
  padding: 4rem 0;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.footer-col {
  flex: 1;
  color: #fff;
}

.footer-col:first-child {
  padding-right: 4rem;
}

.footer-col:last-child {
  padding-left: 4rem;
}

.footer-col:nth-child(2) {
  padding: 0 1rem;
  border-left: 1px solid var(--white);
  border-right: 1px solid var(--white);
}

.footer-title {
  color: var(--white);
}

.footer-text {
  color: var(--white);
  font-size: var(--font-sm);
  margin-bottom: 0 !important;
}

.footer-text a {
  color: inherit;
  text-decoration: none;
}

.footer-text a:hover {
  text-decoration: underline;
}

.footer-logo {
  display: flex;
  justify-content: center;
  padding: 1rem 0;
  flex-wrap: wrap;
  gap: 2rem;
}

.footer-logo a {
  display: inline-flex;    
  max-width: 150px;          
  width: 100%;
  justify-content: center;  
}

.footer-logo img {
  height: 90px;  
  width: auto;  
  display: block;
}

.policy-links-container {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  color: var(--white);
  padding-bottom: 1rem;
  font-size: var(--font-sm);
  width: 80%;
  margin: 0 auto;
}

.policy-links {
  color: var(--white);
  text-decoration: none;
  font-size: var(--font-sm);
  text-align: center;
}

.policy-links:hover {
  text-decoration: underline;
}

.footer-credits {
  text-align: center;
  color: var(--white);
  font-size: var(--font-sm);
  height: 3rem; 
  line-height: 3rem; 
}

.footer-credits a {
  color: bisque;
  text-decoration: none;
}

.footer-credits a:hover {
  text-decoration: underline;
}

.footer-hr {
  margin-bottom: 0;
  color: var(--white);
}

@media (max-width: 768px) {
  .footer-container {
    flex-direction: column;
  }

  .footer-col:first-child {
    border-right: none;
    padding-right: 0;
    padding-bottom: 1rem;
  }

  .footer-col:last-child {
    padding-left: 0;
    padding-top: 1rem;
    
  }

  .footer-logo {
    flex-direction: column; 
    gap: 1rem; 
    align-items: flex-start;
  }
  

  .footer-col:nth-child(2) {
    padding: 0;
    border-left: none;
    border-right: none;
    border-bottom: 1px solid var(--white);
    border-top: 1px solid var(--white);
  }
 .footer-logo img {
  height: 50px; 
  width: auto;
  max-width: 90%; 
}
}

@media (min-width: 1920px) {
 .footer-container {
    max-width: 1890px;
 }
 
}
