.navBar {
    background-color: transparent;
    position: fixed;
    width: 100%;
    transition: background-color 0.3s ease-in-out;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: 'Poppins', sans-serif;
    z-index: 9998;
    margin: 0;
    
}
.navBar a{
  cursor: pointer;
}
.navBar.scroll{
  background-color: #3880b4;
}

.logo a{
  display: block;

}

.logo a img{
  display: block;
  width: 230px;
  height: 100%;
  padding: 5px;
}

.navegacion{
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.menu{
  display: flex;
  justify-content: center;
  flex-direction: row;
  align-items: center;
  z-index: 1;
  transition: 0.5s;
  
}

.menu li{
  list-style-type: none;
}

.menu li a{
  color: white;
  text-decoration: none;
  display: block;
  padding: 5px 10px;
  font-size: 15px;
  line-height: 1;
  transition: 0.3s;
}

.menu li a:hover{
  box-shadow: 0 -2px #fff inset;
  color: white;
  padding: 0px 10px 10px 10px;
}



.hamburguer{
  position: relative;
  width: 25px;
  height: 4px;
  background: #fff;
  border-radius: 10px;
  cursor: pointer;
  z-index: 2;
  transition: 0.3s;
  right: 40px;
}

.hamburguer:before, .hamburguer:after{
  content: "";
  position: absolute;
  height: 4px;
  background: #fff;
  border-radius: 10px;
  transition: 0.3s;
}

.hamburguer:before{
  top: -10px;
  width: 25px;
}

.hamburguer:after{
  top: 10px;
  width: 25px;
}

.toogle-menu{
  position: absolute;
  width: 30px;
  height: 100%;
  z-index: 3;
  cursor: pointer;
  opacity: 0;
  right: 55px;
}

.hamburguer, .toogle-menu{
  display: none;
}

.navegacion input:checked ~ .hamburguer{
  background: transparent;
}

.navegacion input:checked ~ .hamburguer:before{
  top: 0;
  transform: rotate(-45deg);
}

.navegacion input:checked ~ .hamburguer:after{
  top: 0;
  transform: rotate(45deg);
}

.navegacion input:checked ~ .menu{
  right: 0;
}






@media screen and (max-width: 800px){
  .hamburguer, .toogle-menu{
      display: block;
    }

    .navBar{
      padding: 10px 20px;
    }

    .menu{
      justify-content: start;
      text-align: center;
      flex-direction: column;
      align-items: center;
      position: fixed;
      top: -16px;
      right: -150%;
      background-color: rgba(53, 79, 98, 0.9);
      width: 100%;
      height: 100%;
      padding-top: 65px;
    }

    .menu li{
      width: 100%; 
    }

    .menu li a, .menu li a:hover{
      padding: 20px;
      font-size: 24px;
      box-shadow: 0 1px 0 rgba(255, 255, 255, 0.1) inset;
    }
}



/* SOCIAL MEDIA */
.footer{
  background-color: rgb(20, 20, 20);
  margin-top: 100px;
}

.footer-contactanos{
  display: flex;
  flex-direction: column;
  color: white;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.footer-contactanos-botones{
  display: flex;
  flex-direction: row;
  width: 50%;
  height: 100%;
  margin: 10px 0;
  justify-content: space-between;
  align-items: center;
}

.footer-contactanos-botones div{
  height: 40px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  cursor:initial;
}


.icono{
  width: 40px;
  height: 40px;
  padding: 8px;
  transition: all 0.3s ease-in-out;
  filter: invert(100%);
}
.icono:hover{
  width: 45px;
  height: 45px;
  cursor: pointer;
}



.footer-contactanos hr{
  width: 120px;
}

.copyright{
  display: flex;
  flex-direction: row;
  align-items: center;
  margin: 3px 0;
}

.copyright a{
  text-decoration: none;
  color: rgb(0, 140, 255);
}

.seguridad{
  margin-bottom: 25px;
}

.seguridad a{
  color: white;
}

.fondo{
  width: 100%;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  position: fixed;
  z-index: 9999;
  background-color: rgb(10, 10, 10);
}

#loader {
  --cell-size: 52px;
  --cell-spacing: 1px;
  --cells: 3;
  --total-size: calc(var(--cells) * (var(--cell-size) + 2 * var(--cell-spacing)));
  display: flex;
  flex-wrap: wrap;
  width: var(--total-size);
  height: var(--total-size);

}

.cell {
  flex: 0 0 var(--cell-size);
  margin: var(--cell-spacing);
  background-color: transparent;
  box-sizing: border-box;
  border-radius: 4px;
  animation: 1.5s ripple ease infinite;
}

.cell.d-1 {
  animation-delay: 100ms;
}

.cell.d-2 {
  animation-delay: 200ms;
}

.cell.d-3 {
  animation-delay: 300ms;
}

.cell.d-4 {
  animation-delay: 400ms;
}

.cell:nth-child(1) {
  --cell-color: #101ea0;
}

.cell:nth-child(2) {
  --cell-color: #101ea0;
}

.cell:nth-child(3) {
  --cell-color: #1f62c7;
}

.cell:nth-child(4) {
  --cell-color: #101ea0;
}

.cell:nth-child(5) {
  --cell-color: #00ff88a4;
}

.cell:nth-child(6) {
  --cell-color: #1f62c7;
}

.cell:nth-child(7) {
  --cell-color: #15ff00;
}

.cell:nth-child(8) {
  --cell-color: #15ff00;
}

.cell:nth-child(9) {
  --cell-color: #003d990c;
}

/*Animation*/
@keyframes ripple {
  0% {
    background-color: transparent;
  }

  30% {
    background-color: var(--cell-color);
  }

  60% {
    background-color: transparent;
  }

  100% {
    background-color: transparent;
  }
}

.hidden {
  display: none;
}

@media screen and (max-width: 600px){
  .footer-contactanos-botones{
    width: 100%;
  }

  .icono{
    width: 30px;
    height: 30px;
    padding: 5px;
    transition: all 0.3s ease-in-out;
    filter: invert(100%);
  }
  .icono:hover{
    width: 35px;
    height: 35px;
    cursor: pointer;
  }
  
  
}

@media screen and (max-width: 320px){
  .copyright{
      font-size: 13px;
  }

  .logo a img{
    width: 180px;
  }

  .icono{
    width: 25px;
    height: 25px;
    padding: 2px;
    transition: all 0.3s ease-in-out;
    filter: invert(100%);
  }
  .icono:hover{
    width: 30px;
    height: 30px;
    cursor: pointer;
  }
  
}


