@import url("https://fonts.googleapis.com/css2?family=Roboto:wght@100;300;400;500;700&display=swap");
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  scroll-behavior: smooth;
}
h1,
h2,
h3,
h4,
h5 {
  margin-bottom: 0.6rem;
  line-height: 1.2;
}
a,
li,
button,
h1,
h2 {
  font-family: "Roboto", sans-serif;
  font-weight: 400;
  font-size: 1rem;
  color: black;
  text-decoration: none;
}
body{
  min-height: 100vh;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
}
.general{
  flex-grow: 1;
}
/* Menú desplegable */
.menu {
  display: flex;
  width: 100%;
  justify-content: space-around;
  align-items: center;
  min-height: 8vh;
  border-bottom: 3px solid rgb(46, 49, 146);
  z-index: 1000;
  position: fixed;
  background-color: white;
  font-size:1rem;
}

.menu .logo {
  cursor: pointer;
  margin-right: auto;
  padding: 0.7rem;
  margin-left: 0.7rem;
}

.menu .enlaces {
  list-style: none;
  justify-content: space-around;
  display: flex;
  width: 30vw;
}
.menu .enlaces li {
  display: flex;
  flex-direction: row;
  align-items: center;
  padding: 0px 1rem;
  margin-right:1vw;
}
.menu .enlaces li a {
  transition: all 0.3s ease 0s;
  position: relative;
  vertical-align: middle;
  display: inline-block;
  -webkit-transition: all 0.3s ease 0s;
  -moz-transition: all 0.3s ease 0s;
  -ms-transition: all 0.3s ease 0s;
  -o-transition: all 0.3s ease 0s;
}
.menu .enlaces li a:hover {
  transition: all 0.3s ease 0s;
  color: rgb(46, 49, 146);
  -webkit-transition: all 0.3s ease 0s;
  -moz-transition: all 0.3s ease 0s;
  -ms-transition: all 0.3s ease 0s;
  -o-transition: all 0.3s ease 0s;
}
.cambiaColor{
  background-color:black;
}
.cambiaColor a{
  color:white;
}
.cambiaColor .enlaces li a:hover{
  color:gray;
}
.cambiaColor .btnContacto{
  background-color:black;
  color:white;
  border-color: white;
}
.cambiaColor .nav-active{
  background-color:black;
}
.btnContacto {
  padding: 0.5rem 1.5rem;
  border: 2px solid rgb(46, 49, 146);
  border-radius: 1.3rem;
  background-color: white;
  color: black;
  cursor: pointer;
  transition: all 0.3s ease 0s;
  -webkit-transition: all 0.3s ease 0s;
  -moz-transition: all 0.3s ease 0s;
  -ms-transition: all 0.3s ease 0s;
  -o-transition: all 0.3s ease 0s;
  -webkit-border-radius: 1.3rem;
  -moz-border-radius: 1.3rem;
  -ms-border-radius: 1.3rem;
  -o-border-radius: 1.3rem;
}
.btnContacto:hover {
  background-color: rgb(46, 49, 146);
  color: white;
}
.btnContacto2 {
  padding: 0.5rem 1.5rem;
  border: 2px solid rgb(46, 49, 146);
  border-radius:0;
  background-color: transparent;
  color: white;
  cursor: pointer;
  transition: all 0.3s ease 0s;
  -webkit-transition: all 0.3s ease 0s;
  -moz-transition: all 0.3s ease 0s;
  -ms-transition: all 0.3s ease 0s;
  -o-transition: all 0.3s ease 0s;
  -webkit-border-radius:0;
  -moz-border-radius:0;
  -ms-border-radius:0;
  -o-border-radius:0;
  margin-top:2vh;
}
.btnContacto2:hover {
  color: gray;
}
.menu .burger {
  display: none;
  cursor: pointer;
}
.menu .burger div {
  width: 25px;
  height: 2px;
  background-color: rgb(46, 49, 146);
  margin: 5px 25px;
  transition: all 0.3s ease;
  -webkit-transition: all 0.3s ease;
  -moz-transition: all 0.3s ease;
  -ms-transition: all 0.3s ease;
  -o-transition: all 0.3s ease;
}

