@font-face {
  font-family: 'ronda';
  src: url('https://static.tumblr.com/rmj06l2/kcLlo1q2y/pf_ronda_seven.ttf');
}

@font-face {
  font-family: pixel;
  src: url(https://dl.dropbox.com/s/kmhe7d3n18vdz5e/w95fa.woff?dl=0);
}

body {
  margin: 0;
  padding: 0;
  font-family: 'pixel', monospace;
  color: #fff;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.7);
}

/* Estilos para la pÃƒÂ¡gina principal */
body.home-page {
  background: url('https://i.imgur.com/fTWAgp5.png') no-repeat center center fixed;
  background-size: cover;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
}

/* Estilos para la pÃƒÂ¡gina del calendario */
body.calendar-page {
  background: url('https://i.imgur.com/fTWAgp5.png') no-repeat center center fixed;
  background-size: cover;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 100vh;
  padding-top: 50px;
}

/* Contenedor principal para centrar el contenido en ambas pÃƒÂ¡ginas */
.container {
  max-width: 900px;
  width: 100%;
  padding: 20px;
  box-sizing: border-box;
  text-align: center;
}

a:link,
a:visited,
a:active {
  color: #f0f0f0;
  text-decoration: none;
}

a:hover {
  color: #5DA45D;
}

b {
  font-weight: bold;
  color: #039089;
}

i {
  color: #444;
  font-style: normal;
}

::-webkit-scrollbar-thumb {
  background-color: #005555;
  border-radius: 5px;
}

::-webkit-scrollbar {
  width: 5px;
  height: 0px;
  background: transparent;
}

.pixel-button {
  position: relative;
  display: inline-block;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.1s ease-in-out;
}

.pixel-button:hover {
  transform: translateY(1px);
}

.pixel-button img.normal {
  display: block;
}

.pixel-button img.hovered {
  display: none;
}

.pixel-button:hover img.normal {
  display: none;
}

.pixel-button:hover img.hovered {
  display: block;
}

.pixel-button .button-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
  font-size: 8px;
  font-weight: bold;
  pointer-events: none;
  user-select: none;
  text-shadow: -1px -1px 0 #000, 1px -1px 0 #000, -1px 1px 0 #000, 1px 1px 0 #000;
  font-family: 'Press Start 2P', monospace;
  white-space: nowrap;
}

.navigation-menu {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 5px;
  margin-bottom: 40px;
}

.nav-button .button-text {
  font-size: 8px;
}

.bottom-message {
  font-family: 'Silkscreen', monospace;
  font-size: 10px;
  color: #D4F9D6;
  margin-top: 20px;
}

/* Estilos exclusivos para la grilla de la pÃƒÂ¡gina principal */
body.home-page .main-buttons-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  max-width: 500px;
  margin: 0 auto 40px auto;
}

body.home-page .main-button .normal,
body.home-page .main-button .hovered {
  width: 230px;
  height: 36px;
}

body.home-page .main-button .button-text {
  font-size: 10px;
}

/* Estilos exclusivos para el calendario */
body.calendar-page .calendar-section {
  background-color: rgba(0, 0, 0, 0.4);
  padding: 20px;
  border-radius: 10px;
  max-width: 600px;
  margin: 40px auto;
  box-shadow: 0 0 15px rgba(0, 255, 255, 0.5);
}

body.calendar-page .calendar-header {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 20px;
}

body.calendar-page .calendar-nav-button .normal,
body.calendar-page .calendar-nav-button .hovered {
    width: 30px;
    height: 30px;
}

body.calendar-page .calendar-title {
  font-family: 'Press Start 2P', monospace;
  font-size: 18px;
  color: #D4F9D6;
  margin: 0 20px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
  white-space: nowrap;
}

body.calendar-page .weekdays-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  text-align: center;
  font-family: 'Press Start 2P', monospace;
  font-size: 10px;
  color: #B4E8B7;
  margin-bottom: 10px;
  padding-bottom: 5px;
  border-bottom: 1px dashed #71C471;
}

body.calendar-page .calendar-days-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 5px;
}

body.calendar-page .calendar-day-button {
  display: block;
  width: 100%;
  height: 60px;
  position: relative;
  overflow: hidden;
}

body.calendar-page .calendar-day-button img.normal,
body.calendar-page .calendar-day-button img.hovered {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
}

body.calendar-page .calendar-day-button .button-text {
  font-size: 10px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

body.calendar-page .empty-day {
  visibility: hidden;
}