@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@200;400;600&display=swap");

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
}

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

header {
  text-align: center;
  max-height: fit-content;
  flex: 1 1 35rem;
  padding: 1rem;
}

header h2 {
  font-weight: 200;
  font-size: clamp(1.5rem, 2.1053vw + .8711rem, 2.45rem);
  color: hsl(212, 6%, 44%);
}

header h1 {
  color: hsl(234, 12%, 34%);
  font-size: clamp(1.5rem, 2.1053vw + .8711rem, 2.4rem);
}

header p {
  margin-top: 1rem;
  color: hsl(234, 12%, 34%);
}

main {
  margin-top: 2rem;
  gap: 2rem;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
}

main .side_container {
  display: flex;
  align-items: center;
}

main .middle_container {
  height: 35rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 2rem;
}

.card {
  background-color: hsl(0, 0%, 100%);
  box-shadow: 0px 1.6rem 3.125rem 0px hsl(234, 12%, 34%, 0.4);
  width: 22rem;
  height: 18rem;
  padding: 2rem;
  border-radius: 0.8rem;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.info_wrapper h3 {
  color: hsl(234, 12%, 34%);
  font-size: 1.35rem;
}

.info_wrapper p {
  color: hsl(212, 6%, 44%);
  margin-top: 0.4rem;
}

.card .img_wrapper {
  display: flex;
  justify-content: flex-end;
}

.card .marker {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 5px;
  border-radius: 0.8rem 0.8rem 0 0;
}
