.prefooter {
  position: fixed;
  bottom: 0px;
  left: 0px;
  right: 0px;
  z-index: 101;
  display: flex;
  align-items: center;
  padding: 10px 30px;
  justify-content: space-between;
  border-top: 1px solid black;
  background: #ffffff;
}
.prefooter.white {
  border-top: 1px solid white;
  color: white;
  background: transparent !important;
}
.prefooter .left {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 20px;
}
.prefooter .left .only-mobile {
  display: none;
}
.prefooter .left span {
  cursor: pointer;
}
.prefooter .center {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
.prefooter .right {
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 30px;
}
.prefooter .center a {
  font-size: 50px;
  line-height: 24px;
  color: black;
  font-weight: lighter;
  cursor: pointer;
  display: block;
  height: 30px;
}
.prefooter p {
  margin: 0px;
  font-size: 14px;
}
.prefooter #reel--texto {
  min-width: 100px;
}
.prefooter a {
  color: #808080;
}
.prefooter.white a {
  color: white;
}
.prefooter.white a img {
  filter: brightness(0) invert(1);
}
.prefooter.white a:hover {
  color: white;
}
.prefooter .instagram,
.prefooter .linkedin,
.prefooter .google,
.prefooter .work {
  position: relative;
}
.prefooter .instagram a,
.prefooter .linkedin a,
.prefooter .google a,
.prefooter .work a {
  transition: all 0.3s;
}
.prefooter .instagram span:last-child,
.prefooter .linkedin span:last-child,
.prefooter .google span:last-child,
.prefooter .work span:last-child {
  opacity: 0;
  position: absolute;
  left: 0;
  top: 0;
  color: var(--primary);
  transition: all 0.3s;
  white-space: nowrap;
}
.prefooter.white .instagram span:last-child,
.prefooter.white .linkedin span:last-child,
.prefooter.white .google span:last-child,
.prefooter.white .work span:last-child {
  color: white;
}
.prefooter .instagram span img,
.prefooter .linkedin span img,
.prefooter .google span img,
.prefooter .work span img {
  margin-left: 4px;
}
.prefooter .instagram a:hover,
.prefooter .linkedin a:hover,
.prefooter .google a:hover,
.prefooter .work a:hover {
  color: var(--primary);
}
.prefooter .instagram a:hover span:first-child,
.prefooter .linkedin a:hover span:first-child,
.prefooter .google a:hover span:first-child,
.prefooter .work a:hover span:first-child {
  opacity: 0;
}
.prefooter .instagram a:hover span:last-child,
.prefooter .linkedin a:hover span:last-child,
.prefooter .google a:hover span:last-child,
.prefooter .work a:hover span:last-child {
  opacity: 1;
}

#reel {
  position: fixed;
  top: 0px;
  left: 0px;
  right: 0px;
  bottom: 0px;
  background: rgba(var(--primary-rgb), 0.9);
  z-index: 101;
  opacity: 0;
  transition: all 0.3s;
  pointer-events: none;
}
#reel.visible {
  opacity: 1;
}
#reel .container {
  height: 100vh;
}
#reel .container > img {
  position: absolute;
  bottom: 100px;
  left: 100px;
}

