html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, img, ins, kbd, q, s, samp, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, embed, figure, figcaption, footer, header, hgroup, menu, nav, output, ruby, section, summary, time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline
}

article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section {
  display: block
}

body {
  line-height: 1
}

ol, ul {
  list-style: none
}

blockquote, q {
  quotes: none
}

blockquote:before, blockquote:after, q:before, q:after {
  content: "";
  content: none
}

table {
  border-collapse: collapse;
  border-spacing: 0
}

* {
  box-sizing: border-box
}

html, body {
  background-color: #253c70;
  -webkit-user-select: none;
  user-select: none;
  width: 100dvw;
  height: 100dvh;
  overflow: hidden
}

#app {
  display: flex;
  flex-direction: column;
  place-content: center;
  align-items: center;
  height: 100dvh;
  width: 100dvw;
  background-color: #253c70;
  font-family: Arial, sans-serif
}

#selectors {
  height: 10dvh
}

#calendar-box {
  display: flex;
  flex-flow: column nowrap;
  height: 90dvh
}

#anioSelector, #mesSelector {
  padding: 1em;
  margin: .4em;
  width: 40vw;
  text-align: center;
  background-color: #fff;
  border: none;
  font-weight: 700
}

#title {
  height: 10dvh;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  color: #fff;
  font-size: 4.5em
}

#calendario {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  width: 80vw;
  height: 70dvh;
  margin: auto;
  color: #fff
}

.day, .empty, .day-name {
  padding: 20px;
  border: 2px solid #fff;
  min-height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5em
}

.day {
  background-color: #0f214b;
  cursor: pointer;
  transition: .25s
}

.selected {
  background-color: #d2363d
}

.day-name {
  font-size: 1.4em;
  font-weight: 700
}

#reset {
  position: fixed;
  bottom: 10px;
  right: 10px;
  width: 40px;
  height: 40px;
  border: none;
  border-radius: 100%;
  background-color: #fff;
  font-size: 1.5em;
  cursor: pointer;
  background-color: #0f214b;
  color: #fff;
  transition: .18s
}

#reset:hover {
  background-color: #d2363d
}

@media screen and (max-width: 768px) {
  #selectors {
    height: 15dvh;
    display: flex;
    flex-direction: column;
    justify-content: center
  }

  #calendar-box {
    height: 85dvh
  }

  #title {
    font-size: 2.5em
  }

  #calendario {
    width: 90vw;
    height: 100vw;
    margin: 4% 0 0
  }

  #anioSelector, #mesSelector {
    width: 90vw
  }

  .day, .day-name {
    padding: 0;
    font-size: 1.5em;
    font-weight: 500
  }
}