
@font-face{
    font-family: Vazir-Medium;
    src: url('../fonts/Vazirmatn-Medium.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
}

@font-face{
    font-family: Vazir-Bold;
    src: url('../fonts/Vazirmatn-Bold.woff2') format('woff2');
    font-weight:bold;
    font-style: normal;
}


* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}


#container {
    font-family: Vazir-Medium;
    margin: 20px;
    box-shadow: 1px 10px 16px 5px rgba(159, 159, 163, 0.7);
    border-radius: 40px;

}

header {
    text-align: center;
    padding-bottom: 0;
}

#banner{
    background: url("../images/foam.png");
    background-size: 100% 100%;
    background-repeat: no-repeat;
    padding-top: 20px;
    border-radius: 40px 40px 0px 0px;
}


.banner-text{
    text-align: center;
    color:rgb(10, 10, 143);
    padding-top: 30px;    
    padding-bottom: 40px;   
}

.banner-text h1{
    font-family: Vazir-Bold;
    font-size: 45px;
    text-shadow: 0px 2.5px 0px rgb(29, 29, 36);
    padding: 20px 40px;    
    border: 10px solid rgb(29, 29, 34, 0.8);
    border-radius: 30px;
    display: inline-block;
    box-shadow: 0px 13px 16px 5px rgba(9, 7, 16, 0.7);
    background-image: linear-gradient(to right,  rgba(231, 222, 179, 0.3), rgb(227, 227, 246), rgba(31, 20, 47, 0.3));
}

.banner-text h1:hover {
    font-size: 55px;
    text-shadow: 0px 5px 0px rgb(29, 29, 36);
    box-shadow: 0px 13px 16px 5px rgba(9, 7, 16, 0.7);
    background-image: linear-gradient(to right,  rgba(231, 222, 179, 0.3), rgb(227, 227, 246), rgba(31, 20, 47, 0.3));
    transition: 0.3s;
}


#numberback {
    text-align: center;
    clip-path: polygon(100% 0, 96% 51%, 100% 100%, 0% 100%, 4% 51%, 0% 0%);
    background-image: linear-gradient(to right,  rgba(231, 198, 133, 0.3), rgb(227, 227, 246),rgba(231, 198, 133, 0.3));
    padding-top: 15px;    
    padding-bottom: 10px;  
}

#numberback:hover {
    background-image: linear-gradient(to right,  rgba(231, 223, 133, 0.3), rgb(246, 240, 227),rgba(231, 133, 133, 0.3));
}

#local{
    color: rgb(137, 4, 185);
}

img.logo{
    float: left;
    margin-left: 60px;
    margin-right: 20px;
    margin-bottom: 10px;
    width: 150px;
    border: 2px solid rgb(73, 68, 68);
    border-radius: 50%;
    box-shadow: 2px 7px 6px 3px rgba(92, 97, 93, 0.7); 
}


.engineer img{
    margin-right: 10px;
    margin-bottom: 10px;
    vertical-align: middle;
    width: 100px;
    border: 2px solid rgb(73, 68, 68);
    border-radius: 50%;
    box-shadow: 2px 7px 6px 3px rgba(92, 97, 93, 0.7); 
}
.engineer {
    font-size: 30px;
    text-decoration: none;
}
.engineer .eng {
    color: deeppink;
}

.engineer .mohandes{
    color:rgb(41, 135, 41);
    text-shadow: 0px 2px 0px rgb(160, 160, 175);

}

.engineer:hover{
    font-size: 40px;
    transition-duration: 0.5s;
}
.engineer::after {
    content: "";
    display: table;
    clear: both;
}



#numberback p{
    font-size: 30px;
}


#numberback p.tamas {
    font-size: 30px;
    color:brown ;
}

#numberback .number{
    font-size: 40px;
    color: rgb(237, 70, 70);
    text-decoration: none;
}

