* {
  padding: 0;
  margin: 0;
  border: 0;
  box-sizing: border-box;
  margin-block: 0;
  margin-left: 0;
  margin-right: 0;
  font-family: 'Montserrat', sans-serif;
  list-style-type: none;
}

html {
  scroll-behavior: smooth;
}

/*HEADER*/

nav {
  position: relative;
}

header {
  background-color: rgb(255, 154, 213);
  position: sticky;
  top: 0;
  z-index: 8000;
}


header .contenedor {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
}

.logo {
  max-width: 150px;
  height: auto;
}

.contenedor {
  display: flex;
  max-width: 90%;
  width: min(75rem, 100%);
  margin: 0 auto;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  list-style: none;
  padding: 1.5rem;
}



#logo {
  display: flex;
  align-items: center;
  position: relative;
  z-index: 9999;
}


#logo img {
  width: 150px;
  margin: -1em .75em -1em 0;
}

.menu-btn {
  background: hsl(0 0% 100% / 0.25);
  border-radius: 50%;
  box-shadow: -5px 5px 5px hsl(180 100% 4% / 0.2);
  padding: .75rem;
  width: 3rem;
  aspect-ratio: 1;
  cursor: pointer;
  transition: all 0.3s ease-out;
  position: fixed;
  top: 1em;
  right: 1em;
  z-index: 9000;
}


.menu-btn,
.menu-fondo {
  padding: .75rem;
  width: 3rem;
  aspect-ratio: 1;
  cursor: pointer;
  transition: all 0.3s ease-out;
  position: fixed;
  top: 2.3em;
  right: 2.5em;
  z-index: 9000;
}


.menu-btn .btn-linea {
  width: 25px;
  height: 3px;
  margin: 4px 0 4px 0;
  background: hsl(0 0% 90%);
  transition: all 0.3s ease-out;
  position: relative;
  z-index: 9000;
}


.menuVisible .menu-btn .btn-linea {
  transform: rotate(180deg);
}

.menuVisible .menu-btn .btn-linea:nth-child(1) {
  transform: rotate(45deg) translate(4px, 6px);
}

.menuVisible .menu-btn .btn-linea:nth-child(2) {
  opacity: 0;
}

.menuVisible .menu-btn .btn-linea:nth-child(3) {
  transform: rotate(-45deg) translate(4px, -6px);
}


nav ul {
  background-color: hsl(210 92% 10% / 95%);
  display: grid;
  place-items: center;
  place-content: center;
  position: fixed;
  inset: 0;
  z-index: 8000;
  translate: 100%;
  transition: all .6s ease;
}


.menuVisible ul {
  background-color: rgb(17, 0, 128);
  transition: all .4s ease;
  z-index: 8000;
  translate: 0;
}


nav ul li a {
  border-bottom: solid 3px hsl(0 0% 100% / 0.1);
  color: white;
  display: block;
  font-size: 1.5rem;
  margin-block-end: .5rem;
  width: min(70vw, 20rem);
  text-align: center;
  padding: .5rem;
  text-decoration: none;
}

nav ul li a:hover {
  border-bottom: solid 3px hsl(0 0% 100% / 0.5);
  transition: all .3s;
}

header #logo {
  width: 10em;
  display: block;
  position: relative;
  z-index: 9999;

}



/*BODY*/
main{
  background-color: rgb(255, 240, 249);
}

h1 {
  font-size: 3rem;
  margin-bottom: 10px;

  color: rgb(28, 9, 137);
  padding: 30px;

}

h2 {
  font-size: 1, 5rem;
  margin-top: 15px;
  margin-left: 20px;
  color: rgb(28, 9, 137);
  padding: 10px;

}

.texto1 {
  font-size: 1rem;
  margin-left: 30px;
  margin-right: 30px;
  margin-bottom: 10px;
  color: black;

}

.texto2 {
  font-size: small;
  margin-left: 30px;
  margin-right: 30px;
  margin-bottom: 10px;
  color: rgb(28, 9, 137);

}


/*INDEX HOME*/
.fototorre {
  width: 100%;
  border-radius: 0.25em;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 30px;

}

.streetview {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 30px;
}

.ubicacion{
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 30px;
}
/*HISTORIA*/

.año{
  display: flex;
  flex-direction: row;
  margin: 20px 0px 20px 20px;
  width: 95%;
  justify-content: space-between;
  background-color: rgba(255, 154, 213, 0.452);
  border-radius: 10px;
  padding: 20px;

}
.fototorre1{
  width: 50%;
  border-radius: 10px;
}

.titulo_año{
  font-size: 2.4rem;
  
}

