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

a,
div,
li,
button,
body {
  -webkit-tap-highlight-color: transparent;
}

html,
body {
  height: 100%;
}

body {
  width: 100%;
  background-color: #000;
  font-size: 20px;
  display: flex;
  justify-content: center;
  align-items: center;
}

@media (max-height: 500px) {
  body {
    margin: 25% 0 25% 0;
  }
}

/*PARA EL ENCABEZADO*/
.top-sentence {
  position: absolute;
  top: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  color: #ffffff;
  font-family: "Sofia";
  font-size: 16px;
  text-align: center;
}

.top-sentence hr {
  width: 60%;
  /* Define el ancho del hr */
  height: 1px;
  /* Define la altura del hr */
  border: none;
  /* Quita el borde */
  background-color: #ffffff;
  /* Color del hr */
  margin: 20px auto 20px auto;
  /* Ajusta el margen superior e inferior */
}


.envelop {
  width: 15rem;
  height: 10rem;
  position: absolute;
  left: 0;
  right: 0;
  margin: auto;
}

@media (min-width: 400px) and (max-width: 600px) {
  .envelop {
    width: 20rem;
    height: 15rem;
  }
}

@media (min-width: 600px) {
  .envelop {
    width: 25rem;
    height: 20rem;
  }
}

@media (min-width: 600px) and (min-height: 600px) {
  .envelop {
    bottom: 20%;
  }
}

.envelop__front-paper {
  width: 100%;
  height: 100%;
  bottom: 0;
  left: 0;
  position: absolute;
  border-radius: 0.7rem;
  border: 0.35rem solid #967b5c;
  background-color: #ba9872;
  clip-path: polygon(100% 0%, 50% 70%, 0% 0%, 0% 100%, 100% 100%);
  z-index: 300;
}

.envelop__back-paper {
  width: 100%;
  height: 100%;
  bottom: 0;
  left: 0;
  position: absolute;
  border-radius: 0.7rem;
  background-color: #967b5c;
  clip-path: polygon(0% 0%, 100% 0%, 90% 100%, 0% 90%);
  z-index: 100;
}

.envelop__up-paper {
  width: 100%;
  height: 100%;
  bottom: 0;
  left: 0;
  position: relative;
  border-radius: 0.7rem;
  background-color: #967b5c;
  z-index: 400;
  clip-path: polygon(0% 0%, 100% 0%, 50% 81%);
}

.envelop__sticker {
  width: 100%;
  height: 20%;
  position: absolute;
  margin: auto;
  top: 30%;
  left: 0;
  bottom: 0;
  right: 0;
  z-index: 400;
  background-image: url("https://i.pinimg.com/550x/44/dd/d2/44ddd271bd6dc4ca55a309542e21a1ab.jpg");
  background-color: #f9f9f9;
  border: 0.3rem solid #e2e2e2;
  background-size: 2rem;
  background-position: center;
}


.custom-button {
  background-color: transparent;
  /* Hace que el fondo sea transparente */
  color: #ffffff;
  /* Establece el color del texto */
  padding: 10px 20px;
  /* Ajusta el espacio interior para hacerlo más pequeño */
  text-align: center;
  /* Alinea el texto al centro */
  text-decoration: none;
  /* Quita la decoración del texto */
  display: inline-block;
  /* Hace que el botón se comporte como un bloque */
  font-size: 14px;
  /* Reduce el tamaño de la fuente */
  margin: 4px 2px;
  /* Margen exterior */
  cursor: pointer;
  /* Cambia el cursor al pasar el mouse */
  border-radius: 4px;
  /* Radio de borde */
  transition: background-color 0.3s, color 0.3s;
  /* Agrega una transición suave */
  font-family: 'Amatic SC', cursive;
  border-color: #fff;
  /*transition: all 0.3s ease; /* Agrega una transición suave */
}

.custom-button:hover {
  color: rgb(255, 255, 255);
  /* Cambia el color del texto al pasar el mouse */
  /*font-weight: bold; /* Hace que la letra sea más gruesa al pasar el mouse */
  text-decoration: underline;
  /* Subraya el texto al pasar el mouse */
  background-color: transparent;
  /* Mantiene el fondo transparente al pasar el mouse */
  border-color: black;
  /* Cambia el color del borde al pasar el mouse */
}














@media (max-width: 400px) {
  .envelop__sticker {
    background-size: 1.2rem;
  }
}

@media (min-width: 600px) {
  .envelop__sticker {
    height: 15%;
  }
}

.envelop__false-sticker {
  width: 20%;
  height: 20%;
  position: absolute;
  margin: auto;
  top: 30%;
  left: 80%;
  bottom: 0;
  right: 0;
  z-index: 300;
  background-image: url("https://i.pinimg.com/550x/44/dd/d2/44ddd271bd6dc4ca55a309542e21a1ab.jpg");
  background-color: #f9f9f9;
  border: 0.3rem solid #e2e2e2;
  background-size: 2rem;
  background-position: center;
}

@media (max-width: 400px) {
  .envelop__false-sticker {
    background-size: 1.2rem;
  }
}

@media (min-width: 600px) {
  .envelop__false-sticker {
    height: 15%;
  }
}

