
@font-face {
  font-family: "myFont";
  src: url("enhanced_dot_digital-7.ttf");
}

html body {
    width: 360px;
    height: 740px;
}
/* div.page {
    height: auto !important;
    width: auto !important;
} */
    /* margin-left: -8px; under bottom-nav */
    /* opacity: 0.7; under i*/

.bottom-nav {
    position: fixed;
    bottom: 0;
    overflow: hidden;
    width: 100%;
    display: flex;
    flex-flow: row nowrap;
    justify-content: space-around;
}

.offline {
    font-family: Geneva, Tahoma, sans-serif;
    font-style: normal;
    color: #f94d09;
    font-size: 2.4em;
    font-weight: 100;
    text-shadow: 0.5px 0 0 #fff, 0 -0.5px 0 #fff, 0 0.5px 0 #fff, -0.5px 0 0 #fff;
}
.tour {
    font-family: Geneva, Tahoma, sans-serif;
    font-style: normal;
    color: #08488d;
    font-size: 2.4em;
    font-weight: 100;
    text-shadow: 1px 0 0 #fff, 0 -1px 0 #fff, 0 1px 0 #fff, -1px 0 0 #fff;
}

body {
    width: 100vw;
    height: 100vh;
    height: auto !important;
    width: auto !important;
    overflow: hidden;
    margin: 0;
    background-color: black;
    /* overscroll-behavior: contain; */
}

main {
    position: relative;
    /* overscroll-behavior: contain; */
}
img {
    width: 100vw;
    height: 100vh;
    overflow: hidden;
    position: absolute;
    z-index: -1;
    /* overscroll-behavior: contain; */
}

#image2 {
    position: absolute;
    z-index: 2;
    opacity: 1;
    transition: 1s opacity;
}

input:focus {
    outline: none;
}

input, #start {
    border: 2px solid transparent;
    background-color: green;
    padding: 10px;
    font-size: 18px;
    margin-left: 0px;
    border-radius: 2%;
    opacity: 1;
}

#start {
    opacity: 1;
    transition: 1s opacity;
}

#starttext {
    background-color: black;
    color: white;
    opacity: 0.8;
    position: absolute;
    height: 80vh;
    margin: auto;
    width: 80%;
    z-index: 9;
    border-radius: 1%;
    text-align: center;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);

    transition: .5s opacity;
    /* top: 55px;
    left: 55px; */
}

#starttext p {
    font-family: Geneva, Tahoma, serif;
    font-size: 1.4rem;
    padding: 4px;
    text-align: center;
    margin: 0px;
}

#starttext hr {
    width: 35%;
    color: silver;

}

#orange {
    font-family: Geneva, Tahoma, sans-serif;
    font-style: normal;
    color: #f94d09;
    font-size: 2.4em;
    font-weight: 100;
    opacity: 0.9;
    margin: 0px;
}


.close {

        /* Safari */
    -webkit-transform: rotate(-45deg);

    /* Firefox */
    -moz-transform: rotate(-45deg);
    float: left;
}

.offline {
    padding-left: 3px;
}


.slider {
    position: relative;
    overflow: hidden;
    height: 100vh;
    width: 100vw;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    /* transition-duration: 0.4 ease-in-out; */
}

.slide.current {
    opacity: 1;
    animation: fadein 2s;
   -moz-animation: fadein 2s; /* Firefox */
   -webkit-animation: fadein 2s; /* Safari och Chrome */
   /* -o-animation: fadein 3s; /* Opera */
}

@keyframes fadein {
   from {
       opacity:0.6;
   }
   to {
       opacity:1;
   }
}

@-moz-keyframes fadein { /* Firefox */
   from {
       opacity:0.6;
   }
   to {
       opacity:1;
   }
}

@-webkit-keyframes fadein { /* Safari och Chrome */
       from {
           opacity:0.6;
       }
       to {
           opacity:1;
       }
    }
@-o-keyframes fadein { /* Opera */
       from {
           opacity:0.6;
       }
       to {
           opacity: 1;
       }
   }


.slide.current .content {
    opacity: .7;
    transform: translateX(600px);
    transition: all 0.7s ease-in-out 0.3s;
}

