@import url('https://fonts.googleapis.com/css2?family=Exo+2:ital,wght@0,100..900;1,100..900&family=Handlee&family=Outfit:wght@100..900&family=Prompt:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&family=Syne:wght@400..800&display=swap');

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

body {
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
}

.main-container {
  width: 100%;
  max-width: 550px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

.sub-container {
  width: 90%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.certificate-box {
  position: relative;
  overflow: hidden;
  width: 100%;
  height: 45vh;
  display: flex;
  flex-direction: column;
  justify-content: space-evenly;
  align-items: center;
  padding: 1.25rem;
  background: rgb(245, 245, 217);
  border: 3px solid black;
  box-shadow: 4px 5px 0 black;
}

.title-box {
  text-align: center;
  text-transform: uppercase;
  font-family: "Outfit", sans-serif;
}

.info-box {
  font-family: "Syne", sans-serif;
  text-align: center;
}

.author-box {
  font-family: "Handlee", sans-serif;
  font-weight: 800;
  letter-spacing: .57px;
  position: absolute;
  bottom: 0;
  left: 0;
  margin-left: 1.12rem;
  margin-bottom: .2rem;
}

.author {
  user-select: none;
  position: relative;
}

.author::after {
  position: absolute;
  content: "";
  background: rgba(36, 32, 255, 0.747);
  width: 100%;
  height: 4px;
  bottom: 0;
  left: 0;
  border-radius: 12px;
}

.bar {
  width: 100%;
  height: 5px;
  background: linear-gradient(-250deg,#fff, rgb(144, 13, 156));
  border-radius: 1000px;
}

.message {
  margin-top: .5rem;
  font-size: .9rem;
}

.floating-img {
  position: absolute;
  z-index: 0;
}

.first-img {
  top: 0;
  left: -15%;
  width: 35%;
  border-end-end-radius: 24px;
  transform: scale(1.66);
}

.second-img {
  bottom: 0;
  width: 39%;
  right: 0;
}

button {
  cursor: pointer;
  font-family: "Syne", sans-serif;
  margin-top: 2rem;
  padding: 1.5rem 1.7rem;
  border: 2px solid black;
  box-shadow: 3px 5px 0 black;
  background: #ffa2a2;
  font-weight: 700;
}