p,
h1,
h2,
h3 {
  font-family: "Stack Sans Headline", sans-serif;
}

body {
  background-image: url("./images/background.jpg");
  background-size: 15em;
  margin: 0;
}

header {
  background-color: white;
}

#logo {
  display: block;
  margin: 2em auto;
  max-width: 500px;
  width: 80%;
}

#days {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-evenly;
  margin: 0 auto;
  max-width: 1200px;
}

.days__day {
  background-color: black;
  border: 4mm ridge blueviolet;
  border-radius: 10px;
  cursor: pointer;
  height: 300px;
  margin: 1em;
  overflow: hidden;
  position: relative;
  transform: scale(1);
  transition: transform 0.5s;
  width: 300px;
}

.days__day.day-green {
  border: 4mm ridge forestgreen;
}

.days__day.day-blue {
  border: 4mm ridge royalblue;
}

.days__day.day-yellow {
  border: 4mm ridge yellow;
}

.days__day.day-pink {
  border: 4mm ridge blueviolet;
}

.days__day.day-red {
  border: 4mm ridge red;
}

.days__day.opened {
  border: 4mm ridge white;
}

.days__day.disabled {
  border: 4mm ridge black;
  cursor: not-allowed;
}

.days__day:hover {
  transform: scale(1.05);
  transition: transform 0.5s;
}

.days__day.disabled:hover {
  transform: scale(1);
  transition: transform 0.5s;
}

.days__day_number {
  align-content: center;
  color: white;
  font-size: 2em;
  height: 300px;
  margin: 0;
  position: absolute;
  text-align: center;
  width: 300px;
  z-index: 1;
}

.days__day.opened .days__day_number {
  display: none;
}

@media only screen and (min-width: 780px) {
  .days__day,
  .days__day_number {
    height: 200px;
    width: 200px;
  }
}

.days__day_image {
  height: 100%;
  filter: blur(9px) hue-rotate(45deg) opacity(0.8);
  transform: scale(1.5);
}

.days__day.opened .days__day_image {
  filter: opacity(1);
  transform: scale(1);
}

.days__day.disabled .days__day_image {
  filter: blur(9px) saturate(0) opacity(0.8);
}

#popup {
  align-items: center;
  background-color: rgba(0, 0, 0, 0.7);
  bottom: 100%;
  display: none;
  height: 100vh;
  left: 0%;
  position: fixed;
  right: 100%;
  top: 0%;
  width: 100vw;
  z-index: 10;
}

#popup__content {
  background-color: white;
  border-radius: 10px;
  display: none;
  margin: auto;
  max-width: 700px;
  min-height: 300px;
  padding: 3em 2em 2em;
  position: relative;
  width: 80%;
}

#popup__content_close {
  cursor: pointer;
  opacity: 0.7;
  position: absolute;
  right: 1em;
  top: 1em;
  width: 20px;
}

#popup__content_image {
  border-radius: 10px;
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.5);
  display: block;
  height: 300px;
  margin: 0 auto 2em;
  overflow: hidden;
  transform: scale(1);
  transition: transform 0.5s;
  width: 300px;
}

#popup__content_image:hover {
  transform: scale(1.05);
  transition: transform 0.5s;
}

#popup__content_image img {
  height: 100%;
}

#popup__content_title,
#popup__content_artist,
#popup__content_year {
  margin: 0 0 0.5em;
  text-align: center;
}

#popup__content_year {
  font-size: 0.8em;
  font-weight: 100;
}
