@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@200;400;700;800');

:root {
    --gap: 0.5rem;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  position: relative;
  display: flex;
  flex-direction: column;
  transition: 0.2s;
  overflow-x: hidden;
  text-rendering: optimizeSpeed;
}

.highlight {
  font-weight: 700;
}

header{
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 20px 8vw;
  z-index: 9999;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-left: 100px;
  padding-right: calc(100px - 15px);
}

header .logo{
  display: block;
  width: 156px;
  height: 50px;
  cursor: pointer;
  background-image: url(/img/logos/cands.svg);
  background-repeat: no-repeat;
}

header.nav-scrolled .logo {
  background-image: url(/img/logos/cands-dark.svg);
}

@media only screen and (max-width: 768px) {
  header .logo {
    background-image: url(/img/logos/cands-no-text.svg) !important;
  }
}

.skip-nav-link {
  position: absolute;
  top: 0px;
  transform: translateY(-120%);
  padding: 30px;
  border-radius: 0px 0px 5px 5px;
  box-shadow: 0px 5px 5px 5px rgb(0 0 0 / 20%);
  transition: transform 0.1s ease-in-out;
}

.skip-nav-link:focus {
  transform: translateY(0%);
}

.toggle, 
.videoCloser{
  position: relative;
  width: 60px;
  height: 60px;
  background: url(/img/buttons/menu.webp);
  background-repeat: no-repeat;
  background-size: 30px;
  background-position: center;
  cursor: pointer;
}

.nav-scrolled .toggle {
  background-image: url(/img/buttons/menu-dark.webp); 
}

.toggle.active,
.videoCloser{
  background: url(/img/buttons/close.webp);
  background-repeat: no-repeat;
  background-size: 25px;
  background-position: center;
  cursor: pointer;
  right:300px;
  transition: right 0.5s;
}

.nav-scrolled .toggle.active {
  background-image: url(/img/buttons/close-dark.webp);
}

.showcase{
  position: relative;
  right: 0;
  width: 100%;
  min-height: 100vh;
  padding: 100px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: 0.2s;
  z-index: 2;
}

.menu {
  position: fixed;
  top: 0;
  right: -300px;
  height: 100%;
  width: 300px;
  flex-direction: column;
  justify-content: space-between;
  align-items: right;
  z-index: 99999;
  display: flex;
  transition: 0.25s;
}

body.active .menu {
  right: 0;
}

.menu ul{
  position: relative;
  text-align: right;
  margin:15px 2vw 15px 0px;
}
.menu ul li{
  list-style: none;
  padding: 15px 0px;
}

.menu ul li:hover{
  margin-right:9px;
}

.menu ul li a{
  font-size: 24px;
  padding: 10px 10px 10px 40px;
  font-weight: 200;
  min-width: 100%;
}

.menu ul li a::after{
  content: '';
  margin: 5px 0px 5px 20px;
  height: 5px;
  width: 5px;
  background-color: #bbb;
  border-radius: 50%;
  display: inline-block;
}

.menu ul:hover li a,
.menu ul:focus-within li a {
  opacity: 0.7;
}
.menu ul li a:hover, 
.menu ul li a:focus{
  border-right: 5px  solid ;
  padding-right: 5px;
  opacity: 1;
}

.menu ul li a:hover::after, 
.menu ul li a:focus::after{
  display: none;
}

.showcase video{
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.8;
  filter: brightness(70%);
}

.overlay{
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  mix-blend-mode: overlay;
}
.text{
  position: relative;
}

.text h2{
  font-size: 5em;
  font-weight: 800;
  line-height: 1em;
  text-transform: uppercase;
}

.text.reverse h2 {
  font-size: 9em;
}

.text h3{
  font-size: 4em;
  font-weight: 700;
  line-height: 1em;
  text-transform: uppercase;
}

@media (max-width: 1600px) {
  .text.reverse h2 {
    font-size: 7em;
  }
  .text.reverse h3 {
    font-size: 3em;
  }
}

