/* Start CSS Reset */
/* 1. Use a more-intuitive box-sizing model */
*,
*::before,
*::after {
  box-sizing: border-box;
}

/* 2. Remove default margin */
* {
  margin: 0;
}

body {
  /* 3. Add accessible line-height */
  line-height: 1.5;
  background-color: #b7b5d8;
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  font-family: "Segoe UI", Roboto, sans-serif;
  padding: 20px;
  /* 4. Improve text rendering */
  -webkit-font-smoothing: antialiased;
}

/* 5. Improve media defaults */
img,
picture,
video,
canvas,
svg {
  display: block;
  max-width: 100%;
}

/* 6. Inherit fonts for form controls */
input,
button,
textarea,
select {
  font: inherit;
}

/* 7. Avoid text overflows */
p,
h1,
h2,
h3,
h4,
h5,
h6 {
  overflow-wrap: break-word;
}

/* 8. Improve line wrapping */
p {
  text-wrap: pretty;
}
h1,
h2,
h3,
h4,
h5,
h6 {
  text-wrap: balance;
}

/*
  9. Create a root stacking context
*/
#root,
#__next {
  isolation: isolate;
}

/* End CSS Reset*/

.card-wrapper {
  position: relative;
  width: 60%;
  max-width: 1000px;
}

.card {
  background: white;
  border-radius: 16px;
  box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.5);
  /* overflow: hidden; */
}

.banner {
  position: absolute;
  background: #ece39c;
  top: 16px;
  left: -12px;
  padding: 4px 16px;
  border-radius: 10px 20px 20px 10px;
  font-size: 18px;
  font-weight: 900;
  font-family: "Times New Roman", Times, serif;
  z-index: 1;
}

.image {
  border-radius: 16px 16px 0 0;
  overflow: hidden;
}

img {
  width: 100%;
  height: 400px;
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
}

.content {
  padding: 16px;
}

.title {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 10px;
}

h1 > span {
  font-size: 14px;
  font-weight: 400;
}

.description {
  font-size: 14px;
  font-weight: 400;
  margin-bottom: 10px;
}
