
:root {
   --app-height: 100%;
}


@font-face {
  font-family: ReefFont;
  src: url(../Resources/Fonts/Nunito-Bold.ttf);
}

html,
body {
    padding: 0;
    margin: 0;
    overflow: hidden;
    width: 100vw;
    height: 100vh;
    height: var(--app-height);
}
.messageBox p{
    font-size:2.5vh;
}

.unity-canvas{
    background: #231F20; 
    display:block;
    transition: opacity .5s ease-in-out;
    position:absolute;
    height:var(--app-height);
    width:100vw;

}

.header{
    display:inline-grid;
}

.kdb_logo {
    grid-row: 1;
    grid-column: 3;
    display: flex;
    align-items: center;
}
.museum_logo {
    grid-column: 1;
    grid-row: 1;
    margin: 2vh;
    display: flex;
    justify-content: center;
}

.kalle {
    grid-column: 1;
    grid-row: 3;
}

.kalle img {
    z-index: 5;
    position: relative;
    margin: auto;
    top: -27vh;
    width: 140%;
}

.side-layout {
    width: 100%;
    position:relative;
    height: 100%;
    display: grid;
    opacity:1;
    grid-template-columns: 27vw 28vw 45vw;
    grid-template-rows: 15vh auto 20vh;
    grid-template-areas:
        "header header header"
        "content content content"
        "message message message"
}

.image-header {
    box-sizing: content-box;
    grid-area: content;
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: 1fr;
    grid-template-areas: "header-image";
}


p#loadingInfo {
  color: #666;
  letter-spacing: 1px;
  position: absolute;
  width: 100%;
  font-family: "Monaco", sans-serif;
  text-transform: uppercase;
  text-align: center;
  font-size: 8px;
  margin-top: 10px;
}

._UnityContainer{
    position:absolute;
    opacity:0;
    transition: opacity .5s ease-in-out;
}



.header-slides {
    background-repeat: no-repeat;
    background-position: 50% 50%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    grid-area: header-image;
    display: inline-grid;
    z-index: 0;
    background-attachment: fixed;  
    background-size:cover;
    position:relative;
}
.slides-visible{
    opacity: 1;
    /* opacity 1s ease-in-out; */
    z-index: 1;
}

.messageBox {
    grid-row: 3;
    grid-column: 3;
    display: flex;
    align-items: center;
    text-align: left;
    font-family: ReefFont;
    margin:2vh;
}

.head-logo {
    aspect-ratio: 1 / 1;
    position: absolute;
    top: 9vh;
    left: 0;
    right: 0;
    margin: auto;
    text-align: center;
    font-family: Arimo-Bold;
    text-transform: uppercase;
    -webkit-text-stroke: medium;
    font-size: 2.5em;
    color: #404040;
    letter-spacing: 3px;
    width: 10em;
    background-color: #ffffff78;
    border: #ffffff40;
    border-style: solid;
    border-width: 2px;
    z-index: 2;
}

.progress_container {
    display: flex;
    width: 420px;
    padding: 50px 0;
    border-radius: 10px;
    background: #0000ff00;
    align-items: center;
    row-gap: 30px;
    z-index: 6;
    height: 250px;
}

