.underline {
  position: relative;
}
.underline:before {
  content: "";
  border-bottom: 3px solid #5e574d;
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  transform: scaleX(0);
  transition: transform 300ms ease-in-out;
}
.underline:hover:before {
  transform: scaleX(1);
}

.btn {
  background: #f0f0f0;
  padding: 0.5em 2em;
  cursor: pointer;
  font-size: 1rem;
  text-decoration: none;
  color: black;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  border-radius: 0.5em;
  border: 2px solid #aaa;
}

.pop {
  position: relative;
  transform: scale(1);
  transition: transform 300ms ease-in-out;
}
.pop:before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
  opacity: 0;
  transition: opacity 300ms ease-in-out;
}
.pop:hover {
  transform: scale(1.01);
}
.pop:hover:before {
  opacity: 1;
}

.fill {
  position: relative;
  z-index: 1;
  transition: color 300ms ease-in-out;
}
.fill:before {
  content: "";
  background-color: #5e574d;
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: -1;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 300ms ease-in-out;
}
.fill:hover {
  color: white;
}
.fill:hover:before {
  transform-origin: left;
  transform: scaleX(1);
}

.gradient-move {
  color: black;
  background-image: linear-gradient(45deg, #59c173, #a17fe0, #5d26c1);
  background-position: 0 0;
  background-size: 1000px;
  transition: all 500ms ease-in-out;
}
.gradient-move:hover {
  background-position: -250px 0;
  color: white;
}


input {
  border-radius: 0.5em;
  border: 2px solid black;
  background: #e8e8e8;
  transition: background-color 100ms ease-in-out;
}

input[type=date] {
  padding: 0.5em;
}

input[type=submit] {
  padding: 0.7em 2em;
}

input:hover,
input[type=submit]:focus {
  background: white;
}

input[type=date]:focus {
  background-color: white;
}

input[type=submit]:active {
  background: #aaa;
}


a.back {
  text-decoration: none;
  color: black;
  background-color: #00000000;
  padding: 0.5em 1em;
  border-radius: 0.5em;
  font-family: JetBrains Mono, Roboto, sans-serif;
  transition: background-color 100ms ease-in-out;
}

a.back:hover,
a.back:focus {
  background-color: #00000033;
}