@import url("https://fonts.googleapis.com/css2?family=Merriweather:wght@700&display=swap");
body {
  margin: 0;
  justify-content: center;
  display: flex;
  background: #222831;
}


h5 {
  font-size: 2rem;
  margin: 0;
  margin-top: 30px;
  margin-bottom: 0;
  font-weight: 600;
  color: #1e293b;
  text-align: center;
  text-transform: uppercase;
  background: linear-gradient(90deg, #0078ff, #00bfa5);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: 2px;
}

a {
  display: inline-block;
  font-size: 1rem;
  margin-top: 0.5rem;
  color: #d3d3d3;
  text-decoration: none;
  transition: color 0.3s ease;
  text-align: center!important;
  align-items: center!important;
  border-radius: none;
  border: none;
}

a:hover {
  color: #f05454;
}

.powered span {
  color: #00adb5;
  font-weight: 600;
}

hr {
  margin-top: 1rem;
  height: 3px;
  border: none;
  background: linear-gradient(90deg, #f05454,#ffa36c, #fcf876, #c0e218,#64958f, #bc6ff1);
  opacity: 0.8;
  border-radius: 2px;
  width: 50%;
}

#container {
  width: 95vw;
  height: 60vw;
  background: #262c35;
  margin-top: 5vw;
  position: relative;
  border-radius: 5px;
  margin-bottom: 5vw;
  text-align: center;
}

.element-name {
  position: absolute;
  left: 50%;
  top: 40%;
  transform: translate(-50%, -50%);
  font-size: 1.5vw;
  font-family: "Merriweather", serif;
  font-weight: 700;
}
.element-number {
  position: absolute;
  left: 50%;
  top: 15%;
  transform: translate(-50%, -50%);
  font-size: 0.6vw;
}

.legend {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  font-size: 0.8vw;
  font-family: "Merriweather", serif;
  font-weight: 700;
}

.svg {
  width: 100%;
  height: 100%;
}

@media screen and (max-width: 768px) {
  h5 {
    font-size: 1.5rem;
  }

  .element-name {
    font-size: 2.5vw;
  }

  .element-number {
    font-size: 1.2vw;
  }

  .legend {
    font-size: 1.5vw;
  }
}