body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background: #02534c;
  padding-top: 30%;
  background-image: url("./img/bg1.jpg");
  background-size: 95vh;
  background-repeat: no-repeat;
  background-position: center;
}

.envelope {
  position: relative;
  width: 200px;
  height: 120px;
  cursor: pointer;
  perspective: 600px;
}

.flap {
  position: absolute;
  width: 100%;
  height: 100%;
  background: red;
  top: 0;
  left: 0;
  border-radius: 6px;
  transform-origin: top;
  transition: transform 0.5s;
  z-index: 3;
  display: flex;
  justify-content: center;
  align-items: center;
  color: white;
  font-weight: bold;
  font-size: 30px;
  box-shadow: #000 4px 4px 4px;
}

.envelope.open .flap {
  transform: rotateX(-180deg);
}

.body {
  position: absolute;
  width: 100%;
  height: 100%;
  background: #c00;
  border-radius: 6px;
  z-index: 1;
  overflow: hidden;
}

.letter {
  display: none;
  position: absolute;
  top: 20px;
  left: 10%;
  width: 80%;
  height: 80%;
  background: white;
  border-radius: 4px;
  text-align: center;
  line-height: 100px;
  font-weight: bold;
  color: red;
  transform: translateY(120%);
  transition: transform 0.5s;
  z-index: 2;
}

.envelope.open .letter {
  transform: translateY(0);
}

.holly {
  position: absolute;
  width: 50px;
  height: 30px;
  top: 45%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 4;
}

/* .holly .leaf {
  position: absolute;
  width: 20px;
  height: 10px;
  background: green;
  clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
} */

.holly .leaf:nth-child(1) {
  transform: rotate(0deg) translateX(-10px);
}
.holly .leaf:nth-child(2) {
  transform: rotate(120deg) translateX(-10px);
}
.holly .leaf:nth-child(3) {
  transform: rotate(240deg) translateX(-10px);
}

.holly .berry {
  position: absolute;
  width: 10px;
  height: 10px;
  background: black;
  border-radius: 50%;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
}

.secretSantaTexts {
  display: none;
  position: relative;
}
.secretSantaTexts .texts {
  background: #fff;
  border-radius: 10px;
  padding: 20% 3% 5% 3%;
  height: 300px;
}

.santa {
  position: absolute;
  bottom: 74%;
  transform: translateX(-50%);
  width: 200px;
}

.santaTitle h1 {
  color: #fff;
  -webkit-text-stroke: #c00 1px;
  font-size: 45px;
  font-family: "Pacifico", cursive;
  text-shadow: #000 2px 2px 2px;
}

.logos{
  filter: drop-shadow(#000 2px 2px 2px);
}