.toggle .line1 {
    transform: rotate(-45deg) translate(-5px, 6px);
    -webkit-transform: rotate(-45deg) translate(-5px, 6px);
    -moz-transform: rotate(-45deg) translate(-5px, 6px);
    -ms-transform: rotate(-45deg) translate(-5px, 6px);
    -o-transform: rotate(-45deg) translate(-5px, 6px);
}
.toggle .line2 {
  opacity: 0;
}
.toggle .line3 {
    transform: rotate(+45deg) translate(-4px, -5px);
    -webkit-transform: rotate(+45deg) translate(-4px, -5px);
    -moz-transform: rotate(+45deg) translate(-4px, -5px);
    -ms-transform: rotate(+45deg) translate(-4px, -5px);
    -o-transform: rotate(+45deg) translate(-4px, -5px);
}
.mid {
  background-image: url("./imagenes/imgintro.jpg");
  background-size:cover;
  background-repeat:repeat;
  min-width:100%;
  min-height: 100vh;
  text-align: center;
}
.centro {
  position: absolute;
  margin-left: 15vw;
  margin-right: 15vw;
  margin-top: 45vh;
  margin-bottom: 0;
}
p {
  font-family: "Roboto", sans-serif;
  font-size: 1.5rem;
  color: white;
  text-decoration: none;
  font-weight: 200;
}


