body {
	margin: 0;
	overflow: hidden;
}

div {
	width: 100%;
}

img[usemap] {
	border: none;
	height: 100vh;
	max-width: 100%;
	width: 100vw;
}

/* Modal background */
.modal {
    display: none;
    position: fixed;
    z-index: 9999;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.8);

    justify-content: center;
    align-items: center;
}

/* Modal box */
.modal-content {
    position: relative;
    width: 80%;
    max-width: 900px;
    aspect-ratio: 16 / 9;
    background: black;
    border-radius: 12px;
    overflow: hidden;
}

/* Video */
.modal-content iframe {
    width: 100%;
    height: 100%;
}

/* Close button */
.close {
    position: absolute;
    top: -40px;
    right: 0;
    font-size: 36px;
    color: white;
    cursor: pointer;
}

#videoContainer,
#videoContainer iframe {
    width: 100%;
    height: 100%;
}

#openVideo {
	cursor: pointer;
}

#rotateMessage {
    display: none;
    position: fixed;
    inset: 0;
    background: #000;
    color: white;
    z-index: 10000;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.rotate-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    font-size: 20px;
    max-width: 280px;
}

.rotate-icon {
    animation: rotateAnim 1.5s infinite ease-in-out;
}

@keyframes rotateAnim {
    0% { transform: rotate(0deg); }
    50% { transform: rotate(90deg); }
    100% { transform: rotate(0deg); }
}