
html,
body {
    height: 100%;
    width: 100%;
    margin: 0;
}

#map {
    width: 100%;
    height: 100%;
}

body{
    font-family: Moskau;
    margin: 0;
    
    overflow: hidden;
    color: seashell;

    background-color: grey;
}

/* LANDING PAGE */

.landing-container{
    min-height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.landing-container > .title{
    font-size: clamp(35px, 100px, 10vw);
    font-family: Moskau;
    letter-spacing: 1.5vw;
    height: 20vh;
}

.landing-container > .description{
    width: clamp(300px, 900px, 70%);
    padding: 2rem;
    margin: 5vh 0;
    font-size: clamp(15px, 20px, 5vw);
    /* transform: translate(-50%,0); */
}

.landing-container > .start-btn{
    width: 80%;
    max-width: 200px;
    border: pink 3px solid;
    border-radius: 5px;
    padding: 1rem;
    font-size: clamp(20px, 30px, 6vw);
    display: flex;
    justify-content: center;
    align-items: center;

    -webkit-box-shadow: 5px 5px 20px 0px rgb(0, 0, 0, 0.3), -5px -5px 30px 0px rgba(255, 166, 166, 0.3); 
    box-shadow: 5px 5px 20px 0px rgb(0, 0, 0, 0.3), -5px -5px 30px 0px rgba(255, 166, 166, 0.3);
}

@media screen and (min-width: 768px){
    .landing-container > .start-btn{
        width: 80%;
        max-width: 350px;
    }
}

a{
    text-decoration: none;
    color: seashell;
}

.gps-lock-switch{
    position:fixed;
    padding: 1rem;
    bottom: 0;
    left: 0;
    margin: 5px;
    width: 200px;
    height: 70px;
    z-index: 999;
    display: flex;
    background: grey;
    border: 3px pink solid;
}

.gps-lock-switch span{
    height: 100%;
    width: 70%;
    display: grid;
    place-items: center;
    margin: 0 10px;
}
.gps-lock-switch input{
    width: 100%;
    height: 100%;
    flex-grow: 1;
}

.gps-error-container{
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 999999999999;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
}

.gps-error-card{
    position: relative;
    width:90%;
    max-width: 600px;
    height: auto;
    min-height: 60vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

.gps-error-card .close-btn{
    width: 50px;
    height: 50px;
    border: none;
    position: absolute;
    top: 0;
    right: 0;
}

/* MAP */

.map-btn{
    top: 0;
    left: 0;
    width: 100%;
    height: auto;
    position: absolute;
    display: flex;
    justify-content: center;
    padding: 1rem;
}

.map-btn a{
    width: 100%;
    max-width: 200px;
    color: skyblue;
    text-decoration: none;
    padding: 0.3rem 1rem;
    -webkit-box-shadow: 5px 5px 10px 0px rgb(0, 0, 0, 0.3), -1px -1px 10px 0px skyblue; 
    box-shadow: 5px 5px 10px 0px rgb(0, 0, 0, 0.3), -1px -1px 10px 0px skyblue;

    border: 3px skyblue solid;
    border-radius: 5px;

    display: flex;
    justify-content: center;
    align-items: center;
}

.map-btn a:hover, .map-btn a:active{
    background-color: rgb(107, 107, 107);
}

.map-ui{
    position: fixed;
    top: 0;
    right: 0;
    height: 100%;
    z-index: 999999;
    display: flex;
}
.map-ui button{
    width: 100px;
    height: 100px;
    background: none;
    border:none;
    padding: 1rem;
    cursor: pointer;
}

.map-ui button img{
    width: 100%;
    height: 100%;
}

.error-card{
    width: 90%;
    max-width: 500px;
    height: 80%;
    max-height: 700px;
    background-color: rgb(255, 255, 255);

    display: flex;
    flex-direction: column;

    padding: 1rem;

    -webkit-box-shadow: 5px 5px 10px 0px rgb(0, 0, 0, 0.3), -5px -5px 30px 0px rgb(179, 0, 0, 0.3); 
    box-shadow: 5px 5px 10px 0px rgb(0, 0, 0, 0.3), -5px -5px 30px 0px rgb(179, 0, 0, 0.3);

    border: 3px rgb(179, 0, 0) solid;
    border-radius: 5px;

    overflow: hidden;
}

.error-card .title{
    color: rgb(179, 0, 0);
    flex-grow: 1;
    width: 100%;
    height: 100%;
    display: grid;
    place-items: center;
    font-size: larger;
    text-align: center;
}

/* AR SCULPTURE STYLES */

.ar-sculpture-wrapper{
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    position: fixed;
    display: grid;
    place-items: center;
    z-index: 999999;
    background-color: rgba(0, 0, 0, 0.3);
}

.ar-sculpture-wrapper .ar-card{
    position: relative;
    width: 90%;
    max-width: 500px;
    height: 80%;
    max-height: 700px;
    background-color: grey;

    display: flex;
    flex-direction: column;

    /* padding: 1rem; */

    -webkit-box-shadow: 5px 5px 20px 0px rgb(0, 0, 0, 0.3), -5px -5px 30px 0px rgba(255, 166, 166, 0.3); 
    box-shadow: 5px 5px 20px 0px rgb(0, 0, 0, 0.3), -5px -5px 30px 0px rgba(255, 166, 166, 0.3);

    border: 3px pink solid;
    border-radius: 5px;

    overflow: hidden;
}

.ar-sculpture-wrapper .preview-card{
    border: 3px lightblue solid;
    border-radius: 5px;
}



.ar-card > .close-btn{
    position: absolute;
    width: 50px;
    height: 50px;
    right: 0;
    top: 0;
    background: transparent;
    border: none;
    color: pink;
    cursor: pointer;
}

.close-btn img{
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    color: lightblue;
}

.ar-card .title{
    width: 100%;
    font-size: 1.6rem;
    text-align: center;
    display: flex;
    justify-content: center;
    position: absolute;
    left: 0;
    top: 10px;
}

.model-viewer{
    width: 100%;
    height: 80%;
}

.start-ar-btn{
    width: calc(100% - 2rem);
    margin: 1rem;
    position: absolute;
    /* transform: translateY(100%); */
    bottom: 0;
    text-align: center;
}

.interactive-preview{
    flex-grow: 1;
    object-fit: contain;
    object-position: center;
}

.interactive-preview img{
}

.start-ar-btn a{
    width: 100%;
    text-align: center;
}

.thumbnail img{
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.ar-card .description{
    padding: 1rem;
    display: grid;
    place-items: center;
    margin-top: 50px;
    display: none;
}

.primary-btn{
    border: 3px pink solid;
    border-radius: 5px;
    padding: 1rem;
    cursor: pointer;
    background-color: grey;
    color: seashell;
    
    -webkit-box-shadow: 5px 5px 10px 0px rgba(0, 0, 0, 0.4);; 
    box-shadow: 5px 5px 10px 0px rgba(0, 0, 0, 0.4);
}

/* AR TEXT STYLES */

.ar-text-wrapper{
    position: fixed;
    bottom: 0;
    width: 100vw;
    height: auto;
    display: grid;
    place-items: center;
}

.ar-text-wrapper input, .ar-text-wrapper button{
    border-radius: 5px;
    border: 3px pink solid;
    background-color: gray;
    color: seashell;
    -webkit-box-shadow: 5px 5px 10px 0px gray; 
    box-shadow: 5px 5px 10px 0px gray;
    margin: 0 5px;
}

.ar-text-wrapper form{
    font-size: 1.6rem;
    margin: 3rem 0;
    max-width: 600px;
    width: 80%;
    display: flex;
}

.ar-text-wrapper input{
    flex-grow: 1;
}

fieldset{
    outline: none;
    border: none;
}

/* MAP STYLES */
.debug-section{
    display: none;
    position: fixed;
    width: 100%;
    height: auto;
    bottom: 0;
    left: 0;
    padding: 1rem;
    background-color: black;
    z-index: 999;
    font-family:Arial, Helvetica, sans-serif
}

.map-bg{
    /* z-index: 9999; */
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    background: rgb(255,249,214);
    background: linear-gradient(90deg, rgb(201, 196, 169) 0%, rgb(137, 154, 190) 50%, rgba(214,180,229,1) 100%);
}

#map{
/* display: none; */
mix-blend-mode:overlay;
}