﻿* {
}
body {margin:0px;    background-image: url('../img/bunner.png');
    background-repeat: repeat;
    direction:rtl ;
}
.bunner {
  overflow: hidden;
  background-color: red;
  padding :5px;
}

.icon {
    height: 50px;
    float :left ;
    display :inline-block ;
}
.mohammed {
    height: 50px;
    float :right ;
    display :inline-block ;
}
.container {
    direction: rtl;
    padding: 20px;
    width: 100%;
    margin:0px;
    display: flex; /*justify-content:center;*/
    justify-content: space-around;
    flex-wrap: wrap;
    align-content: space-between;
}

* {
    box-sizing: border-box;
}


/****************** بداية القائمة الأفقية **************************/

/* Style the top navigation bar */
.topnav {
    overflow: hidden;
    background-color: #1a9f41;
}

    /* Style the topnav links */
    .topnav a {
        float: right ;
        display: block;
        color: #f2f2f2;
        text-align: center;
        padding: 14px 16px;
        text-decoration: none;
        font-family :almarai;
        font-size :27px;
        height:60px;
    }

        /* Change color on hover */
        .topnav a:hover {
            background-color: #ddd;
            color: black;
        }

/****************** نهاية القائمة الأفقية **************************/

/* On screens that are 600px wide or less, make the menu links stack on top of each other instead of next to each other */
@media screen and (max-width: 900px) {
    .topnav a {
        float: none;
        width: 100%;
        font-size :25px;
        border-top :2px solid white;
        margin-top: 12px;
    }
}



/****************** الكارت المقلوب **************************/
.container1 {
    position: relative;
    width: 510px;
    margin: 0px auto;
    margin-top: 30px;
    border: solid 4px #9c9c9c;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 10px 5px 5px black;
}

.image {
    display: block;
    width: 100%;
    height: auto;
}

.overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: #ededed;
    overflow: hidden;
    width: 100%;
    height: 0;
    transition: .5s ease;
    padding: 0px;
}

.container1:hover .overlay {
    height: 100%;
}

.text {
    color: #4a4a4a;
    position: absolute;
    top: 50%; 
    left: 50%;
    -webkit-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    text-align: center;
    font-size :30px;
    line-height :1.8;
    font-family :almarai;
    width:100%;
    padding :0px;
}
    .text p {
        margin:0px;
        padding: 10px 0px;
        background-color :red;
        color:#fcff00;
    }
.warning {
    width: 90%;
    height: 70px;
    font-size: 30px;
    font-family: almarai;
    padding :10px;
    background-color :transparent ;
    border :5px solid #ffbb00;
    border-radius :20px;
    cursor :pointer ;
    color :#b47005;
    margin :5px auto ;
}
    /* Orange */
    .warning:hover {
        background: #ffeb00;
        color: #414141;
    }


/****************** الكارت المقلوب **************************/

