@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', sans-serif;
  background-color: #ffffff;
  color: #000f14;
  line-height: 1.6;
  font-size: 1em;
}

header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 64px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #dc0073;
  padding: 0.5em 2em;
  z-index: 999;
}

#logo img {
  padding-top: 10px;
  max-width: 7em;
  height: auto;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 1.5em;
}

nav li a {
  text-decoration: none;
  color: #000000;
  font-weight: 600;
  font-size: 1em;
}

nav li a:hover {
  color: #ffffff;
}

main {
  max-width: 800px;
  margin: 2em auto;
  padding: 1.2em 1.2em;
  margin-top: 64px;
}

main img {
  display: block;
  max-width: 600px;
  width: 100%;
  height: auto;
  margin: auto;
}

h1, h2, h3 {
  display: block;
  padding: 0.4em 0.8em;
  background-color: #3b3b54;
  color: #ffffff;
  margin-bottom: 0.5em;
  box-sizing: border-box;
  font-family: Impact, sans-serif;
  font-weight: normal;
}

p{
  font-size: 0.9em;
  padding: 0 15px 15px;
}

.plan, .mapa {
  margin-bottom: 2em;
  padding: 1.2em;
}

.equipo {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(14em, 1fr));
  gap: 1.2em;
  font-size: 0.9em;
  margin-bottom: 1.2em;
}

.equipo nav {
  background-color: #ddff33;
  color: #000000;
  padding: 1em;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  font-family: 'Inter', sans-serif;
}

.equipo img {
  object-fit: cover;
  width: 100%;
  height: 14em;
  margin-bottom: 0.8em;
  margin-top: 0.5em;
}

.equipo ul {
  list-style: none;
  font-size: 0.9em;
}

.equipo li a {
  color: #000000;
  font-weight: 600;
  text-decoration: none;
  font-size: 1.5em;
  font-family: 'Inter', sans-serif;
}

.equipo li a:hover {
  color: #dc0073;
}

.datos-academicos h2 {
  display: block;
  width: 100%;
  margin-bottom: 1em;
  font-size: 1em;
  background-color: transparent;
  color: #ffffff;
  font-family: Impact, sans-serif;
  font-weight: normal;
}

.datos-academicos {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5em;
  margin-top: 1em;
  font-size: 0.7em;
  line-height: 1.2em;
  font-family: 'Inter', sans-serif;
}

.datos-academicos ul {
  background-color: #dc0073;
  color: #ffffff;
  padding: 0.8em;
  list-style: none;
}

.datos-academicos li a {
  color: #ffffff;
  text-decoration: none;
  font-family: 'Inter', sans-serif;
}

.datos-academicos li a:hover {
  color: #ff66b2;
}

.datos-academicos strong {
  display: block;
  font-size: 0.8em;
  margin-bottom: 0.4em;
  color: #ffffff;
  border-bottom: 0.15em solid #ddff33;
  padding-bottom: 0.3em;
  font-family: 'Inter', sans-serif;
}

#plan img, #mapa img {
  width: 100%;
  max-width: 50em;
  height: auto;
  display: block;
  margin-bottom: 1.2em;
}

footer {
  background-color: #000f14;
  color: #ffffff;
  text-align: center;
  padding: 2em;
  font-size: 0.7em;
  font-family: 'Inter', sans-serif;
}

@media (max-width: 600px) {
  .datos-academicos {
    grid-template-columns: 1fr;
  }
}

.interruptor-menu {
    display: none;
}

.boton-hamburguesa {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 20px;
    height: 20px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 10;
}

.boton-hamburguesa .barra {
    display: block;
    width: 100%;
    height: 2px;
    background-color: #000f14;
}

@media (max-width: 600px) {

  .boton-hamburguesa {
        display: flex;
    }

.menu-navegacion {
        display: none;
        position: absolute;
        top: 0;
        right: 0;
        width: 100%;
        background-color: #dc0073;
        box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.2);
    }
    
.menu-navegacion ul {
        flex-direction: column;
        width: 100%;
        padding: 1em 2em 1.5em;
        text-align: end;
        gap: 2em;
    }
    
.interruptor-menu:checked ~ .menu-navegacion {
        display: flex;
        margin-top: 4em;
    }
}