html * {
    overflow: hidden;
    font-family: 'Roboto', sans-serif;
}

.tp-dfwv{
    z-index: 10;
    font-family: Roboto Mono,Source Code Pro,Menlo,Courier,monospace;
}

.marker{
    position: relative;
    width: 6vh;
    height: .8vh;
    background: #102C3F;
    left: 1vh;
    top: -8.7vh;
}

button {
    width: 8vh;
    height: 100%;
    margin: 1vh;
    font-size: 2rem;
    color: #2f2f2f;
    display: flex;
    padding-top: 1.5vh;
    background: none;
    min-height: 8vh;
    min-width: 8vh;
    border: none;
    padding-left: 0;
    padding-right: 0;
    margin-top: 0;
    margin-bottom: 0;
    border-top: 1vh solid #102c3f00;
}

/* button:hover{
    width: calc((100vw / 6) - 1vh);
    height: calc((100vw / 6) - 1vh);
    max-height: 9vh;
    max-width: 9vh;
    margin: .5vh;
    transition: 100ms;
} */

* {
    -webkit-tap-highlight-color: rgba(255, 255, 255, 0) !important; 
    -webkit-focus-ring-color: rgba(255, 255, 255, 0) !important; 
    outline: none !important;
} 

#loadingScreen{
    position: fixed;
    width: 100vw;
    height: 100vh;
    background: #fafafa;
    z-index: 3;
    display: flex;
}

.disabled{
    opacity: 0;
    transition: 1s;
}

h2{
    font-size: 3.5vh;
}

.optionsButton{
    background-repeat: no-repeat;
    background-position-x: center;
    background-position-y: center;
    background-size: contain;
    margin-top: 10px;
}

#background {
    position: fixed;
    overflow: hidden;
    height: 100vh;
    width: 100vw;
    -webkit-transition: background 0.5s ease-out, color 0.5s ease-out;
    -moz-transition: background 0.5s ease-out, color 0.5s ease-out;
    -o-transition: background 0.5s ease-out, color 0.5s ease-out;
    transition: background 0.5s ease-out, color 0.5s ease-out;
    display: flex;
    flex-direction: column;
    z-index: -1;
}

.footerOptions{
    width: 100vw;
    display: flex;
    justify-content: space-around;
}

.optionsGrid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-gap: 5px;
}

#optionsPanel {
    min-width: 20%;
    max-width: 20%;
    -webkit-box-shadow: -4px 0px 41px 0px rgba(0, 0, 0, 0.75);
    -moz-box-shadow: -4px 0px 41px 0px rgba(0, 0, 0, 0.75);
    box-shadow: -4px 0px 41px 0px rgba(0, 0, 0, 0.75);
}

#optionsContent {
    padding: 20px;
}

#overlay {
    display: flex;
    flex-direction: column;
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    right: 0;
    justify-content: space-between;
}

#optionsButtons{
    display: flex;
    justify-content: space-around;
    flex:.7;
    max-width: 400px;
    margin-left: auto;
}

#interiorMark{
    position: absolute;
    top: 10.5vh;
    right: 10px;
    color: black;
    font-size: 2vh;
}

#colorMark{
    position: absolute;
    top: 8vh;
    right: 10px;
    color: black;
    font-size: 2vh;
}

.optionsButton{
    width: 6vh;
    border-bottom: 1vh solid #00000000;
}

.interiorImage{
    background-blend-mode: multiply;
    background-size: 15vh;
}

.paintImage{
    background-image: url('./paint.png');
    background-size: cover;
}

#header{
    height: 7vh;
    width: 100vw;
    background: #fafafad8;
    position: fixed;
    z-index: 2;
    display: flex;
    justify-content: space-between;
    box-shadow: 1px -6px 40px 17px rgba(0,0,0,0.48);
    -webkit-box-shadow: 1px -6px 40px 17px rgba(0,0,0,0.48);
    -moz-box-shadow: 1px -6px 40px 17px rgba(0,0,0,0.48);
}

#footer{
    height: 10vh;
    width: 100vw;
    background: #fafafad8;
    position: fixed;
    z-index: 2;
    display: flex;
    bottom: 0;
    justify-content: center;
    box-shadow: 1px 7px 40px 17px rgba(0,0,0,0.48);
    -webkit-box-shadow: 1px 7px 40px 17px rgba(0,0,0,0.48);
    -moz-box-shadow: 1px 7px 40px 17px rgba(0,0,0,0.48);
    overflow-x: auto;
}

#logo {
    position: fixed;
    margin-top: 10px;
    margin-bottom: auto;
    margin-left: 30px;
}

.viewer .controls .watermark{
    visibility: hidden;
}

#logo img{
    width: 10vh;
}

#lander {
    width: 100vw;
    height: 100vh;
    display: flex;
    flex-direction: column;
    margin: auto;
    background: #fafafa;
}

@media all and (orientation:portrait) {
    .landerSelection{
    height: calc(50vh - .5vh);
    background-size: 50vh;
    }

    .landerSelection:hover{
        transition: 300ms;
        background-size: 55vh;
    }
}

