@import "compass/css3";

body {
  margin: 0%;
  background-repeat: no-repeat;
  background-size: auto;
  font-family: "Times New Roman", Times, serif;
}

* {
  padding: 0%;
  margin: 0%;
  box-sizing: border-box;
}

/*Encabezado*/
.encabezado {
  background-image:url(Principal\img\BLCH.png);
  height: 60px;
  cursor: pointer;  
}
.ElementosLaterales{
  float: inline-end;
  width: 155px;
}
/*Boton login*/
.loginbot {
  text-decoration: none;
  color: #150e43;
  cursor: pointer;
  background-color: white;
  margin: 15px;
  border-radius: 5px;
  width: 30px;
  height: 30px;
  padding-top: 3px;
  padding-left: 2px;
  transition: 1s;
}

.loginbot:hover {
  background-color: #252527a5;
  color: white;
}

/* Estilos básicos del botón login*/
.loginbot {
  background-color: white;
  float: inline-end;
  text-decoration: none;
  color: #150e43;
  cursor: pointer;
  margin: 15px;
  border-radius: 5px;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.tooltip {
  position: relative;
  display: inline-block;
  cursor: pointer;
  z-index: 20;
}

.tooltiptext {
  visibility: hidden;
  font-size: smaller;
  width: 90PX;
  background-color: #252527a5;
  color: #fff;
  text-align: center;
  border-radius: 5px;
  border: solid 2px white;
  padding: 3px;
  position: absolute;
  z-index: 15;
  top: 50%;
  left: -95px;
  margin-top: -13px;
  opacity: 0;
  transition: ease-in-out opacity 0.3s;
}

.tooltip:hover .tooltiptext {
  visibility: visible;
  opacity: 1;
  transition: 0.3s;
}

/*Dropdown de banderas*/
.dropdown {
  position: relative;
  display: inline-table;
  z-index: 20;
  float: left;
}

.dropbtn {
  background: linear-gradient(90deg, #3c3744, #383755,#191755 );
  color: white;
  padding: 3px;
  cursor: pointer;
  margin: 10px;
  transition: all 1s;
  border-radius: 5px;
  height: 40px;
}

.dropbtn img {
  width: 40px;
  
}
.tooltipBanderas {
  visibility: hidden;
  width: 100px;
  background-color: #333;
  color: #fff;
  text-align: center;
  padding: 3px;
  border: solid 1px rgba(255, 255, 255);
  border-radius: 5px;
  position: absolute; 
  transform: translate(-110px,-25px);
  z-index: 10;
  opacity: 0;
  font-size: smaller;
  transition: opacity 0.3s;
  transition: 400ms;
}
.dropbtn:hover .tooltipBanderas{
  visibility: visible;
  opacity: 1;
  transition: 400ms;
}

.dropdown-content {
  display: none;
  width: 50px;
  position: absolute;
  background: rgba(0, 0, 0, 0.7);
  box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.2);
  z-index: 5;
  transition: all 1s;
  transform: translate(10px,-4px);
}

.dropdown:hover .dropdown-content {
  display: block;
}

.flag-container {
  position: relative;
  display: inline-block;
  margin: 5px;
  cursor: pointer;
}

.flag-container img {
  width: 40px;
  height: auto;
  border: 1px solid #ccc;
}

.flag-container::after {
  content: attr(data-tooltip);
  position: absolute;
  background-color: #03045e;
  color: #fff;
  padding: 3px;
  border-radius: 5px;
  top: 100%;
  left: 50%;
  transform: translate(30px,-26px);
  white-space: nowrap;
  opacity: 0;
  transition: opacity 0.3s;
  pointer-events: none;
  font-size: smaller;
}

.flag-container:hover::after {
  opacity: 1;
}



nav {
  background-color: #3c3744;
  font-size: 13px;
  color: white;
  margin: auto;
  max-width: 100%;
}

.Navegacion {
  list-style: none;
  display: flex;
  justify-content: space-around;
  padding-left: 100px;
}

.Navegacion>li>a {
  display: block;
  padding: 10px 10px;
  width: 120px;
  color: white;
  text-decoration: none;
}

.Navegacion>li:hover {
  background-color: rgb(141, 141, 141);
}

.menudesplegable {
  position: absolute;
  z-index: 99;
  font-size: 10px;
  display: none;
  list-style: none;
  width: 120px;
  background-color: rgba(4, 4, 4, 0.8);
}

.Navegacion li:hover .menudesplegable {
  display: block;
}

.menudesplegabl2 {
  position: absolute;
  z-index: 99;
  font-size: 10px;
  display: none;
  list-style: none;
  width: 120px;
  transform: translate(100%, -29%);
  background-color: rgba(4, 4, 4, 0.8);
}

.menudesplegable li:hover ul {
  display: block;
}

.menudesplegabl2 li:hover {
  background-color: #434648;
}

.menudesplegabl2 li a {
  display: block;
  color: white;
  padding: 7px;
  text-decoration: none;
}


.menudesplegable li:hover {
  background-color: #434648;
}

.menudesplegable li a {
  display: block;
  color: white;
  padding: 7px;
  text-decoration: none;
}

/*Iconos de redes fixed*/
.container-icons {
  position: fixed;
  bottom: 10px;
  right: 10px;
  z-index: 999;
}

.icon-plus {
  font-size: 50px;
}

.row-icon1 {
  position: absolute;
  display: flex;
  justify-content: flex-end;
  transition: all 0.5s;
  opacity: 0;
}

.row-icon2 {
  position: absolute;
  display: flex;
  justify-content: flex-end;
  transition: all 1s;
  opacity: 0;
}

.row-icon3 {
  position: absolute;
  display: flex;
  justify-content: flex-end;
  transition: all 1.5s;
  opacity: 0;
}

.row-icon4 {
  position: absolute;
  display: flex;
  justify-content: flex-end;
  transition: all 2s;
  opacity: 0;
}

.container-icons:hover .row-icon1 {
  opacity: 100%;
}

.container-icons:hover .row-icon2 {
  opacity: 100%;
}

.container-icons:hover .row-icon3 {
  opacity: 100%;
}

.container-icons:hover .row-icon4 {
  opacity: 100%;
}

.icon1 {
  transform: translate(100px, -40px);
}

.icon2 {
  transform: translate(100px, -80px);
}

.icon3 {
  transform: translate(100px, -120px);
}

.icon4 {
  transform: translate(100px, -162px);
}

.container-icons:hover .icon1 {
  transform: translate(10px, -40px);
}

.container-icons:hover .icon2 {
  transform: translate(10px, -80px);
}

.container-icons:hover .icon3 {
  transform: translate(10px, -120px);
}

.container-icons:hover .icon4 {
  transform: translate(9px, -162px);
}

/* Ventana de texto de red social*/
.face {
  position: relative;
  height: 35px;
  width: 35px;
}

.face:hover label {
  cursor: pointer;
}

.face span {
  top: 7px;
  background: #339ef5;
  border-radius: 4px;
  box-shadow: 1px 1px 1px #333;
  color: whitesmoke;
  display: none;
  font-size: 10px;
  position: absolute;
  transition: 400ms ease-in;
  right: 37px;
  z-index: 100;
  padding: 4px;
}

.face:hover span {
  display: inline;
}

.whats {
  position: relative;
  height: 35px;
  width: 35px;
}

.whats:hover label {
  cursor: pointer;
}

.whats span {
  top: 7px;
  background: #47ea0e;
  border-radius: 4px;
  box-shadow: 1px 1px 1px #333;
  color: whitesmoke;
  display: none;
  font-size: 10px;
  position: absolute;
  transition: 400ms ease-in;
  right: 37px;
  z-index: 100;
  padding: 4px;
}

.whats:hover span {
  display: inline;
}

.inst {
  position: relative;
  height: 35px;
  width: 35px;
}

.inst:hover label {
  cursor: pointer;
}

.inst span {
  top: 7px;
  background: #fe4524;
  border-radius: 4px;
  box-shadow: 1px 1px 1px #333;
  color: whitesmoke;
  display: none;
  font-size: 10px;
  position: absolute;
  transition: 400ms ease-in;
  right: 37px;
  z-index: 100;
  padding: 4px;
}

.inst:hover span {
  display: inline;
}

.x {
  position: relative;
  height: 35px;
  width: 35px;
}

.x:hover label {
  cursor: pointer;
}

.x span {
  top: 8px;
  background: #1c2023;
  border-radius: 4px;
  box-shadow: 1px 1px 1px #333;
  color: whitesmoke;
  display: none;
  font-size: 10px;
  position: absolute;
  transition: 400ms ease-in;
  right: 37px;
  z-index: 100;
  padding: 4px;
}

.x:hover span {
  display: inline;
}

.icon-plus {
  background-color: white;
  width: 55px;
  height: 55px;
  border-radius: 50%;
}

.icon-plus img {
  transition: all 400ms;
}

.icon-plus {
  position: relative;
}

.icon-plus span {
  top: 14px;
  text-align: center;
  background: white;
  border-radius: 4px;
  box-shadow: 1px 1px 1px #333;
  color: blue;
  display: none;
  font-size: 10px;
  position: absolute;
  transition: 400ms ease-in;
  right: 57px;
  z-index: 100;
  padding: 3px;
}

.icon-plus:hover span {
  display: inline;
}

.icon-plus:hover img {
  cursor: pointer;
  rotate: 360deg;
}

.wrapper {
  margin: 0;
  padding: 0;
  text-decoration: none;
}

.bneon {
  position: relative;
  margin-right:15px ;
  box-sizing: border-box;
  display: inline-block;
  padding: 5px;
  /*text-transform: uppercase;*/
  letter-spacing: 1px;
  color: #ffffff;
  font-size: 13px;
  transition: 400ms;
  overflow: hidden;
  margin-top: 20px;
  margin-left: 20px;
  background-color: black;
}

.bneon:hover {
  background-color: #03045e;
  color: #fdfdfd;
  box-shadow: 0 0 7px #090c9b;
  -webkit-box-reflect: below 1px linear-gradient(transparent, #0005);
  cursor: pointer;
}

.span {
  position: absolute;
  display: block;
}

.span:nth-child(1) {
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, transparent, #090c9b);
  animation: animate1 1s infinite;
}

@keyframes animate1 {
  0% {
    left: -100%;
  }

  100% {
    left: 100%;
  }
}

.span:nth-child(2) {
  top: -100%;
  right: 0;
  width: 2px;
  height: 100%;
  background: linear-gradient(180deg, transparent, #090c9b);
  animation: animate2 1s infinite;
  animation-delay: 0.25s;
}

@keyframes animate2 {
  0% {
    top: -100%;
  }

  100% {
    top: 100%;
  }
}

.span:nth-child(3) {
  bottom: 0;
  right: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(270deg, transparent, #090c9b);
  animation: animate3 1s infinite;
  animation-delay: 0.5s;
}

@keyframes animate3 {
  0% {
    right: -100%;
  }

  100% {
    right: 100%;
  }
}

.span:nth-child(4) {
  bottom: -100%;
  left: 0;
  width: 1px;
  height: 100%;
  background: linear-gradient(360deg, transparent, #090c9b);
  animation: animate4 1s infinite;
  animation-delay: 0.75s;
}

@keyframes animate4 {
  0% {
    bottom: -100%;
  }

  100% {
    bottom: 100%;
  }
}

.IconoVentanaCyE {
    font-family: "Times New Roman", Times, serif;
    background-color: white;
    text-align: center;
    padding: 3px;
    height: auto;
    border-radius: 6px;
    width: 160px;
    margin-left: 352px;
    position: relative;
    z-index: 1;
    overflow: hidden;
    display: inline-block;
    transition: all 1s;
    bottom: 10px;
    top: 2px;
  }
  

  .IconoVentanaCyE:hover {
    color: #fff;
    /* color de fuente hover */
    font-size: large;
    cursor: pointer;
    box-shadow: 5px 4px 3px #1c2023;
  }
  
  .IconoVentanaCyE::after {
    content: "";
    background: linear-gradient(45deg,
        blue,
        rgb(57, 169, 243));
    /* color de fondo hover */
    position: absolute;
    z-index: -1;
    padding: 16px 20px;
    display: block;
    left: -20%;
    right: -20%;
    top: 0;
    bottom: 0;
    transform: skewX(-45deg) scale(0, 1);
    transition: all 500ms ease;
  }
  
  .IconoVentanaCyE:hover::after {
    transition: all 500ms ease-out;
    transform: skewX(-45deg) scale(1, 1);
  }
  
  .fondoTarjetas{ 
    background-image: url(img/fondotarjetas.jpg);
    width: 100%;
    height: 400px;
    text-align: center;
    background-size: cover;
  }

  /*Cuadro de tarjetas*/
  .container-cuadros {
    display: grid;
    margin-top: 50px;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 10px;
    width: 90%;
    height: 100vh;
    margin: auto;
    margin-top: 30px;
  }

  /* Cada cuadro individual */
  .box {
    position: relative;
    overflow: hidden;
    cursor: pointer;
    height: 100%;
    width: 100%;
    border-radius: 6px;
    box-shadow: 0 4px 8px rgb(37, 36, 36);
  }

  /* Imagen de fondo */
  .box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scaleY(1);
    transition: all 0.7s ease-in-out;
  }

  /* Máscara con fondo azul marino semitransparente */
  .mask {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, #3c374490, #090c9b90); 
    transition: all 0.5s linear;
    opacity: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;

  }
  .mask h1 {
    margin: 20px 40px 0px 40px;
    color: #fff;
    border-bottom: 1px solid rgba(255, 255, 255, 0.6);
    transform: scale(0);
    opacity: 0;
    transition: all 0.5s linear;
  }

  .mask p {
    color: #fff;
    transform: scale(0);
    opacity: 0;
    transition: all 0.5s linear;
  }

  .mask a.link {
    margin-top: 10px;
    padding: 8px 12px;
    color: #fff;
    background-color: rgba(0, 28, 73, 0.9);
    text-decoration: none;
    transform: scale(0);
    opacity: 0;
    transition: all 0.5s linear;
  }
  .box:hover img {
    transform: scale(1.3);
    opacity: 0.9;
  }

  .box:hover .mask {
    opacity: 1;
  }

  .box:hover .mask h1,
  .box:hover .mask p,
  .box:hover .mask a.link {
    transform: scale(1);
    opacity: 1;
  }
  .fondogris{
    width: 100%;
    background-color:  #262020;
    border-radius: 10% 10%  0% 0% ;
    height: 400px;
    margin-top: 40px;
    padding: 20px;
    background-size: cover;
    margin-bottom: 0px;
  }

.popup {
    display: none;
    position: fixed;
    left: 0;
    z-index: 30;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    justify-content: center;
    align-items: center;
    transform: scale(0);
    transition: all	400ms;
}

.popup.show {
    display: flex;
    transform: scale(1);
    transition: all	400ms;
}

.popup-content {
    padding: 20px;
    background-size: cover;
    height: auto;
    border-radius: 5px;
    position: relative;
    width: 700px;
    margin: auto;
    border:5px solid white;
    transition: all	400ms;
    transform: scale(1);
}
.popup-content img{
  width: 100%;
  height: auto;
  margin: auto;
  box-shadow: 0 4px 8px black;
}

.close {
    position: absolute;
    top: 10px;
    right: 15px;
    cursor: pointer;
    font-size: 20px;
}










  .Botonsubir{
    border-radius:50% ;
    background-color: white;
    width: 40px;
    height: 40px;
    cursor: pointer;
    position: fixed;
    bottom: 15px;
    right: 80px;
    z-index: 400;
  
  }
  .Botonsubir:hover{
    opacity: 0.8;
  }
/*Pie de pagina*/
.PiePagina {
  background-color: #fbfff1;
  width: 100%;
  height: auto;
}

.PiePagina p {
  color: rgb(57, 43, 43);
  padding: 10px;
  text-align: center;
}

.Patrociniosfinal {
  height: 100px;
  display: flex;
  margin-top: 10px;
  margin-bottom: 10px;
}

.footer {
  border-top: solid 3px #ffffff;
  background: linear-gradient(35deg, blue, black);
}

.cuadroredes {

  background-color: black;
  width: 30px;
  height: 30px;
  padding: 6px;
  margin: 5px;
  border-radius: 7px 7px 0px 7px;
}

.cuadroredes a {
  margin: 0px;
  text-decoration: none;
  color: WHITE;
}

.redes {
  display: flex;
  margin-top: 5px;
}

.DivMayorRedesPdP {
  float: right;
  border: solid 2px #fafafa10;
  padding: 10px;
  width: 250px;
  padding-left: 25px;
  margin-right: 50px;
  margin-top: 10px;
  border-radius: 20px 0px 20px 0px;
  transform: translatey(-120px);
  height: 100px
}

#glasseffect {
  background-color: #fafafa20;
  backdrop-filter: blur (1rem);
  -webkit-backdrop-filter: blur(1rem);
}