:root{
  --fs1: .8rem;
  --fs2: calc(var(--fs1)*.7);
  --pink:rgb(247,38,237);
  --gray:rgb(230,230,230);
  --shadow: 0 0 .5em;
}

@font-face {
  font-family: mdio;
  /* src: url('../fonts/MDIO0.4-Semibold.otf'); */
  src: url('../fonts/MDIO0.4-Regular.woff');

}

::selection{
  background-color: var(--gray);
}

body{
  line-height: 1.5;
  font-size: var(--fs1);
  font-family: mdio;
  padding: 2em;
  position: relative;
  overflow-x: hidden;
}

p{
  margin-bottom: 1em;
}

p a{
  text-decoration: underline;
}

p a:hover,
footer span a:hover{
  box-shadow: var(--shadow);
  text-decoration: none;
}

footer .active{
  text-decoration: underline;
}

footer {
  position: fixed;
  bottom: 0;
  left:0;
  padding: 2em;
  text-transform: uppercase;
  box-sizing: border-box;
}

nav{
  display: flex;
  width:100%;
  text-transform: uppercase;
}

nav >div{
  flex:1
}

nav >div:last-of-type{
  text-align: right;
}

nav >div > *:not(em){
  cursor: pointer;
}

nav >div > *:hover:not(em){
  box-shadow: var(--shadow);
}

@media (max-width:700px){
  :root{
    --fs1:4vw;
  }

  body,footer{
    padding: 1em;
  }
}