.circular_progress {
    height: 8vw;
    width: 8vw;
    border-radius: 50%;
    background: conic-gradient(#1f2d65 0deg,#cccccc 0deg);
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 3vh;
    right: 5vw;
}

.circular_progress::before {
    content: "";
    position: absolute;
    height: 6.5vw;
    width: 6.5vw;
    border-radius: 50%;
    background-color: #ffffff;
    z-index: 8;
}

.progress_value {
    position: relative;
    z-index: 8;
    font-weight: bolder;
    font-family:ReefFont;
    font-size:2.8vh;
}
/*--- Alert Box ---*/
.alert {
    font-family: ReefFont;
    background-color: #f44336;
    color: white;
    z-index: 10;
    box-shadow: inset 1px -3px 20px 7px #00000040;
    grid-column: 1/4;
    grid-row: 2/4;
    display: flex;
    border: white;
    border-width: 1vw;
    border-style: inset;
}


.alert_textbox {
    display: block;
    margin: auto;
    font-size: 2.5vw;
}

.alert_content {
    margin: 15vw;
}


.closebtn {
  color: white;
  cursor: pointer;
  transition: 0.3s;
  width: 50%;
  display: block;
  margin: auto;
}

.closebtn:hover {
  color: black;
}

.OkButton {
    color: #014d5e;
    cursor: pointer;
    transition: 0.3s;
    width: 15vw;
    display: block;
    margin: auto;
    height: 8vh;
    transform: translate(0px, 5vh);
    background-color: white;
    box-shadow: 4px 5px 15px 0px #000000ab;
    border: none;
    font-size: 1em;
    font-family: ReefFont;
}

.OkButton:hover {
  background-color: #F5F5F5; /* Green */
  box-shadow: none;
}
.FullScreen_Button{
    color: #014d5e;
    cursor: pointer;
    transition: 0.3s;
    width: 15vw;
    display: block;
    margin: auto;
    height: 7vh;
    transform: translate(42.5vw, 45vh);
    position:absolute;
    background-color: white;
    box-shadow: 4px 5px 15px 0px #000000ab;
    border: none;
    font-size: 1em;
    font-family: ReefFont;
    z-index:10;
}

.Input_Window_Box {
    position: absolute;
    z-index: 11;
    left: 0;
    right: 0;
    width: 70vw;
    top: 0;
    bottom: 0;
    margin: auto;
    height: 50vh;
    font-family: ReefFont;
    background-color: #014d5e;
    color: white;
    box-shadow: 5px 5px 8px 0px #00000040;
    border-radius: 2vw;
    text-align: center;
    display: none;
}

.Input_Window_TextBox {
    display: flex;
    width: 90%;
    height: 90%;
    margin: auto;
    font-size: 2.5vw;
}

.input_field {
    width: 40vw;
    font-size: 2.8vw;
    border-style: solid;
    border-top: none;
    border-right: none;
    border-color: white;
    background-color: #014d5e;
    border-left: none;
    border-width: 0.1em;
    caret-color: white;
    color:white;
    font-family: ReefFont;
    text-align: center;
    margin: 2vh;
}

textarea:focus, input:focus{
    outline: none;
}


@media only screen and (min-width: 1800px) {
   .kalle img{
         top: -35vh;
     }
}


@media (orientation:portrait) and (min-width:350px){
   .side-layout{
        grid-template-columns: 40vw 20vw 40vw;
        grid-template-rows: 15vw auto 25vh;
   }
   .museum_logo {
        margin: 1vh;
    }
    .alert_textbox {
        display: block;
        font-size: 2.5vh;
        margin: auto;
    }
    .alert_content {
        margin: 7vw;
    }
    .OkButton {
        width: 15vh;
        height: 5vh;
    }
    .messageBox p{
        font-size:1.6vh;
        margin: auto;
     }
     .messageBox{
        margin: 1vh;
     }
     .kalle img{
         top: -27vw;
     }
     .circular_progress {
        height: 14vw;
        width: 14vw;
        top: 8vh;
        right: 12vw;
     }
     .circular_progress::before {
        height: 11.5vw;
        width: 11.5vw;
     }
     .progress_value{
        font-size: 2.5vh;
     }
     .Input_Window_Box{
         width: 95vw;
         height: 30vh;
     }
     
}
@media (orientation:portrait) and (max-width:700px){
    .side-layout{
        grid-template-columns: 40vw 0vw 60vw;
        grid-template-rows: 15vw auto 25vh;
   }
   .circular_progress {
        height: 20vw;
        width: 20vw;
        top: 7vh;
        right: 15vw;
   }
    .circular_progress::before {
        height: 16.5vw;
        width: 16.5vw;
    }
    .progress_value{
        font-size: 2.5vh;
    }
     .messageBox p{
        font-size:1.7vh;
        margin: auto;
     }
}


