<div class="container">
  <p class="container__title"><span>Claymorphism</span></p>
  <div class="container__cta">Design Trends 2022</div>
</div>
@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@100;200;300;400;500;600;700&display=swap");
:root {
  font-size: 16px;
  --main-bg-color: #D4E8FE;
  --cta-bg-color: #459DFF;
  --primary-color: #2D3F63;
  --secondary-color: #ffffff;
}
* {
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
  margin: 0;
}

body {
  background: var(--main-bg-color);
}
span {
  font-weight: 700;
}

.container {
  width: 80%;
  max-width: 740px;
  padding: 5rem;
  margin: 0;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: var(--secondary-color);
  box-shadow: 15px 15px 40px rgba(18, 34, 88, 0.4 ),
    inset 12px 12px 24px #E8F2FB, inset -24px -24px 48px #A7C8EC;
  border-radius: 8rem;
  text-align: center;
}

.container__title {
  font-size: 4rem;
  color: var(--primary-color);
}

.container__cta {
  display: inline-block;
  margin-top: 2rem;
  font-size: 2rem;
  padding: 1.5rem 5rem;
  color: var(--secondary-color);
  background: var(--cta-bg-color);
  box-shadow: 0px 4px 24px #b5d6ee, inset 6px 6px 12px #ADD5FF,
    inset -12px -12px 24px #3166AC;
  border-radius: 2.7rem;
}

@media (max-width: 700px) {
  :root {
    font-size: 10px;
  }
}

@media (max-width: 500px) {
  :root {
    font-size: 8px;
  }
  .container__cta {
    padding: 1rem 3rem;
    font-size: 8px;
  }
}

External CSS

This Pen doesn't use any external CSS resources.

External JavaScript

This Pen doesn't use any external JavaScript resources.