@font-face {
    font-family: logofont;
    src:url("libs/design/Victory_Racket/Victory_Racket_-_Personal_Use.otf");
}

#pic{
    width:300px;
    height:300px;
}

#uploadfirst, #uploadfirstimage{
    width:300px;
    height:300px;
}
#recreate, #result{
    width:300px;
    height:300px;
}
#showResult, #upload, #finalbutton{
    width:300px;
}

#logoicon1{
    display:inline-block;
    height:40px;
}
#logofont1{
    margin-top:-42px;
    margin-left:40px;
    font-size:50px;
}

@media (max-width: 400px){

#logoicon1{
    display:inline-block;
    height:40px;
}
#logofont1{
    margin-top:-42px;
    margin-left:40px;
    font-size:50px;
}

    #pic{
        width:200px;
        height:200px;
    }
    #uploadfirst, #uploadfirstimage{
        width:200px;
        height:200px;
    }
    #recreate, #result{
    width:200px;
    height:200px;
    }
    #showResult, #upload, #finalbutton{
    width:200px;
    }
}

@media (max-width: 300px){

#logoicon1{
    display:inline-block;
    height:40px;
}
#logofont1{
    margin-top:-42px;
    margin-left:40px;
    font-size:50px;
}

    #pic{
        width:150px;
        height:150px;
    }
    #uploadfirst, #uploadfirstimage{
        width:150px;
        height:150px;
    }
    #recreate, #result{
    width:150px;
    height:150px;
    }
    #showResult, #upload, #finalbutton{
    width:150px;
    }
}

::-webkit-scrollbar {
    width: 0px;
    background: transparent; 
}

#map {
  height: 100%;
}
#maperror {
    height: 80%;
    width:100%;
    position: absolute;
    background: #ededed;
    z-index:9;
    display:none;
    justify-content: center;
}

#carpet {
    width:100%;
    height: 100%;
    z-index:22;
    background: rgba(0, 0, 0, 0);
    position: absolute;
    display: none;
    justify-content: center;
}
#carpetshadow {
    width:100%;
    height: 100%;
    z-index:20;
    background: rgba(43, 44, 50, 0.8);
    position: fixed;
    display: none;
    justify-content: center;
}
#flyer {
    background: #ffffff;
    z-index:30;
    margin: 60px 33px 60px 33px;
    padding:20px;
    text-align: center;
    position: absolute;
    max-width: 400px;
}
#flyer h2{
    margin-bottom: 0;
}
#flyer p{
    margin-top: 0;
}
#closebutton {
    position:absolute;
    top:-23px;
    right:-23px;
}


.container {
  height: 100%;
  margin: 0;
  margin-top:60px;
  padding: 0;
  justify-content: center;
  text-align: center;
}
.centered-element {
  position:fixed;
  width:100%;
  top:60px;
  height: calc(100% - 60px - 50px);
  
}
#footer{
    text-align: center;
    position:fixed;
    bottom:0;
    right:0;
    font-size:10px;
    color: #8cc1b9;
    padding:5px;
    z-index:40;
    text-transform: uppercase;
}
#footer a{
    text-decoration: none;
    color: #8cc1b9;
}

#headline{
    color: #ffffff;
    margin-left:25px;
    margin-top:10px;
    margin-bottom: 10px;
    padding:0;
    width:320px;
    display: block;
    text-decoration: none;
    font-family: logofont;
}
#button {
    position: fixed;
    left: calc(50% - 140px);
    bottom: calc(50px - 39px);
    padding:20px;
    background:#9068f3;
    color:#ffffff;
    outline: none;
    text-decoration: none;
    border-radius: 50px;
    border: 10px solid #ffffe5;
    z-index:12;
    text-transform: uppercase;
    font-weight: bold;
    font-size: 18px;
    width:220px;
    
}

#button:hover{
  background: #6348a7;
}

#modalbutton {
    padding:20px;
    background:#9068f3;
    color:#ffffff;
    outline: none;
    text-decoration: none;
    border-radius: 50px;
    border: 10px solid #ffffff;
    text-transform: uppercase;
    font-weight: bold;
    font-size: 18px;
}

#modalbutton:hover{
  background: #6348a7;
}

#searchBar {
    position: fixed;
    left: 50px;
    top: 70px;
    padding:10px;
    padding-left: 20px;
    background:#9068f3;
    color:#ffffff;
    outline: none;
    text-decoration: none;
    border-radius: 50px;
    z-index:9;
    text-transform: uppercase;
    font-weight: bold;
    font-size: 18px;
    width: calc(100% - 50px);
    transform: translateX(calc(100% - 85px));
    transition: transform 500ms ease-in-out;
}

