/* Стили страницы экспоната */
.exhibit-container {
    max-width: 1200px;
    margin: 2rem auto;
    padding: 0 2rem;
}

.exhibit-header {
    text-align: center;
    margin-bottom: 3rem;
}

.exhibit-header h1 {
    font-size: 2.5rem;
    color: var(--accent-color);
    margin-bottom: 1.5rem;
}

.exhibit-nav {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 1.5rem;
}

.exhibit-nav a {
    padding: 0.5rem 1rem;
    background-color: var(--accent-color);
    color: white;
    border-radius: 20px;
    text-decoration: none;
    transition: all 0.3s;
}

.exhibit-nav a:hover {
    background-color: var(--dark-color);
    transform: translateY(-2px);
}

/* Галерея */
.exhibit-gallery {
    margin: 3rem 0;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.gallery-slider {
    position: relative;
}

.gallery-slider .slide img {
    width: 100%;
    height: 500px;
    object-fit: cover;
}

/* Контент страницы */
.content-section {
    margin-bottom: 4rem;
    scroll-margin-top: 100px;
}

.content-section h2 {
    font-size: 2rem;
    color: var(--accent-color);
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--accent-color);
}

.section-content {
    line-height: 1.8;
}

.float-right {
    float: right;
    margin: 0 0 1rem 2rem;
    max-width: 40%;
    border-radius: var(--border-radius);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.float-right-sized {
    float: right;
    margin: 0 0 1rem 2rem;
    max-width: 200px;

    border-radius: var(--border-radius);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.float-left {
    float: left;
    margin: 0 2rem 1rem 0;
    max-width: 40%;
    border-radius: var(--border-radius);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.clearfix::after {
    content: "";
    display: table;
    clear: both;
}

/* Характеристики */
.specs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 1.5rem;
}

.spec-item {
    background-color: white;
    padding: 1.5rem;
    border-radius: var(--border-radius);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.spec-item h3 {
    color: var(--accent-color);
    margin-bottom: 1rem;
}

.spec-item ul {
    list-style-position: inside;
}

/* Интересные факты */
.facts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 1.5rem;
}

.fact-card {
    background-color: white;
    padding: 1.5rem;
    border-radius: var(--border-radius);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    border-left: 4px solid var(--accent-color);
}

.fact-card h3 {
    color: var(--accent-color);
    margin-bottom: 1rem;
}

.jet_transparent {
    width: 100%;
    height: 100%;
    max-width: 1000px;
}

.blueprints_section {
    width: 100%;
    height: 100%;
    max-width: 1200px;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 50px;
    gap: 20px   ;
}

.blueprint {
    width: 100%;
    height: 100%;
    max-width: 800px;
    border-radius: var(--border-radius);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.poster_section {
    margin-top: 50px;
    display: flex;
    align-items: center;
    flex-direction: column;
}
.poster {
    width: 100%;
    height: 100%;
    max-width: 400px;
    border-radius: var(--border-radius);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}
/* Адаптивность */
@media (max-width: 768px) {
    .exhibit-container {
        padding: 0 1rem;
    }

    .slide {
        height: 300px;
        width: 100%;
    }
    
    .exhibit-header h1 {
        font-size: 2rem;
    }
    
    .gallery-slider .slide img {
        height: 300px;
    }
    
    .float-right, .float-left {
        float: none;
        margin: 1rem auto;
        max-width: 100%;
        display: block;
    }
}

#jet3dview {
    width: 100%;
    height: 500px;
    margin: 20px 0;
    background: #f0f0f0;
}

.test_blank {
    color: white;
    display: flex;
    align-items: center;
    flex-direction: column;
    margin: auto;
    width: 400px;
    height: 70px;
    background-color: var(--accent-color);
    font-size: 40px;
    border-radius: var(--border-radius);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.test_blank:hover {
    color: #666;
    background-color: aliceblue;
    transition: 0.3s ease-in-out;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

/* Открывающиеся изображения */

.fullscreen-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s;
}

.fullscreen-overlay.active {
    opacity: 1;
    visibility: visible;
}

.fullscreen-image {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
    cursor: default;
}

.fullscreen-caption {
    position: absolute;
    bottom: 20px;
    left: 0;
    right: 0;
    color: white;
    text-align: center;
    padding: 10px;
    background-color: rgba(0, 0, 0, 0.5);
}

.close-fullscreen {
    position: absolute;
    top: 20px;
    right: 30px;
    color: white;
    font-size: 40px;
    cursor: pointer;
    z-index: 1001;
}

/* Добавляем иконку лупы на изображениях */
.zoomable-image {
    position: relative;
    cursor: zoom-in;
    width: 100%;
    height: 100%;
    max-width: 1200px;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 50px;
    gap: 20px   ;
}

.zoomable-image::after {
    content: "\f00e";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(0, 0, 0, 0.5);
    color: white;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s;
}

.zoomable-image:hover::after {
    opacity: 1;
}

/* Викторина */

/* victorine.css */
.victorine-container {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 2000;
    justify-content: center;
    align-items: center;
}

.victorine-modal {
    background-color: white;
    border-radius: var(--border-radius);
    width: 90%;
    max-width: 600px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.victorine-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    border-bottom: 1px solid #eee;
}

.victorine-header h2 {
    margin: 0;
    color: var(--accent-color);
}

.close-victorine {
    background: none;
    border: none;
    font-size: 2rem;
    cursor: pointer;
    color: #666;
}

.victorine-body {
    padding: 1rem;
}

.user-info-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

#user-name {
    padding: 0.5rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1rem;
}

#start-quiz, .submit-quiz, .close-results {
    background-color: var(--accent-color);
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    cursor: pointer;
    font-size: 1rem;
    transition: background-color 0.3s;
}

#start-quiz:hover, .submit-quiz:hover, .close-results:hover {
    background-color: #4a80e8;
}

