﻿@import url('commen/commen.css');
@import url('commen/header.css');
@import url('commen/footer.css');


main {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: max-content 1fr;
    justify-content: center;
    align-items: center;
    grid-gap: 7px;
    width: 100%;
    padding: 0px 0%;
    margin: 0px auto;
    background: url(../img/background.jpg) 100% 100% no-repeat fixed;
    background-size: cover;
}

    main > section {
        justify-items: center;
        display: grid;
        grid-template-columns: 1fr;
        grid-template-rows: max-content;
        justify-content: center;
        align-items: center;
        grid-gap:20px;
        position: relative;
        width: 100%;
        padding:200px 0px 100px 0px;
        z-index: 1;
    }
	
	
        main > section > .serach {
			display:flex;
            flex-flow:column nowrap;
            justify-content:center;
            align-items:center;
            grid-gap:20px;
            position: relative;
            width: 75%;
        }

            main > section > .serach > input {
                position: relative;
                width: 100%;
                height: 60px;
                font: clamp(18px, 2vw, 22px) "jfm";
                color: var(--secondary);
                padding: 0px 30px 0px 70px;
                border-radius: 30px;
                background: var(--white);
                box-shadow: var(--shadow);
                direction: rtl;
            }

            main > section > .serach > button {
                position: absolute;
                top: 5px;
                left: 5px;
                width: 50px;
                height: 50px;
                font-size: clamp(16px, 2vw, 18px);
                color: var(--white);
                border-radius: 30px;
                background: var(--secondary);
            }

                main > section > .serach > button:hover {
                    background: var(--primary);
                }


        main > section > .serach_result {
            display: grid;
            grid-template-columns: 1fr;
            grid-auto-rows: max-content;
            justify-content: start;
            align-items: center;
            position: absolute;
            top: 400px;
            right: 10%;
            width: 80%;
            padding: 15px;
            border-radius: 5px;
            background: var(--white);
            box-shadow: var(--shadow);
            -webkit-transition: all 0.2s linear;
            transition: all 0.2s linear;
            opacity:0;
            visibility:hidden;
            z-index:-1;
            direction: rtl;
        }

            main > section > .serach_result.show {
                top: 320px;
                opacity: 1;
                visibility: visible;
                z-index: 1;
            }

            main > section > .serach_result > div {
                display: grid;
                grid-template-columns: max-content 1fr;
                grid-auto-rows: max-content;
                justify-content: start;
                align-items: center;
                grid-gap: 10px;
                position: relative;
                width: 100%;
                border-radius:4px;
                padding:15px;
                -webkit-transition: all 0.2s linear;
                transition: all 0.2s linear;
                cursor:pointer;
            }

            main > section > .serach_result > div:hover {
                background:var(--light);
            }

            main > section > .serach_result > div > img {
                position: relative;
                width: 60px;
                height:60px;
                border:solid 2px var(--border);
                border-radius:100%;
            }

                main > section > .serach_result > div > p {
                    display: flex;
                    flex-flow: row wrap;
                    justify-content: flex-start;
                    align-items: center;
                    position: relative;
                    top:2px;
                    width: 100%;
                    font-size: clamp(16px, 2vw, 18px);
                    color: var(--secondary);
                    border-radius: 100%;
                }

                main > section > .serach_result > div > p > span {

                    position: relative;
                    top:-5px;
                    width:100%;
                    font-size: clamp(14px, 2vw, 16px);
                    color: var(--gray);
                }


        main > section > .catalog {
            display: flex;
            flex-flow:row wrap;
            justify-content: space-around;
            align-items: center;
            grid-gap:30px;
            position: relative;
            width:75%;
            margin:50px 0px 0px 0px;
            direction:rtl;
        }

            main > section > .catalog > p {
                flex: 1 1 100%;
                position: relative;
                font-size: clamp(20px, 2vw, 32px);
                color: var(--white);
                text-shadow: 2px 2px rgba(0,0,0,0.1);
                text-align: center;
            }

            main > section > .catalog > div {
                flex: 1 1 100px;
                display: flex;
                flex-flow: column nowrap;
                justify-content: center;
                align-items: center;
                grid-gap: 5px;
                position: relative;
                -webkit-transition: all 0.2s linear;
                transition: all 0.2s linear;
                cursor: pointer;
            }

                main > section > .catalog > div:hover {
                    -webkit-transform: scale(1.1);
                    transform: scale(1.1);
                }

                main > section > .catalog > div > i {
                    width: 100px;
                    height: 100px;
                    border-radius: 100%;
                    background: rgba(255,255,255,1);
                    -webkit-transition: all 0.2s linear;
                    transition: all 0.2s linear;
                }


                main > section > .catalog > div > i:before {
                    position:relative;
                    width:100%;
                    height:100%;
                    font-size:30px;
                    color:var(--primary);
                }

                main > section > .catalog > div > p {
                    font-size: clamp(16px, 2vw, 18px);
                    color: var(--white);
                }

