html, body {
  margin: 0;
  height: 100%;
}

body {
  background-image: url('./background.jpeg');
  background-size: cover;
  background-attachment: fixed;

  font-family: 'Lato', 'Open Sans', sans-serif;
}

ul, ol {
  list-style: none;
  padding: 0;
  margin: 0;
}

a, a:visited {
  color: white;
  font-weight: 100;
}

a:hover {
  text-decoration: none;
}

p {
  font-weight: 100;
}

#menu, #settings {
  position: fixed;
  right: 20px;
  top: 20px;
}

#menu li, #settings li {
  display: inline;
  margin-right: 20px;
}

#modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;

  padding: 0;
  margin: 0;
  display: flex;
  display: none;
  align-items: center;
  justify-content: center;
  background-image: linear-gradient(00deg,transparent,rgba(0, 0, 0, 0.3) 100%);
}

#modal .content {
  position: relative;
  width: auto;
  background: rgba(0, 0, 0, .3);
  max-width: 400px;
  padding: 50px;
  box-shadow: 5px 5px 30px 0px black;
  color: white;
  font-weight: 100;
}

#modal .content table td:nth-child(2) {
  padding-left: 10px;
  text-align: right;
}

.container {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background-image: linear-gradient(00deg,transparent,rgba(0, 0, 0, 0.3) 100%);
}

h1 {
  margin: 0;
  font-size: 48px;
  font-weight: bold;
  color: white;
  text-transform: uppercase;
}

.form {
  display: flex;
  justify-content: flex-end;
  margin-top: 50px;
  margin-bottom: 50px;
}

input#email {
  box-sizing: border-box;
  border: 0;
  height: 48px;
  width: 320px;
  font-size: 18px;
  padding: .75rem 1.25rem;
  background: white;
  color: #555459;
  font-weight: 700;
  vertical-align: bottom;
  margin: .5rem .25rem;
  border-radius: .25rem;
}

button#signup {
  height: 48px;
  width: 160px;
  background: transparent;
  color: white;
  outline: 0;
  border: 0;
  border-radius: .25rem;
  border: 2px solid white;
  margin: .5rem .25rem;
  padding: .25rem;
  font-size: 18px;
  cursor: pointer;
  -webkit-transition: background linear .3s, color linear .3s;
  transition: background linear .3s, color linear .3s;
}

button#signup:active {
  border: 3px solid white;
}

button#signup.confirm {
  color: #555459;
  background: white;
}

#message {
  color: white;
  font-weight: 300;
  font-style: italic;
  position: relative;
  top: -40px;
  left: 10px;
}

#background {
  background-image: url('./background.jpeg');
  background-size: 100%;
  height: 100%;
  position: fixed;
}

.diary {
  max-width: 600px;
  margin: 0 auto;
  padding-top: 20px;
}

.empty {
  background: rgba(0, 0, 0, .3);
  margin-top: 150px;
  margin-bottom: 30px;
  padding: 50px;
  box-shadow: 5px 5px 30px 0px black;
  color: white;
}

.entry {
  background: rgba(0, 0, 0, .3);
  margin-top: 50px;
  margin-bottom: 30px;
  padding: 50px;
  box-shadow: 5px 5px 30px 0px black;
  color: white;
}

.written {
  display: block;
  text-align: right;
  margin-top: 30px;
}

.small {
  font-size: .85rem
}
