body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
	background-image: url('bg/bgarc1.jpg');
	background-repeat: no-repeat;
	background-attachment: fixed;
    background-size: cover;
}
.backbutton {
	position: fixed;
	z-index: 5;
}

.backbutton img {
  margin-left:12%;
	width:50px;
	height:auto;
}
.header {
  text-align: center;
  padding: 32px;
}

/* Style the buttons */
.btn {
  border: none;
  outline: none;
  padding: 10px 16px;
  background-color: #f1f1f1;
  cursor: pointer;
  font-size: 18px;
}

.btn:hover {
  background-color: #ddd;
}

.btn.active {
  background-color: #666;
  color: white;
}

body {font-family: Arial, Helvetica, sans-serif;}

/* The Modal (background) */
.modal {
  display: block; /* Hidden by default */
  position: relative; /* Stay in place */
  z-index: 4; /* Sit on top */
  left: 50%;
  top: 0;
  width: 50%; /* Full width */
  height: 100%; /* Full height */
  /*overflow: auto;  Enable scroll if needed */
}

/* Modal Content (image) */
.modal-content {
  margin: auto;
  display: block;
  text-align:center;
}

.center-fit {
            max-height: 50vh;
            margin: auto;
}

/* The Close Button */
.close {
  position: absolute;
  top: 1%;
  right: 2%;
  color: #f1f1f1;
  font-size: 40px;
  font-weight: bold;
  transition: 0.3s;
  z-index:9999;
}

.close:hover,
.close:focus {
  color: #eee;
  text-decoration: none;
  cursor: pointer;
}


model-viewer{
  width:50vw;
  height:100vh;
}

.container {
  display: block;
  border: 0; /* reset */
width: calc(50vw - 50px);
text-align:center;
position:absolute;
top: 50%;
left: 1%;
transform: translate(0%, -50%);
max-height: 80vh;
overflow-y: scroll;
scrollbar-width: thin;
color: #ffffff;
border-color: transparent;
border-style: solid;
border-width: 20px;
border-image: url(ui/Tutorial_bg_4823.png) 29 fill;
z-index:3;
}

.container img{
	padding:1px;
}

.controls {
position: absolute;
display: flex;
flex-direction: column;
bottom: 40px;
left: 1rem;
border-radius: 0.5rem;
padding: 0.5rem 1rem;
/* max-height: 14rem; */
overflow: auto;
}
.glass {
background: rgba(255, 255, 255, 0.37);
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.25);
backdrop-filter: blur(8px) contrast(0.89) saturate(1.27);
-webkit-backdrop-filter: blur(8px) contrast(0.89) saturate(1.27);
border: 1px solid rgba(255, 255, 255, 0.4);
padding: 0.5rem;
border-radius: 0.5rem;
}

@media (orientation: portrait){
	
	
	
  div.modal {
  display: none; /* Hidden by default */
  position: absolute; /* Stay in place */
  z-index: 4; /* Sit on top */
  left: 0;
  top: 0;
  width: 100%; /* Full width */
  height: 100%; /* Full height */
  background-color:rgba(0,0,0,0.5);
  /*overflow: auto;  Enable scroll if needed */
}
  model-viewer{
  width:100vw;
  height:100vh;
}

div.container {
  display: block;
  border: 0; /* reset */
width: calc(100vw - 50px);
text-align:center;
position:absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
max-height: 80vh;
overflow-y: scroll;
scrollbar-width: thin;
color: #ffffff;
border-color: transparent;
border-style: solid;
border-width: 20px;
border-image: url(ui/Tutorial_bg_4823.png) 29 fill;
z-index:3;
}

}