.titulo_historia{
  font-size: 3rem;
  margin-bottom: 10px;

  color: rgb(28, 9, 137);
  

}

/*FOOTER*/

footer {
  background-color: rgb(255, 154, 213);
  color: white;
  font-size: x-small;
  text-align: center;
}


/* Formulario - quienes somos */

.formulario {
  width: 300px;
  height: 550px;
  text-align: left;
  padding: 25px;
  margin: 20px;
  border-radius: 10px;
  align-self: center;
  background-color:  rgb(255, 154, 213);
}

.formulario__boton {
  text-decoration: none;
  background-color:  rgb(28, 9, 137);
  color: white;

  padding: 10px 15px;
  border-radius: 10px;
  margin: 15px;
  text-align: center;

}

.formulario__boton1 {
  text-align: center;
}

.formulario__boton:hover {
  transition-delay: 0.5ms;
  background-color: white;
  color: black;
}

.nombre {
  width: 50px;
  margin: 0px 10px 10px 0px;
}

.email {
  width: 50px;
  margin: 10px 10px 0px 0px;
}

.titulo_contacto{
  padding: 0px;
  margin: 0px;
  
}

.desc_contacto{
  margin: 10px 0px 10px 0px;
  font-size: 1rem;
}

/* ubicacion-quienes somos */

.ubicacion_completo{
  border: solid rgb(255, 154, 213);   
  margin: 20px;
  width: 80%;
  border-radius: 10px;
  
}
.textomapa{

    font-size: 0,5rem;
    margin-left: 30px;
    margin-right: 30px;
    color: black;
}


.contacto_y_ubicacion{
  display: flex;
  flex-flow: row;
}

/*actividades*/
.actividades1{
  width: 40%;
  margin: 20px 0px 20px 20px;
  background-color: rgba(255, 154, 213, 0.452);
  border-radius: 10px;
  padding: 20px;
  
}


.texto3 {
  font-size: 1rem;
  max-width: 90%;
  margin-left: 30px;
  margin-right: 30px;
  margin-bottom: 10px;
  color: black;

}

.acti-contenedor{
  display: flex;
  flex-flow: row wrap;
  justify-content: space-evenly;
  

  
}

.fototorre2{
  width: 100%;
  display: flex;
  flex-flow: column;
  padding: 30px;
  border-radius: 10px;

}
/* boton ver mas */

.botonvermas{
  color: white;
  margin-left: 30px;
  background-color: rgb(28, 9, 137); ;
  border-radius: 10px;
  padding: 10px;
}

/*galeria fotos*/

.fotos{
  display: flex;
  flex-direction: row;
  margin: 20px 0px 20px 20px;
  width: 95%;
  justify-content: space-between;
  background-color: rgb(188, 191, 223);;
  border-radius: 10px;
  padding: 20px;

}

.fotos2{
  display: flex;
  flex-direction: row;
  margin: 20px 0px 20px 20px;
  width: 95%;
  justify-content: space-between;
  background-color: rgb(138, 142, 183);;
  border-radius: 10px;
  padding: 20px;

}

@media(min-width: 640px) {


  header nav {
    position: relative;
  }


  .menu-btn {
    display: none;
  }


  header nav ul,
  header .menuVisible ul {
    display: flex;
    gap: .25em;
    position: relative;
    translate: 0;
    background-color: unset;
  }


  header nav ul li {
    min-width: 4em;
  }


  header nav ul li a {
    background-color: rgb(28, 9, 137);
    border-radius: .25em;
    color: white;
    font-size: 1rem;
    width: auto;
    padding: .25em 1em;
    text-align: center;
    display: block;
    margin-block-end: unset;
    border-block-end: unset;
  }


  header nav ul li a:hover {
    background-color: rgb(7, 0, 44);
    color: rgb(255, 255, 255);
    border-block-end: unset;
  }

  

  
}




@media(max-width: 641px) {
  .contacto_y_ubicacion{
    
    flex-flow: column wrap;
  }
  .ubicacion_completo{
    width: 90%;
  }
  .formulario{
    width: 90%;
  }

  .formulario__boton1{
    text-align: right;
  }

  .comentario{
    width: 100%;
  }

  .año{
    flex-direction: column;
    align-items: center;
    
  }

  .fotos{
    flex-direction: column;
    align-items: center;
    
  }

  .fotos2{
    flex-direction: column;
    align-items: center;
    
  }

  .fototorre1{
    width: 90%;
  }

  .acti-contenedor{
    display: flex;
    flex-flow: column;
  }
  .actividades1{
    width: 90%;
  }
}