.envelop__content {
  width: 100%;
  height: 100%;
  bottom: 0;
  left: 0;
  position: absolute;
  z-index: 200;
}

.love-notes {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.note {
  width: 95%;
  height: 30%;
  background-color: #f9f9f9;
  position: absolute;
  overflow: hidden;
  transition: height 0.5s, opacity 0.25s;
  box-shadow: 0px 0px 5px 0px rgba(0, 0, 0, 0.75);
}

.note:nth-child(1) {
  bottom: 60%;
}

.note:nth-child(2) {
  bottom: 40%;
}

.note:nth-child(3) {
  bottom: 20%;
}

.note:hover {
  cursor: pointer;
  height: 45%;
}

.note__text {
  font-family: "Sofia";
  padding: 1rem;
}

.note__text p {
  font-size: 0.9rem;
  margin-bottom: 1rem;
  text-align: center;
}

@media (min-width: 300px) and (max-width: 600px) {
  .note__text p {
    font-size: 1.025rem;
  }
}

@media (min-width: 600px) {
  .note__text p {
    font-size: 1.15rem;
  }
}

.scissors {
  cursor: url("https://i.postimg.cc/GtLCdKxR/sisors.png"), pointer;
}

.scissors:active {
  cursor: url("https://i.postimg.cc/GtXQ7WPZ/pngwing-com.png"), pointer;
}

.cursor {
  cursor: pointer;
}

@media screen and (max-width: 600px) {
  body {
    width: 100%;
  }

  .envelop__sticker {
    background-size: 1.2rem;
  }

  .top-sentence {
    top: 40px;
    z-index: 10;
    color: #ffffff;
    font-family: "Sofia";
    font-size: 16px;
    text-align: center;
    padding: 0;
    margin: 0;
  }

  .envelop {
    width: 16rem;
    height: 9.95rem;
    position: absolute;
    left: 0;
    right: 0;
    bottom: 20%;
    margin: auto;
  }

  .envelop__front-paper {
    width: 100%;
    height: 100%;
    bottom: 0;
    left: 0;
    position: absolute;
    border-radius: 0.7rem;
    border: 0.35rem solid #967b5c;
    background-color: #ba9872;
    clip-path: polygon(100% 0%, 50% 70%, 0% 0%, 0% 100%, 100% 100%);
    z-index: 300;
  }

  .envelop__back-paper {
    width: 100%;
    height: 100%;
    bottom: 0;
    left: 0;
    position: absolute;
    border-radius: 0.7rem;
    background-color: #967b5c;
    clip-path: polygon(0% 0%, 100% 0%, 90% 100%, 0% 90%);
    z-index: 100;
  }

  .envelop__up-paper {
    width: 100%;
    height: 100%;
    bottom: 0;
    left: 0;
    position: relative;
    border-radius: 0.7rem;
    background-color: #967b5c;
    z-index: 400;
    clip-path: polygon(0% 0%, 100% 0%, 50% 81%);
  }

  .envelop__sticker {
    width: 100%;
    height: 20%;
    position: absolute;
    margin: auto;
    top: 30%;
    left: 0;
    bottom: 0;
    right: 0;
    z-index: 400;
    background-image: url("https://i.pinimg.com/550x/44/dd/d2/44ddd271bd6dc4ca55a309542e21a1ab.jpg");
    background-color: #f9f9f9;
    border: 0.3rem solid #e2e2e2;
    background-size: 2rem;
    background-position: center;
  }

  .envelop__false-sticker {
    width: 20%;
    height: 20%;
    position: absolute;
    margin: auto;
    top: 30%;
    left: 80%;
    bottom: 0;
    right: 0;
    z-index: 300;
    background-image: url("https://i.pinimg.com/550x/44/dd/d2/44ddd271bd6dc4ca55a309542e21a1ab.jpg");
    background-color: #f9f9f9;
    border: 0.3rem solid #e2e2e2;
    background-size: 2rem;
    background-position: center;
  }

  .envelop__content {
    width: 100%;
    height: 100%;
    bottom: 0;
    left: 0;
    position: absolute;
    z-index: 200;
  }

  .love-notes {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .note {
    width: 95%;
    height: 30%;
    background-color: #f9f9f9;
    position: absolute;
    overflow: hidden;
    transition: height 0.5s, opacity 0.25s;
    box-shadow: 0px 0px 5px 0px rgba(0, 0, 0, 0.75);
  }

  .note:nth-child(1) {
    bottom: 60%;
  }

  .note:nth-child(2) {
    bottom: 40%;
  }

  .note:nth-child(3) {
    bottom: 20%;
  }

  .note:hover {
    cursor: pointer;
    height: 45%;
  }

  .note__text {
    font-family: "Sofia";
    padding: 1rem;
  }

  .note__text p {
    font-size: 0.9rem;
    margin-bottom: 1rem;
    text-align: center;
  }

  .scissors {
    cursor: url("https://i.postimg.cc/GtLCdKxR/sisors.png"), pointer;
  }

  .scissors:active {
    cursor: url("https://i.postimg.cc/GtXQ7WPZ/pngwing-com.png"), pointer;
  }

}