/* Socios */
.tituloSocio {
  font-size: 2rem;
  text-align: center;
  padding-bottom: 1vh;
  margin-top:3vh;
}
.nombre {
  font-size: 17.5px;
  font-weight: 500;
}
.puesto {
  font-weight: 300;
  font-size: 16px;
  color: rgb(70, 70, 70);
}
.inner {
  padding: 0px 0.5vh;
}
.filasocios {
  justify-content: space-between;
  display: flex;
  margin: auto;
  padding: 1vh;
}
.imagensoc {
  width: 299px;
  min-height: 299px;
  display: block;
  border-radius: 5px;
  object-fit: cover;
  transition: all 1s ease;
  -webkit-transition: all 1s ease;
  -moz-transition: all 1s ease;
  -ms-transition: all 1s ease;
  -o-transition: all 1s ease;
}
.socios {
  justify-content: space-around;
  padding: 0px 10%;
}
.divsocios {
  padding: 40px;
}
.btn {
  outline: 0 !important;
  font-size: 16px;
  display: inline-block;
  position: relative;
  border: none;
  background-color: transparent;
  line-height: 1.5;
  user-select: none;
  vertical-align: middle;
  transition: all 0.3s;
  cursor: pointer;
  -webkit-transition: all 0.3s;
  -moz-transition: all 0.3s;
  -ms-transition: all 0.3s;
  -o-transition: all 0.3s;
}
.btn:hover {
  color: rgb(70, 70, 70);
}
.btn span {
  z-index: 1;
  position: relative;
}
.imagensocio {
  box-shadow: 0 0 20px 20px rgba(0, 0, 0, 0.1);
  transition: 1s;
  display: inline-block;
  overflow: hidden;
  -webkit-transition: 1s;
  -moz-transition: 1s;
  -ms-transition: 1s;
  -o-transition: 1s;
}
.imagensoc:hover {
  transform: scale(1.1);
  z-index: 2;
  -webkit-transform: scale(1.1);
  -moz-transform: scale(1.1);
  -ms-transform: scale(1.1);
  -o-transform: scale(1.1);
}
.socios h2 {
  font-weight: 500;
}
/* Botón de contacto */
.centro .btnContacto {
  margin-top: 3%;
  border-radius: 0;
  background-color: transparent;
  color: white;
  font-weight: 300;
}
.centro .btnContacto:hover {
  color: gray;
}
/* Formulario de contacto + animaciones */
form {
  display: flex;
  flex-direction: column;
  padding: 0vh 0vh 0vh 20vh;
  width: 90%;
  border-radius: 10px;
}
form h3 {
  color: black;
  font-weight: 500;
  margin-bottom: 3vh;
  font-size: 2rem;
  font-family: "Roboto", sans-serif;
}
form input,
form textarea {
  border: 0;
  margin: 10px 0;
  padding: 20px;
  outline: none;
  font-size: 16px;
  border-radius: 3px;
  background: #f5f5f5;
  font-family: "Roboto", sans-serif;
}
form button {
  background: rgb(46, 49, 146);
  color: #fff;
  font-size: 18px;
  align-items: center;
  width: 150px;
  min-height: 50px;
  cursor: pointer;
  margin: 20px auto 0;
  display: flex;
  border-radius: 40px;
  justify-content: center;
  transition: 0.4s;
  -webkit-transition: 0.4s;
  -moz-transition: 0.4s;
  -ms-transition: 0.4s;
  -o-transition: 0.4s;
}
form button span,
svg {
  color: white;
  transition: 0.4s;
  position: absolute;
  fill: transparent;
  -webkit-transition: 0.4s;
  -moz-transition: 0.4s;
  -ms-transition: 0.4s;
  -o-transition: 0.4s;
}
form span{
  color:gray;
  font-family: "Roboto", sans-serif;
  font-weight: 400;
  font-size: 0.8rem;
  text-decoration: none;
  text-align: justify;
  margin-top:1vh;
}
#correo{
  opacity: 0;
}
form button:hover {
  width: 170px;
  box-shadow: 0px 10px 10px rgba(0, 0, 0, 0.4);
}
form button:hover span {
  transition: 0.4s;
  font-size: 20px;
  -webkit-transition: 0.4s;
  -moz-transition: 0.4s;
  -ms-transition: 0.4s;
  -o-transition: 0.4s;
}
form button:focus {
  outline: none;
  box-shadow: none;
  border: 2px solid transparent;
  width: 50px;
  border-left: 2px solid rgb(46, 49, 146);
  border-bottom: 2px solid rgb(46, 49, 146);
  animation: spin 2s 500ms forwards;
  background: white;
}
form button:focus span {
  color: transparent;
}
form button:focus svg {
  animation: check 500ms 2300ms forwards;
}
@keyframes spin {
  80% {
    border: 2px solid transparent;
    border-left: 2px solid rgb(46, 49, 146);
  }
  100% {
    transform:rotate(1080deg);
    border: 2px solid rgb(46, 49, 146);
    -webkit-transform:rotate(1080deg);
    -moz-transform:rotate(1080deg);
    -ms-transform:rotate(1080deg);
    -o-transform:rotate(1080deg);
}
}
@keyframes check {
  to {
    fill: rgb(46, 49, 146);
  }
}
@keyframes circle {
  to {
    border: 2px solid rgb(46, 49, 146);
  }
}
#contactof {
  min-width: 100%;
  margin: auto;
  display: flex;
}
.contform {
  min-height: 100vh;
  min-width:50%;
  flex: 0 0 50%;
  align-items: left;
  justify-content: left;
  margin-top: 5vh;
  padding: 0px 0px 10% 0;
}
/* Google Maps */
.mapa {
  flex: 1;
  min-height: 100vh;
  min-width: 50%;
  padding: 2vw;
  margin-left: 0;
}
.mapa h3{
    font-family: "roboto", sans-serif;
    font-size: 20px;
    color: black;
    margin-top: 1vh;
}
.mapa .direccion{
    margin-top:10vh;
}
.mapa p {
  color: rgb(46, 49, 146);
  font-size: 18px;
  font-weight: 500;
  margin-top:1vh;
}
.secmapa{
    display:block;
    width:100%;
    margin:auto;
}
.mapa1{
    padding: 0px 0px 0px 10%;
    margin-top: -20vh;
    display:block;
}
/* Footer */
.footer {
  bottom: 0;
  position: static;
  flex: 1 1 auto;
  margin-top:auto;
  width: 100%;
  font-family: "Roboto", sans-serif;
  font-size: 16px;
  background-color: black;
  color:white;
}
.secFooter {
  padding: 1rem 0 0;
  border-top: 3px solid rgb(46, 49, 146);
}
.footLogo {
  order: 0;
  margin-top: 0;
  display: flex;
  align-items: center;
  text-align: center;
  flex-direction: column;
  color: rgb(46, 49, 146);
  padding: 1vh;
}
.footLogo p {
  color: white;
  font-size: 18px;
  padding-top: 2vh;
  font-weight: 500;
  text-align: center;
  align-items: center;
  justify-content: center;
}
.footVarios ul {
  position: relative;
  text-align: center;
  list-style: none;
}
.footVarios ul li a {
  position: relative;
  display: inline-block;
  color: white;
  text-decoration: underline;
  font-weight: bold;
}
.footVarios {
  padding: 1vh;
}
.slide img{
  width: 100%;
}