.counter {
    display: flex;
    flex-flow: row-reverse wrap;
    justify-content: center;
    align-items: center;
    grid-gap: 200px;
    position: relative;
    width: 75%;
    padding: 40px 30px 20px 30px;
    margin: 0px auto;
}

    .counter > div {
        display: flex;
        flex-flow: column wrap;
        justify-content: center;
        align-items: center;
        position: relative;
    }

        .counter > div > p {
            font-size: 20px;
            color: var(--secondary);
        }

        .counter > div > .timer {
            font-size: 60px;
            color: var(--primary);
        }

.special {
    display: flex;
    flex-flow: row-reverse wrap;
    justify-content: center;
    align-items: center;
    grid-gap: 50px;
    position: relative;
    width: 100%;
    padding: 80px 12.5%;
    margin: 0px auto;
    background: rgba(240,240,240,1) url(../img/section_bg.jpg) no-repeat fixed;
    background-size: cover;
}

    .special .title {
        display: flex;
        flex-flow: column wrap;
        justify-content: center;
        align-items: center;
        grid-gap: 10px;
        position: relative;
    }

        .special .title > p {
            flex: 0 0 100%;
            font-size: 20px;
            color: var(--secondary);
        }

        .special .title > button {
            position: relative;
            height: 30px;
            font-size: 12px;
            color: var(--white);
            border-radius: 20px;
            padding: 0px 15px 2px 15px;
            background: var(--secondary);
            -webkit-transition: all 0.2s linear;
            transition: all 0.2s linear;
        }

            .special .title > button:hover {
                background: var(--primary);
            }

    .special > div {
        display: flex;
        flex-flow: column nowrap;
        justify-content: center;
        align-items: center;
        grid-gap: 5px;
        position: relative;
        -webkit-transition: all 0.2s linear;
        transition: all 0.2s linear;
        cursor: pointer;
    }


        .special > div > img {
            width: 80px;
            height: 80px;
            border-radius: 100%;
            -webkit-transition: all 0.2s linear;
            transition: all 0.2s linear;
        }

        .special > div:hover > img {
            border: solid 5px var(--white);
        }

        .special > div > p {
            font-size: 16px;
            color: var(--secondary);
        }

.offers {
    display: flex;
    flex-flow: row wrap;
    justify-content: center;
    align-items: center;
    grid-gap: 40px;
    position: relative;
    width: 75%;
    padding: 80px 40px;
    margin: 0px auto;
}

    .offers > p {
        flex: 0 0 100%;
        font: 20px "jfm";
        color: var(--secondary);
        text-align: center;
    }

    .offers > div {
        display: flex;
        flex-flow: column nowrap;
        justify-content: center;
        align-items: center;
        grid-gap: 5px;
        position: relative;
        -webkit-transition: all 0.2s linear;
        transition: all 0.2s linear;
        cursor: pointer;
    }

        .offers > div:hover {
            -webkit-transform: scale(1.1);
            transform: scale(1.1);
        }

        .offers > div > img {
            width: 80px;
            height: 80px;
            border: solid 2px var(--border);
            border-radius: 100%;
            -webkit-transition: all 0.2s linear;
            transition: all 0.2s linear;
        }

        .offers > div > p {
            font-size: 16px;
            color: var(--secondary);
        }
		
.mashApp {
    display: flex;
    flex-flow: row nowrap;
    justify-content: space-evenly;
    align-items: center;
    padding: 25px;
    position: relative;
    width: 100%;
    height: 200px;
    overflow:hidden;
}


.mashApp:before {
    content:"";
    display:block;
    position: absolute;
    width: 100%;
    height: 100%;
    background:var(--secondary);
    background-size: cover;
    opacity:0.3;
}

    .mashApp > img {
        position: relative;
        bottom:-70px;
        width: 300px;
    }

    .mashApp > div {
      display:grid;
      grid-template-columns:repeat(2,1fr);
      grid-auto-rows:max-content;
      justify-content:start;
      align-items:center;
      grid-gap:20px;
      position:relative; 
	  direction:rtl;
    }


        .mashApp > div > p {
            grid-column: 1/-1;
            position: relative;
            font-size: clamp(26px, 3vw, 32px);
            color: var(--white);
            text-align: right;
        }

        .mashApp > div > a {
			display:flex;
			flex-flow:row nowrap;
			justify-content:center;
			align-items:center;
            position: relative;
            width: 100%;
			height:60px;
			font-size:20px;
			color:var(--white);
			border-radius:5px;
			padding:0px 25px;
			background:var(--secondary);
            -webkit-transition: all 0.2s linear;
            transition: all 0.2s linear;

        }

            .mashApp > div > a:hover {
                -webkit-transform: scale(0.95);
                transform: scale(0.95);
            }

