/* css reset */

html,
body,
div,
span,
applet,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
a,
abbr,
acronym,
address,
big,
cite,
code,
del,
dfn,
em,
img,
ins,
kbd,
q,
s,
samp,
small,
strike,
strong,
sub,
sup,
tt,
var,
b,
u,
i,
center,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td,
article,
aside,
canvas,
details,
embed,
figure,
figcaption,
footer,
header,
hgroup,
menu,
nav,
output,
ruby,
section,
summary,
time,
mark,
audio,
video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  vertical-align: baseline;
}

/* HTML5 display-role reset for older browsers */
article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section {
  display: block;
}

body {
  line-height: 1;
}

ol,
ul {
  list-style: none;
}

blockquote,
q {
  quotes: none;
}

blockquote:before,
blockquote:after,
q:before,
q:after {
  content: "";
  content: none;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

/* css */
* {
  box-sizing: border-box;
}

bold{
  font-weight: 500;
}

body {
  font-family: "Roboto", Arial, Helvetica, "Nimbus Sans L",
    "Liberation Sans", FreeSans, sans-serif;
}

#unity-container {
  position: relative;
  min-height: 100%;
  max-width: 960px;
  display: flex; 
  justify-content: center;
  align-items: center;
  flex-direction: column; 
  margin: auto; 
  margin-top: 3rem; 
}

.unity-content{
  background: #fff;
  background-image: url("../TemplateData/blueskyline.png");
  background-position: bottom;
  background-repeat: no-repeat;
  background-size: contain;
  padding: 0 1rem;
}

#unity-fullscreen-button { 
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
  background: #FEC627; 
  transition: background .5s;
  border-radius: 2rem; 
  width: auto; 
  border: white 1px solid;
  box-shadow: 0px 3px 6px #00000017;
  margin-top: 1rem;
  margin-left: auto;
  gap: .5rem;
  font-weight: 600;
  padding: .5rem 1.5rem;
}

#unity-fullscreen-button:hover{
  background: #ffbc01;
}

#unity-fullscreen-button span{
  width: 1rem;
}



.workshop-header {
  background-color: #fff;
  border-bottom: #ffc627 8px solid;
  box-shadow: 0px 3px 6px rgba(0, 0, 0, 0.16);
  padding: 1rem;
}

.workshop-header h1 {
  font-size: 18px;
}

.header-container {
  margin-left: 4rem;
  display: flex;
  align-items: center;
}

.workshop-header img {
  max-height: 47px;
  padding-right: 2rem;
  border-right: 2px solid #d8d8d8;
}

.workshop-title {
  font-weight: 900;
  color: #191919;
  font-size: 18px;
  text-align: left;
  padding: 0rem 2rem;
}

.browser-warning, .mobile-warning {
  flex-grow: 1;
  max-width: 40%;
  font-weight: bold;
  background: #f2f2f2;
  padding: 1.25rem 2rem;
  border-radius: 13px;
  box-shadow: 0px 3px 6px rgba(0, 0, 0, 0.16);
  display: flex;
  align-items: center;
  font-size: 12px;
  margin: 1rem 0 4rem 0;
}

.mobile-warning{
  display: none;
}

.browser-warning a, .mobile-warning a {
  color: #12a3c1;
}

.browser-warning img, .mobile-warning img {
  max-height: 50px;
  padding-right: 1.25rem;
}

.display-none {
  display: none;
}

.credits-wrapper{
  display: flex;
  gap: 3rem;
  color: #474747;
  background: #fff;
  box-shadow: 0px 0px 20px 20px rgba(255,255,255, .95);
  max-width: 960px;
  margin: auto;
  margin-bottom: 280px;
  line-height: 18px;
  border-radius: 11px;
}

.credits-wrapper span{
  display: inline-block;
  width: 1.5rem;
  fill: #474747
}

.credits-wrapper h2{
  font-size: 20px;
  display: flex;
  gap: .5rem;
  align-items: center;
  
}

.credits-wrapper h3{
  font-size: 14px;
  color: #474747;
  margin-top: 1rem;
  margin-bottom: .5rem;
}

.credits-wrapper p{
  font-size: 14px;
  color: #474747;
  padding-bottom: .25rem;
}

