/* common reset */
/* http://meyerweb.com/eric/tools/css/reset/
   v2.0 | 20110126
   License: none (public domain)
*/
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,
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%;
    /* font: inherit;  */
    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;
}

.navbar-nav ol,
.navbar-nav 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;
}

/* END: common reset */

html,
body {
    width: 100%;
    height: 100%;
    padding: 0;
    margin: 0;
    overflow: hidden;
    font-family: "asap", sans-serif;

    -webkit-tap-highlight-color: rgba(0, 0, 0, 0.25);
}

a {
    color: #333333;
}


.navbar-nav ol,
.navbar-nav ul,
.navbar-nav li {
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 100%;
    font: inherit;
    vertical-align: baseline;


}

b.headline {
    text-transform: uppercase;
    letter-spacing: 1pt;
}

.anno {
    font-size: 14px;
    width: 200px;
    background-color: rgba(0, 0, 0, 0.25);
    position: absolute;
    z-index: 999;
    padding: 10px;
    text-align: center;
    display: none;
    visibility: hidden;
    color: #ffffff;
}

.standard-annotation {
    font-family: "asap", sans-serif;
    font-weight: normal;
}

/* Main Container */
.screenContainer {
    z-index: 1000;
    width: 70%;
    /* max-width: 1200px; Limits max width for better layout */
    height: calc(100% - 70px); /* Ensures it stays 70px from bottom */
    background-color: white;
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%); /* Centers it horizontally */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
    pointer-events: all;
}

/* Title Bar */
.titleDiv {
    width: 100%;
    background-color: #2b3065;
    color: white;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 5px 5px;
}

/* Centered Title */
.titleBar {
    font-size: 20px;
    font-weight: bold;
    flex-grow: 1;
    text-align: center;
}

/* Menu Button */
.menuBtn {
    background: none;
    border: none;
    color: white;
    font-size: 24px;
    cursor: pointer;
}

/* Exit Button */
.exitBtn {
    background-color: #d9544f00;
    color: white;
    padding: 10px 15px;
    border-radius: 5px;
}

/* Exit Button Hover */
.exitBtn:hover {
    background-color:  #2f346f;
}

/* Main Content (Screen) */
.webScreen {
    flex-grow: 1;
    width: 100%; /* Ensures it stretches fully */
    display: flex;
    justify-content: center; /* Centers content horizontally */
    align-items: center; /* Centers content vertically */
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
}

/* Instructions Section */
.instructionsDiv {
    width: 100%;
    background-color: #2b3065;
    color: white;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 5px 5px;
}

/* Centered Instructions */
.instructions {
    text-align: center;
    flex-grow: 1;
    font-size: 16px;
}

/* Previous & Next Buttons */
.prevBtn,
.nextBtn {
    background-color: #0066cc00;
    color: white;
    padding: 10px 15px;
    border-radius: 5px;
}

.prevBtn:hover,
.nextBtn:hover {
    background-color: #005bb5;
}
.dropdown-menu {
    display: none;
    position: absolute;
    top: 40px; /* Adjust to align with the menu button */
    left: 0px;
    
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    border-radius: 5px;
    padding: 10px;
    width: 200px;
    z-index: 1100;
}

/* Dropdown Items */
.dropdown-menu span {
    display: block;
    padding: 10px;
    cursor: pointer;
    background-color: #2b3065;;
    color: white;
    border-bottom: 1px solid #ddd;
}

/* Last item shouldn't have a border */
.dropdown-menu span:last-child {
    border-bottom: none;
}

/* Hover Effect */
.dropdown-menu span:hover {
    color :#2b3065;
    background-color: #f0f0f0;
}
.logo {

    height: auto;
    position: absolute;
    top: 50px;
    left: 50px;
    z-index: 999;
    max-width: 200px;
    width: 100%;
}

#webPortalButton {
    margin: 5px;
}

#skipButton,
#replayButton,
#backButton,
#ctaButton,
#webPortalButton {
    /* position:absolute;
    
    top: 50px;
    right: 10px;
    width: 60px;
    height: 60px; */
    z-index: 8;

    cursor: pointer;
    pointer-events: all;
}

#skipButton img,
#replayButton img,
#backButton img,
#ctaButton img {
    width: 100%;
    height: 100%;
}

.page-content {
    height: 100vh;
    padding: 0 10px;
    background-repeat: no-repeat;
    background-size: cover;
    position: relative;
}

#ctaButton {
    bottom: 110px;
}

.d-f {
    display: flex;
}

.j-c-c {
    justify-content: center;
}

.f-d-c {
    flex-direction: column;
}

