@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;
  font-family: "Roboto", sans-serif;
  text-decoration: none;
}
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;
  background-color: white;
}
.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;
}
.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);
}
/*Encabezado*/
.mid{
  background-image:url("imagenes/header.png");
  background-repeat:round;
  background-size:no-repeat;
  width: 100%;
  min-height:300px;
  padding-top:70px;
  display: flex;
  justify-content: center;
  align-items: center;
}
.titulo{
  font-family: "Roboto", sans-serif;
  font-size: 50px;
  color: white;
  text-decoration: none;
  font-weight: 500;
  text-transform: uppercase;
}
/* Footer */
.footer {
    bottom: 0;
    position: static;
    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;
  }

/* Tarjetas */
.total{
  text-align: center;
  justify-content: center;
}
.contenedor-carta{
  width: 70%;
  display:inline-block;
  max-width: 95%;
  margin: 0px auto;
}
.carta{
  width: 100%;
  margin-top:20px;
  border-radius:6px;
  -webkit-border-radius:6px;
  -moz-border-radius:6px;
  -ms-border-radius:6px;
  -o-border-radius:6px;
  overflow:hidden;
  box-shadow: 0px 1px 10px rgba(0,0,0, 0.2);
  cursor:default;
  transition: all 400ms ease;
  -webkit-transition: all 400ms ease;
  -moz-transition: all 400ms ease;
  -ms-transition: all 400ms ease;
  -o-transition: all 400ms ease;
}
.carta ul{
  margin-left: 50px;
  margin-top: 20px;
  margin-bottom: 20px;
  text-align: left;
}
.carta h2{
  font-weight: bold;
  font-size:18px;
}
.carta a{
  cursor: pointer;
  color:rgb(46, 49, 146)
}
.carta .contenido{
  padding: 10px;
  text-align:center;
}
.carta:hover{
  box-shadow: 5px 5px 20px rgba(0,0,0, 0.4);
  transform: translateY(-3%);
  -webkit-transform: translateY(-3%);
  -moz-transform: translateY(-3%);
  -ms-transform: translateY(-3%);
  -o-transform: translateY(-3%);
}
figure img{
  width:100%;
  height:25%;
}

.hide{
  display:none;
}

.show{
  display: block;
  transition-delay: all 500ms ;
}

@media screen and (max-width: 1024px) {
  .enlaces {
    width: 60%;
  }
}
@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:0px;
}
  .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:35vh;
  }
  .mid h1{
    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;
  }
  .enlaces li {
    opacity: 0;
  }
.menu .burger {
    display: block;
  }
}
.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);
}
}