.exp-info{
  display: flex;
  flex-direction: column;
  min-width: min-content;
  padding: 1rem 2rem;
  border-radius: 11px;
  background-color: var(--light-2, #F1F1F1);
  border: var(--light-3, #e8e8e8) 1px solid;
}

.credits-container{
  display: flex;
  flex-direction: column;
  flex-basis: 66%;
  padding: 1rem;
}

.credit-columns{
  display: flex;
  gap: 1.5rem;
}

footer {
  display: flex;
  flex-direction: column;
  
}

.footer-section-wrapper {
  max-width: 1140px;
  margin: auto;
}

.footer-nav .footer-section-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-nav img{
  height: 100px;
}

.footer-section-wrapper ul {
  display: flex;
  gap: 2rem;
}

.footer-section-wrapper ul a{
  color: #191919;
  text-decoration: none;
}

.footer-nav ul a{
  color: #191919;
  font-weight: bold;
}

.footer-main{
  background: #191919;
  color: white;
  padding: 0 1rem;
}

.footer-img-wrapper{
  padding-top: 3rem !important;
  padding-bottom: 3rem;
  border-bottom: 1px solid #d0d0d0; 
  margin-bottom: 3rem; 
  color: #FAFAFA;
}

.footer-sub-wrapper p{
  margin-bottom: 3rem;
  font-size: 14px;
  font-weight: 300;
  max-width: 420px;
  line-height: 1.2;
}

.footer-sub-wrapper img{
  margin-bottom: 2rem;
}

.footer-sub-wrapper bold{
  font-size: 18px;
}

.footer-nav {
  padding: 0 1rem;
  background: #ffc627;
}

.footer-legal-nav {
  background: #E8E8E8;
  padding:1rem;
  line-height: 1;
}

#unity-footer { 
  z-index: 1;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 0 1rem;
}

@media (max-width: 960px) {
  .header-container{
    margin: 0;
  }
  .header-container .workshop-title{
    position:absolute;
    left:-10000px;
    top:auto;
    width:1px;
    height:1px;
    overflow:hidden;
  }
  .header-container .asuo-logo img{
    border: none;
    max-height: 57px;
  }
  #unity-canvas{
    width: 100% !important;
    height: auto !important;
    aspect-ratio: 1.6;
  }
  .unity-content{
    padding: 0;
  }
  .credits-wrapper{
    flex-direction: column;
    padding: 1rem 2rem;
    margin-bottom: 140px;
  }
  #unity-footer {
    flex-direction: column;
    align-items: center;
    justify-items: center;
    padding: 2rem 2rem;
  }
  #unity-fullscreen-button{
    margin-left: unset;
    margin: 0 0 1.5rem;
  }
  .browser-warning, .mobile-warning{
    width: 100%;
    max-width: 100%;
    margin: 0 0 1.5rem;
  }
  .mobile-warning{
    display: flex;
  }
  .credit-columns{
    flex-direction: column;
    gap: 0;
  }
  .footer-nav .footer-section-wrapper, .footer-legal-nav .footer-section-wrapper {
    flex-wrap:wrap;
    flex-direction: column-reverse;
  }
  
  .footer-section-wrapper{
    margin: 1rem;
  }
  .footer-nav img{
    height: auto;
    width: 100%;
  }
  .footer-section-wrapper li {
    flex-shrink: 0;
    
  }
  .footer-section-wrapper ul {
    flex-wrap: wrap;
  }
  
}


#unity-container.unity-mobile { width: 100%; height: 100% }
#unity-canvas { background: #231F20; border-bottom: #fec627 3px solid;}
.unity-mobile #unity-canvas { width: 100%; height: 100% }
#unity-loading-bar {  position: absolute; left: 50%; top: 300px; transform: translate(-50%, -50%); display: none }
/* #unity-logo { width: 154px; height: 130px; background: url('unity-logo-dark.png') no-repeat center } */
#unity-progress-bar-empty { width: 141px; height: 18px; margin-top: 10px; margin-left: 6.5px; background: url('progress-bar-empty-dark.png') no-repeat center }
#unity-progress-bar-full { width: 0%; height: 18px; margin-top: 10px; background: url('progress-bar-full-dark.png') no-repeat center }



.unity-mobile #unity-footer { display: none }
/* #unity-webgl-logo { display: none; float:left; width: 204px; height: 38px; background: url('webgl-logo.png') no-repeat center } */
#unity-build-title { display: none; float: right; margin-right: 10px; line-height: 38px; font-family: arial; font-size: 18px }
#unity-warning { position: absolute; left: 50%; top: 5%; transform: translate(-50%); background: white; padding: 10px; display: none }