.MenuOverlay {
    display: flex;
    flex-flow: row nowrap;
    justify-content: center;
    align-items: center;
    position: fixed;
    top:0;
    left:0;
    width: 100vw;
    height: 100vh;
    background: rgba(0,0,0,25%);
    -webkit-transition: all 0.25s linear;
    transition: all 0.25s linear;
    opacity: 0;
    visibility:hidden;
    z-index: 0;
}


    .MenuOverlay.show {
        opacity: 1;
        visibility: visible;
        z-index: 500;
    }

.MenuPopup {
    display: flex;
    flex-flow: column nowrap;
    justify-content: center;
    align-items: center;
    grid-gap:10px;
    position: relative;
    padding:50px 25px 25px;
    border-radius:5px;
    background: rgba(0,0,0,80%);
    box-shadow:0px 10px 20px rgba(0,0,0,10%);
    -webkit-transform: scale(0.5);
    transform: scale(0.5);
    -webkit-transition: all 0.25s linear;
    transition: all 0.25s linear;
    opacity: 0;
}


.MenuPopup > div.close {
    display: flex;
    flex-flow: row nowrap;
    justify-content: center;
    align-items: center;
    position: absolute;
   top:10px;
   left:10px;
   width:30px;
   height:30px;
   cursor:pointer;
}


    .MenuPopup > div.close:before {
        font-size: 16px;
        color: var(--white);
        -webkit-transition: all 0.25s linear;
        transition: all 0.25s linear;
    }

    .MenuPopup > div.close:hover:before {
        color: var(--red);
    }

    .MenuPopup.show {
        -webkit-transform: scale(1);
        transform: scale(1);
        opacity: 1;
        z-index:200;
    }

    .MenuPopup > button {
        display: flex;
        flex-flow: row nowrap;
        justify-content: center;
        align-items: center;
        position: relative;
        width: 100%;
        height: 60px;
        font-size: 20px;
        color: var(--white);
        padding:0px 60px;
        border-radius:5px;
        background: none;
        -webkit-transition: all 0.25s linear;
        transition: all 0.25s linear;
    }

        .MenuPopup > button:hover {
           background: var(--primary);
        }
	


/*-- media query --*/
@media only screen and (max-width: 1300px) {

    .counter {
        grid-gap: 75px;
    }
}

@media only screen and (max-width: 1200px) {

    main {
        padding: 0px 0%;
    }

    main > section {
        padding: 150px 25px 50px 25px;
    }

        main > section > .serach {
            width: 100%;
        }

            main > section > .serach > input {
                height: 50px;
            }

            main > section > .serach > button {
                width: 40px;
                height: 40px;
            }

        main > section > .serach_result {
            width: 90%;
            right: 5%;
        }

            main > section > .serach_result.show {
                top: 260px;
            }

            main > section > .serach_result > div > img {
                width: 50px;
                height: 50px;
            }


        main > section > .catalog {
            width: 100%;
        }

            main > section > .catalog > div > i:before {
                font-size: 26px;
            }

    .counter {
        width: 100%;
    }

    .special {
        padding: 40px 0px;
    }

    .offers {
        width: 100%;
    }
}


@media only screen and (max-width: 768px) {



        main > section > .catalog {
            grid-gap: 20px;
        }



            main > section > .catalog > div {
                flex: 1 1 80px;
            }

                main > section > .catalog > div > i {
                    width: 80px;
                    height: 80px;
                }

                    main > section > .catalog > div > i:before {
                        font-size: 23px;
                    }


    .counter {
        grid-gap: 50px;
    }

        .counter > div > p {
            font-size: 18px;
        }

        .counter > div > .timer {
            font-size: 50px;
        }

    .special {
        grid-gap: 40px;
    }

        .special .title {
            flex: 0 0 100%;
        }
		
	.mashApp > img {
        position: absolute;
        bottom: -100px;
        left:0;
        right:0;
        margin:auto;
        opacity:0.2;
    }

    .mashApp > div > p {
        text-align: center;
    }
		
}



@media only screen and (max-width: 600px) {

    main > section > .catalog {
        grid-gap: 15px;
    }

        main > section > .catalog > div > i {
            width: 60px;
            height: 60px;
        }

            main > section > .catalog > div > i:before {
                font-size: 20px;
            }

        main > section > .catalog > p {
            margin:0px 0px 10px 0px;
        }

    .counter {
        grid-gap: 30px;
    }

}

@media only screen and (max-width: 414px) {

    main > section > .catalog > div > i {
        width: 50px;
        height: 50px;
    }

        main > section > .catalog > div > i:before {
            font-size: 20px;
        }

    main > section > .catalog {
        grid-gap: 10px;
    }
	
	.mashApp {
        height: auto;
    }

    .mashApp > div {
        grid-template-columns: 1fr;
        justify-content:center;
    }


        .mashApp > div > a {
            width:100%;
        }

            .mashApp > div > a > img {
                width: 100%;
                height:100%;
            }
	
}


@media only screen and (max-width: 380px) {
}
