body {
	background-color: #17212B;

  margin: 10% auto;
  padding: 0 10%;
  max-width: 1100px;

  font-family: "Mononoki", "Open Sans", "Sans", "Arial";
  text-align: left;
  line-height: 1.5em;
  color: #A6B0B9;
  font-size: 100%;
}

a:link {
  color:lightblue;
}

a:visited {
  color: #D7B3FF;
}

:focus {
  outline: 2px solid white;
}

/* No outline cuando es por clic. */
:focus:not(:focus-visible) {
  outline: none;
}

h1 {
  padding: 1em 0;
	font-variant: small-caps;
  text-align: center;
  line-height: 1em;
	font-size: 4em;
}

.navbar {
  margin: 0;
  padding: 0;
  font-size: 1.1em;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: space-around;
  align-items: center;
}

.navbar a {
  flex-basis: 10%;
  flex-grow: 1;
  color: #CBD7E1;
  padding: 20px 20px;
  text-align: center;
  text-decoration: none;
}

.navbar a:hover {
  background-color: #C8E8FF;
  color: #17212B;
}

h1, .navbar {
  color: #CBD7E1;
	background-color: #2B5278;
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}

h1, .navbar, .navbar a {
  border-radius: 5px;
}

section {
  overflow: auto;
  margin: 60px 0 20px;
}

h2 {
  font-size: 2.4em;
  text-align: center;
  margin: 40px 0;
  line-height: 1.2em;
}

h3 {
  font-size: 1.8em;
  text-align: center;
  margin: 40px 0;
  line-height: 1.0em;
}

p {
  font-size: 1.1em;
  text-indent: 2em;
}

ul {
  font-size: 1.1em;
}

/* Aumentar tamaño de fuente sólo para el primer nivel de lista. */
ul ul {
  font-size: 1em;
}

.column {
  display: grid;
}

.odd, .even {
  margin: 0 5% 5%;
  max-width: 50%;
  height: auto;
}

.odd {
  float: left;
  margin-left: 0;
}

.even {
  float: right;
  margin-right: 0;
}

.odd img, .even img {
  max-width: 100%;
  height: auto;
  margin: 0;
}

img, video {
  max-width: 100%;
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
  border-radius: 15px;
}

.headerIcon {
  box-shadow: none;
  margin: 0 5%;
}

video {
  margin: 1%;
}

.final {
  margin: 50px 0;
  text-align: center;
}

.final p {
  text-indent: 0;
}

.oldButtons {
  margin: 0;
  padding: 0;
  text-align: center;
}

/* No subrayado para que no aparezca una línea al lado de botones visitados.
 * El selector :visited no funciona para quitar esta línea.
 */
.oldButtons a {
  text-decoration: none;
}

.oldButtons img {
  width: 88px;
  height: 31px;
  margin: .2em;
  border-radius: 0;
  box-shadow: none;
  background: white;
}

.collection {
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: space-around;
  align-items: baseline;
  align-content: space-around;
}

.cardCollection > * {
  width: 33%;
}

.collection > * {
  margin: 2% 0;
}

.date {
  font-style: italic;
  text-align: center;
}

.centerText {
  text-align: center;
}

@media only screen and (max-width: 600px) {

  h1 {
    font-size: 2em;
  }

  .navbar {
    font-size: 1em;
  }

  .odd, .even {
    float: none;
    margin: 0 10% 20px;
    max-width: 100%;
    height: auto;
    display: block;
    text-align: center;
  }

  ul {
    padding-left: 5%;
  }

  body {
    text-align: center;
  }

  p {
    text-indent: 0;
  }

}
