body {
  background-color: #fefefa;
  font-family: 'Roboto', 'Open Sans', sans-serif;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
   user-select: none;
}

article {
  cursor: pointer;
}

button {
  width: 100px;
}

h1 {
  padding: 0;
  text-align: center;
  margin: 0.3em 0 0 0;
  font-size: 1.8em;
}

h2 {
  padding: 0;
  margin: 0.6em 0 0.1em 0;
  font-size: 1.2em;
  text-align: center;
}

input {
  font-size: 1.25em;
}

select {
  font-size: 2em;
}

.buttonsContainer,
.inputs {
  display: flex;
  flex-direction: row;
  justify-content: space-evenly;
}

.buttonsContainer {
  margin: 1em 0 0 0;
  font-size: 1.3em;
}

.container {
  display: flex;
  margin: 3% 3% 0 3%;
  flex-direction: column;
}

.containerError {
  display: flex;
  margin: 0% 3% 0 3%;
  flex-direction: column;
}

.cancelButton,
.deleteButton,
.deleteButtonConfirm {
  display: flex;
  flex-direction: column;
  justify-content: center;
  color: #007bff;
}

.deleteButtonConfirm {
  color: red;
  animation: wiggle 1.0s infinite;
  text-decoration: underline;
}

.cancelButton div,
.deleteButton div,
.deleteButtonConfirm div {
  height: 50%;
  cursor: pointer;
}

.entryList {
  margin-top: 0.6em;
}

.entryTimestampCurrent {
  padding-left: 0.6em;
}

.entryTimestampPast {
  padding-left: 0.6em;
  color: red;
}

.entryTimestampFuture {
  padding-left: 0.6em;
}

.flexCenter {
  height: 100vh;
  align-items: center;
  justify-content: center;
}

.loaderAnimation {
  display: block;
  width: 250px;
  height: 250px;
  background-image: url('loader.gif');
  background-repeat: no-repeat;
  background-size: cover;
}

.loaderText {
  margin-top: 0.5em;
  padding-bottom: 1em;
  font-size: 2em;
  text-align: center;
}

.notCurrent {
  opacity: 0.3;
}

@keyframes wiggle {
  0% { transform: rotate(0deg); }
 10% { transform: rotate(10deg); }
 20% { transform: rotate(-10deg); }
 30% { transform: rotate(0deg); }
100% { transform: rotate(0deg); }
}

@media (min-width: 400px) {
  button {
    width: 125px;
  }
  
  h1 {
    padding: 0;
    text-align: center;
    margin: 0.5em 0 0 0;
    font-size: 2em;
  }
  
  h2 {
    margin: 0.8em 0 0.3em 0;
    font-size: 1.6em;
  }
  
  input {
    font-size: 1.6em;
  }

  .buttonsContainer {
    margin: 1.2em 0 0 0;
    font-size: 1.5em;
  }
}

@media (min-width: 500px) {
  button {
    width: 150px;
  }
  
  h2 {
    margin: 0.9em 0 0.4em 0;
  }

  input {
    width: 220px;
  }
}

@media (min-width: 600px) {
  button {
    width: 175px;
  }
  
  h2 {
    margin: 0.9em 0 0.5em 0;
  }

  input {
    width: 240px;
  }
}

@media (min-width: 700px) {
  .container, 
  .containerError {
    width: calc(700px - 6%);
  }

  button {
    width: 200px;
  }
  
  h2 {
    margin: 1em 0 0.6em 0;
  }

  input {
    width: 270px;
  }
}