.number img{
    margin-right: 10px;
    margin-bottom: 10px;
    vertical-align: middle;
    width: 50px;
    border: 2px solid rgb(209, 128, 128);
    border-radius: 50%;
    box-shadow: 2px 7px 6px 3px rgba(187, 110, 87, 0.7); 
}

#menu {
    padding: 0px;
}

ul.NavigationMenu1 {
    list-style-type: none;
    margin: 0;
    padding: 0;
    overflow: hidden;
    background-color: #1743c7;
    border: 1px solid #555;
    width: 100%;
}

li.NavigationMenu2 {
    float: right;
    border-left: 1px solid #555;
}

li.NavigationMenu2:last-child {
    border-left: none;
}

li.NavigationMenu2 a {
    display: inline-block;
    font-size: 24px;
    color: white;
    text-align: center;
    padding: 28px 12px;
    text-decoration: none;
}



li.NavigationMenu2 a:hover:not(.active) {
    background-color: rgb(102, 69, 185);
}

ul.NavigationMenu1 .active {
    background-color: #04AA6D;
}

main {
    margin: 10px;
    padding:0px;
    background: url("../images/main.jpg");
    background-size: cover;
    background-repeat: no-repeat;
    border: 0.5px solid rgb(218, 218, 239);
    border-radius: 20px;
}

.row1 {
    margin: 0px;
    padding: 0px;
    background-image: linear-gradient(to right, rgba(222, 227, 204, 0.3), rgb(227, 227, 246));
    border: 0.5px solid rgb(159, 136, 212);
    border-radius: 20px;
}


.row2::after {
    content: "";
    display: table;
    clear: both;
}


.aboutus {
    background: url("../images/aboutus.jpg");
    background-size: cover;
    background-repeat: no-repeat;
    font-size: 40px;
    margin: 0px;
    padding: 40px;
    direction: rtl;
    border-radius: 20px;
}

.aboutus p.caption {
    background-color: rgb(70, 74, 76);
    color:deeppink;
    border-radius: 20px;
    border: 2px solid rgb(42, 44, 45);
    box-shadow: 0px 3px 6px 3px rgba(92, 97, 93, 0.7);
    background-image: linear-gradient(to right,  rgba(30, 30, 28, 0.3), rgb(40, 40, 42), rgba(41, 39, 39, 0.3));
    display: inline-block;
    padding:  0px 10px;
    margin: 10px;
    text-align: right;
    box-sizing: border-box;
}

.aboutus p.caption:hover {
    box-shadow: 2px 7px 6px 3px rgba(92, 97, 93, 0.7);
}

.aboutus p.text{
    color:rgb(232, 129, 3);
    font-size: 25px;
    margin: 20px;
}


.construction img{
    width: 90%;
    height: auto;
    border-radius: 20px;
}

.contactus {
    background: url("../images/contactus.jpg");
    background-size: cover;
    background-repeat: no-repeat;
    border-radius: 20px;
    overflow: auto;
    font-size: 40px;
    padding-right: 30px;
    padding-left: 30px; 
}


.contactme a {
    text-decoration: none;
    color:deeppink;
    float: left;
    direction: ltr;
}

.contactme:hover {
    font-size: 50px;
}

.contactme::after {
    content: "";
    display: table;
    clear: both;
}

.contactme img {
    margin: 30px;
    margin-right: 20px;
    width: 70px;
    height: auto;
    vertical-align: middle;
    border-radius: 20px;
}

.contactme p {
    text-decoration: none;
    color:deeppink;
    float: left;
    direction: ltr;
}

.contactme .mob {
    list-style-type: none;
    color:deeppink;
    direction: ltr;
}
.contactme .mob:hover {
    font-size: 45px;
}
.contactme img.imagephone {
    border-radius: 50%;
}

#mazaya {
    font-size: 40px;
    padding-right: 30px;
    padding-left: 10px; 
    text-align: right;
    float: right;
    width: 49.99%;
}

.machine img{
    padding: 15px;  
    width: 49.99%;
    border-radius: 40px;
}