footer {
  background: var(--primary);
  padding: 0;
  color: white;
  position: relative;
  height: inherit;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 90vh;
  position: fixed;
  bottom: 0px;
  left: 0px;
  right: 0px;
  top: 0px;
  z-index: 100;
  transform: translateY(100%);
  transition: transform 0.5s ease;
}
footer.visible {
  transform: translateY(0);
}
footer .container {
  display: flex;
  justify-content: space-between;
}
footer .left {
  max-width: 800px;
  width: 100%;
}
footer .left > p {
  font-size: 50px;
  line-height: 50px;
  font-weight: 700;
  max-width: 950px;
  margin-bottom: 30px;
}
footer .left > img {
  filter: brightness(3);
  max-width: 700px;
}
footer .left ul {
  list-style: none;
  margin: 0px 0 30px;
  padding: 0px;
  display: flex;
  justify-content: space-between;
  max-width: 700px;
}
footer .left ul li {
  position: relative;
}
footer .left ul li a {
  font-size: 1.5rem;
  line-height: 1.5rem;
  color: white;
  position: relative;
  white-space: nowrap;
}
footer .left ul li span:last-child {
  opacity: 0;
  position: absolute;
  top: 3px;
  left: 0px;
}
footer .left ul li a:hover span:first-child {
  opacity: 0;
}
footer .left ul li a:hover span:last-child {
  opacity: 1;
  position: absolute;
  top: 3px;
  left: 0px;
}
footer .social_mobile,
footer .links_mobile {
  display: none;
}
footer .right {
  flex: 1;
  position: relative;
}

footer .right .join-us {
  border-radius: 20px;
  border: 2px solid white;
  display: inline-block;
  background: var(--primary);
  width: 100%;
  max-width: 260px;
  min-height: 144px;
  font-size: 18px;
  line-height: 22px;
  margin-left: 30px;
  z-index: 1;
  position: relative;
}
footer .right .join-us .top {
  padding: 10px 20px;
  display: block;
  color: white;
  border-bottom: 2px solid white;
  display: flex;
  gap: 4px;
}
footer .right .join-us .top span {
  width: 12px;
  height: 12px;
  border: 2px solid white;
  display: block;
  border-radius: 100px;
}
footer .right .join-us .bot {
  padding: 20px;
  padding-right: 43px;
  display: flex;
  color: white;
  background: url("../img/manito.svg") no-repeat right 6px bottom 6px;
  background-size: 42px, 42px;
  height: 66px;
  align-content: center;
  justify-content: center;
  align-items: center;
}

footer .right .pdf {
  border-radius: 20px;
  border: 2px solid white;
  display: inline-block;
  background: var(--primary);
  width: 100%;
  max-width: 260px;
  font-size: 18px;
  line-height: 22px;
  position: relative;
  left: 130px;
  margin-top: -60px;
  margin-bottom: 0px;
}
footer .right .pdf .top {
  padding: 10px 20px;
  display: block;
  color: white;
  text-align: right;
  border-bottom: 2px solid white;
  display: flex;
  gap: 4px;
}
footer .right .pdf .top span {
  width: 12px;
  height: 12px;
  border: 2px solid white;
  display: block;
  border-radius: 100px;
}
footer .right .pdf .bot {
  padding: 20px;
  padding-right: 43px;
  display: block;
  color: white;
  background: url("../img/manito.svg") no-repeat right 6px bottom 6px;
  background-size: 42px, 42px;
}

footer .links {
  list-style: none;
  margin: 20px 0;
  padding: 20px 0;
  columns: 3;
  width: 100%;
  border-top: 1px solid white;
  border-bottom: 1px solid white;
}
footer .links li {
  margin-bottom: 20px;
}
footer .links li:last-child {
  display: inline-flex;
  gap: 10px;
  align-items: center;
  justify-content: space-between;
}
footer .links a {
  font-size: 1rem;
  line-height: 1rem;
  color: white;
  display: block;
}

footer .legal {
  list-style: none;
  margin: 20px 0 0 0;
  padding: 0px;
  columns: 3;
}
footer .legal a {
  font-size: 1rem;
  line-height: 1rem;
  color: white;
}

footer .download {
  text-decoration: underline;
  color: white;
  font-size: 0.875rem;
  display: flex;
  align-items: center;
  gap: 6px;
  width: 100%;
}

