html, body {
	margin: 0;
}

* {
	box-sizing: border-box;
}

header {
	display: flex;
	flex-direction: row;
	align-items: center;
	justify-content: space-between;
	color: #fff;
	background-color: #153;
	background: linear-gradient(to right, #153, #032);
	padding: 1em;
	box-shadow: 0 0 1em #000;
	text-shadow: 0 0 0.25em #000, 0 0 0.25em #000;
}

h1 { 
	margin: 0; 
}

.logo {
	vertical-align: bottom;
	height: 1.125em;
}

.menu {
	display: flex;
	flex-direction: row;
	list-style-type: none;
	margin: 0;
	padding: 0;
}

.menu > li {
	cursor: pointer;
	margin: 0 1rem;
	overflow: hidden;
}

.menu-button-container {
	display: none;
	height: 100%;
	width: 30px;
	cursor: pointer;
	flex-direction: column;
	justify-content: center;
	align-items: center;
}

#menu-toggle { display: none; }

.menu-button,
.menu-button::before,
.menu-button::after {
  display: block;
  background-color: #fff;
  position: absolute;
  height: 4px;
  width: 30px;
  transition: transform 400ms cubic-bezier(0.23, 1, 0.32, 1);
  border-radius: 2px;
}

.menu-button::before {
	content: '';
	margin-top: -8px;
}

.menu-button::after {
	content: '';
	margin-top: 8px;
}

#menu-toggle:checked + .menu-button-container .menu-button::before {
	margin-top: 0px;
	transform: rotate(405deg);
}

#menu-toggle:checked + .menu-button-container .menu-button {
	background: rgba(255, 255, 255, 0);
}

#menu-toggle:checked + .menu-button-container .menu-button::after {
	margin-top: 0px;
	transform: rotate(-405deg);
}

@media (max-width: 700px) {
  .menu-button-container {
    display: flex;
  }
  .menu {
    position: absolute;
    top: 0;
    margin-top: 70px;
    left: 0;
    flex-direction: column;
    width: 100%;
    justify-content: center;
    align-items: center;
  }
  #menu-toggle ~ .menu li {
    height: 0;
    margin: 0;
    padding: 0;
    border: 0;
    transition: height 400ms cubic-bezier(0.23, 1, 0.32, 1);
  }
  #menu-toggle:checked ~ .menu li {
    border: 1px solid #333;
    height: 2.5em;
    padding: 0.5em;
    transition: height 400ms cubic-bezier(0.23, 1, 0.32, 1);
  }
  .menu > li {
    display: flex;
    justify-content: center;
    margin: 0;
    padding: 0.5em 0;
    width: 100%;
    color: white;
    background-color: #222;
  }
  .menu > li:not(:last-child) {
    border-bottom: 1px solid #444;
  }
}

section {
	margin: 1em;
	text-align: center;
}

label {
  font-size: 1.5em;
  font-weight: bold;
  display: block;
}

/* Full-width inputs */
input[type=text], input[type=password], input[type=number], input[type=tel] {
  text-align: center;
  font-size: 1.5em;
  width: 100%;
  padding: 12px 20px;
  margin: 0.25em 0 0.5em 0;
  display: inline-block;
  border: 1px solid #ccc;
  box-sizing: border-box;
}
input[type=file] { display: none; }

/* Set a style for all buttons */
button {
  background-color: #153;
  color: white;
  padding: 0.5em;
  margin: 0.25em 0;
  border: none;
  cursor: pointer;
  width: 100%;
  font-size: 1.5em;
  font-weight: bold;
  text-shadow: 0 0 0.25em #000;
  box-shadow: 0 0 0.25em #000;
}
button:disabled { background-color: #ccc; }

/* Add a hover effect for buttons */
button:hover {
  opacity: 0.8;
}

/* Add padding to containers */
.container, table {
  border: 3px solid #eee;
  padding: 1em;
}

.center { margin-left: auto; margin-right: auto; }

table { 
  border-collapse: collapse; 
  margin: 1em 0;
}

tr:hover { 
  background-color: #f7f7f7; 
}

td:hover {
  cursor: pointer;
}

th, td {
  border-top: 1px solid #ccc;
  border-bottom: 1px solid #ccc;
  padding: 1em 0.25em;
}

th { background-color: #f7f7f7; }
