body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background: url('../images/bg2.jpg') no-repeat center center fixed;
    background-size: cover;
}

.container {
    max-width: 1600px;
    margin: 20px auto;
    padding: 20px;
    background-color: rgba(255, 255, 255, 0.8);
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.top-ribbon {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #4CAF50;
    color: white;
    padding: 10px 20px;
    border-radius: 8px 8px 0 0;
}

.top-ribbon a {
    color: white;
    text-decoration: none;
}

.main-content {
    margin-top: 20px;
}

.view-selector {
    margin-bottom: 20px;
}

#viewSelect {
    width: 100%;
    padding: 10px;
    font-size: 16px;
}

#imageContainer {
    position: relative;
    width: 800px;
    height: 600px;
    border: 1px solid #ccc;
    overflow: hidden;
    margin: 0 auto; /* Center the container */
}

#backgroundImage {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

img {
    position: relative;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.tag {
    position: absolute;
    background-color: red;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    cursor: pointer;
}

.tag-label {
    position: absolute;
    background-color: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 2px 5px;
    border-radius: 3px;
    font-size: 12px;
    white-space: nowrap;
    pointer-events: none;
    transform: translate(10px, -50%);
}

.tag:hover::after {
    content: attr(data-name);
    position: absolute;
    background-color: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 5px;
    border-radius: 5px;
    font-size: 14px;
    white-space: nowrap;
    z-index: 1000;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
}

.tag-image-container {
    width: 100%;
    height: 150px;
    overflow: hidden;
    margin-bottom: 10px;
}

.tag-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
}