@import url("https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;500;700;900&display=swap");

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Roboto", sans-serif;
}

.container {
  position: relative;
  width: 100%;
}

.title {
  text-align: center;
  padding: 50px 20px 100px;
  font-size: 30px;
  background-color: tomato;
  color: #fff;
}

.container .header,
.container .indicator,
.container .body {
  margin: 0 auto;
  max-width: 850px;
  width: 100%;
}

.container .header {
  position: relative;
  width: 100%;
  height: 60px;
  display: flex;
  align-items: center;
  margin-top: -60px;
  z-index: 2;
}

.container .header > div {
  width: 25%;
  text-align: center;
  padding: 15px 0px;
  color: #fff;
  font-size: 18px;
  cursor: pointer;
  user-select: none;
  transition: color 300ms ease-in-out;
}

.container .header > div.active {
  color: tomato;
}

.container .indicator {
  position: relative;
  height: 60px;
  margin-top: -60px;
}

.container .indicator > div {
  position: absolute;
  left: 0%;
  width: 25%;
  height: 100%;
  background-color: #fff;
  border-radius: 10px 10px 0px 0px;
  transition: all 300ms ease-in-out;
}

.container .body {
  position: relative;
}

.container .body > div {
  position: absolute;
  width: 100%;
  padding: 20px;
  top: -100vh;
  opacity: 0;
}
.container .body > div > * {
  margin: 10px 0px;
}

.container .body > div > h2 {
  margin: 20px 0px;
  font-weight: 600;
}
.container .body > div > p {
  color: #555;
  font-size: 15px;
}

.container .body > div.active {
  top: 0px;
  opacity: 1;
  transition: top 0ms ease-in-out 0ms, opacity 500ms ease-in-out 0ms;
}