@media (max-width: 1500px) {
  .text.reverse h2 {
    font-size: 5em;
  }
  .text.reverse h3 {
    font-size: 2em;
  }
}

.text p{
  font-size: 1.5em;
  margin: 20px 0;
  font-weight: 400;
  line-height: normal;
  max-width: 700px;
}

.text a,
.contact-form input[type="submit"] {
  display: inline-block;
  font-size: 1em;
  padding: 20px 50px;
  text-transform: uppercase;
  text-decoration: none;
  font-weight: 500;
  margin-top: 10px;
  letter-spacing: 2px;
  transition: 0.2s;    
  border-radius: 5px;
}

.text a:after,
.contact-form input[type="submit"]:after {
  content: '»';
  position: absolute;
  opacity: 0;
  transition: 0.5s;
  margin-left: 30px;
}

.text a:hover,
.contact-form input[type="submit"]:hover,
.text a:focus,
.contact-form input[type="submit"]:focus{
  padding-right: 58px;
  padding-left:42px;
}

.text a:hover:after,
.contact-form input[type="submit"]:hover:after,
.text a:focus:after,
.contact-form input[type="submit"]:focus:after{
  opacity: 1;
}

.play {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 50%;
}

.play button {
  background: transparent;
  border: 0px;
  cursor: pointer;
  padding: 27% 48%;
}

.play button img {
  filter: brightness(90%);
  opacity: 0.7;
}

.play button:hover img,
.play button:focus img {
  animation-name: bop;
  animation-duration: 1s;
  filter: brightness(100%);
  opacity: 1;
}

@keyframes bop {
  0%   {transform: translateY(0px) rotate(0deg);}
  50%  {transform: translateY(-5px) rotate(-10deg);}
  55%  {transform: translateY(-5px) rotate(10deg);}
  70%  {transform: translateY(-5px) rotate(-10deg);}
  75%  {transform: translateY(-5px) rotate(10deg);}
  100% {transform: translateY(0px) rotate(0deg);}
}

.videoBox {
  position: fixed;
  z-index: 100;
  width: auto;
  height: auto;
  animation: fadeIn 0.3s ease-in-out 0s 1 normal forwards running;
  display: none;
  justify-content: center;
  align-items: center;
}

body.video header {
  display: none;
}

body.video .videoBox {
  display: flex;
  height: 100vh;
  width: 100vw;
  justify-content: center;
  align-items: center;
}

.videobox video {
  height: 90%;
  width: 90%;
  z-index: 1000;
  position: absolute;
}

.videoCloser {
  position: absolute;
  top: 21px;
  right: 102px;
  z-index: 1200;
}

@media (max-width: 991px){
  .showcase,
  header{
    padding: 12px;
  }
  .showcase{
    flex-direction: column;
    padding-block: 5em;
  }
  .showcase div+div {
    margin-bottom: 5em;
  }
  body.active .logo {
    display: none;
  }  
  body.active .toggle {
    right: 0;
  } 
  .text h2,
  .text.reverse h2{
    font-size: 3em;
  }
  .text h3{
    font-size: 2em;
  }    
  .videoCloser {
    top: 13px;
    right: 23px;
  }    
}

.mid-section {
  position: relative;
  display: flex;
  justify-content: space-around;
  align-items: center;
  height: 100vh;
  padding:20px 50px;
}

.mid-section .phone img {
  width: 100%;
  height: auto;
  padding: 2vw;
}

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

.appVideoHolder .play {
  box-shadow: 0px 5px 5px 5px rgb(0 0 0 / 20%);
  width: 47.5%;
  background-image: url(/img/LOGISITICS.webp);
  background-repeat: no-repeat;
  background-size: cover;
  opacity: 0.9;
  border-radius: 5px;
  background-position: right;
  -webkit-transition:background-position 0.25s ease-in-out;
	-moz-transition:background-position 0.25s ease-in-out;
	-o-transition:background-position 0.25s ease-in-out;
	transition:background-position 0.25s ease-in-out;
}

