:root {
  --maincolor: #2aa198;
  --background: #fdf6e3;
  --inputbg: #eee8d5;
}

html {
  background-color: var(--background);
  font-family: 'DM Mono';
  color: #586e75;
}

body {
  margin: 1rem;
}

h1,
h2 {
  font-weight: normal;
  font-size: 24px;
  padding: 0px;
  padding-top: 0;
  color: #073642;
}

.byline {
  font-size: 16px;
  text-align: center;
}

.byline a {
  font-weight: bold;
  text-decoration: underline;

  color: #859900;
}

.provider {
  color: #2aa198;
}

.description {
  font-size: 14px;
  text-align: justify;
}

.content {
  display: flex;
  align-items: center;
  padding: 4rem;
}

.left {
  width: 50%;
  max-width: 30rem;
  float: none;
  margin: auto;
  text-align: left;
}

.right {
  width: 50%;
  float: none;
  margin: auto;
  text-align: center;
}

.weather {
  display: inline;
}

.weather img {
  vertical-align: top;
}

img {
  vertical-align: middle;
}

.weather span {
  font-size: 20px;
  padding: 5px;
  padding-right: 14px;
}

.searchbar {
  width: 80%;
  padding: 6px 6px;
  background-image: url(https://icongr.am/feather/search.svg?size=18&color=black);
  background-position: 99% 0.3em;
  background-repeat: no-repeat;
  background-color: var(--inputbg);
  padding-right: 30px;
  border: 2px solid #073642;
}

.loader {
  animation-name: spin;
  animation-duration: 5000ms;
  animation-iteration-count: infinite;
  animation-timing-function: linear;
}

@keyframes spin {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

@media screen and (max-width: 800px) {
  .right {
    display: none;
  }
}

#calendar {
  width: 500px;
  margin: 20px auto;
}

#calendar-navigation {
  display: flex;
  justify-content: space-between;
  margin-bottom: 10px;
}

input[type="button"] {
  background: none;
  color: #073642;
  border: none;
  cursor: pointer;
  font-size: 14px;
  padding: 5px 10px;
}

th,
td {
  padding: 15px;
  text-align: center;
  height: calc(100% / 3);
}

th {
  font-size: 32px;
  font-weight: normal;
}

td {
  font-size: 20px;
}

td:hover::after {
  content: attr(data-gregorian);
  position: absolute;
  background-color: black;
  color: white;
  padding: 5px;
  font-size: 20px;
}

.current-day {
  outline: 2px dashed var(--maincolor);
  outline-offset: -10px;
  color: #268bd2
}

.icon-row {
  display: flex;
  gap: 10px;
  margin-top: 10px;
  justify-content: center;
}