html,body {
    height: 100%;
    width: 100%;
 
    margin: 0;
    overflow: hidden;
    font-family: Arial, Helvetica, sans-serif;
    position: relative;
}

model-viewer {
    position: relative;
    z-index: 2;
    height: 100%;
    width: 100%;
    margin: 0 auto;
    --poster-color: transparent;
}
model-viewer#interaction {
    --poster-color: transparent;
}

#ar-button {
    background-image: url(Logo.png);
    background-repeat: no-repeat;
    background-size: 25px 25px;
    background-position: 12px 50%;
    background-color: #fff;
    position: absolute;
    left: 80%;
    transform: translateX(-50%);
    white-space: nowrap;
    bottom: 20px;
    padding: 0px 16px 0px 45px;
    font-family: Roboto Regular, Helvetica Neue, sans-serif;
    font-size: 16px;
    font-weight: bold;
    color: gray;
    height: 40px;
    line-height: 36px;
    border-radius: 18px;
    border: 1px solid #DADCE0;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
    cursor: pointer;
}
#ar-button:active {
    background-color: #E8EAED;
}
#ar-button:focus {
    outline: none;
}
#ar-button:focus-visible {
    outline: 1px solid #4285f4;
}

.card {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 80vw;
    max-width: 420px;
    transform: translate(-50%, -1000%);
    z-index: 1;
    transition: transform 0.5s ease-in-out;
    background: #fff;
    padding: 2.5rem 2rem;
    text-align: center;
    border-radius: 1rem;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}
.card.visible {
    z-index: 3;
    transform: translate(-50%, -50%);
}
.card-close {
    position: absolute;
    top: 0.33rem;
    right: 1rem;
    font-size: 2rem;
    cursor: pointer;
    transition: opacity 0.3s ease;
}
.card-close:focus,
.card-close:hover {
    opacity: 0.5;
}
.card-title {
    font-size: 1.5rem;
    font-weight: bold;
    line-height: 1;
    margin-bottom: 1rem;
}
.card-powered {
    text-decoration: none;
    font-size: 0.8rem;
    font-weight: normal;
    line-height: 1;
    margin-bottom: 1rem;
}
