Untitled

mail@pastecode.io avatar
unknown
css
2 years ago
951 B
1
Indexable
Never
:root {
  --headingMargin: 2rem 0 1rem;
  --pMargin: 0 0 2rem;
}

html {
  font-size: 62.5%;
}

body {
  font-family: "Kavoon", cursive, -apple-system, BlinkMacSystemFont, "Segoe UI",
    Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
  margin: 10px;
  background: rgb(201, 188, 188);
  background: linear-gradient(
    156deg,
    rgba(201, 188, 188, 1) 0%,
    rgba(255, 255, 255, 1) 100%
  );
}
.container {
  margin: 0 auto;
}

.introduction > p {
  font-size: clamp(2rem, 3rem, 4rem);
}
.introduction-image {
  width: 70%;
  width: clamp(50%, 70%, 100%);
  border-radius: 10%;
}
figure {
  display: flex;
  justify-content: center;
}

h1 {
  font-size: 5rem;
  margin: var(--headingMargin);
}

h2 {
  font-size: 4rem;
  margin: var(--headingMargin);
}

p {
  font-size: clamp(1rem, 2rem, 3rem);
  line-height: 1.5;
  margin: var(--pMargin);
  text-indent: 2rem;
}