.button {
  cursor: pointer;
  text-decoration: none;
  transition: all 0.25s ease;
  border-color: black;
  color: black;
  width: 30%;
  display: block;
}
.left-block, .right-block {
  float: left;
  box-sizing: border-box;
}
.left-block {
  width: 70%;
  padding-right: 25px;
}
.right-block {
  width: 30%;
  padding-left: 25px;
}
#t {
  margin-top: 25px;
  margin-bottom: 25px;
  font-weight: bold;
}
.entry {
  transition: background 0.25s ease;
  margin-top: 25px;
  margin-bottom: 25px;
}
.entry-info {
  margin-bottom: 10px;
}
.author {
  font-weight: bold;
}
.date, .time {
  font-style: italic;
}
.guestbook-links {
  margin: 1rem 0;
  text-align: center;
}
.guestbook-links a {
  padding: 1rem 4rem;
  display: inline-block;
  margin: 0 0.5rem;
}
.links {
  display: flex;
  justify-content: space-between;
}
.links a {
  text-align: center;
  padding: 0.5rem;
  margin: 0.5rem 0;
}
.manage-entry {
  overflow: hidden;
  height: 100px;
}
.manage-entry .entry-left {
  width: calc(80% - 2em);
  float: left;
  position: relative;
  top: 50%;
  transform: translateY(-50%);
  padding-right: 2em;
}
.manage-entry .entry-options {
  box-sizing: border-box;
  width: 20%;
  float: left;
  border-left: solid 2px #cddbe2;
  text-align: center;
  padding: 1em 0;
  position: relative;
  top: 50%;
  transform: translateY(-50%);
}
.icon {
  color: #000;
  font-size: 1.25em;
  font-weight: bold;
  display: inline-block;
  margin: 0 1.5em 0 0;
}
img.icon {
  max-height: 0.75em;
  margin-left: -0.25rem;
  margin-right: 0;
}
.checkmark {
  display: inline-block;
}
.checkmark:after {
  content: '';
  display: block;
  width: 7px;
  height: 14px;
  border: solid #000;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}
textarea:focus, input:focus{
  outline: none;
}
.form-element {
  width: 100%;
  display: block;
  margin: 1em 0;
  padding: 0.5em;
  border: none;
  resize: none;
  color: #000;
  border-color: black;
  border: solid;
  border-width: thin;
}
.form-element:focus {
  color: #000;
  border-color: black;
  border: solid;
  border-width: thin;
}
.form-button {
  padding: 1rem 4rem;
  display: inline-block;
  border: none;
  margin-right: 0.5rem;
  transition: all 0.25s ease;
  border-color: black;
  border: solid;
  border-width: thin;
}
.form-button:hover {
  cursor: pointer;
  text-decoration:underline;
}
.overlay {
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(0, 0, 0, 0.7);
  transition: opacity 500ms;
  visibility: hidden;
  opacity: 0;
}
.overlay:target {
  visibility: visible;
  opacity: 1;
}


.popup {
  margin: 23px auto;
  padding: 20px;
  background: #fff;
  border-radius: 5px;
  width: 40%;
  position: relative;
  transition: all 5s ease-in-out;
}
.popup h2 {
  margin-top: 0;
  color: #333;
  font-family: Tahoma, Arial, sans-serif;
}
.popup .close {
  position: absolute;
  top: 20px;
  right: 30px;
  transition: all 200ms;
  font-size: 30px;
  font-weight: bold;
  text-decoration: none;
  color: #333;
}
.popup .close:hover {
  color: #b80000;
}
.popup .content {
  max-height: 30%;
  overflow: auto;
}
form:invalid input[type="submit"] {
  opacity: 0.5;
  cursor: not-allowed;
}
form:valid input[type="submit"] {
  opacity: 1;
  cursor: pointer;
}
@-webkit-keyframes fadeOut {
  0% {
    opacity: 1;
 }
  99% {
    opacity: 0.01;
    width: 100%;
    height: 100%;
 }
  100% {
    opacity: 0;
    width: 0;
    height: 0;
 }
}
@keyframes fadeOut {
  0% {
    opacity: 1;
 }
  99% {
    opacity: 0.01;
    width: 100%;
    height: 100%;
 }
  100% {
    opacity: 0;
    width: 0;
    height: 0;
 }
}
@keyframes fadeIn {
  0% {
    opacity: 0;
 }
  100% {
    opacity: 1;
 }
}
@-moz-keyframes fadeIn {
  0% {
    opacity: 0;
 }
  100% {
    opacity: 1;
 }
}
@-webkit-keyframes fadeIn {
  0% {
    opacity: 0;
 }
  100% {
    opacity: 1;
 }
}
@-o-keyframes fadeIn {
  0% {
    opacity: 0;
 }
  100% {
    opacity: 1;
 }
}
@-ms-keyframes fadeIn {
  0% {
    opacity: 0;
 }
  100% {
    opacity: 1;
 }
}