:not(:defined)>* {
  display: none;
}

body {
  margin: 0;
  padding: 0;
  width: 100%;
  height: 100%;
  background-color: beige;
  font-family: 'Perpetua';
  font-size: x-large;
}

model-viewer {
  width: 90%;
  height: 90%;
  margin-left: auto;
  margin-right: auto;
  background-color: #181717;
  border: .5em solid rgb(133, 168, 207);
}

.top-menu {
  width: 100%;
  padding: .15em;
  margin-top: 0%;
  background-color: rgb(128, 128, 128);
  text-align: center;
}

.top-menu a {
  margin-left: .5em;
  margin-right: .5em;
  margin-top: .25em;
  margin-bottom: .25em;
  padding: .2em;
  border: .2em solid rgb(83, 83, 83);
  background-color: rgb(165, 165, 165);
  display: inline-block;
}

.museum-exhibit {
  width: 50%;
  height: 75%;
  margin-left: auto;
  margin-right: auto;
  margin-top: auto;
  margin-bottom: auto;
  text-align: center;
}

.placard {
  margin-top: 2%;
  padding-left: 5%;
  padding-right: 5%;
  border: .2em solid rgb(52, 165, 52);
  background-color: rgb(243, 243, 243);
}

.button {
  padding: .5em;
  border-radius: 25%;
  border: .2em solid rgb(52, 165, 52);
  background-color: rgb(243, 243, 243);
  margin-top: .5em;
}

.button a{
  text-decoration: none;
  color:#181717;
}

.placard ul,
ol {
  display: inline-block;
  text-align: left;
  font-size: large;
  margin-top: 0%;
  list-style-position: inside;
}

.placard h1,
h2,
h3,
h4,
h5,
h6 {
  text-align: center;
}

.title-card {
  margin-top: 1%;
  margin-bottom: 1%;
  border: .6em solid rgb(88, 22, 22);
  background-color: rgb(243, 243, 243);
}

.progress-bar {
  display: block;
  width: 33%;
  height: 10%;
  max-height: 2%;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate3d(-50%, -50%, 0);
  border-radius: 25px;
  box-shadow: 0px 3px 10px 3px rgba(0, 0, 0, 0.5), 0px 0px 5px 1px rgba(0, 0, 0, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.9);
  background-color: rgba(0, 0, 0, 0.5);
}

.progress-bar.hide {
  visibility: hidden;
  transition: visibility 0.3s;
}

.update-bar {
  background-color: rgba(255, 255, 255, 0.9);
  width: 0%;
  height: 100%;
  border-radius: 25px;
  float: left;
  transition: width 0.3s;
}

@keyframes circle {
  from {
    transform: translateX(-50%) rotate(0deg) translateX(50px) rotate(0deg);
  }

  to {
    transform: translateX(-50%) rotate(360deg) translateX(50px) rotate(-360deg);
  }
}

@keyframes elongate {
  from {
    transform: translateX(100px);
  }

  to {
    transform: translateX(-100px);
  }
}

@media only screen and (orientation: portrait) {
  .museum-exhibit {
    width: 95%;
    height:50%;
    margin-left: auto;
    margin-right: auto;
    margin-top: auto;
    margin-bottom: auto;
    text-align: center;
  }

  h1{
    margin-top:.1em;
    margin-bottom:.1em;
  }

  body{
    font-size: medium;
  }
}