#searchInput {
    width: calc(100%);
    padding: 8px;
    border: none;
    border-radius: 8px;
}
#searchInput:focus {
    outline: none;
}

@import url('https://fonts.googleapis.com/css?family=Varela+Round');
html, body {
    overflow-x: hidden;
    overflow-y: scroll;
    height: 100%;
}
body {
    background: #ffffe5;
    padding: 0;
    margin: 0;
    font-family: 'Varela Round', sans-serif;
}
.header {
    display: block;
    margin: 0 auto;
    width: 100%;
    max-width: 100%;
    box-shadow: none;
    background-color: #8cc1b9;
    position: fixed;
    height: 60px!important;
    overflow: hidden;
    z-index: 10;
}
#sidebarMenu {
    height: 100%;
    position: fixed;
    right: 0;
    width: 50%;
    margin-top: 60px;
    transform: translateX(100%);
    transition: transform 250ms ease-in-out;
    background: linear-gradient(180deg, #8cc1b9 0%, #ffffe5 80%);
    z-index: 10;
}
.sidebarMenuInner{
    margin:0;
    padding:0;
    border-top: 1px solid rgba(255, 255, 255, 0.10);
}
.sidebarMenuInner li{
    list-style: none;
    color: #fff;
    text-transform: uppercase;
    font-weight: bold;
    padding: 20px;
    cursor: pointer;
    border-bottom: 1px solid rgba(255, 255, 255, 0.10);
}
.sidebarMenuInner li span{
    display: block;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.50);
}
.sidebarMenuInner li a{
    color: #fff;
    text-transform: uppercase;
    font-weight: bold;
    cursor: pointer;
    text-decoration: none;
}
#openSidebarMenu:checked ~ #sidebarMenu {
    transform: translateX(0);
}

#openSidebarMenu {
    transition: all 0.3s;
    box-sizing: border-box;
    display: none;
}
.sidebarIconToggle {
    transition: all 0.3s;
    box-sizing: border-box;
    cursor: pointer;
    position: fixed;
    z-index: 19;
    height: 100%;
    width: 100%;
    top: 22px;
    right: 15px;
    height: 22px;
    width: 22px;
    margin-right:30px;
}
.spinner {
    transition: all 0.3s;
    box-sizing: border-box;
    position: absolute;
    height: 3px;
    width: 100%;
    background-color: #fff;
}
.horizontal {
    transition: all 0.3s;
    box-sizing: border-box;
    position: relative;
    float: left;
    margin-top: 3px;
}
.diagonal.part-1 {
    position: relative;
    transition: all 0.3s;
    box-sizing: border-box;
    float: right;
}
.diagonal.part-2 {
    transition: all 0.3s;
    box-sizing: border-box;
    position: relative;
    float: right;
    margin-top: 3px;
}
#openSidebarMenu:checked ~ .sidebarIconToggle > .horizontal {
    transition: all 0.3s;
    box-sizing: border-box;
    opacity: 0;
}
#openSidebarMenu:checked ~ .sidebarIconToggle > .diagonal.part-1 {
    transition: all 0.3s;
    box-sizing: border-box;
    transform: rotate(135deg);
    margin-top: 8px;
}
#openSidebarMenu:checked ~ .sidebarIconToggle > .diagonal.part-2 {
    transition: all 0.3s;
    box-sizing: border-box;
    transform: rotate(-135deg);
    margin-top: -9px;
}

.rotate-north {
    top: 65px;
    left: .5em;
}
.ol-touch .rotate-north {
    top: 80px;
}

add-button {
  position: absolute;
  top: 1px;
  left: 1px;
}

#rangeValue {
  position: relative;
  display: block;
  text-align: center;
  font-size: 1.5em;
  color: #ffffff;
  font-weight: bold;
  margin: 0.83em;
}
.range {
  width: 100%;
  max-width: 400px;
  height: 10px;
  -webkit-appearance: none;
  background: #ffffff;
  outline: none;
  border-radius: 10px;
}
.range::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 30px;
  height: 30px;
  border-radius: 15px;
  background: #9068f3;
  cursor: pointer;
  border: 5px solid #ffffff;
}


.modal {
  display: none; 
  position: fixed;
  z-index: 100;
  padding-top: 100px; 
  left: 0;
  top: 0;
  width: 100%; 
  height: 100%; 
  overflow: auto; 
  background-color: rgb(0,0,0); 
  background-color: rgba(0,0,0,0.4); 
}


.modal-content {
  background-color: #fefefe;
  margin: auto;
  padding: 20px;
  border: 1px solid #888;
  width: 80%;
  text-align: center;
}
