@font-face {
  font-family: FigtreeExtraBold;
  src: url("assets/fonts/static/Figtree-ExtraBold.ttf");
}
@font-face {
  font-family: FigtreeMedium;
  src: url("assets/fonts/static/Figtree-Medium.ttf");
}

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

html,
body {
  width: 100%;
  height: 100%;
  font-size: 15px;
}

body {
  background-color: #f4d04e;
  display: flex;
  align-items: center;
  justify-content: center;
}

article {
  background-color: white;
  color: #111111;
  display: flex;
  flex-direction: column;
  gap: 2rem;
  border: 1px solid #111111;
  border-radius: 1.33rem;
  padding: 1.5rem;
  margin: 0 1.5rem;
  width: 25rem;
  box-shadow: 0.7rem 0.7rem 0 #111111;
  > img {
    border-radius: inherit;
    width: 100%;
  }
  section {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    header {
      display: flex;
      flex-direction: column;
      gap: 1rem;
      .learning {
        width: fit-content;
        padding: 0.4rem 1rem;
        border-radius: 0.3rem;
        background-color: #f4d04e;
      }
    }
    footer {
      display: flex;
      align-items: center;
      gap: 0.8rem;
      img {
        width: 2.2rem;
      }
    }
  }
}

.text-1 {
  font-size: 1.6rem;
  line-height: 150%;
  cursor: pointer;
}
.text-1:hover {
  color: #f4d04e;
}
.text-2 {
  font-size: 1.06rem;
  line-height: 150%;
  color: #6b6b6b;
}
.text-3 {
  font-size: 0.94rem;
  line-height: 150%;
}

.extrabold {
  font-family: FigtreeExtraBold;
}
.medium {
  font-family: FigtreeMedium;
}
