* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

main {
  max-width: 60rem;
  margin: auto;
  padding: 3px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-gap: 3px;
}

.date, .notes, .weather, .fridge, .freezer, .power {
  aspect-ratio: 1 / 1;
  background-color: red;
}

main > div:not(.stats) {
  padding: 2px;
  border-radius: 6px;
  display: flex;
  flex-direction: column;
  align-items: center;
  cursor: pointer;
}

.stats > div {
  border-radius: 6px;
  display: flex;
  flex-direction: column;
  align-items: center;
  overflow: hidden;
}

.notes {
  background-color: #54c0eb;
}

.date {
  justify-content: space-evenly;
  font-size: 2.8rem;
  background-color: #e15b5b;
}

.weather {
  background-color: #273B7A;
}

.stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-gap: 3px;
  background-color: whitesmoke;
}

.stats > div:not(.menu) > div:not(.label) {
  height: 100%;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: grey;
  color: white;
}

.power > div:not(.label) {
  font-size: 2.3rem;
}

.freezer > div:not(.label), .fridge > div:not(.label) {
  font-size: 3rem;
}

.menu {
  justify-content: center;
  font-size: 5.5rem;
  padding-bottom: .5rem;
  cursor: pointer;
}

.label {
  width: 100%;
  padding: 2px 0;
  background-color: darkgray;
  display: flex;
  justify-content: center;
}

.photos, .recipes, .grocery {
  aspect-ratio: 3 / 2;
  background-size: cover;
  color: white;
  font-size: 3rem;
  text-shadow: 1px 1px black;
}

.photos {
  grid-column: 1 / 5;
  background-color: red;
  background-image: url('./photosharing.jpeg');
  box-shadow: inset 0 10px 100px black;
}

.recipes {
  grid-column: 1 / 3;
  background-color: red;
  background-image: url('./recipe.jpeg');
  box-shadow: inset 0 10px 20px black;
}

.grocery {
  grid-column: 3 / 5;
  background-color: red;
  background-image: url('./groceries.jpeg');
  box-shadow: inset 0 10px 20px black;
}