.j-c-s-b {
    justify-content: space-between;
    align-items: center;
    margin: 0;
}

.j-c-f-e {
    justify-content: flex-end;
}

.j-c-f-s {
    justify-content: flex-start;
}

.a-i-c {
    align-items: center;
}

.f-w-w {
    flex-wrap: wrap;
}

.header-content {
    padding-top: 10px;
}

.is-hidden {
    display: none !important;
    visibility: hidden !important;
}

.is-visible {
    display: block;
    visibility: visible;
}
#bottom-bar {
    display: flex;
    justify-content: center;
    pointer-events: auto;
    /* position: absolute; */
    left: 0;
    right: 0;
    /*bottom: 0;
    height: 66px;
    /* background: #000000; */
    align-items: center;
  }

@font-face {
    font-family: "asap";
    font-weight: normal;
    font-style: normal;
    src: url('media/scene.babylon/fonts/Asap-Regular.otf');
}

@font-face {
    font-family: "asap";
    font-weight: bold;
    font-style: normal;
    src: url('media/scene.babylon/fonts/Asap-Bold.otf');

}

@font-face {
    font-family: "asapMed";
    src: url('media/scene.babylon/fonts/Asap-Medium.otf');

}

@font-face {
    font-family: "asap";
    font-weight: normal;
    font-style: italic;
    src: url('media/scene.babylon/fonts/Asap-Italic.otf');

}

@font-face {
    font-family: "asap";
    font-weight: bold;
    font-style: italic;
    src: url('media/scene.babylon/fonts/Asap-BoldItalic.otf');

}




.intro {
    position: absolute;
    top: 70px;
    width: 450px;
    left: 55px;

    /* margin-left: -300px; */
    font: "asap" #373335 bolder 14px;
    text-align: left;



}

/* b {font: "asap" bold;} */

.colorpanel {
    /*background-color: #000;*/
    padding: 5px 25px;
    height: max-content;

    /* max-width: 150px; */
    z-index: 1;
    line-height: 40px;
    /*border-radius: 10px;*/
}

.coloritem {
    display: flex;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    align-items: center;
    /* margin-right: 25px;
    margin-top: 5px; */
    border: 3px solid #eee;
    box-sizing: border-box;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    justify-content: center;
    pointer-events: all;
    cursor: pointer;
}

#introHolder {
    position: absolute;
    bottom: 110px;
    left: 0;
    right: 0;
    text-align: center;
    padding: 2vw;
    background-color: rgba(0, 0, 0, .7);

}

#introHolder p {
    color: white;
}

.mainAppContainer a {
    color: #ffffff;
    text-decoration: none;
    /* display: inline-block;  */
}

html body a:hover,
html body a:focus,
html body a:active,
html body a.active {
    color: #ffffff;
}

.mainAppContainer .container {
    margin: 45px;
}

.mainAppContainer header,
.mainAppContainer footer,
.mainAppContainer,
html body footer {
    width: 100%;
}

.mainAppContainer header {
    position: fixed;
    top: 0;
    z-index: 10;
}

.mainAppContainer header .container {
    display: -ms-flexbox;
    display: flex;
    gap: 5vw;
    -ms-flex-pack: justify;
    justify-content: space-between;
}

.mainAppContainer header .container .logo {
    z-index: 999;
}

.arrow-back {
    max-width: 200px;
    width: 100%;
}

/* .logo-box {
        max-width: 33vw;
    }
        */
.back-box {
    display: flex;
    flex-direction: column;
    align-items: center;
}


.mainAppContainer footer {
    position: fixed;
    bottom: 40px;
    z-index: 10;
}

.mainAppContainer footer .container {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-pack: end;
    justify-content: end;
}




.cta-button {
    border-radius: 8px;
    width: 200px;
    /* aspect-ratio: 1/5; */
    font-family: "asapMed";
    padding: 5px 0px;
    margin: 5px 0px;
    font-size: 24px;
    color: white;
    text-align: center;
    text-decoration: none;
}

.wireframe {
    background: none;
    border: 2px solid white;
}

.blue {
    background-color: #009FE3;
    border: none;
}

.gui {
    position: absolute;
    display: flex;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 20;
    justify-content: right;
    align-content: center;
}

.webChapters {
    position: fixed;

    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    justify-self: anchor-center;
    align-items: center;
    width: 400px;
    border: 0px solid #eee;

}

.chapter-button {
    border: 0px solid #eee;
    color: white;
    font-size: 18px;
    /* max-width: 50%; */
    width: 300px;
    padding: 12px 6px;
    margin: 3px;
    height: auto;
    pointer-events: all;
    cursor: pointer;
    background: #2b3065;
    border-radius: 8px;

}

