html, body {
    height: 100%;
    overflow: hidden; /* Prevent scrolling on the body */
}

body {
    margin: 0;
    padding: 0;
    min-height: 100vh;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    background-image: url('images/background.jpg');
    background-size: cover;
    /* background-position: center; */
    background-repeat: no-repeat;
    /* position: relative; */
    perspective: 1000px;
}

.main-content {
    flex: 1 1 0;
    width: 100vw;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    position: relative;
    gap: 0;
    padding: 0;
}

.switch-button {
    position: fixed;
    top: 20px;
    left: 20px;
    width: 48px;
    height: 48px;
    background-color: rgba(255, 255, 255, 0.9);
    border: 2px solid #333;
    border-radius: 50%;
    cursor: pointer;
    z-index: 1000;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.3s ease;
    padding: 0;
}

.switch-button:hover {
    background-color: #333;
    transform: scale(1.1);
}

.switch-button:hover .switch-icon {
    fill: white;
}

.switch-icon {
    font-size: 1.7em;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 1em;
    height: 1em;
}

.switch-handle {
    width: 12px;
    height: 12px;
    background-color: white;
    border-radius: 50%;
    position: absolute;
    top: 2px;
    left: 2px;
    transition: all 0.3s ease;
}

.switch-button:hover .switch-handle {
    left: 16px;
}

.image-container {
    flex: 0 0 auto;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    transform-style: preserve-3d;
    transition: transform 0.8s;
    position: relative;
    cursor: pointer;
    margin: 0;
    padding: 0;
}

.image-wrapper {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    transform-style: preserve-3d;
    transition: transform 0.8s;
    margin: 0;
    padding: 0;
}

.image-container.flipped .image-wrapper {
    transform: rotateY(180deg);
}

img {
    max-width: 100vw;
    max-height: calc(100vh - 64px);
    width: auto;
    height: auto;
    object-fit: contain;`
    display: block;
    backface-visibility: hidden;
    position: relative;
    margin: 0;
    padding: 0;
    transition: transform 0.8s;
}

img.back {
    position: absolute;
    top: 0;
    left: 0;
    transform: rotateY(180deg);
}

.bottom-strip {
    height: 64px;
    background-image: url('images/background.jpg');
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1100;
    padding: 0 20px;
    flex-shrink: 0;
    width: 100%;
    position: relative;
    margin: 0;
    padding: 0;
}

.bottom-icon-link {
    color: #2d89ef;
    font-size: 2em;
    transition: transform 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    flex: 1;
    padding: 10px;
}

.bottom-icon-link:hover {
    transform: scale(1.15);
}

@media (hover: none) and (pointer: coarse) {
    .bottom-icon-link:hover {
        transform: none;
    }
}

.bottom-icon-link .icon {
    width: 40%;
    height: 40%;
    max-height: 55px;
    max-width: 55px;
    transition: transform 0.2s;
}

.bottom-icon-link[aria-label="PayBox"] .icon {
    width: 100%;
    height: 100%;
    max-height: 140px;
    max-width: 140px;
}