* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    background: url('2.png') no-repeat center center fixed;
    background-size: cover;
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: flex-start; /* Changed to flex-start for better alignment */
    align-items: center;
    min-height: 100vh;
    overflow-y: auto;
    position: relative; /* Added to position the footer */
}

header {
    background: rgba(236, 10, 10, 0);
    padding: 10px 20px;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-content {
    display: flex;
    align-items: center;
    width: 100%;
}

.logo {
    height: 40px;
}

nav {
    display: flex;
    align-items: center;
    margin-left: auto;
}

.nav-item {
    color: #fff;
    margin-left: 20px;
    text-decoration: none;
    padding: 10px 20px;
    border-radius: 5px;
    transition: background 0.3s;
}

.nav-item {
    background-attachment: fixed;
    background-color: rgb(18, 199, 139);
}

.nav-item:hover {
    background: rgba(0, 255, 55, 0.342);
}

.language-selector {
    margin-left: 20px;
    cursor: pointer;
}

.main-content {
    text-align: center;
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
    padding-bottom: 60px; /* Added padding to accommodate footer */
}

.phone-container {
    margin: 20px 0;
    display: inline-block;
    position: relative;
    width: 100%;
}

.phone-frame {
    width: 100%;
    max-width: 60%;
    position: relative;
    z-index: 1;
}

@media screen and (max-width: 768px) {
    .phone-frame {
        max-width: 50%; /* Adjusted for mobile devices */
    }
}

@media screen and (min-width: 769px) and (max-width: 1024px) {
    .phone-frame {
        max-width: 60%; /* Adjusted for tablets */
    }
}

@media screen and (min-width: 1025px) {
    .phone-frame {
        max-width: 60%; /* Adjusted for desktop */
    }
}
.phone-content {
    position: absolute;
    top: 2%; /* Reduced top margin for better vertical alignment */
    left: 8%; /* Slightly adjusted left margin for better centering */
    width: 84%; /* Slightly increased width to fill more of the frame */
    height: 96%; /* Increased height to cover more of the frame */
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0%; /* Keeping bottom margin at 0 */
}
.screen {
    width: auto;
    height: 100%;
    position: absolute;
    opacity: 0;
    transition: opacity 1s ease-in-out;
	border-radius: 50px;

}

.screen.active {
    opacity: 1;
}

.content-btns {
    margin-top: 20px;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    width: 100%;
}

.store-button {
    display: inline-block;
    margin: 0 5px;
    width: 60px; /* Button width */
    height: 30px; /* Button height */
}

@media screen and (max-width: 768px) {
    .content-btns {
        flex-direction: column;
        align-items: center;
    }

    .store-button:nth-child(1),
    .store-button:nth-child(2) {
        width: 40%;
        margin: 5px;
    }

    .store-button:nth-child(1) {
        order: 1;
    }

    .store-button:nth-child(2) {
        order: 2;
    }

    .store-button:nth-child(3) {
        width: 80%;
        margin: 10px 0;
        order: 3;
    }
}

.store-button:hover {
    background: rgba(0, 0, 0, 0.7);
}

footer {
    background: rgba(0, 0, 0, 0.5);
    padding: 20px;
    text-align: center;
    width: 100%;
    position: absolute;
    bottom: 0;

}

@media screen and (min-width: 768px) {
    .content-btns {
        justify-content: center;
    }

    .content-btns .store-button {
        width: 6rem; /* Adjusted button width */
        height: 2rem; /* Adjusted button height */
        margin: 0 .5rem; /* Adjusted button margin */
    }

    .content-btns .store-button:nth-child(1),
    .content-btns .store-button:nth-child(2) {
        width: 25%;
        margin: 5px;
    }

    .content-btns .store-button:nth-child(3) {
        width: 50%;
        margin: 10px 0;
    }
}

@media screen and (min-width: 1200px) {
    .content-btns {
        justify-content: center;
    }

    .content-btns .store-button {
        width: 5rem; /* Adjusted button width */
        height: 1.75rem; /* Adjusted button height */
        margin: 0 .4rem; /* Adjusted button margin */
    }

    .content-btns .store-button:nth-child(1),
    .content-btns .store-button:nth-child(2) {
        width: 20%;
        margin: 5px;
    }

    .content-btns .store-button:nth-child(3) {
        width: 40%;
        margin: 10px 0;
    }
}
