@import url('https://fonts.googleapis.com/css2?family=Jaldi:wght@400;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Mrs+Saint+Delafield&display=swap');

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

html,
body {
  height: 100%;
  width: 100%;
  overflow-x: hidden;
}

body {
  background: linear-gradient(
    151.12deg,
    rgba(233, 69, 111, 0.24) 0%,
    rgba(233, 69, 111, 0.24) 100.86%
  );
}

.container {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 100px 0 !important;
}

.card {
  background: rgba(251, 231, 225, 0.85);
  padding: 100px 70px;
  min-height: 842px;
  min-width: 595px;
  margin: 0 auto;
  position: relative;
}

.overlay {
  background: url('/assets/border.svg') no-repeat center;
  background-size: contain;
  width: 410px;
  height: 600px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
}

img {
  position: absolute;
}
.image1 {
  top: 0;
  left: 0;
}
.image2 {
  bottom: 0;
  right: 0;
}
.title {
  margin-top: 100px;
  text-align: center;
  font-family: 'Jaldi';
  font-style: normal;
  font-weight: 400;
  font-size: 15px;
  line-height: 25px;
  text-align: center;
  color: rgba(233, 69, 111, 0.69);
}

.name {
  font-family: 'Mrs Saint Delafield';
  font-style: normal;
  font-weight: 400;
  font-size: 55px;
  line-height: 50px;
  text-align: center;
  color: #e9456f;
  text-shadow: 0px 4px 4px rgba(233, 69, 111, 0.24);
}

.description {
  font-family: 'Jaldi';
  font-style: normal;
  font-weight: 400;
  font-size: 15px;
  line-height: 25px;
  text-align: center;
  max-width: 307px;
  color: rgba(233, 69, 111, 0.69);
}

@media only screen and (max-width: 768px) {
  .container {
    margin: 0;
  }
  .card {
    background: rgba(251, 231, 225, 0.85);
    padding: 150px 0;
    min-height: 0;
    min-width: 0;
    margin: 0 auto;
    position: relative;
  }
  .image1 {
    width: 400px;
    height: 300px;
    top: 80px;
    left: -80px;
  }
}
