* {
  -moz-box-sizing: border-box; /* set border-box so that percents can be used for width, padding, etc (personal preference) */
  -webkit-box-sizing: border-box;
	-webkit-tap-highlight-color: rgba(0,0,0,0); /* turns off blue highlight color for mobile */
	-webkit-tap-highlight-color: transparent; /* turns off blue highlight color for mobile */
	box-sizing: border-box;
	padding: 0;
	margin: 0;
	border: 0;
}

body {
  margin: 0;
  padding: 0;
  font-family: 'Courier', sans-serif;
  font-size: 20px;
  color: #ffffff;
  background-color: #e0d6e1;
  text-align: center;
}

a {
	text-decoration: none;
}

.title {
  font-family: 'Courier New', sans-serif;
  font-size: 36px;
  margin-bottom: 24px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.begin-desktop-button {
  opacity:.1;
}

#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: 80%;
  height: 600px;
  margin-left: auto;
  margin-right: auto;
  background-color: rgb(0,0,0);
  margin-top: 50px;
  margin-bottom: 50px;
  max-width: 900px;
}

.main-bg {
  background-color: #262648;
  margin-top:-10px;
}

.main-wrapper {
  margin-left: 20px;
  margin-right: 20px;
}

.header {
  width: 100%;
}

.header img {
  width: 100%;
}

.header-fixed {
  width: 100%;
  position: fixed;
}

.header-fixed img {
  width: 100%;
}

.header-absolute {
  width: 100%;
  position: absolute;
}

.header-absolute img {
  width: 100%;
}

.header-mobile {
  width: 100%;
  display: none;
}

.header-mobile img {
  width: 100%;
}

.header-fixed-mobile {
  width: 100%;
  position: fixed;
}

.header-fixed-mobile img {
  width: 100%;
}


.instructions {
  height: 300px;
  margin-left: auto;
  margin-right: auto;
  padding-top: 30px;
  padding-bottom: 30px;
  max-width: 800px;
}

.key-visual {
  margin-left: auto;
  margin-right: auto;
  max-width: 800px;
  margin-bottom: 20px;
}

.key-visual img {
  width: 100%;
}

.introduction {
  margin-bottom: 40px;
  max-width: 750px;
  margin-left: auto;
  margin-right: auto;
}

.begin {
  opacity: .1;
  width: 250px;
  margin-left: auto;
  margin-right: auto;
}

.instructions img {
  float: left;
  width: 40%;
}

.bottom {
  display: flex;
  flex-direction: column;
  max-width: 600px;
  margin: auto;
  width: 50px;
}

.credits {
  display: flex;
  flex-direction: column;
  margin-left: auto;
  margin-right: auto;
  width: 250px;
}

.bottom img {
  width: 100%;
}

.caption {
  padding-top: 60px;
  float: right;
  width: 50%;
  text-align: left;
}

.tiny-instructions {
  font-size: 16px;
}

.collapsible {
  cursor: pointer;
  text-decoration: underline;
}

.collapsed {
  display: none;
  overflow: hidden;
}

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

.attribution h1 {
  margin: 0 0 0.25em;
}

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

.bumper-tiny {
  height: 25px;
}

.bumper-small {
  height: 100px;
}

.bumper-large {
  height: 125px;
}

.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;
}

/* media queries  */

/* mobile portrait */
@media only screen and (max-width: 600px) {

body {
  font-size: 16px;
}

.bumper-tiny {
  height: 5px;
}

.bumper-small {
  height: 25px;
}

.bumper-large {
  height: 75px;
}

.header {
  display: none;
}

.header-fixed {
  display: none;
}

.header-mobile {
  display: block;
}

.header-fixed-mobile {
  display: block;
}

.title {
  font-family: 'Courier', sans-serif;
  font-size: 22px;
  margin-bottom: 24px;
}

.credits {
  width: 200px;
}

.begin {
  width: 250px;
}

.instructions {
  width: 100%;
  height: auto;
  padding-bottom: 60px;
}

.instructions img {
  float: none;
  width: 70%;
}

.caption {
  padding-top: 20px;
  float: none;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

model-viewer {
  height: 300px;
}

}

@media only screen and (max-width: 1366px) {

  .begin {
    opacity: 1;
  }

  .begin-desktop {
    display: none;
  }

}
