/* FOOTER */

div.footer {
  background-color: var(--white);
  height: 50vh;
  width: 100%;
  padding: 70px;
  padding-top: 30px;
  padding-bottom: 30px;
  box-shadow: 0 0 40px #d7d7d7;
}

div.footer .container {
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: space-between;
}

div.footer .container .wrapper {
  width: 250px;
  display: flex;
  flex-direction: column;
  gap: 30px;
}

div.footer .container .wrapper_1 a img {
  width: 100%;
}

div.footer .container .wrapper_1 ul {
  display: flex;
  width: 100%;
  list-style: none;
  flex-direction: column;
  justify-content: start;
  align-items: start;
  gap: 3px;
}

div.footer .container .wrapper_1 ul li a {
  color: black;
  text-decoration: none;
  font-family: "Poppins", sans-serif;
}

div.footer .container .wrapper_1 ul li:nth-child(1),
div.footer .container .wrapper_1 ul li:nth-child(3) {
  font-family: "open sans", sans-serif;
  line-height: 18px;
}

div.footer .container .wrapper_2 ul {
  display: flex;
  list-style: none;
  flex-direction: column;
  margin-top: 30px;
  justify-content: start;
  align-items: start;
  gap: 20px;
}

div.footer .container .wrapper_2 ul li a {
  text-decoration: none;
  position: relative;
  color: #222222;
  font-family: "poppins", sans-serif;
  font-weight: 500;
  font-size: 16px;
}

div.footer .container .wrapper_2 ul li a:before {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  background-color: var(--text);
  height: 0px;
  border-radius: 2px;
  width: 100%;
  transition: 0.1s ease-in-out;
}

div.footer .container .wrapper_2 ul li a:hover::before {
  height: 2px;
}

div.footer .container .wrapper_2 .btn {
  width: 130px;
  height: 40px;
  font-size: 16px;
  text-transform: uppercase;
  font-family: "poppins", sans-serif;
  background-color: var(--primary);
  text-decoration: none;
  color: #fff;
  border-radius: 5px;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: 0.3s ease;
}

div.footer .container .wrapper_2 .btn:hover {
  transform: scale(1.05);
}

div.footer .container .wrapper_3 span {
  font-family: "poppins", sans-serif;
  font-size: 15px;
}

div.footer .container .wrapper_3 .medsos {
  margin-top: 30px;
  display: flex;
  justify-content: start;
  align-items: center;
  gap: 10px;
}

div.footer .container .wrapper_3 .medsos a {
  text-decoration: none;
}

div.footer .container .wrapper_3 .medsos a img {
  width: 30px;
}

/* Responsive */

@media (max-width: 768px) {
  div.footer {
    height: 40vh;
    padding: 30px;
  }
  
  div.footer .container {
    gap: 10px;
  }
  
  div.footer .container .wrapper {
    width: 1/3 * 100%;
    display: flex;
    flex-direction: column;
    gap: 30px;
  }
  
  div.footer .container .wrapper_1 a img {
    width: 100%;
  }
  
  div.footer .container .wrapper_1 ul {
    display: flex;
    width: 100%;
    list-style: none;
    flex-direction: column;
    justify-content: start;
    align-items: start;
    gap: 3px;
  }
  
  div.footer .container .wrapper_1 ul li a {
    color: black;
    text-decoration: none;
    font-family: "Poppins", sans-serif;
  }
  
  div.footer .container .wrapper_1 ul li:nth-child(1),
  div.footer .container .wrapper_1 ul li:nth-child(3) {
    font-family: "open sans", sans-serif;
    line-height: 18px;
  }
  
  div.footer .container .wrapper_2 ul {
    display: flex;
    list-style: none;
    flex-direction: column;
    margin-top: 30px;
    justify-content: start;
    align-items: start;
    gap: 20px;
  }
  
  div.footer .container .wrapper_2 ul li a {
    text-decoration: none;
    position: relative;
    color: #222222;
    font-family: "poppins", sans-serif;
    font-weight: 500;
    font-size: 16px;
  }
  
  div.footer .container .wrapper_2 ul li a:before {
    content: "";
    position: absolute;
    left: 0;
    bottom: -2px;
    background-color: var(--text);
    height: 0px;
    border-radius: 2px;
    width: 100%;
    transition: 0.1s ease-in-out;
  }
  
  div.footer .container .wrapper_2 ul li a:hover::before {
    height: 2px;
  }
  
  div.footer .container .wrapper_2 .btn {
    width: 130px;
    height: 40px;
    font-size: 16px;
    text-transform: uppercase;
    font-family: "poppins", sans-serif;
    background-color: var(--primary);
    text-decoration: none;
    color: #fff;
    border-radius: 5px;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: 0.3s ease;
  }
  
  div.footer .container .wrapper_2 .btn:hover {
    transform: scale(1.05);
  }
  
  div.footer .container .wrapper_3 span {
    font-family: "poppins", sans-serif;
    font-size: 15px;
  }
  
  div.footer .container .wrapper_3 .medsos {
    margin-top: 30px;
    display: flex;
    justify-content: start;
    align-items: center;
    gap: 10px;
  }
  
  div.footer .container .wrapper_3 .medsos a {
    text-decoration: none;
  }
  
  div.footer .container .wrapper_3 .medsos a img {
    width: 30px;
  }
}

@media (max-width: 391px) {
  div.footer {
    height: 50vh;
    padding: 20px;
  }
}