.quiz-question {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    font-weight: 500;
}

.quiz-options {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.quiz-option {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.2s;
}

.quiz-option:hover {
    background-color: #f0f0f0;
}

.quiz-progress {
    margin: 1rem 0;
    color: #666;
    font-style: italic;
}

.quiz-results {
    text-align: center;
}

.quiz-results h3 {
    color: var(--accent-color);
    margin-bottom: 1rem;
}

.quiz-results p {
    margin: 0.5rem 0;
}

/* Видеоплеер */

.video-player {
    max-width: 1200px;
    margin: 20px auto;
    background: #222;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
}

.video-player__video {
    width: 100%;
    display: block;
    outline: none;
}

.video-player__controls {
    display: flex;
    align-items: center;
    padding: 10px;
    background: #333;
}

.video-player__button {
    background: none;
    border: none;
    color: white;
    font-size: 18px;
    cursor: pointer;
    padding: 5px 10px;
    outline: none;
}

.video-player__button:hover {
    color: #ddd;
}

.video-player__progress {
    flex-grow: 1;
    display: flex;
    align-items: center;
    margin: 0 10px;
}

.video-player__progress-bar {
    flex-grow: 1;
    height: 6px;
    border-radius: 3px;
    background: #555;
    -webkit-appearance: none;
    outline: none;
}

.video-player__progress-bar::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 15px;
    height: 15px;
    border-radius: 50%;
    background: #fff;
    cursor: pointer;
}

.video-player__time {
    color: white;
    font-size: 14px;
    margin-left: 10px;
    min-width: 100px;
    text-align: center;
}

.pause-icon,
.repeat-icon {
    display: none;
}

.video-player--playing .play-icon {
    display: none;
}

.video-player--playing .pause-icon {
    display: inline;
}

.video-player--ended .repeat-icon {
    display: inline;
}

.video-player--ended .play-icon,
.video-player--ended .pause-icon {
    display: none;
}


/* Аудиоплеер */



.audio-player {
    max-width: 1200px;
    margin: 20px auto;
    background: #f5f5f5;
    border-radius: 10px;
    padding: 15px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    font-family: Arial, sans-serif;
}

.audio-player__info {
    margin-bottom: 15px;
    text-align: center;
}

.audio-player__title {
    font-size: 18px;
    font-weight: bold;
    color: #333;
}

.audio-player__artist {
    font-size: 14px;
    color: #666;
    margin-top: 5px;
}

.audio-player__controls {
    display: flex;
    align-items: center;
    gap: 10px;
}

.audio-player__button {
    background: none;
    border: none;
    color: #333;
    font-size: 16px;
    cursor: pointer;
    padding: 5px;
    outline: none;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background-color 0.2s;
}

.audio-player__button:hover {
    background-color: #e0e0e0;
}

.audio-player__progress {
    flex-grow: 1;
    display: flex;
    align-items: center;
}

.audio-player__progress-bar {
    flex-grow: 1;
    height: 6px;
    border-radius: 3px;
    background: #ddd;
    -webkit-appearance: none;
    outline: none;
    cursor: pointer;
}

.audio-player__progress-bar::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 15px;
    height: 15px;
    border-radius: 50%;
    background: #4a90e2;
    cursor: pointer;
}

.audio-player__time {
    color: #666;
    font-size: 12px;
    margin-left: 10px;
    min-width: 80px;
    text-align: center;
}

.audio-player__volume {
    display: flex;
    align-items: center;
    gap: 5px;
}

.audio-player__volume-bar {
    width: 80px;
    height: 4px;
    -webkit-appearance: none;
    background: #ddd;
    border-radius: 2px;
    outline: none;
}

.audio-player__volume-bar::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #4a90e2;
    cursor: pointer;
}

.pause-icon,
.repeat-icon {
    display: none;
}

.audio-player--playing .play-icon {
    display: none;
}

.audio-player--playing .pause-icon {
    display: inline;
}

.audio-player--ended .repeat-icon {
    display: inline;
}

.audio-player--ended .play-icon,
.audio-player--ended .pause-icon {
    display: none;
}