@font-face {
    font-family: 'biacFont'; /*a name to be used later*/
    src: url('../fonts/din-next-lt-w23-medium.ttf'); /*URL to font*/
}

body,
html {
    max-width: 100%;
    max-height: 100%;
    overflow: hidden;
}
p, input {
    font-family: 'biacFont';
}
body {
    margin: 0 !important;
    padding: 0 !important;
}

.main-container {
    position: relative;
    background: url('../imgs/oreint-bg.jpg');
    background-position: top left, 0% 0%;
    background-repeat: no-repeat;
    background-size: cover;
    background-attachment: fixed;
}

.logo img {
    width: 25%;
}

.logo {
    position: relative;
    float: right;
    width: 50%;
    text-align: right;
}

.slogan {
    position: relative;
    float: left;
    width: 50%;
    text-align: left;
}

.rkareem img {
    display: block;
    margin: auto;
    height: 25%!important;
    margin-top:25rem;
}
.rkareem {
    display: flex;
    justify-content: center;
}
.maindv {
    margin-top: 0px;
    width: 100%;
}
.txt {
    margin: 55px;
}
.txt p{
    color: #193b6b;
    font-size: 24px;
    font-weight: bold;
}


input[type="text"] {
    max-width: 400px;
    width: 66%;
    height: 56px;
    margin: 0;
    outline: none;
    border-radius: 12px;
    border: #00000029 solid 2px;
    padding-right: 25px;
}

input[type="submit"] {
    max-width: 200px;
    width: 33%;
    height: 56px;
    margin: 12px;
    outline: none;
    border-radius: 12px;
    border: #178E8B solid 2px;
    background-color: #FFF;
    color: #178E8B;
}

.ramadan-img {
    display: block;
    left: 50%;
    position: absolute;
    top: 20%;
    transform: translateY(-30%);
    width: 350px;
    margin-left: 0px;
    z-index: 2;
}

.top {
    position: relative;
    height: 50px;
    padding: 50px;
}

@media screen and (max-width: 1550px) {
    .ramadan-img {
        top: unset;
        bottom: 150px;
        width: 250px;
    }
}

@media screen and (max-width: 1300px) {
    .main-container {
        object-fit: cover;
        background: url('../imgs/oreint-bg.jpg');
        background-position: 50% 50%;
        background-repeat: no-repeat;
        background-size: cover;
        background-attachment: fixed;
        max-width: 100%;
    }

    .rkareem img {
        top: unset;
        bottom: 40px;
        width: 150px;
        right: 40px;
        transform: translateX(0);
        max-height:200px!important;
        margin-top: 50%;
    }
}

.top-text p {
    color: #707070;
    font-size: 45px;
    font-weight: bold;
    direction: rtl;
}

.top-text p span {
    color: #00A19A;
    font-size: 45px;
    font-weight: bold;
}

.bottom-text p {
    color: #797D7E;
    font-size: 25px;
    font-weight: lighter;
    max-width: 687px;
    margin: auto;
}

@media screen and (max-width: 1200px) {
    .top-text p {
        color: #707070;
        font-size: 20px;
        font-weight: bold;
        direction: rtl;
        padding: 20px;
    }

    .top-text p span {
        color: #00A19A;
        font-size: 20px;
        font-weight: bold;
    }

    .bottom-text p {
        color: #797D7E;
        font-size: 15px;
        font-weight: lighter;
        max-width: 687px;
        margin: auto;
        padding: 20px;
    }

    input[type="text"] {
        display: block;
        margin: auto !important;
        max-width: 400px;
        width: 90%;
        height: 56px;
        margin: 0;
        outline: none;
        border-radius: 12px;
        border: #00000029 solid 2px;
        transform: translateX(0);
        padding-right: 0;
        text-align: center;
        margin-bottom: 20px !important;
    }

    input[type="submit"] {
        display: block;
        margin: auto !important;
        max-width: 200px;
        width: 200px;
        height: 56px;
        margin: 0;
        outline: none;
        border-radius: 42px;
        border: #fff solid 2px;
        background-color: #04AFF5;
        color: #FFF;
        transform: translateX(0);
    }
}

@media screen and (max-width: 830px) {
    .top{
        padding: 12px;
    }
    .rkareem img {
        top: unset;
        width: auto;
        max-height:345px;
    }
    .logo img, .slogan img{
        height: auto;
        width: 100px;
    }
    .maindv{
        margin-top: 0px;
    }
}
@media screen and (max-width: 360px) {
    .top{
        padding: 12px;
    }
    .rkareem img {
        top: unset;
        width: 50%;
        max-height:25%!important;
        height: 10em;
    }
    .logo img, .slogan img{
        height: auto;
        width: 50px;
    }
    .maindv{
        margin-top: 0px;
    }
}
@media screen and (max-width: 600px) {
    .top{
        padding: 12px;
    }
    .top-text p {
        padding: 20px 15px 20px 15px !important;
    }

    .bottom-text p {
        padding: 10px 15px 20px 15px !important;
    }

    .logo img, .slogan img {
        width: 100px;
    }
    .txt{
        margin: 24px;
    }
    input[type="text"]{
        margin-bottom: 0px!important;
    }
    .txt p{
        font-size: 16px;
    }
}

@media screen and (max-width: 450px) {
    .rkareem img {
        top: unset;
        width: 50%;
        height:25%;
    }
}