@import url(https://fonts.googleapis.com/css?family=Ubuntu);
@import url(https://fonts.googleapis.com/css?family=Handlee);
* {
  padding: 0;
  margin: 0;
  font-family: "Ubuntu", sans-serif;
}
body {
  background: #eed9af;
  background-image: url("bg.webp");
  background-size: cover;
  background-position: center;
}
.bg {
  position: absolute;
  height: 100%;
  width: 100%;
  background-size: cover;
  background-position: center;
  filter: brightness(0.5);
}
.content {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  color: #3f3f3f;
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 2;
}
.card {
  background: white;
  padding: 35px 40px;
  border-radius: 20px;
  border: 3px solid brown;
  box-shadow: 5px 5px 0 rgba(0, 0, 0, 0.308);
}
.content img.surat {
  margin: 25px auto;
  animation: animasi1 1s ease infinite;
  height: 90px;
  cursor: pointer;
}
@keyframes animasi1 {
  0% {
    transform: scale(1.03);
  }
  50% {
    transform: scale(1);
  }
  100% {
    transform: scale(1.03);
  }
}
@keyframes animasi2 {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(5px);
  }
}
.content2 {
  position: fixed;
  z-index: 3;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0; /* background: rgba(0, 0, 0, 0.575); */
  display: none; /* background-image: url("bg.webp"); */
  background-size: cover;
  background-position: center; /* display: flex; */
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
.content2 .wa {
  text-align: center; /* display: none; */
  visibility: hidden;
}
.content2 .wa.show {
  visibility: visible;
  animation: anm-up 0.5s ease, animasi2 1s ease-in-out 0.5s infinite;
}
@keyframes anm-up {
  from {
    opacity: 0;
    transform: translateY(50px);
  }
}
.content2 .wa button {
  /* background-image: linear-gradient(to top left, #ff009d, #ff004c); */
  background: white;
  padding: 7px 20px;
  margin: 30px auto;
  border-radius: 10px;
  font-size: 1.1rem;
  font-weight: 600; /* color: white; */
  border: 3px solid brown;
  box-shadow: 4px 4px 0 rgba(0, 0, 0, 0.308);
}
.paper {
  position: relative;
  width: 90%;
  max-width: 800px; /* min-width: 360px; */
  height: 480px;
  margin: 0 auto;
  margin-top: 40px;
  background: #fafafa; /* border-radius: 10px; */ /* box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1); */
  box-shadow: 7px 7px 0 rgba(0, 0, 0, 0.308);
  overflow: hidden;
}
.paper:before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 40px;
  background: radial-gradient(rgb(55, 55, 55) 6px, transparent 7px) repeat-y;
  background-size: 30px 30px;
  border-right: 3px solid rgb(255, 129, 129);
  box-sizing: border-box;
}
.paper-content {
  position: absolute;
  top: 30px;
  right: 0;
  bottom: 30px;
  left: 40px;
  background: linear-gradient(transparent, transparent 28px, #91d1d3 28px);
  background-size: 30px 30px;
}
.paper-content textarea {
  width: 100%;
  max-width: 100%;
  height: 100%;
  max-height: 100%;
  line-height: 30px;
  padding: 0 10px;
  border: 0;
  outline: 0;
  background: transparent;
  color: rgb(0, 0, 0);
  font-family: "Handlee", cursive;
  font-weight: bold;
  font-size: 17px;
  box-sizing: border-box;
  z-index: 1;
}
textarea {
  resize: none;
}
.paper::after {
  position: absolute;
  content: "";
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
}

.swal2-popup {
  padding-bottom: 0;
  padding-top: 25px;
  background-color: rgb(255, 255, 255);
  /* color: black; */
  /* width: 85vw; */
  /* max-width: 400px; */
  /* border-radius: 20px; */
  overflow: hidden;
}
.swal2-image {
  height: 130px;
}
.swal2-title {
  padding: 0px !important;
  font-size: 1.2em;
  font-weight: 500;
}

.preload {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: black;
  z-index: 9999999;
}

.swal2-popup {
  padding-bottom: 0;
  border-radius: 20px;
  overflow: hidden;
}
.swal2-title {
  font-size: 1.2em;
  font-weight: 600;
  padding-top: 40px;
}
.swal2-actions {
  margin: 0 !important;
  padding: 20px 0;
  padding-top: 10px;
}
.swal2-actions button {
  border-radius: 10px !important;
  background: rgb(142, 65, 65) !important;
  box-shadow: none !important;
  font-weight: 600;
}
.swal2-loading {
  padding-bottom: 20px;
}
textarea {
  resize: none;
}
