@charset"utf-8";
@import url('https://fonts.googleapis.com/css?family=Montserrat:400,700');
* {
    list-style: none;
    text-decoration: none;
    box-sizing: border-box;
}

body {
    margin: 0;
    padding: 0;
    background-image: url(img/fondos-01.png);
    font-family: 'Montserrat', sans-serif;
}
header{
    display: flex;
    flex-direction: row;
    justify-content: space-between; align-items: center;
     background-color: #5D00FF;
    padding: 1% 3% 2% 3%;
}
nav ul li {
    list-style-type: none;
    line-height: 2rem;
    position: relative;
}

nav ul li ul {
    position: absolute;
    background-color:  #5D00FF;
    transition: 1s all;
}

nav ul li a {
    text-decoration: none;
    color: white;
    padding: 0 2rem;
    display: block;
    transition: 1s all;
}

nav ul li a:hover {
    background-color: rgba(0, 0, 0, 0.4);
}

nav ul#principal li:hover>ul {
    max-height: 500px;
    overflow: visible;
}


nav ul#hamburguesa>li {
    background-color:  #5D00FF;
    line-height: 0;
}

nav ul#hamburguesa li:hover>ul {
    max-height: 400px;
    overflow: visible;
}


ul#principal {
    background-color:  #5D00FF;
    display: flex;
    flex-direction: column;
        margin: 0 0 0 -7em; padding: 0 ;
}

ul#principal li {
    border-bottom: 0.5px solid #ccc;
}

ul#principal li ul, ul#principal {
    max-height: 0;
    overflow: hidden;
}

ul#secundario {
    top: 100%;
    left: 50%;
    z-index: 1;
}
.logo2{
    max-height: 60px;
    max-width: 60px;
}

 .logo1{
        display: none;
    }

@media all and (min-width:400px) {
    ul#hamburguesa>li img {
        display: none
    }
    nav ul#principal {
        flex-direction: row;
        max-height: 800px;
        position: relative;
    }
    nav ul#secundario {
        top: 100%;
        left: 20%;
    }
    .logo2{
        display: none;
    }
 .logo1{
        display: block;;
    }
    header{
        justify-content: space-around; padding: 1% 0 2% 0;}
}

h1{
   color:#5D00FF;
    font-size: 4vw; text-align: center; margin: 1% 0;
}
.contenedor {
color:white;     
}
.contenedor p{
    margin: 0 12%; font-size: 0.8em;
}
.contenedor h2{
    font-size: 1em;
}.contenedor h3{
    font-size: 1em;
}
.presentacion{
    display: flex;
    flex-direction: row;
    text-align: center;  align-items: center;
    margin: 0 ;background-color: #5D00FF; font-size: 1.4em;
    padding: 3% 10% 5% 8%;
}
.contenedor-imagenes{
    display: flex;
    flex-direction: row;
    
}
.iphone-android{
    max-height: 350px;
    max-width: 250px; margin-top:5%;
}
.img-carta{
    text-align: center; margin: 8% 0;
}
.img-carta img{
    max-height: 50%;
    max-width: 50%;
}


#mapa{
    text-align: center;
    margin: 1% 0 10% 0;
}
.integrantes{
    display: flex;
    flex-direction:row;
    justify-content: center;
    margin: 10% 0 15% 0;
    
}
.integrantes p{
    font-size: 1em;
    color: #5D00FF;
    text-align: center;
    margin: 0; font-weight: 700;}

.integrantes p:hover{
    color: gray;
}
.integrantes div a img {
    border-radius:1%;
    width: 100%;  
}
.integrantes div a img:hover{
    border-radius: 90%;

}
.staff{
    text-align: center; background: #CDCBDD; color: #5D00FF;
    font-size: 2em;
}
.alumna{
    margin: 2% 5%;
}

footer p{
    background: #5D00FF; 
    color: white;
    text-align: center;
    font-size: 0.8em;
    margin:0;
    padding: 2% 5%;
}
.mapa2{
    display: none;
}
@media only screen and (max-width:481px)
{
    .mapa1{
    display: none;
}.mapa2{
    display: block;
}
  .presentacion{
    flex-direction: column;
    padding: 3% 8% 5% 8%;
}
    .staff{
    font-size: 2em;
}
    .integrantes{
    flex-direction:column;
    margin: 10% 0 15% 0;
    
}
    .iphone-android{
    max-height: 300px;
    max-width: 200px; margin-top:5%;
}
.img-carta{
    margin: 10% 1% 0 1%; 
}
.img-carta img{
    max-height: 100%;
    max-width: 100%;
}
    .alumna{
    margin: 4% 10%;
}
}





