body {
  margin: 1em;
  padding: 0;
  font-family: Google Sans, Noto, Roboto, Helvetica Neue, sans-serif;
  color: #244376;
}

#card {
  margin: 3em auto;
  display: flex;
  flex-direction: column;
  max-width: 600px;
  border-radius: 6px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.25);
  overflow: hidden;
}

model-viewer {
  width: 100%;
  height: 75vh;
  /* background-color: #70bcd1; */
  background: rgb(2, 0, 29);
  background: radial-gradient(
    circle,
    rgba(0, 68, 82, 1) 0%,
    rgba(2, 0, 29, 1) 100%
  );
  --poster-color: #ffffff00;
}

.attribution {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  margin: 1em;
}

.attribution h1 {
  margin: 0 0 0.25em;
  align-self: end;
}

.attribution img {
  opacity: 0.5;
  height: 2em;
}

.attribution .cc {
  flex-shrink: 0;
  text-decoration: none;
}

footer {
  display: flex;
  flex-direction: column;
  max-width: 600px;
  margin: auto;
  text-align: center;
  font-style: italic;
  line-height: 1.5em;
}

.arbutton {
  background-color: white;
  font-size: 1rem;
  padding: 4px 8px;
  border: 1px solid black;
  border-radius: 4px;
  justify-content: center; /* center the content horizontally */
  align-items: center; /* center the content vertically */
  --padding-x: 1.2em;
  position: absolute;
  right: 18px;
  bottom: 18px;
  overflow-wrap: break-word;
  display: inline-flex;
  transition: ease 0.5s;
}

button:hover,
.arbutton:hover {
  cursor: pointer;
  background-color: lightgrey;
  transition: ease 0.5s;
}

button {
  background-color: white;
  font-size: 1rem;
  padding: 4px 8px;
  border: 1px solid black;
  border-radius: 4px;
  justify-content: center; /* center the content horizontally */
  align-items: center; /* center the content vertically */
  --padding-x: 1.2em;
}