.mazayacaption {
    background-color: rgb(182, 212, 230);
    border-radius: 20px;
    border: 2px solid rgb(182, 212, 230);
    box-shadow: 0px 3px 6px 3px rgba(239, 244, 240, 0.7);
    background-image: linear-gradient(to right,  rgba(227, 189, 15, 0.3), rgb(227, 227, 246), rgba(227, 29, 29, 0.3));
    display: inline-block;
    padding: 8px;
    margin-top: 17px;
    text-align: right;
    box-sizing: border-box;
}

.title1 {
    color:rgb(1, 73, 216);
    text-shadow: 1px 2px 0px white;
}

#mazaya ul {
    font-size: 25px;
    padding: 30px;
    padding-left: 5px;
    padding-right: 20px;
    padding-top: 10px;
}

#mazaya p{
    font-size: 40px;
    padding: 0px;
    margin: 0;
    
    text-align: right;
}

#mazaya p strong{
    margin: 0;
}
    
#mazaya ul li{
    font-size: 25px;
    padding: 5px;
    text-align: right;
}








.pro {
    background: url("../images/03.jpg");
    background-size: cover;
    background-repeat: no-repeat;
    padding-top: 20px;
    border-radius: 40px 40px 0px 0px;
}

.titr {
    width: 40%;
    height: auto;
    font-size: 20px;
    color: rgb(230, 214, 227);
    text-align: center;
    margin :auto;
    background: rgb(82, 82, 119);
    border: 3px solid rgb(231, 223, 234);
    border-radius: 20px;
    box-shadow: 0px 3px 6px 3px rgba(239, 244, 240, 0.7);
    background-image: linear-gradient(to right,  rgba(227, 189, 15, 0.3), rgb(111, 111, 124), rgba(230, 122, 122, 0.3));
    text-shadow: -2px 3px 0px rgb(36, 32, 29);
    padding: 15px;
}



.titrBottom {
    width: 20%;
    height: auto;
    font-size: 20px;
    color: rgb(230, 214, 227);
    text-align: center;
    margin :auto;
    background: rgb(82, 82, 119);
    border: 3px solid rgb(231, 223, 234);
    border-radius: 20px;
    box-shadow: 0px 3px 6px 3px rgba(239, 244, 240, 0.7);
    background-image: linear-gradient(to right,  rgba(227, 189, 15, 0.3), rgb(111, 111, 124), rgba(230, 122, 122, 0.3));

    text-shadow: -2px 3px 0px rgb(36, 32, 29);
    padding: 15px;
}



.projectImage {
    direction: rtl;
    color: aliceblue;
    /* background-color:#735039; */
    /* background-image: linear-gradient(to right,  rgba(227, 189, 15, 0.3), rgb(111, 111, 124), rgba(230, 122, 122, 0.3)); */
}

.responsiveImage {
    padding: 0 6px;
    float: left;
    width: 24.99999%;
    border: none;
    margin-bottom: 10px;
}

.gallery {
    /* border: 1px solid #ccc; */
}

.gallery:hover {
    /* border: 1px solid #777; */
}

.gallery img {
    width: 100%;
    height:400px;
    border: 2px solid rgb(14, 14, 14);
    border-radius: 20px;
    box-shadow: 0px 3px 6px 3px rgba(104, 102, 102, 0.8);

}

.descImage {
    padding: 15px;
    text-align: center;
    border: none;
}


.clearfixImage:after {
    content: "";
    display: table;
    clear: both;
}




.videowrap {
    float: left;
    width: 30%;
    height: auto;
    margin: 20px 20px 20px 180px;
    padding: 5px;
    border: 8px rgb(39, 38, 36) solid;
    border-radius: 20px;
    box-shadow: 0px 3px 6px 3px rgba(239, 244, 240, 0.7);
    border-image: url('../images/frame.jpg') 20% round;
    border-image-width: 40px;
}    

video {
    width: 100%; 
    height: auto;
    border-radius: 20px;
}

.clearfixvideo:after {
    content: "";
    display: table;
    clear: both;
}









