﻿/* جلوگیری از بیرون زدن المان از صفحه در حالت موبایل */

html, body {
    overflow-x: hidden !important;
    width: 100% !important;
}

img, iframe, video {
    max-width: 100%;
    height: auto;
}

.container, .row, section, article {
    margin: 0 auto;
    max-width: 100%;
    box-sizing: border-box;
}
/*-------------------------------------*/

body {
    overflow-x: hidden;
    margin: 0;
    padding: 0;
    padding-top: 5%;
    background: url('/Images/Home/HomeImage.jpeg') no-repeat center center fixed;
    background-size: cover; /*باعث می‌شود تصویر کل صفحه را بگیرد */
}

/*html {
    overflow-x: hidden;
*/}


.transparent-image {
    max-width: 100%;
    height: auto;
    display: block;
}
.background-container {
    position: relative;
    padding-top: 90px; /* ارتفاع نوار بالا را جبران می‌کند*/

    text-align: center;
}

    .background-container img {
        max-width: 100%;
        height: auto;
        display: block;
        margin: 0 auto;
    }

@media (max-width: 768px) {
    .background-container {
        padding-top: 100px;
    }

        .background-container img {
            width: 100%;
            object-fit: contain;
        }
}



.main-footer {
    background-color: rgb(255, 106, 0);
    text-align: right;
    color: white;
    width: 100%;
    padding-right: 25px;
}

