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

body {
  background-color: #f4f4f4;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100vh;
  width: 100vw;
}

.card {
  background-color: #fff;
  margin: 2rem;
  padding: 2rem;
  border-color: rgba(0, 0, 0, 0.051);
  border-style: solid;
  border-radius: 1.75rem;
  display: flex;
  width: 65rem;
  flex-direction: row;
}

.card .left {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-left: 5rem;
}

@media (max-width: 768px) {
  .card {
    flex-direction: column;
    width: 100%;
  }

  .card .left {
    align-items: center;
    text-align: center;
    padding-bottom: 2rem;
  }

  .card .right ul {
    flex-direction: row;
    justify-content: center;
  }
}

.card img {
  width: 100px;
  border-radius: 100%;
  object-fit: cover;
  margin-bottom: 20px;
}

.card h1 {
  color: #536163;
  font-family: "DM Sans", sans-serif;
  font-size: 4em;
  line-height: 1;
  font-weight: 500;
  margin-bottom: 0.5rem;
}

.card p {
  color: rgba(83, 97, 99, 0.6);
  font-family: "DM Sans", sans-serif;
  letter-spacing: 0.025rem;
  width: calc(100% + 0.025rem);
  font-size: 1.125em;
  line-height: 1.875;
  font-weight: 400;
}

.card ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: flex-end;
}

.card ul li a {
  display: inline-flex;
  height: auto;
  line-height: 2rem;
  padding: 0 2rem;
  vertical-align: middle;
  font-family: "DM Sans", sans-serif;
  font-size: 1.125em;
  font-weight: 400;
  border-radius: 2.5rem;
  flex-direction: row;
  justify-content: flex-end;
  padding-bottom: 1.25rem;
  padding-top: 1.25rem;
  white-space: normal;
  align-items: flex-start;
  transition: transform 0.25s ease, color 0.25s ease,
    background-color 0.25s ease, border-color 0.25s ease;
  background-color: #ff5150;
  color: #fff;
  text-decoration: none;
}

.card ul li a.iframe {
  background-color: transparent;
  padding: 0;
  border-radius: 0;
}

.card ul li a svg {
  display: block;
  stroke: #fff;
  flex-grow: 0;
  flex-shrink: 0;
  height: 2rem;
  min-width: 16px;
  width: 1.75em;
  margin-left: 0.5em;
  margin-right: calc(-0.125em + 0rem);
  transition: stroke 0.25s ease;
}

.card ul li a .label {
  overflow: hidden;
  flex-grow: 1;
  flex-shrink: 1;
  text-align: left;
  width: 100%;
}

.card ul li a:hover {
  transform: scale(1.0425);
}
