body, html {
    height: 100%;
    margin: 0;
    font-family: 'Montserrat', sans-serif;
    background-color: #1a2a6c;
    color: white;
}

.container {
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
}

header h1 {
    position: absolute;
    top: 10px;
    left: 10px;
    font-size: 16px;
    color: #FFBA53;
    font-weight: 400;
}

.gallery {
    display: flex;
    align-items: center;
    position: relative;
}

.image-panel {
    display: flex;
    justify-content: center;
}

.image-panel img {
    width: 147px; /* Adjust width for more slender images */
    height: 592px; /* Increase height for longer images */
    object-fit: cover;
    margin: 0 10px;
}

.arrow {
    background: none;
    border: none;
    color: white;
    font-size: 64px;
    cursor: pointer;
    position: absolute;
    top: 80%;
    text-decoration: none;
}

.arrow.left {
    left: -30%;
}

.arrow.right {
    right: -30%;
}

.arrow:hover {
    color: #aaa;
}

.text-group {
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: absolute;
    top: 50%; /* Center vertically */
    transform: translateY(-50%);
}

.text-group.left {
    left: 15%; /* 左侧文本组位置 */
}

.text-group.right {
    right: 20%; /* 右侧文本组位置 */
}


.main-title {
    font-size: 64px;
    font-weight: 300;
}

.subtitle {
    font-size: 24px;
    font-weight: 300;
    color: #9c9c9c;
}

.poem-title {
    position: absolute;
    bottom: -12%; /* Adjust as needed */
    text-align: center;
    width: 100%;
    font-size: 35px;
    font-weight: 300;
}