#footer {
    font-size: 30px;
    text-align: center;
    margin-left: 10px;
    margin-right: 10px;
    margin-top: 20px;
    margin-bottom: 40px;
    padding: 40px;
    color: white;
    background-image: linear-gradient(to right,  rgb(21, 0, 255, 0.6), rgb(85, 18, 106), rgb(21, 0, 255, 0.6));
    text-shadow: 1px 1px 0px rgb(220, 225, 147);
    clip-path: polygon(0 0, 100% 0, 90% 100%, 10% 100%);
}


.backcaption {
    border:7px solid white;
    border-radius: 20px;
    display: inline-block;
    padding: 25px 40px;
    box-shadow: 0px 6px 16px 5px rgba(239, 244, 240, 0.7);
}

.backcaption:hover {
    font-size: 40px;
}

.fottercaption {
    font-size: 30px;
}

.fottercaption:hover {
    font-size: 45px;
}















@media screen and (max-width: 900px) {
    .banner-text h1{
        font-size: 35px;
        text-shadow: 1px 2px 0px rgb(12, 12, 13);
        padding: 15px 10px;    
        border: 6px solid rgb(29, 29, 34, 0.8);
        border-radius: 20px;
        margin-left: 0px 20px;
        display: inline-block;
    }
    .banner-text h1:hover {
    font-size: 50px;
    text-shadow: 0px 2px 0px rgb(29, 29, 36);
    }

    img.logo{
        margin-left: 40px;
        margin-right: 10px;
        margin-bottom: 10px;
        width: 100px;
    }


    #numberback p{
        font-size: 25px;
    }

    #numberback p.tamas{
        font-size: 30px;
        color:brown ;
    }

    #numberback .number{
        font-size: 40px;
        color: red;
        text-decoration: none;
    }

    /* .number img{
        margin-right: 10px;
        margin-bottom: 10px;
        width: 50px;
    } */

    .aboutus {
        padding: 20px 30px 40px 30px;
    }

    .contactus {
        font-size: 20px;
        padding-right: 30px;
        padding-left: 10px; 
    }
    .contactme:hover {
        font-size: 25px;
    }
    .contactme img {
        margin: 20px;
        margin-right: 10px;
        width: 50px;
        height: auto;
    }
    .contactme .mob:hover {
        font-size: 25px;
    }


    #mazaya {
        width: 100%;
    }
    .machine img{
        width: 100%;
        padding-left: 10px;
    }
    .backcaption {
    font-size: 18px;
    }


.titr {
    width: 40%;
    height: auto;
    font-size: 15px;
    text-shadow: -2px 3px 0px rgb(36, 32, 29);
    box-shadow: 0px 3px 6px 3px rgba(239, 244, 240, 0.7);
    padding: 15px;
}

.titrBottom {
    width: 30%;
    height: auto;
    font-size: 15px;
    text-shadow: -2px 3px 0px rgb(36, 32, 29);
    box-shadow: 0px 3px 6px 3px rgba(239, 244, 240, 0.7);
    padding: 15px;
}



.responsiveImage {
        width: 49.99999%;
        margin: 6px 0;
    }


.videowrap {
    width: 40%;
    margin: 10px;
    padding: 2px;
    border: 8px rgb(39, 38, 36) solid;
    box-shadow: 0px 3px 6px 3px rgba(239, 244, 240, 0.7);
    border-image: url('../images/frame.jpg') 20% round;
    border-image-width: 20px;
}  


    .gallery img {
        width: 100%;
        height:300px;
    }


    .fottercaption {
        font-size: 25px;
    }
    .backcaption:hover {
    font-size: 20px;
    }
    .fottercaption:hover {
        font-size: 30px;
    }
}



