body {
    background-color: #fdfdfd;
    background: url(images/layout/background.png);
    margin: 0;
    font-family: Comic Sans MS, Arial, sans-serif;
    font-size: 14px;
    color: #000000;
    transform: none;
}
.wrapper {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.9);
    transform-origin: center;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
}
.container {
    position: relative;
    background-image: url('images/layout/layout.png');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    width: 1024px;
    height: 620px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.content-frame {
    position: absolute;
    top: 100px;
    left: 200px;
    width: 620px;
    height: 450px;
    overflow: auto;
    padding: 10px;
}
.center {
    text-align: center;
}
h1 {
    color: #2E3CB6;
    text-align: center;
}

.gallery {
    display: grid;
    grid-template-columns: repeat(8, 50px);
    gap: 10px;
    justify-content: center;
}
.gallery img {
    width: 50px;
    height: 50px;
    cursor: pointer;
    border: 2px solid #ccc;
    border-radius: 5px;
    box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.3);
}

.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 500px;
    height: 400px;
    background-color: rgba(208, 136, 158, 0.9);
    padding: 20px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.modal img {
    max-width: 90%;
    max-height: 80%;
    width: auto;
    height: auto;
    object-fit: contain;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.8);
    border: 2px solid white;
    background-color: white;
    border-radius: 8px;
}

.close {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 40px;
    color: #FFFFFF;
    cursor: pointer;
}
.close:hover {
    color: #a060c4;
}

.end-message {
    display: none;
    text-align: center;
    margin-top: 10px;
    font-size: 16px;
    color: #2E3CB6;
	font-weight: bold;
}

.arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 2rem;
    color: white;
    cursor: pointer;
    user-select: none;
    padding: 10px;
    background-color: rgba(0, 0, 0, 0.5);
    border-radius: 50%;
}

.arrow.left {
    left: 10px;
}

.arrow.right {
    right: 10px;
}

.arrow:hover {
    background-color: rgba(0, 0, 0, 0.8);
}

.menu {
    position: absolute;
    bottom: 10px;
    left: 40%;
    transform: translateX(-34%);
    text-align: center;
    display: flex;
    justify-content: center;
    white-space: nowrap;
}

a {
    color: #D0889E;
    text-decoration: underline;
    font-weight: bold;
}
.menu a {
    color: #D0889E;
    text-decoration: none;
    font-family: Comic Sans MS, Arial, sans-serif;
    font-weight: bold;
    font-size: 16px;
    margin: 0 10px;
}
.menu a:hover {
    text-decoration: underline;
    color: #2E3CB6;
    font-weight: bold;
}

.ch_container {
    position: relative;
	width: 100%;
    margin: 0 auto;
    max-width: 675px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
	margin: 0 auto;
    }

.ch_image {
    width: 200px;
    height: 200px;
    }

.ch_caption {
    text-align: center;
    margin-top: 5px;
    }

