/* style-2.css */
body, html {
    margin: 0;
    font-family: Arial, sans-serif;
    overflow-x: hidden;
    scroll-behavior: smooth;
    height: 100%;
}
body::before {
    content: none;
}
#map {
    position: relative;
    width: 100%;
    height: 100vh;
}
.menu-button {
    display: none;
    position: fixed;
    top: 1vh;
    right: 2vw;
    font-size: 2rem;
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    padding: 1vh 1vw;
    border-radius: 5px;
    cursor: pointer;
    z-index: 1001;
}
.menu-container {
    position: fixed;
    top: 0;
    right: 0;
    width: 25vw;
    max-width: 300px;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    padding: 2vh 2vw;
    box-sizing: border-box;
    transform: translateX(0);
    transition: transform 0.3s ease;
    z-index: 1000;
}
@media (max-width: 768px) {
    .menu-container {
        width: 80%;
        max-width: none;
        transform: translateX(100%);
    }
    .menu-button {
        display: block;
    }
    .menu-container.menu-open {
        transform: translateX(0);
    }
    .menu-container.menu-open ~ #map {
        filter: blur(2px);
    }
}
.sections {
    display: flex;
    flex-direction: column;
    gap: 1vh;
    margin-top: 2vh;
}
.section {
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    padding: 1vh 1vw;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.section:hover {
    transform: scale(1.05);
    box-shadow: 0 0 15px 5px rgba(255, 215, 0, 0.8);
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}
.balloon-content {
    color: white;
    font-weight: bold;
    font-size: 12px;
    background-color: rgba(0, 0, 0, 0.8);
    padding: 10px;
    border-radius: 8px;
    box-shadow: 0px 2px 8px rgba(0, 0, 0, 0.5);
    max-width: 220px;
}


.summary-table-wrapper {
    width: 75%;
    overflow-x: auto;
  }
  .home-viewer3d {
    width: 25%;
  }
  .content-row {
    display: flex;
    width: 100%;
}
/* Карточка запуска создания материалов */
.material-card {
    position: fixed;
    top: 1vh;
    left: 15vw; /* размещаем карточку перед меню */
    right: auto;
    width: 50px;
    height: 50px;
    background: #f0f0f0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.3);
    cursor: pointer;
    z-index: 1001;
}
@media (max-width: 768px) {
    .material-card {
        left: 4vw;
        right: auto;
    }
}