* {
  margin: 0;
  padding: 0;
}

:root {
  --mostrando: Gold;
  --esperando:  DarkKhaki;
  --flotando: Crimson;
}

body{
  font-family: Tahoma, sans-serif;
  background:IndianRed;
  color:DarkRed;
  line-height: 1.6;
}

#bloque {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: min(calc(90% - 2rem), 500px);
    height:auto;
    padding: 1rem;
    margin: auto;
    background: white;
    border-radius: .5rem;
    z-index: 9999;
}

h1 {
  font-family: "Libre Baskerville", serif;
  font-weight: 700;
  font-style: normal;
  font-size: 2.5rem;
  color: DarkGoldenrod;
}

h2 {
  font-family: "Libre Baskerville", serif;
  font-weight: 400;
  font-style: normal;
  font-size: 1.8rem;
  Color:  OrangeRed;
}


a {
  color: SteelBlue;
  text-decoration: none;
}

a:hover {
  color:  Yellow; 
}


p{
  padding:0.5rem 0;
}

nav{
  margin:1rem 0;  
}

nav a{
  line-height: 1;
  text-decoration: none;
  color:black;
  margin:0 1rem 0 0;
  padding:0.3rem 1rem;
  background:var(--esperando);
  border-radius: .6rem;
  transition:all ease .75s;
}

nav a:hover{
  color:white
  background:var(--flotando)
  transition:all ease .75s
}

nav a.active{
  color:black;
  background:var(--mostrando);
}