* {
    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;
}

.logocatedra {
    max-width: 100px;
    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: 30px;
}



#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: 1.5em;
    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;

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

@media(min-width: 40em) {


    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: rgba(28, 9, 137, 0.714);
        color: rgb(255, 255, 255);
        border-block-end: unset;
    }
 

}

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

  img {
    max-width: 100%;
}
 
.main {
    background-color: rgb(255, 240, 249);
    padding: 20px;
    display: flex;
    flex-flow: column wrap;
}

.fotoequipo{
    max-width: 250px;
    border-radius: .25em;
}

section .equipovm{
    display: flex;
    flex-flow: row;
}

.nombre{
    font-size: 2rem;
    margin-bottom: 30px;
    margin-top: 150px;
    color:rgb(28, 9, 137);
    text-decoration: none;
}

.card{
    border-radius: .25em;
    background-color: rgba(255, 154, 213, 0.51);
    color: rgb(0, 0, 0);
    margin: 20px;
    padding: 20px;
    justify-content: center;
    text-align: center;
    
    
}

.cardtitulo{
    font-size: 1, 5rem;
    margin-left: 20px;
    color: rgb(0, 0, 0);
    padding: 10px;

}
.contenedorequipo{
    border-radius: .25em;
    color: rgba(28, 9, 137,);
    margin: 20px;
    padding: 20px;
    justify-content: center;
    text-align: center;
    
}
  footer {
    background-color: rgb(255, 154, 213);
    color: white;
    font-size: x-small;
    text-align: center;
  }

  .mapa{
    max-width: 90%;
    display: flex;
    flex: auto;
    justify-content: center;
 
  }

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


  .contenedorcards{
    display: flex;
    flex-flow: column;
}

.fotoplan{
    width: 50%;
}

.fotoplan1{
    width:10%;
    
}

.contenedorequipo{
    display: flex;
    flex-direction: row;
    margin: 20px 0px 20px 20px;
    width: 95%;
    background-color: rgba(255, 154, 213, 0.452);
    border-radius: 10px;
    padding: 20px;
  
  }

  .fotoequipo{
    width: 50%;
    border-radius: 10px;
  }
  
  .titulonombre{
    font-size: 2.4rem;
    
  }

  .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);
  
  }