body {
    font-family: Arial, sans-serif;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100vh;
    margin: 0;
    color: #fff;
    background-image: url("../../../img/2nd-section.jpg");
}
.container {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 90%;
    max-width: 600px;
}
.viewer {
    width: 100%;
    max-height: 70vh;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #000;
    border: 2px solid #444;
    border-radius: 8px;
    overflow: hidden;
}
.viewer img, .viewer iframe {
  width: 100%;
  height: auto;
  max-height: 70vh;
  object-fit: contain;
}
.controls {
    margin-top: 15px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
}
.index-control {
    display: flex;
    align-items: center;
    gap: 5px;
}
input[type="number"] {
    width: 60px;
    padding: 5px;
    font-size: 16px;
    text-align: center;
}
button {
    background: #1e1e1e;
    color: #fff;
    border: 1px solid #555;
    padding: 8px 12px;
    border-radius: 5px;
    cursor: pointer;
    transition: background 0.3s;
}
button:hover {
    background: #333;
}
#backBtn {
    background-color: transparent;
    width: 80px;
    height: 80px;
    cursor: pointer;
}
.btn-visor {
    background-color: silver;
    width: 80px;
    height: 40px;
    cursor: pointer;
    color: black;
}
#mediaIndex {
    width: 60px;
    text-align: center;
    font-size: 16px;
    padding: 5px;
}