html {
  background: #222222;
  color: #EAEAEA;
}

html {
  box-sizing: border-box;
  width: 100%;
}

*, *:before, *:after {
  box-sizing: inherit;
}

body {
  margin: 0;
  width: 100%;
}

input {
  background: #222222;
  color: #EAEAEA;
}

a {
  text-decoration: none;
  color: #9BE2E4;
}

a:hover {
  text-decoration: underline;
}

html > body > header {
  background: #222222;
  color: #3AACE2;
  margin: 0 1em;
  margin-left: 0.5em;
  margin-right: 0.5em;
  padding: 1em;
  padding-top: 0.5em;
  padding-bottom: 0.5em;
  display: flex;
  border-bottom: #8C8273 0.5em solid;
}

html > body > header > img {
  margin: auto 1em;
  height: 50px;
}

html > body > header > h1 {
  font-size: 2em;
  margin-bottom: 10px;
  margin-top: 10px;
  text-align: center;
}

article {
  display: grid;
  grid-template-columns: 1fr;
  width: 100%;
}

article > div > header {
  background: #3AACE2;
  color: #393939;
  width: 100%;
  margin: 0;
}

article > .wrapper > header {
  grid-column: 1 / -1;
}

article > .wrapper > header h3 {
  margin: 0 0 0.2em 0;
  padding: 0.2em;
}

article > div > div > h4 {
  margin: 0;
  padding: 0.1em;
  grid-column: 1 / -1;
  width: 100%;
  text-align: center;
  background: #393939;
}

article > div {
  background: #222222;
  padding: 0.5em;
  border-radius: 0 0 0.2em 0.2em;
  box-shadow: 0 4px 10px 0 rgba(0, 0, 0, 0.2), 0 4px 20px 0 rgba(0, 0, 0, 0.19);
}

#timetables {
  grid-row: 1;
}

.wrapper {
  display: grid;
  gap: 1.5em;
  padding: 1em;
  width: 100%;
}

@media only screen and (min-width: 720px) {
  .wrapper {
    grid-template-columns: 1fr 1fr;
  }
}

@media only screen and (max-width: 720px) {
  .wrapper {
    grid-template-columns: 1fr;
  }
}

.txt_main {
  color: #3AACE2;
}

#timetables a {
  display: block;
}

#timetables figure {
  width: 64px;
}

#timetables figcaption {
  margin: 0.2rem;
  font-size: x-small;
}

.minilogo {
  background-repeat: no-repeat;
  background-position: right center;
  background-size: contain;
}

.minilogo h3 {
  padding-right: 30px;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(70px, 1fr));
  grid-gap: 0.5rem;
  padding: 0.1rem;
  justify-items: center;
  height: fit-content;
}

figure {
  margin: 0.1;
}

img {
  background-color: #fff;
}
