body {
    margin: 0;
    padding: 0;
    background-color: #87CEEB;
    font-family: Arial, sans-serif;
    overflow: hidden;
}

.background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1;
}

.background img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.centered-element {
    position: absolute;
    top: 30%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 19; 
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 15; 
}

.overlay img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.5;
}

.side-frame {
    position: absolute;
    top: 0;
    left: -21%;
    width: 130vw;
    height: 110vh;
    display: flex; 
    justify-content: center;
    align-items: center;
    z-index: 10; 
}

.side-frame img {
    width: 120%;
    height: 100%;
    object-fit: cover;
    transform: none; /* Уберите масштабирование */
    transform-origin: center; 
}

.bottom-button {
    position: absolute;
    bottom: 1%;
    left: 50%;
    transform: translateX(-50%);
    width: 160%; 
    max-width: 390px; 
    height: 300px; 
    z-index: 25;
}

.bottom-button img {
    width: 100%; 
    height: auto; 
    transform: scale(1.5); 
}

@keyframes fadeOut {
    from {
        opacity: 1;
    }
    to {
        opacity: 0;
    }
}

.hidden {
    display: none;
}

#omgomgButton {
    position: absolute;
    top: 51%; 
    left: 52%; 
    transform: translate(-50%, -50%); 
    z-index: 19; 
}

#omgomgButton img {
    width: 180px; 
    height: auto; 
    transform: scale(1.5); 
    animation: bounce 5s ease-in-out forwards; 
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); } 
    50% { transform: translateY(-10px); }
}

#frameCloud {
    position: absolute;
    top: 40%; 
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 30; 
}

#frameCloud img {
    width: 300px; 
    height: auto; 
    transform: scale(1.5); 
    opacity: 0;
    animation: fadeInOpacity 0.5s ease-in-out forwards;
}

@keyframes fadeInOpacity {
    0% {
        opacity: 0; 
    }
    100% {
        opacity: 1; 
    }
}

#transparentOverlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.5);
    display: none;
    z-index: 22;
    opacity: 0;
    animation: fadeInOpacity 0.5s ease-in-out forwards;
}

.background img {
    animation: scaleBackground 300ms ease-in-out forwards;
}

@keyframes scaleBackground {
    0% {
        transform: scale(1.2); 
    }
    100% {
        transform: scale(1); 
    }
}