@media all and (orientation:landscape) {
    .landerSelection{
        width: calc(50vw - .5vw);
        background-size: 50vw;
        }

        .landerSelection:hover{
            transition: 300ms;
            background-size: 55vw;
        }
}

.landerSelection{
    transition: 300ms;
    background-color: #102C3F;
    background-repeat: no-repeat;
    background-position: center;

}

#lander a{
    color:#2d2d2d;
}

@media all and (orientation:portrait) {
    #content {
        flex-direction: column;
    }
}

#content {
    margin: auto;
    display: flex;
    width: 100vw;
    height: 100vh;
    justify-content: space-between;
    background: #fafafa;
}

@media all and (orientation:portrait) {
    #logoBig {
        border: 1vh solid #fafafa;
        left: calc(50vw - 9vh);
        top: calc(50vh - 9vh);
        width: 16vh;
        max-width: 16vh;
    }
}

@media all and (orientation:landscape) {
    #logoBig {
        border: 1vw solid #fafafa;
        left: calc(50vw - 10vh - 1vw);
        top: 20vh;
        width: 20vh;
        max-width: 20vh;
    }
}

#logoBig {
    display: block;
    margin-left: auto;
    margin-right: auto;
    position: fixed;


    border-radius: 100%;
    background: #fafafa;
}

body {
    display: flex;
    flex-direction: column;
    margin: 0;
}

#bodyOptions{
    display: flex;
    overflow-x: auto;
    overflow-y: hidden;
}

#ageOptions{
    display: flex;
}

#countryOptions{
    display: flex;
}

#colorOptions{
    display: flex;
    overflow-x: auto;
}

#interiorOptions{
    display: flex;
    overflow-x: auto;
}

#carSelection {
    margin-top: 50px;
    display: flex;
    justify-content: center;
}

.carOption {
    font-size: 5rem;
    margin-top: auto;
    margin-bottom: auto;
    color: white;
    font-style: normal;
    margin: 20px;
}

#backgroundGradient {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(0deg, rgba(0, 0, 0, .5) 0%, rgba(0, 0, 0, 0) 90%);
    pointer-events: none;
}

#api-frame {
    position: absolute;
    top: 7vh;
    left: 0;
    width: 100vw;
    border: none;
    height: 83vh;
}

#gradient {
    background: linear-gradient(#ffffff1c, #00000070);
    width: 100vw;
    height: 100vh;
    display: flex;
}

#loader {
    margin: auto;
    display: flex;
    flex-direction: column;
    color: rgba(0,0,0,.6);
}

#loader h1 {
    color: #2d2d2d;
    text-align: center;
    font-size: 1.5rem;
}

#loader img{
    width: 40vw;
    max-width: 20vh;
    margin-left: auto;
    margin-right: auto;
}

#loadingBarHolder {
    background-color: #102C3F;
    width: 40vw;
    max-width: 40vh;
    height: 16px;
    margin-left: auto;
    margin-right: auto;
    display: flex;
    justify-content: right;
    padding: 2px;
}

#loadingBar {
    background: white;
    margin-left: auto;
    flex: 1;
    max-width: 100%;
    transition: 300ms;
}

#loadingTitle{
    color:#102C3F;
    text-align: center;
    font-size: 2rem;
    margin-top: 60px;
}

#loadingText{
    color:#102C3F;
    text-align: center;
    font-size: 1.4rem;
    max-width: 70vw;
    margin: auto;
    margin-top: 60px;
}

.webgl{
    height: calc(100% - 18vh)
}

/* Loader from loading.io */

.lds-ellipsis {
    display: inline-block;
    position: relative;
    width: 80px;
    height: 50px;
    margin: auto;
  }
  .lds-ellipsis div {
    position: absolute;
    top: 33px;
    width: 13px;
    height: 13px;
    border-radius: 50%;
    background: #2d2d2d;
    animation-timing-function: cubic-bezier(0, 1, 1, 0);
  }
  .lds-ellipsis div:nth-child(1) {
    left: 8px;
    animation: lds-ellipsis1 0.6s infinite;
  }
  .lds-ellipsis div:nth-child(2) {
    left: 8px;
    animation: lds-ellipsis2 0.6s infinite;
  }
  .lds-ellipsis div:nth-child(3) {
    left: 32px;
    animation: lds-ellipsis2 0.6s infinite;
  }
  .lds-ellipsis div:nth-child(4) {
    left: 56px;
    animation: lds-ellipsis3 0.6s infinite;
  }
  @keyframes lds-ellipsis1 {
    0% {
      transform: scale(0);
    }
    100% {
      transform: scale(1);
    }
  }
  @keyframes lds-ellipsis3 {
    0% {
      transform: scale(1);
    }
    100% {
      transform: scale(0);
    }
  }
  @keyframes lds-ellipsis2 {
    0% {
      transform: translate(0, 0);
    }
    100% {
      transform: translate(24px, 0);
    }
  }
  