@media screen and (max-width: 450px) {
    .banner-text h1{
        font-size: 20px;
        text-shadow: 1px 2px 0px rgb(12, 12, 13);
        padding: 15px 10px;    
        border: 6px solid rgb(29, 29, 34, 0.8);
        border-radius: 20px;
        margin-left: 0px 20px;
        display: inline-block;
    }
    .banner-text h1:hover {
    font-size: 25px;
    text-shadow: 0px 2px 0px rgb(29, 29, 36);
    }

    li.NavigationMenu2 a {
        font-size: 12px;
        padding: 15px 14px;
    }

    
    img.logo{
        margin-left: 20px;
        margin-right: 10px;
        margin-bottom: 10px;
        width: 80px;
    }


    .engineer img{
    margin-right: 5px;
    margin-bottom: 5px;
    width: 50px;
    box-shadow: -1px 1px 5px 3px rgba(92, 97, 93, 0.7); 
    }
    .engineer {
        font-size: 20px;
    }
    .engineer .mohandes{
        text-shadow: 0px 1.5px 0px rgb(160, 160, 175);

    }

    .engineer:hover{
        font-size: 30px;
    }
    .engineer::after {
        content: "";
        display: table;
        clear: both;
    }



    #numberback p{
        font-size: 20px;
        padding: 0px 10px;
    }
    #numberback p.tamas{
        font-size: 20px;
        padding:1px;

    }
    #numberback .number{
        font-size: 25px;
        padding:1px;
        text-decoration: none;
    }

    .number img{
        margin-right: 10px;
        margin-bottom: 10px;
        width: 30px;
    }


    .aboutus {
        padding: 5px 20px 23px 15px;
    }
    .aboutus p.caption {
        background-color: rgb(70, 74, 76);
        color:deeppink;
        border-radius: 10px;
        padding:  0px 5px;
        margin: 20px 10px;
        text-align: right;
        box-sizing: border-box;
        font-size: 20px;
    }

    .aboutus p.text{
        color:rgb(232, 129, 3);
        font-size: 14px;
        margin: 0px;
        padding: 2px;
    }




    .contactus {
        font-size: 15px;
        padding-right: 30px;
        padding-left: 5px; 
    }
    .insta {
        font-size: 9px;
    }
    .contactme:hover {
        font-size: 18px;
    }
    .insta:hover {
        font-size: 10px;
    }

    .contactme img {
        margin: 20px;
        margin-right: 10px;
        width: 30px;
        height: auto;
    }
    .contactme .mob:hover {
        font-size: 17px;
    }

    #mazaya p {
        font-size: 25px;
    }
    #mazaya ul li {
        font-size: 16px;
    }




    .titr {
        width: 80%;
        height: auto;
        font-size: 11px;
        text-shadow: -2px 3px 0px rgb(36, 32, 29);
        box-shadow: 0px 2px 3px 2px rgba(239, 244, 240, 0.7);
        padding: 15px;
        margin-bottom: 10px;
    }

    .titrBottom {
        width: 55%;
        height: auto;
        font-size: 10px;
        text-shadow: -2px 3px 0px rgb(36, 32, 29);
        box-shadow: 0px 3px 6px 3px rgba(239, 244, 240, 0.7);
        padding: 15px;
    }

    .responsiveImage {
        width: 100%;
    }



    .videowrap {
    width: 80%;
    margin: 10px 20px;
    padding: 1px;
    border: 8px rgb(39, 38, 36) solid;
    box-shadow: 0px 3px 6px 3px rgba(239, 244, 240, 0.7);
    border-image: url('../images/frame.jpg') 20% round;
    border-image-width: 18px;
    }


    .gallery img {
        width: 100%;
        height:200px;
    }


    #footer {
        font-size: 12px;
        padding: 17px 8px;
        clip-path: polygon(0 0, 100% 0, 100% 100%, 0% 100%);
    }
    .fottercaption {
        font-size: 14px;
        padding: 5px 1px;
    }
    .fottercaption:hover {
        font-size: 16px;
    }
    .backcaption {
        font-size: 11px;
        border:3px solid white;
        box-shadow: 1px 5px 10px 3px rgba(239, 239, 244, 0.7);
    }
    .backcaption:hover {
    font-size: 12px;
    }
}













