/* =============================================================================
Fonts
============================================================================= */

@font-face
{
  font-family: 'Bebas Neue';
  src: url('/globals/fonts/BebasNeue-Regular.woff2') format('woff2');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

/* ========================================================================== */

body {
  min-height: 100vh;
  font-family: 'Bebas Neue', sans-serif;
  
  display: grid;
  place-items: center;

  background-image: url( '/images/background.jpg' );
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}

.frosted-box {
  background: rgba(255, 255, 255, 0.2);

  border-radius: 10px;
  padding: 2em;
  text-align: center;

  box-shadow: rgba( 0, 0, 0, 0.1 ) 0px 3px 10px -5px;
  text-shadow: 3px 3px 1px rgba( 0, 0, 0, 0.05 );

  color: white;

  width: calc(100% - 4em); /* Mobile-first sizing */
}

/* Desktop sizing */
@media ( min-width : 640px ) { .frosted-box { width: 75%; } }
@media ( min-width : 800px ) { .frosted-box { width: 50%; } }

h1
{
  margin: 1rem 0;
  font-size: 4em;
  letter-spacing: 2px;
}

h3
{
  margin: 1rem 0;
  font-size: 2em;
}

ul {
  list-style: none;
  margin: 1rem 0;
  padding: 0;
}

ul li {
  display: inline-block;
  margin: 0;
  padding: 0;
}

ul li a {
  color: white;
  display: inline-block;
  padding: 12px 10px 8px 10px;
  font-size: 1.5em;
  border-radius: 4px;
}

ul li a:hover {
  background: rgba( 255, 255, 255, 0.5 );
}
