/* Variables */
:root {
  --color-black: #000000;
  --color-white: #ffffff;
  --color-grey: #777777;
  --color-light-grey: #ebebeb;

  --font-basic: "Pretendard Variable", Inter, -apple-system, system-ui, Roboto, "Helvetica Neue",
    "Segoe UI", "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", sans-serif;
  --font-suit: "Suit Variable", var(--font-basic);
  --font-bricolage-grotesque: "Bricolage Grotesque", var(--font-basic);

  --bg-stepby: #f7faff;
  --bg-tistory: #fef8f6;
  --bg-threads: #f5f5f5;
  --bg-linkedin: #f5f9fb;

  --border-radius-card: 24px;
  --border-radius-logo: 10px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: var(--font-basic);
}

body {
  min-width: 320px;
}

.container {
  background: var(--color-white);
  padding: 40px 0;
  gap: 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.profile {
  gap: 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.profile-img {
  width: 160px;
  height: 160px;
  border-radius: 80px;
  object-fit: cover;
  position: relative;
}

.info {
  gap: 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.name {
  font-family: var(--font-suit);
  color: var(--color-black);
  font-size: 24px;
  font-weight: 600;
  line-height: 150%;
  text-align: center;
  display: flex;
  align-items: center;
}

.description-wrapper {
  gap: 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.description {
  font-family: var(--font-bricolage-grotesque);
  color: var(--color-grey);
  font-size: 16px;
  line-height: 150%;
  font-weight: 300;
}

.rows {
  max-width: 423px;
  width: 100%;
  padding: 0 24px;
  gap: 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.row {
  width: 100%;
  gap: 24px;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
}

.card--square {
  text-decoration: none;
  cursor: pointer;
  width: calc((100% - 24px) / 2);
  aspect-ratio: 1;
  border-radius: var(--border-radius-card);
  border: 1px solid var(--color-light-grey);
  gap: 16px;
  padding: 24px 0px 0px 24px;
  display: flex;
  flex-direction: column;
}

.card--square.stepby {
  background: var(--bg-stepby);
}

.card--square.tistory {
  background: var(--bg-tistory);
}

.card--square.threads {
  background: var(--bg-threads);
}

.card--square.linkedin {
  background: var(--bg-linkedin);
}

.logo {
  border-radius: var(--border-radius-logo);
  width: 40px;
  height: 40px;
  overflow: hidden;
}

.logo.stepby {
  border: 1px solid var(--color-light-grey);
}

.text-wrapper {
  gap: 4px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
}

.title {
  color: var(--color-black);
  font-size: 16px;
  line-height: 150%;
  font-weight: 500;
  text-align: left;
}

.url {
  color: var(--color-grey);
  font-size: 12px;
  line-height: 150%;
  font-weight: 400;
  text-align: left;
}

@media (max-width: 356px) {
  .rows {
    padding: 0 12px;
    gap: 12px;
  }

  .row {
    gap: 12px;
  }

  .card--square {
    width: calc((100% - 12px) / 2);
    aspect-ratio: 1;
  }
}
