@import url('https://fonts.googleapis.com/css?family=Kanit:100,700');

*,
*:after,
*:before {
  box-sizing: border-box;
}

body {
  font-family: 'Kanit', sans-serif;
  background-color: #1a1a1a;
}

.container {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}

.text-box {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

h1 {
  font-size: 4vw;
  font-weight: 900;
  background-color: #f6a9bd;
  color: #1a1a1a;
  display: block;
  padding: 0.3em;
}

h1:nth-child(2) {
  position: absolute;
  background-color: #1a1a1a;
  color: #f6a9bd;
  clip-path: inset(-1% -1% 50% -1%);
}

p {
  font-weight: 900;
  text-align: center;
  background-color: #f6a9bd;
  color: #1a1a1a;
}

p span {
  background-color: #1a1a1a;
  color: #f6a9bd;
}