:root {
  --teal: #1e7680;
  --darkteal: #106470;
  --lightteal: hsl(186 62% 35%);
  --red: hsl(355deg 55% 41%);
  --darkred: hsl(355deg 55% 41%);
  --green: hsl(141deg 45% 33%);
  --darkgreen: hsl(141deg 45% 33%);
}

body {
  font-family: verdana, sans-serif;
  margin: 0;
  padding: 0;
  font-size: .9em;
}

h2 {
  font-weight: normal;
  font-size: 1.1em;
  color: var(--darkteal);
}

h3 {
  font-size: 1em;
}

button {
  padding: 8px 12px;
  background-color: var(--teal);
  color: white;
  border: none;
  border-radius: 5px;
  box-shadow: 2px 2px 2px 0px rgba(0, 0, 0, 0.3);
  cursor: pointer;
  font-family: verdana, sans-serif;
  display: block;
  text-align: left;
  width: auto;
}

button:hover,
button:focus-visible {
  background: var(--lightteal);
}

ul {
  list-style-type: none;
  padding: 0;
}

li {
  margin: 10px 0;
}

select {
  font-size: 1em;
  font-family: verdana, sans-serif;
}

a {
  color: var(--darkteal);
  display: inline;
  font-weight: normal;
  cursor: pointer;
  text-decoration: underline;
}

a:hover,
a:focus-visible {
  text-decoration-thickness: 2px;
}

button:disabled {
  opacity: 0.7;
  pointer-events: none;
}

/*summary {
  margin-bottom: 1em;
}

details summary::marker {
  content: none;
}

details summary::after {
  content: '';
  display: inline-block;
  border: solid var(--darkteal);
  border-width: 0 1px 1px 0;
  padding: 3px;
  -moz-transform: rotate(-45deg);
  -webkit-transform: rotate(-45deg);
  transform: rotate(-45deg);
  position: relative;
  right: -4px;
  top: -1px;
  height: 1px;
  width: 1px;
}

details[open] summary::after {
  -moz-transform: rotate(45deg);
  -webkit-transform: rotate(45deg);
  transform: rotate(45deg);
  position: relative;
  right: -8px;
  top: -4px;
}*/

/*Proverbs*/
#title {
  text-align: center;
}

#proverbandauthor {
  border: solid var(--teal);
  border-width: 1px 0;
  margin-bottom: 1em;
  font-size: .9em;
}

#author {
  font-style: italic;
  text-align: right;
}

#quiz {
  margin: 0 auto;
}

#options {
  display: none;
}

#options button {
  margin-bottom: 6px;
  width: 100%;
}

.correct,
.correct:hover,
.correct:focus-visible {
  background-color: var(--green);
}

.incorrect,
.incorrect:hover,
.incorrect:focus-visible {
  background-color: var(--red);
}

.optime {
  color: var(--darkgreen);
}

.eheu {
  color: var(--darkred);
}

/*Today's date*/
#dateconversion {
  padding-top: 1em;
  border: solid var(--teal);
  border-width: 0 0 1px;
  margin: 0 0 1em 0;
  position: sticky;
  top: 0;
}

#dateconversion #dateenglish {
  margin-top: 0;
}

/*Date calculator*/
form#dateForm {
  border: 1px solid var(--teal);
  border-width: 0 0 1px;
  padding: 1em 0;
}

/*Dateshort*/
body.dateshort {
  text-align: right;
  font-size: 13px;
}

.dateshort > * {
  color: #fff;
  padding: 0;
}

.dateshort #dateenglish {
  margin-bottom: 4px;
}