/* Base styles for larger screens (desktops/laptops) */
body {
    margin: 0;
    font-family: Arial, sans-serif;
    color: #fff;
    text-align: center;
}

.background {
    background-image: url('food_background.jpg');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
    position: fixed;
    width: 100vw;
    height: 100vh;
    z-index: -1;
}

.profile-picture {
    width: 300px;
    height: 300px;
    border-radius: 50%;
    object-fit: cover;
    position: absolute;
    top: 20px;
    left: 20px;
    border: 5px solid white;
}

.text-container {
    position: absolute;
    top: 150px;
    left: 350px;
    width: 60%;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.5);
    text-align: left;
}

h1 {
    font-size: 32px;
    font-weight: bold;
}

p {
    font-size: 18px;
}

.social-icons {
    position: absolute;
    bottom: 20px;
    width: 100%;
    display: flex;
    justify-content: center;
    gap: 60px;
}

.social-icons a {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: white;
    font-weight: bold;
    font-size: 18px;
}

.social-icons img {
    width: 50px;
    height: 50px;
}
/* Style for the shop button */
.shop-button {
    display: inline-block;
    padding: 12px 24px;
    font-size: 18px;
    font-weight: bold;
    color: #fff;
    /* White text color */
    background-color: #e92828;
    /* Grey background color */
    background-image: url('food_background.jpg');
    /* Use your background image */
    background-blend-mode: overlay;
    /* Blend the texture with the grey color */
    border: none;
    /* Remove border */
    border-radius: 25px;
    /* Rounded edges */
    text-decoration: none;
    text-align: center;
    transition: background-color 0.3s, color 0.3s;
    margin-top: 20px;
    /* Add space above the button */
}

/* Hover effect for the button */
.shop-button:hover {
    background-color: #E0E0E0;
    /* Darker grey on hover */
    color: #fff;
    /* Keep text color white */
}


/* Media query for iPhone landscape mode */
@media only screen and (max-device-width: 812px) and (orientation: landscape) {
    .text-container {
        position: fixed !important;
        top: 30% !important; /* Push the title and sub-title down */
        left: 50% !important; /* Center horizontally*/
        transform: translateX(-50%) !important; /* Fine-tune centering*/
        width: 80% !important;
        text-align: center!important; /* Center-align text*/
        z-index: 1000 !important;
        padding-top: 16px !important; /* Push the entire text container up */
    }

    h1 {
        font-size: 28px !important; /* Adjust title size for smaller screens */
        margin-bottom: 10px !important; /* Add spece between title and sub-title */
    }

    p {
        font-size: 18px !important; /* Adjust subtitle size for smaller screens */
    }

    .profile-picture {
        width: 150px;
        /* Adjust profile picture size for smaller screens */
        height: 150px;
        top: 10px;
        left: 10px;
    }

    .social-icons {
        bottom: 10px;
        /* Adjust social icons position */
        gap: 30px;
        /* Reduce spacing between icons */
    }

    .social-icons img {
        width: 40px;
        /* Adjust icon size */
        height: 40px;
    }
    .shop-button {
        margin-top: -2px !important; /* This will now work correctly */
    }

}
/* Media query for iPhone portrait mode */
@media only screen and (max-device-width: 812px) and (orientation: portrait) {
    .social-icons {
        position: fixed !important;
        bottom: 10px !important;
        /* Adjust distance from the bottom */
        left: 50% !important;
        /* Center horizontally */
        transform: translateX(-50%) !important;
        /* Fine-tune centering */
        width: 90% !important;
        /* Ensure icons fit within the screen */
        display: grid !important;
        grid-template-columns: repeat(2, 1fr);
        justify-items: center !important;
        /* Center align icons */
        gap: 20px !important;
        /* Add spacing between icons */
    }

    .social-icons a {
        display: flex !important;
        flex-direction: column !important;
        /* Stack icon and text vertically */
        align-items: center !important;
        /* Center-align items */
        text-decoration: none !important;
        color: white !important;
        font-weight: bold !important;
        font-size: 16px !important;
        /* Adjust text size */
        flex-basis: 40% !important;
        /* Limit width to 2 icons per line */
    }

    .social-icons img {
        width: 40px !important;
        /* Adjust icon size */
        height: 40px !important;
        margin-bottom: 5px !important;
        /* Add space between icon and text */
    }

}
/* Media query for phones (portrait and landscape) */
@media only screen and (max-width: 768px) {
    .shop-button {
        display: inline-block !important;
        /* Ensure the button is visible */
        padding: 12px 24px !important;
        font-size: 16px !important;
        /* Slightly smaller font for mobile */
        font-weight: bold !important;
        color: #fff !important;
        /* White text color */
        background-color: #FF0000 !important;
        /* YouTube logo red */
        border: none !important;
        /* Remove border */
        border-radius: 25px !important;
        /* Rounded edges */
        text-decoration: none !important;
        text-align: center !important;
        transition: background-color 0.3s, color 0.3s !important;
        margin-top: 20px !important;
        /* Add space above the button */
    }

    /* Hover effect for the button */
    .shop-button:hover {
        background-color: #CC0000 !important;
        /* Slightly darker red on hover */
        color: #fff !important;
        /* Keep text color white */
    }
}