.slide .content {
    position: absolute;
    bottom: 50px;
    left: -600px;
    opacity: 0;
    width: 600px;
    background-color: rgba(255, 0, 255, 0.7);
    color: lightgrey;
    padding: 25px;
    text-align: center;
    justify-content: center;
}

.slide .content h1 {
    margin-bottom: 6px;
}

.buttons button#next {
    position:absolute;
    top: 50%;
    right: 3%;
}

.buttons button#prev {
    position:absolute;
    top: 50%;
    left: 2.5%;
}

.buttons button#back {
    position:absolute;
    bottom: 1.5%;
    Left: 85%;
}

.buttons button {
    border: none;
    background-color: transparent;
    color: white;
    font-size: 2.2rem;
    outline: none;
}

#back {
    font-size: 1.8rem;
    color: white;
}

button:active {
    transform:scale(1.1,1.1);
}

i:active {
    transform:scale(0.9,0.9);
    /* Safari */
    -webkit-transform: rotate(-45deg);
    /* Firefox */
    -moz-transform: rotate(-45deg);
    color: white;
}

/* :focus {
    transform:scale(1.1,1.1);
} */
/* .buttons button:hover {
    color: darkred;
} */

.statname {
    font-family: "myFont";
    position: absolute;
    /* font-stretch: semi-expanded; */
    font-weight: bolder;
    top: 0;
    background: rgb(0, 0, 0);
    background: rgba(0, 0, 0, 0.8);
    color: #f1f1f1;
    width: 100vw;
    /* transition: .5s ease; */
    /* opacity: 1; */
    color: darkorange;
    font-size: 40px;
    padding-top: 16px;
    padding-bottom: 16px;
    text-align: center;
    -webkit-animation: fadeinout 2.5s linear forwards;
    animation: fadeinout 2.5s linear forwards;
    opacity: 0;
    outline: none;
}

@-webkit-keyframes fadeinout {
    90% { opacity: 1; }
}

@keyframes fadeinout {
    90% {
    opacity: 1;
    }
}

@media(max-width: 500px) {
    .slide .content {
        bottom: -300px;
        left: 0;
        width: 100%;
    }

    .slide.current .content {
        transform: translateY(-300px);
    }
}
.autocomplete {
  /*the container must be positioned relative:*/
    position: relative;
    display: inline-block;
    width: 100vw;

}
form {
    position: absolute;
    top: 50%;
    left: 50%;

    padding: .8em 1.2em .8em 1.2em;
    color: white;
    background: rgba(0, 0, 0, 0.8);

    -webkit-transform: translate(-50%, -50%);
    -moz-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    -o-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
}

input {
    border: 1px solid transparent;
    background-color: #f1f1f1;
    padding: 10px;
    font-size: 18px;
    margin-left: 8%;
}

input#tit {
    margin-left: 0;
    display: none;
    /* border-top: .5px; */
}



input#myInput {
    height: 24px;
}

form:focus {
    background-color: green;
}

input[type=text] {
    background-color: #f1f1f1;
    width: 50%;
}

input[type=button] {
    background-color: green;
    color: #fff;
    border-radius: 2%;
    /* display: none; */
}

.autocomplete-items {
    position: absolute;
    font-family: Geneva, Tahoma;
    border: 2px solid #d4d4d4;
    color: white;
    border-bottom: none;
    border-top: none;
    z-index: 99;
    font-size: 18px;
    margin-left: 8%;
    /*position the autocomplete items to be the same width as the container:*/
    /* top: 100%;
    left: 0;
    right: 0; */
}

strong {
    color: green;
}

.autocomplete-items div {
    padding: 10px;
    cursor: pointer;
    background: rgba(0, 0, 0, 0.8);
    width: 75vw;
    /* border-bottom: 2px solid grey; */
}

.autocomplete-items div:hover, div:focus, div:active {
    /*when hovering an item:*/
    /* background-color: #e9e9e9; */
    color: black;
}

.autocomplete-active {
    /*when navigating through the items using the arrow keys:*/
    background-color: DodgerBlue !important;
    color: #ffffff;
}
