html {
  background-color: rgb(234, 234, 234);
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}

body {

 }

header {
  width: 100%;
  max-width: 600px;
  margin: 0 auto;
}

main {
  max-width: 600px;
  margin: 0 auto;
}

img#header {
  width: 100%;
}

@media screen and (min-width: 992px) {
  header {
    max-width: 768px;
  }

  main {
    max-width: 768px;
  }
}

@media screen and (min-width: 1200px) {
  header {
    max-width: 992px;
  }

  main {
    max-width: 992px;
  }
}

#advent-calendar {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  margin: 1rem;
  /* padding-left: 12rem;
  padding-right: 12rem; */
}

.advent-box {
  text-align: center;
  border: 3px solid transparent;
  aspect-ratio: 4 / 5;
  margin: 0.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: relative;
}

.advent-box.can-open {
  border: 5px solid #98b330;
}

.advent-box h1 {
  margin: 0;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  color: white;
  font-family: serif;
  opacity: 75%;
}

.advent-box img {
  width: 100%;
  height: 100%;
}

@media only screen and (min-width: 768px) {
  .advent-box h1 {
    font-size: 4rem;
  }
}

.vorhang.open {
  animation-name: open-vorhang;
  animation-duration: 1s;
}

@keyframes open-vorhang {
  from {
    opacity: 100%;
  }
  to {
    opacity: 0%;
  }
}

footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  background-image: url("Website_Footer.png");
  background-repeat: no-repeat;
  background-position: top;
  background-size: contain;

}

footer h1 {
  margin-bottom: 0;
  text-align: center;
  font-size: 1.5rem;
}

footer h2 {
  margin-top: 0;
  text-align: center;
  font-size: 1rem;
  color: #444;
}

footer button {
  margin: auto;
  display: block;
}

.button {
  border: none;
  color: white;
  padding: 15px 32px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 16px;
  margin: 4px 2px;
  cursor: pointer;
  border-radius: 15px;
}

.button1 {
  background-color: #98b330;
} /* Skillshare */

.button2 {
  background-color: #ca1054;
} /* Udemy */

.button a {
  color: white;
  text-decoration: none;
  transition: 0.3s;
}

.button a:hover {
  text-decoration: underline;
}

.footer-row {
  display: flex;
  flex-direction: row;
  gap: 10pt;
  align-items: center;
  margin-bottom: 10pt;
  margin-top: 10pt;
}

footer a.instagram {
  position: relative;
  color: #2a2327;
  border: 2px solid #2a2327;
  border-radius: 50%;
  text-decoration: none;
  display: block;
  font-size: x-large;
  width: 1.5em;
  height: 1.5em;
  text-align: center;
}

footer a.instagram i {
  text-align: center;
  width: 100%;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

footer a.instagram svg {
  text-align: center;
  width: 100%;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

footer a.disclaimer {
  color: black;
  text-decoration: none;
  transition: 0.3s;
}

footer a.disclaimer:hover {
  text-decoration: underline;
}
