@import url('https://fonts.googleapis.com/css?family=Gochi+Hand|Just+Another+Hand|Neucha');

body {
  background:#fbdcdc;
  font-family: "Neucha", sans-serif;
  font-size: 18px;
  letter-spacing: 0.1em;
  background-image: url('images/water.gif');
   background-size: 300px;
  }
  
.top-box {
  background: #f5bcdd;
  color: #dd5c88;
  max-height: 400px;
  overflow: auto;
  margin: 20%;
  margin-top: 8%;
  margin-bottom: 8%;
  padding: 3%;
  padding-top: 1%;
  border-radius: 5px;
  border: 2px solid #161c24;
  }
  
.main-box {
  background: #ffe0e0;
  color: #161c24;
  max-height: 600px;
  overflow: auto;
  margin: 20%;
  margin-top: 0%;
  margin-bottom: 8%;
  padding: 3%;
  padding-top: 1%;
  border-radius: 5px;
  border: 4px solid #dd5c88;
  }
  
a {
  color: #dd5c88;
  
  }
  
h1 {
  text-align: center;
  padding: 0%;
  font-size: 24px;
  color: #dd5c88;
  }

h2 {
  text-align: left;
  padding: 0%;
  font-size: 24px;
  color: #dd5c88;
  }

.hh {
  font-weight: bold;
  text-align: center;
  padding: 1%;
  margin: 1%;
  margin-top: 1.5%;
  font-size: 30px;
  color: #dd5c88;
  }
/* The navbar of tabs. The illusion of a tab connecting into the main box is created by
 * giving the nav tab links an extra thick bottom border that covers the top border of
 * the main content box, and making the "current" tab's bottom border the same color
 * as the inside of the box. 
 * Some padding trickery is needed to maintain this illusion without weird janky corner
 * bits being visible, so if you change the border thickness, BE AWARE you may need to
 * fiddle with this to make everything look nice again. 
 */
.navigation {
  margin-bottom: -2px; /* cover the top border of the main box */
  margin-left: 40%;
  }
  
.navigation a {
  color: #edf2ed;
  font-weight: bold;
  text-decoration: none;
  text-transform: uppercase;
  line-height: 1.05rem; /* our padding trick makes buttons weirdly tall, so this helps fix it */
  }
  
.nav-button {
  background: #dd5c88;
  padding: 0.35em 1.5em 0em 1.5em;
  border-radius: 15px 15px 0 0;
  display: inline-block;
  text-align: center;
  border-bottom: 4px solid #dd5c88;
  }
  
/* For the link to the page you're currently on. */
.navigation .current-page {
  background: #f5afd0;
  color: #123923;
  border: 2px solid #f5afd0;
  border-bottom: 4px solid #dd5c88;
  margin-bottom: -2px; /* fiddly trickery to make the 'tab connecting to main' illusion work. */
  padding-top: 6px;
  padding-bottom: 2px;
  border-radius: 15px 15px 5px 5px; /* round bottom corners to minimize visibly janky edges */
  }
  
.nav-button:focus-within {
  outline: 2px solid #f5afd0;
  background: #aa4668;
  border-bottom-color: #aa4668;
  }