@import url("./fonts.css");

:root {
  --blue-600: hsl(185, 75%, 39%);
  --navy-950: hsl(229, 23%, 23%);
  --gray-500: hsl(227, 10%, 46%);
  --gray-100: hsl(225, 10%, 92%);
  --font-size: 18px;
  --font-400: 400;
  --font-700: 700;
}

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

body {
  width: 100vw;
  height: 100vh;
  overflow: hidden;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  /* Apply custom fonts */
  font-family: "KumbhSans", sans-serif;
}

.container {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  background-color: var(--blue-600);
}

.top {
  position: absolute;
  top: -32rem;
  left: -16rem;
}

.bottom {
  position: absolute;
  bottom: -36rem;
  right: -19rem;
}

.card-container {
  background-color: var(--gray-100);
  height: 64%;
  width: 28rem;
  border-radius: 18px;
  z-index: 100;
  overflow: hidden;
  position: relative;
}

.card-top {
  height: 40%;
  width: 100%;
}

.card-bottom {
  height: 60%;
  width: 100%;
}

.card-img {
  width: 100%;
  height: 100%;
}

.card-img,
.avatar {
  height: 100%;
  width: 100%;
  object-fit: cover;
}

.card-content {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: end;
  z-index: 60;
  color: var(--navy-950);
  gap: 5rem;
}

.card-avatar {
  border-radius: 50%;
  overflow: hidden;
  height: 7rem;
  width: 7rem;
  padding: 6px;
  background-color: var(--gray-100);
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  position: absolute;
  top: 8.6rem;
}

.avatar {
  border-radius: 50%;
  object-fit: contain;
}

.content {
  width: 100%;
  height: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 2rem;
  gap: 3.8rem;
}

p {
  color: var(--gray-500);
  font-weight: var(--font-400);
}

h2,
h3 {
  font-size: var(--font-size);
  font-weight: var(--font-700);
}

h2 {
  display: flex;
  gap: 10px;
}

.heading {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  gap: 0.7rem;
}

.footer {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  height: auto;
  width: 100%;
  padding: 1.6rem 1.6rem 0rem 1.6rem;
  gap: 3.5rem;
  border-top: 1px rgba(0, 0, 0, 0.2) solid;
}

h3 {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
}

h3 > p {
  font-size: 16px;
}
@media screen and (max-width: 600px) {
  .card-container {
    width: 95%;
  }
}
