body {
  background-color: rgb(6, 6, 6);
  font-family: sans-serif;
  margin: 0px;
  width: 100vw;
 
}

nav {
  align-items: center;
  background-color: #1b6181;
  display: flex;
  height: auto;
  justify-content: space-between;
  padding-bottom: 0.3vh;
  padding-top: 0.3vh;
  position: sticky;
  position: -webkit-sticky;
  /* Safari */
  top: 0px;
  z-index: 100;
  width: 100%;
}

.logo {
  background-color: transparent;
  margin-left: 3%;
  max-height: 6vh;
  transform: scaleX(-1);
}

.logo:hover {
  transform: scaleX(2);
}

h1 {
  background: transparent;
  color: white;
  font-size: 1.4rem;
  width: 40%;
  margin-left: 2%;
}

h2 {
  background: transparent;
  color: white;
  font-size: 1.4rem;
  text-align: center;
  width: auto;
}

ul {
  background-color: transparent;
  margin-right: 1%;
  text-align: right;
  width: 40%;
}



li {
  background: transparent;
  display: inline-block;
  font-size: 1.0rem;
  font-weight: bold;
  padding: 5px 20px;
  background-color: red;
  margin: 0.2rem;
  border: 1px solid #0f2932;
  -webkit-border-radius: 3px;
  border-radius: 5px;
  -o-text-overflow: clip;
  text-overflow: clip;
  background: #3498db;
  -webkit-box-shadow: 2px 2px 2px 0 rgba(0, 0, 0, 0.2);
  box-shadow: 2px 2px 2px 0 rgba(0, 0, 0, 0.2);
  text-shadow: -2px -1px 0 rgba(15, 73, 168, 0.66);
  -webkit-transition: color 300ms cubic-bezier(0.42, 0, 0.58, 1);
  -moz-transition: color 300ms cubic-bezier(0.42, 0, 0.58, 1);
  -o-transition: color 300ms cubic-bezier(0.42, 0, 0.58, 1);
  transition: color 300ms cubic-bezier(0.42, 0, 0.58, 1);
}

li img {
  max-width: 70%;
  width: 1.4rem;
}




a {
  color: rgb(222, 231, 239);
  text-decoration: none;
}

li:hover a,
li:hover {
  color: rgb(255, 166, 0);
  cursor: pointer;
}


.contenedorFotos {
  align-items: start;
  background-color: green;
  background-color: transparent;
  display: flex;
  flex-flow: row wrap;
  justify-content: center;
  margin: 0 auto;
  width: 100%;

}

.cajafotos {
  background-color: transparent;
  cursor: zoom-in;
  margin: 10vh 0.1vh 0vh 0.1vh;
  width: 50vw;
 
  
}

.cajafotos img {
  margin: 0px;
  text-align: center;
  width: 100%;
  margin-bottom: 0.2em;
  object-fit: cover;
  outline: 1px solid #fff;
  outline-offset: -5px;
  border-radius: 5px;
}


.cajafotos:hover {
  max-height: 1920px;
  transform: scale(1.2);
  transition: transform 0.5s cubic-bezier(0.2, 0.4, 0.5, 0.5); /* Puedes ajustar los valores para personalizar la animación */
  width: 60vw;
}

#textofoto1,
#textofoto2,
#textofoto3,
#textofoto4,
#textofoto5,
#textofoto6 {
  background: transparent;
  color: rgb(201, 220, 233);
  font-size: 1vw;
  margin: auto;
  max-width: 95%;
  text-align: center;
}

.tooltip {
  position: relative;
  display: inline-block;
  cursor: pointer;
}

.tooltip::after {
  content: attr(title);
  position: absolute;
  top: 9vh;
  right: 0vw;
  background-color: #a51111;
  color: #fff;
  padding: 5px;
  font-size: 24px;
  border-radius: 4px;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s, visibility 0.3s;
}

.tooltip:hover::after {
  opacity: 1;
  visibility: visible;
}

.tooltip:hover [title] {
  display: none;
}






@media (max-width: 414px) {
  nav {
    display: flex;
    flex-direction: column;
    background-color: #1b6181;
    background-color: transparent;
    justify-items: start;
    position: unset;
    width: 80%;
    margin-left: auto;
    margin-right: auto;
  }

  .cajafotos:hover {
    pointer-events: none;
  }



  .logo {
    display: none;
  }

  h1,
  h2 {
    color: aliceblue;
    font-size: 1.4vh;
    background-color: transparent;
    width: 100%;
    text-align: center;
    margin: 0px 0px 5px 0px;
  }

  ul {
    display: flex;
    flex-wrap: wrap;
    background-color: transparent;
    margin:0;
    width: 100%;
    justify-content:space-evenly
    
  }

  li {
    font-size: 1.5vh;
    padding: 2px 12px;
    margin: 5px 45px 5px 5px;
  }

.cajafotos {
  width: 100%;
   pointer-events: none;
   padding-bottom: .5rem;
   
}

  .cajafotos img {
    margin: -6vh 0.1vh 0vh 0vh;
   cursor:default;
    text-align: center;
    width: 100%;
    
    
  }


  #textofoto1,
  #textofoto2,
  #textofoto3,
  #textofoto4,
  #textofoto5,
  #textofoto6 {
    
    font-size: 2vw;
    
  }

  

  .contenedorFotos {
    background-color: transparent;
  }

  .mail , .facebook {
    display: none;
  }
 

  

.tooltip::after{

  display: none;
} 




}