.modal--reel {
  position: fixed;
  left: 0;
  right: 0;
  bottom: -100vh;
  top: auto;
  z-index: 9999;
  background: var(--primary);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: bottom 0.5s cubic-bezier(0.77, 0, 0.18, 1);
  pointer-events: none;
  opacity: 0;
  height: 100svh;
}
.modal--reel.active {
  bottom: 0;
  opacity: 1;
  pointer-events: auto;
}
.modal--reel .close {
  position: absolute;
  top: 24px;
  right: 24px;
  color: #fff;
  font-size: 2rem;
  z-index: 10000;
  background: none;
  border: none;
  cursor: pointer;
}
.modal--reel .close img {
  filter: brightness(0) invert(1);
}
.modal--reel iframe {
  aspect-ratio: 16 / 9;
  height: 100svh;
  width: auto;
  scale: 1.4;
}

@media (max-width: 1300px) {
  footer .right .join-us {
    margin: 0px;
  }
  footer .right .pdf {
    left: 100px;
  }
}

@media (max-width: 1200px) {
  .prefooter .right {
    gap: 12px;
  }
  footer {
    max-height: calc(100svh - 90px - 45px);
    padding: 90px 20px;
    padding-bottom: 45px;
  }
  footer .container {
    display: block;
    width: 100%;
  }
  footer .left {
    max-width: 100%;
    margin-bottom: 60px;
  }
  footer .left > p {
    font-size: 50px;
    line-height: 50px;
    max-width: 100%;
  }
  footer .left ul {
    max-width: 100%;
  }
  footer .left > img {
    margin: 0 auto;
    max-width: 100%;
    display: block;
  }
  footer .right {
    text-align: center;
  }
  footer .right .join-us {
    margin: 0px;
    vertical-align: top;
  }
  footer .right .pdf {
    left: 0px;
    top: 0px;
  }
  footer .right hr:first-of-type {
    margin-top: 50px;
  }
  footer .links li:last-child {
    justify-content: center;
    gap: 10px;
  }
}

@media (max-width: 992px) {
  .prefooter .instagram,
  .prefooter .linkedin,
  .prefooter .google,
  .prefooter .work {
    display: none;
  }
  .prefooter .container .left {
    width: 100%;
    justify-content: space-between;
  }

  footer .links,
  footer hr:last-of-type {
    display: none;
  }
  .prefooter {
    justify-content: space-between;
  }
  .prefooter .center {
    left: inherit;
    right: 0px;
    transform: none;
    top: inherit;
    position: relative;
  }
  .prefooter .container {
    border: none;
  }
  .prefooter .left {
    gap: 12px;
  }
  .prefooter .container .left {
    text-align: center;
    display: block;
  }
  .prefooter .right {
    display: none;
  }
  footer .social_mobile,
  footer .links_mobile {
    display: block;
  }
  footer .social_mobile .right {
    display: flex;
    gap: 10px;
    padding-top: 1.3rem;
  }

  footer {
    height: 100svh !important;
	max-height: inherit;
    padding: 40px 28px 0;
  }
  footer .legal {
    columns: 1;
    margin: 0px;
	width: auto;
  }
  footer .legal li {
	width: max-content;
    margin: auto;
  }
  footer .legal a {
    margin-top: 10px;
    display: block;
  }
  footer .left > p {
    font-size: 1.875rem !important;
    line-height: 2rem !important;
  }
  footer .left {
    margin-bottom: 40px;
  }
  footer .left > p {
    font-size: 40px;
    line-height: 40px;
    margin-bottom: 40px;
    text-align: center;
  }
  footer .left ul li a {
    font-size: 1rem;
    line-height: 1rem;
  }
  footer .right .join-us,
  footer .right .pdf {
    display: none;
  }
  .modal--reel iframe {
    height: auto;
    width: 100vw;
    scale: 1;
  }
}

@media (max-width: 480px) {
  .prefooter {
    padding: 10px 20px;
  }
  .prefooter .left > p:first-child {
    display: none;
  }
  .prefooter .left .only-mobile {
    display: block;
  }
  .prefooter #reel--texto {
    min-width: 56px;
  }
}

@media (max-width: 320px) {
  .prefooter {
    padding: 10px 15px;
  }
}