#chapter1:hover,
#chapter2:hover,
#chapter3:hover,
#chapter4:hover,
#chapter5:hover,
#chapter6:hover,
#chapter7:hover,
#chapter8:hover,
#chapter9:hover,
#chapter10:hover,
#chapter11:hover {
    background-color: #ffffff;
    color: black;
}

@media only screen and (max-width: 600px) {
    .gui {

        justify-content: center;
        align-content: flex-end;
    }


    .logo {

        height: auto;
        position: absolute;
        top: 20px;
        left: 20px;

        max-width: 120px;
        width: 100%;
    }

    .intro {
        position: absolute;
        top: 20px;
        max-width: 320px;
        width: 70%;
        left: 25px;

        /* margin-left: -300px; */
        font: "asap" #373335 bold 10px;
        text-align: left;
    }

    .mainAppContainer .container {
        margin: 25px 30px 45px 30px;
    }

/* toolbox */

.toolbox-cont {
    position: absolute;
    bottom: 30px;
    transform: translate(0, 50%);
    right: 0;
    padding: 8px;
    background-color: rgba(0, 0, 0, 0.25);
    border-radius: 8px 0px 0px 0px;
    margin-left: 5px;
  }
  
  .toolbox-btn {
    display: block;
    box-sizing: border-box;
    float: left;
    margin-right: 19px;
    overflow: hidden;
    width: 40px;
    height: 40px;
    cursor: pointer;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0.25);
    user-select: none;
  }
  
  .toolbox-btn:last-of-type {
    margin: 0 0 0 -4px;
  }
  .note{
    color: white;
  
  }
  
  @media (max-width: 380px) {
    .toolbox-cont {
      padding: 0px 10px;
      visibility: hidden !important;
    }
  
    .toolbox-btn {
      margin-right: 10px;
    }
    .note{
      color: white;
      font-size: 12px;
      margin-left: 50px;
      margin-right: 40px;
    }
  }
  
  @media (max-width: 340px) {
    .toolbox-cont {
      
      visibility: hidden !important;
    }
    .toolbox-btn:last-of-type {
      margin-right: -4px;
    }
    .note{
      color: white;
      font-size: 12px;
      margin-left: 50px;
      margin-right: 40px;
    }
  }
  
  .toolbox-btn img {
    width: 100%;
    height: 100%;
  }
  
  /* toolbox menu */
  .toolbox-menu {
    position: absolute;
    bottom: 50px;
    right: 4px;
    background: rgba(0, 0, 0, .25);
    font-family: 'Lato', sans-serif;
    font-size: 16px;
    color: white;
    padding: 9px 20px 9px 18px;
    -webkit-border-radius: 8px;
    -moz-border-radius: 8px;
    border-radius: 8px;
    visibility: hidden;
    opacity: 0;
    transition: opacity 300ms;
  }
  
  /* .toolbox-menu {
    position: absolute;
    bottom: 52px;
    right: 0px;
    background: rgba(0, 0, 0, 1.0);
    font-family: 'Lato', sans-serif;
    font-size: 16px;
    color: white;
    padding: 9px 20px 9px 18px;
    -webkit-border-radius: 8px;
    -moz-border-radius: 8px;
    border-radius: 8px;
    visibility: hidden;
    opacity: 0;
    transition: opacity 300ms;
  } */
  .toolbox-menu.visible {
    visibility: visible;
    opacity: 1;
  }
  
  .toolbox-menu-item {
    padding: 5px 0;
    cursor: pointer;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
    user-select: none;
    height: 20px;
  }
  
  .toolbox-menu-item.radio::before {
    content: " ";
    font-family: monospace;
    width: 21px;
    display: inline-block;
  }
  
  .toolbox-menu-item.button {
    background-color: rgba(255, 255, 255, .6);
    color: black;
    border-radius: 4px;
    padding: 2px 4px;
    margin-top: 6px;
  }
  
  .toolbox-menu-item.button:hover {
    background-color: rgba(255, 255, 255, 1);
  
  }
  
  .toolbox-menu-item input {
    width: 60px;
    border-radius: 4px;
  }
  
  .toolbox-menu-item span {
    width: 66px;
    display: inline-block;
  }
  
  .toolbox-menu-item.radio.active::before {
    content: "✓";
  }
  
  .backButton {
    height: 4%;
    width: 4%;
    cursor: pointer;
    pointer-events: all;
    position: fixed;
    right: 60px;
    top: 20px;
  
  }
  
}