@media screen and (max-width: 1024px) {
  .enlaces {
    width: 60%;
    margin-right:10vw;
  }
}
@media screen and (max-width: 768px) {
  body {
    overflow-x: hidden;
  }
  .enlaces {
    position: absolute;
    right: 0px;
    height: 92vh;
    top: 8vh;
    background-color: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100vw;
    transform: translateX(100%);
    transition: transform 0.5s ease-in;
    -webkit-transition: transform 0.5s ease-in;
    -moz-transition: transform 0.5s ease-in;
    -ms-transition: transform 0.5s ease-in;
    -o-transition: transform 0.5s ease-in;
    -webkit-transform: translateX(100%);
    -moz-transform: translateX(100%);
    -ms-transform: translateX(100%);
    -o-transform: translateX(100%);
    margin-right:0;
}
  .enlaces li {
    opacity: 0;
  }
  .menu .burger {
    display: block;
  }
  p {
    font-family: "Roboto", sans-serif;
    font-size: 1.2rem;
    color: white;
    text-decoration: none;
    font-weight: 200;
  }
  .centro {
    margin-left: 15vw;
    margin-right: 15vw;
    margin-top: 15vh;
  }
  .mid{
    min-height:75vh;
  }
  .filasocios{
    text-align: center;
    display:block;
  }
  .tarjeta{
    align-items: center;
    align-content: center;
  }
  .imagensoc{
    align-items: center;
    align-content: center;
  }
  .inner{
    align-items: center;
    align-content: center;
  }
  #contactof{
    display:block;
  }
  .contform{
    display:block;
    width: 100%;
    min-height:35vh;
  }
  .mapa{
    display:block;
    width: 100%;
    min-height: 65vh;
    text-align:center;
    margin-top:-10vh;
  }
  form{
    padding: 0px 0px 0px 5vh;
  }
  form h3{
    text-align:center;
  }
  .footLogo img{
    width: 50%;
    height: 50%;
  }
  .footLogo p{
    font-size: 0.9rem;
  }
  .footVarios ul{
    font-size:0.7rem;
  }
  .menu .logo{
    transform: scale(85%);
    -webkit-transform: scale(85%);
    -moz-transform: scale(85%);
    -ms-transform: scale(85%);
    -o-transform: scale(85%);
    margin-left:-3vw;
  }
  .btnContacto{
    border: 0;
    background-color:transparent;
  }
  .btnContacto:hover{
    background-color:transparent;
    color:rgb(46, 49, 146)
  }
  .cambiaColor .btnContacto{
    border : 0;
    background-color:transparent;
  }
  .cambiaColor .btnContacto:hover{
    background-color:transparent;
    color:gray;
  }
}
.nav-active {
  transform: translateX(0%);
  -webkit-transform: translateX(0%);
  -moz-transform: translateX(0%);
  -ms-transform: translateX(0%);
  -o-transform: translateX(0%);
}
@keyframes enlacesFade {
  from {
    opacity: 0;
    transform: translateX(50px);
    -webkit-transform: translateX(50px);
    -moz-transform: translateX(50px);
    -ms-transform: translateX(50px);
    -o-transform: translateX(50px);
}
  to {
    opacity: 1;
    transform: translateX(0px);
    -webkit-transform: translateX(0px);
    -moz-transform: translateX(0px);
    -ms-transform: translateX(0px);
    -o-transform: translateX(0px);
}
}