.appVideoHolder .play:first-child {
  background-image: url(/img/APOLLO.webp);
}

.appVideoHolder .play:hover {
  opacity: 1;
  background-position: left
}

.appvideoHolder .play button {
  padding: 22.5% 40%;
}

.editorial {
  display: block;
  width: 100%;
  height: 60px;
  max-height: 60px;
  margin: 0;
  z-index:5;
  bottom:0;
  position:absolute;
  left:0px;
  float:left;
}

.editorial.top {
  bottom: auto;
  top:-60;
}

.parallax1 > use {
  opacity: 0.5;
  animation: move-forever1 20s linear infinite;
  &:nth-child(1) {
    animation-delay: -2s;
  }
}
.parallax2 > use {
   opacity: 0.75;
  animation: move-forever2 16s linear infinite;
  &:nth-child(1) {
    animation-delay: -2s;
  }
}
.parallax3 > use {
   opacity: 0.9;
  animation: move-forever3 12s linear infinite;
  &:nth-child(1) {
    animation-delay: -2s;
  }
}
.parallax4 > use {
  animation: move-forever4 8s linear infinite;
  &:nth-child(1) {
    animation-delay: -2s;
  }
}
@keyframes move-forever1 {
  0% {
    transform: translate(85px, 0%);
  }
  100% {
    transform: translate(-90px, 0%);
  }
}
@keyframes move-forever2 {
  0% {
    transform: translate(-90px, 0%);
  }
  100% {
    transform: translate(85px, 0%);
  }
}
@keyframes move-forever3 {
  0% {
    transform: translate(85px, 0%);
  }
  100% {
    transform: translate(-90px, 0%);
  }
}
@keyframes move-forever4 {
  0% {
    transform: translate(-90px, 0%);
  }
  100% {
    transform: translate(85px, 0%);
  }
}
.about
{
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.about-header {
  display: flex;
  justify-content: space-between;
  text-align: center;
  margin-bottom: var(--gap);
  width: 100%;
  padding-block:5em;
  background-image: url(/img/warehouse.webp);
  background-size: cover;
  background-repeat: no-repeat;
  background-attachment: fixed;
  background-position: center;
}

.about-title {
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: 100%;
}

.inner-container{
  float: right;
  padding: 7em 6em;
}

.inner-container p{
  width: 95ch;
  text-align: left;
}

.about-body {
  width: 100%;
  padding-block:20px;
  background-repeat: no-repeat;
  background-position: center;
}

@media (max-width: 1500px) {
  .inner-container{ 
    padding: 3em;
  }
}

@media (max-width: 1100px) {
  .mid-section .phone {
    display: none;
  }
  .about {
    padding: 0px;
  }
  .about-header {
    flex-direction: column;
  }
  .inner-container{
    float: none;
    padding: 1em;
    border-top-left-radius: 0px;
    border-bottom-left-radius: 0px;
    margin-top:3.5em;
  }
  .inner-container p{
    width: 100%;
  }
}

.about-body {
  display: flex;
  justify-content: space-around;
}

.team-title {
  margin-top: var(--gap);
  font-size: 2rem;
  letter-spacing: var(--gap);
  text-transform: uppercase;
  text-align: center;
}

.team-title::before,
.team-title::after {
  display: inline-block;
  content: "";
  border-top: .1rem solid;
  width: 4rem;
  margin: 0 0.8rem;
  transform: translateY(-0.5rem);
}

@media (max-width: 991px){
  .team {
    padding:20px 0px;
  }
  .team-title {
    font-size: 1.5rem;
    margin-bottom: var(--gap);
    letter-spacing: 0.15rem;
  }
  .team-title::before,
  .team-title::after{
    width: 0.5rem;
    margin: 0 0.5rem 0 0.2rem;
    transform: translateY(-0.4rem);
  }   
 }   
.members {
  position: relative;
  display: flex;
  flex-direction: column;
  margin-bottom: var(--gap)
}

.person {
  display: flex;
  justify-content: flex-start;
  position: relative;
  align-items: center;
  border-radius: 10px;
  box-shadow: 0px 5px 5px 5px rgb(0 0 0 / 20%);
  margin: 20px;
  padding-right: 4rem;
}

.person-info {
  max-width: 75ch;
  flex-direction: column;
  justify-content: center;
  display: flex;   
}

.person-info h4{
  font-weight: 700;
  font-size: 1.3em;
}
.person-info h5{
  margin-top: 1rem;
  font-weight: 200;
  font-size: 0.9em;
  font-style: italic;
}
.person-info blockquote{
  margin-top:calc( var(--gap) - 0.2rem);
  font-weight: 300;
  font-style: italic;
  padding-right:1em;
}

.members img.avatar {
  margin-right: 2em;
  max-height: 12em;
  border-radius: 10px 0 0 10px;
}

@media (max-width: 991px) {
  .about-body {
    background: none;
  }    
  .person-info blockquote{
    display: none;   
  }
}

.row {
  display: flex;
}

.col {
  width: calc( 100% / 5 )
}

@media only screen and (max-width: 768px) {
  .row {
    flex-direction: column;
  }
  .col {
    width: 100%;
  }
}

.square-holder {
  border: 1px solid;
  align-items: center;
  display:flex;
  justify-content: space-around;
  min-height:180px;
}

.square-holder img {
  max-width:60%;
  filter: grayscale(100%);
  transition: all 0.3s;
}

.square-holder:hover img{
  filter:none;
  transform: translateX(8px)
}

.contact {
  display: flex;
  justify-content: center;
  align-items: center;
  padding-top:2em;
}

.contact .container {
  display: flex;
  justify-content: space-around;
  max-width: 75em;
  border-radius: 10px;
  padding-block: 50px;
}

@media (max-width: 991px) {
  .contact .container {
    flex-direction: column-reverse;
    border-radius: 0px;
  }
}

.contact .contact-info {
  padding-inline:5em;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
  border-right: 1px solid ;
}

.contact .contact-info .contact-option {
  padding-block:1em;
  border-top: 1px solid;
}

.contact .contact-info .contact-option:first-child {
border: 0px;
}

.info-head {
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  align-items: center;
}

.contact .contact-info img {
  padding-block:var(--gap);
}

.contact .contact-info img.email {
  width: 4em;
}

.contact .contact-info img.address {
  width: 3em;
}

.contact .contact-info h4{
  font-weight: 600;
  text-transform: uppercase;
}
.contact .contact-info p{
  margin-top: var(--gap);
  font-weight: 400;
  color: gray;
  font-style: italic;
  width: 22ch;
}

.contact-form {
  padding-inline: 5em;

}

@media (max-width: 991px) {
  .contact-form {
  padding-inline: 2em;
  }
  .contact .contact-info p {
      width: auto;
  }
}
    
.contact-form,
.contact-form form{
  display: flex;
  flex-direction: column;
}
.contact-form h3  {
  font-size: 1.5em;
  line-height: normal;
  margin-bottom: var(--gap);
}
.contact-form h3 span {
  font-weight: 600;
}

.contact-form p {
  opacity: 0.7;
  line-height: normal;
  text-align: justify;
  margin-bottom:var(--gap);
}

.contact-form input,
.contact-form textarea{
  padding:1em;
  margin-bottom:var(--gap);
  border-radius: 5px;
  border:1px solid;
}
.contact-form textarea{
  min-height: 25.5ch;
}

.nostyle {
  text-decoration: none;
  color:inherit;
}

footer {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  min-height: 100px;
  padding-inline: 5em;
}

footer .footer-navegation {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  margin:10px 0;
}
.footer-navegation li {
  list-style:none;
  border-right: 1px solid;
  padding: 0px 10px;
}  
.footer-navegation li:last-child {
  list-style:none;
  border-right: 0px;
}  

footer .footer-navegation li a {
  font-size:1.2em;
  color:#fff;
  margin:0 10px;
  display: inline-block;
  transition: 0.2s;
  text-decoration: none;
  opacity: 0.75;
}
footer .footer-navegation li a:hover,
footer .footer-navegation li a:focus{
  opacity: 1;
  transform: translateY(-2px);
}

footer .copyright {
  text-align: center;
  margin-top: 15px;
  margin-bottom: 10px;
  font-size:1.1em;
}

footer .copyright a {
  opacity: 0.7;
}


@media (max-width: 1300px) {
  footer {
    flex-direction:column;
    justify-content: center;
    align-items: center;
  }
}

@media (max-width: 991px) {
  footer .footer-navegation {
    display: none;
  }
}

.lights-off,
.videoEscape {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: #000000a8;
  backdrop-filter: blur(1rem);
  z-index: 10;
  display: none;
  justify-content: center;
  align-items: center;
}

body.active .lights-off,
body.video .videoEscape {
  display: flex;
  transition-duration: 0.5s;
}

@supports (backdrop-filter: blur (1re)) {
  background-color:#000000e0;
}

.lang {
  display: flex;
  flex-direction: column;
  margin: auto;
  text-align: center;
  width: 70%;
  transform: translateY(5%);
}

label, .switcher {
  height: 2.8rem;
}

label {
  width: 100%;
  box-shadow: 0px 2px 3px 1px rgba(0, 0, 0, 0.2);
  border-radius: 8px;
  background-color: #d2d2d2;
  position: relative;
  margin: 1.8rem 0 4rem 0; 
  cursor: pointer;
}

.switcher {
  position: absolute;
  width: 50%;
  transition: transform .3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.names {
  font-size: 24px;
  font-weight: 100;
  width: 65%;
  margin-left: 5%;
  margin-top: 5%;
  position: absolute;
  display: flex;
  justify-content: space-between;
  user-select: none;
}
.names p.dark {
  margin-left:13.5%;
}

.dark {
  opacity: .8;
}

[type="checkbox"] {
  display: none;
}
/* Toggle */
[type="checkbox"]:checked + .app .switcher{
  transform: translateX(100%);
}
[type="checkbox"]:checked + .app .dark{
  opacity: 1;
}
[type="checkbox"]:checked + .app .light{
  opacity: .8;
}

.fade-in {
  opacity: 0;
  transition: opacity 0.2 ease-in- out;
}

.fade-in.appear {
  opacity: 1;
}

.from-left {
  grid-column: 2 / 3;
  -webkit-transform: translateX(-50%);
  transform: translateX(-50%);
}

.from-right {
  grid-column: 3 / 4;
  -webkit-transform: translateX(50%);
  transform: translateX(50%);
}

.from-left,
.from-right {
  transition: opacity 200ms ease-out, -webkit-transform 400ms ease-out;
  transition: opacity 200ms ease-out, transform 300ms ease-out;
  transition: opacity 200ms ease-out, transform 300ms ease-out,
  -webkit-transform 300ms ease-out;
  opacity: 0;
}

.from-left.appear,
.from-right.appear {
  -webkit-transform: translateX(0);
  transform: translateX(0);
  opacity: 1;
}

.showcase .tempBG{
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.8;
  filter: brightness(70%);
}

.tempBG {
  background-repeat: no-repeat;
  background-size: cover;
  transition-duration: 3s;
  background-image: url(/img/phone-desktop-min.jpg);
}

.showcase .play {
  display: none;
}

.fade {
  -webkit-animation-name: fade;
  -webkit-animation-duration: 0.7s;
  animation-name: fade;
  animation-duration: 0.7s;
}

@-webkit-keyframes fade {
  from {opacity: 0.4}
  to {opacity: 1}
}

@keyframes fade {
  from {opacity: 0.4}
  to {opacity: 1}
}


/* QUITAR AL AGREGAR EL VIDEO DE INTRO */