/* Basic Style */
body {
  background: #4c6a8f;
  color: #fff;
  font-family: Lato, sans-serif;
  margin: 0;
}

.container {
  display: flex;
  flex-direction: column;
  width: 400px;
  justify-content: center;
  margin: auto;
}

ul {
  margin: 0;
  padding: 0;
}

li * {
  float: left;
}

li, h3 {
  clear: both;
  list-style: none;
}

input, button {
  outline: none;
}

button {
  background: none;
  border: 0px;
  color: #1C2541;
  font-size: 15px;
  width: 60px;
  margin: 10px 0 0;
  font-family: Lato, sans-serif;
  cursor: pointer;
}

button.edit:hover {
  color: #5BC0BE;
}

/* Heading */
h3,
label[for=new-entry] {
  color: #0B132B;
  font-weight: 700;
  font-size: 15px;
  border-bottom: 2px solid #0B132B;
  padding: 30px 0 10px;
  margin: 0;
  text-transform: uppercase;
  text-align: left;
}

input[type=text],
input#new-entry-time {
  margin: 0;
  font-size: 18px;
  line-height: 18px;
  height: 18px;
  padding: 10px;
  border: 0;
  background: #c7cddf;
  border-radius: 6px;
  font-family: Lato, sans-serif;
  color: #fff;
}

input#new-entry-time:focus,
input[type=time]:focus {
  color: #333;
}

input[type=time]::-webkit-inner-spin-button,
input[type=time]::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

/* New Entry */
label[for=new-entry] {
  display: block;
  margin: 0 0 20px;
}

input#new-entry {
  width: 200px;
}

input#new-entry-time {
  width: 120px;
  text-align: center;
}

p > button:hover {
  color: #0FC57C;
}

button.add {
  margin-top: 20px;
}

/* Journal Entries */
li {
  overflow: hidden;
  padding: 20px 0;
  border-bottom: 2px solid #0B132B;
}

li > input[type=time],
li > label {
  font-size: 18px;
  line-height: 40px;
  width: 225px;
  padding: 0 0 0 11px;
}

li > input[type=text] {
  width: 225px;
}

li > input[type=time] {
  margin: 0;
  font-size: 18px;
  line-height: 20px;
  height: 20px;
  width: 100px;
  padding: 10px;
  border: none;
  background-color: transparent;
  font-family: Lato, sans-serif;
  color: #fff;
}

li > .delete:hover {
  color: #CF2323;
}

/* Edit Entry */
ul li input[type=text] {
  display: none;
}

ul li.editMode > input[type=text] {
  display: block;
}

li.editMode > input[type=time] {
  margin: 0;
  font-size: 18px;
  line-height: 18px;
  height: 18px;
  padding: 10px;
  border: 1px solid #ddd;
  background: #fff;
  border-radius: 6px;
  font-family: Lato, sans-serif;
  color: #888;
}

li.editMode > input[type=time]:focus {
  color: #333;
}

ul li.editMode label {
  display: none;
}

h1 {
    margin-bottom: -20px;
  color: #0B132B
}



#article {
  padding: 10% 15% 1%;
}


a {
  color:yellow;
}