body,
html {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}
body {
    display: flex;
    height: 100dvh;
    width: 100%;
    justify-content: center;
    align-items: center;
}
model-viewer {
    width: 100%;
    height: 100%;
    display: block;
}

#ar-button {
    background-color: #007bff;
    color: white;
    font-size: 18px;
    padding: 10px 20px;
    border: none;
    border-radius: 8px;
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    cursor: pointer;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
    transition: background-color 0.3s ease;
}

#ar-button:hover {
    background-color: #0056b3;
}

#error {
    background-color: #ffffffdd;
    border-radius: 16px;
    padding: 16px;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate3d(-50%, -50%, 0);
    transition: opacity 0.3s;
}

#error.hide {
    opacity: 0;
    visibility: hidden;
    transition: visibility 2s, opacity 1s 1s;
}

#loading-screen {
    position: absolute;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 10;
}

#progress-bar {
    width: 80%;
    height: 20px;
    background-color: #ddd;
    border-radius: 10px;
    overflow: hidden;
}

#progress {
    width: 0;
    height: 100%;
    background-color: #76c7c0;
    transition: width 0.3s ease;
}

.zoom-hint {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: pulse 2s infinite;
    pointer-events: none;
}

 /* Стиль для логотипов */
 .logo {
    position: absolute;
    width: 80px;  /* Размер логотипа */
    height: auto;
    opacity: 0.8; /* Полупрозрачность */
}

/* Логотип слева */
.logo-left {
    top: 25px;
    left: 10px;
}

/* Логотип справа */
.logo-right {
    top: 10px;
    right: 10px;
}