.moshavere-t6 {
    width: 50%;
    padding: 25px;
    font-size: 25px;
    height: 300px;
    transition: 0.6s;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-color: white;
    border-radius: 15px;
    margin: 5px;
}


.moshavere-t6 i {
    transform: scale(2);
}


.moshavere-t6:hover {
    color: rgb(255, 255, 255);
    background-color: #458855;
}


.parent-kar {
    width: 75%;
    margin: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}


.child-kar {
    position: relative;
    padding: 10px;
    transition: 1.4s;
}


.child-kar:hover .mask-child-kar h2 {
    z-index: 1;
    transform: scale(1.15);
   
}


.child-kar:hover .mask-child-kar h5 {
    z-index: 1;
    transform: scale(1.15);
   
}


.child-kar:hover .mask-child-kar {
    background-color: #406882;
    border-radius: 0px;
    z-index: 1;
}


.child-kar:hover .mask-child-kar1 h2 {
    z-index: 1;
    transform: scale(1.15);
   
}


.child-kar:hover .mask-child-kar1 h5 {
    z-index: 1;
    transform: scale(1.15);
   
}


.child-kar:hover .mask-child-kar1 {
    background-color: #A8E6C3;
    border-radius: 0px;
    z-index: 1;
}


.mask-child-kar {
    text-align: center;
    position: absolute;
    top: 7%;
    left: 5%;
    color: white;
    height: 390px;
    width: 300px;
    padding: 20px;
    background-color: rgba(255, 54, 54, 0.1);
    z-index: -1;
    transition: all 1s cubic-bezier(0.08, 0.84, 0.12, 0.97) 0s;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    border-radius: 40px;
}


.child-kar:hover .mask-child-kar1 {
    z-index: 1;
}


.mask-child-kar1 {
    text-align: center;
    position: absolute;
    top: 6%;
    left: 7%;
    color: white;
    height: 300px;
    width: 220px;
    padding: 20px;
    background-color: rgba(255, 54, 54, 0.1);
    z-index: -1;
    transition: all 1s cubic-bezier(0.08, 0.84, 0.12, 0.97) 0s;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    border-radius: 40px;
}


.child-kar:hover #mask-child-kar2 {
    z-index: 1;
}





.mask-child-kar h5 {
    margin: 20px 0px;
}


.mask-child-kar h2 {
    font-size: 30px;
}








.banner-dabare-ma {
    position: relative;
    width: 100%;
}


.child-banner-dabare-ma {
    position: absolute;
    top: 40%;
    left: 43%;
}




.tarikhche-dabare-ma {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    width: 90%;
    margin: 100px auto;
}


.child-tarikhche-dabare-ma {
    width: 25%;
    padding: 5px;
    margin-left: 23px;
}


.child-tarikhche-dabare-ma1 {
    width: 50%;
    padding: 10px;
    align-items: flex-end;
}


.child-tarikhche-dabare-ma1 i {
    color: #5CBC74;
    padding: 5px;
   
}


.child-tarikhche-dabare-ma1 p {
    font-size: 20px;
    padding: 20px 20px 50px;
    width: 100%;
    color: rgb(80, 80, 80);
    font-weight: 100;
}


.child-tarikhche-dabare-ma1 h5 {
    margin-bottom: 15px;
    color: rgb(128, 128, 128);
    padding-right: 10px;
}


.child-tarikhche-dabare-ma1 h2 {
    font-size: 44px;
    padding: 10px;
}


.child-tarikhche-dabare-ma1 span {
   
    margin: 25px 25px;
    font-size: 18px;
    width: 30%;
}


.mask-dabare-ma {
    width: 100%;
   
    background-color: rgb(185, 185, 185);
    margin-bottom: 100px;
    padding-bottom: 50px;
}


.titr-mask-dabare-ma {
    text-align: center;
    padding: 80px 0px;
}


.titr-mask-dabare-ma h5 {
    color: rgb(53, 53, 53);
    font-size: 18px;
}


.titr-mask-dabare-ma h2 {
    font-size: 44px;
    margin: 10px 0px 25px;
}


.titr-mask-dabare-ma p {
    color: rgb(53, 53, 53);
    font-size: 18px;
    padding: auto;
}


.mamorit-dabare-ma {
    display: flex;
    align-items: center;
    width: 100%;
    margin: 50px auto;
}


.child-rast-mamorit-dabare-ma {
    display: flex;
}


.img-mamorit-dabare-ma {
    margin: 10px;
    position: relative;
}


.img-mamorit-dabare-ma:hover .mask3 {
    z-index: 1;
    color: rgba(0, 0, 0, 0.7);
}


.img-mamorit-dabare-ma img {
    display: block;
}


.rast-mamorit-dabare-ma {
    width: 55%;
}


.chap-mamorit-dabare-ma {
    width: 45%;
   
}


.chap-mamorit-dabare-ma h5 {
    font-size: 16px;
    padding: 10px;
}


.chap-mamorit-dabare-ma h2 {
    font-size: 44px;
    margin: 10px 0px;
    padding: 10px;
}

.scale {
    width: 30px;
    height: 30px;
    margin: 10px;
    background-color: #458855;
   
}


.scale1 {
    text-align: center;
    width: 30px;
    height: 30px;
    margin: 15px auto;
    background-color: #458855;
   
}


.chap-mamorit-dabare-ma p {
    font-size: 22px;
    padding: 10px;
    margin: 10px 0px 30px;
    font-weight: 100;
    width: 90%;
}


.span-chap-mamorit-dabare-ma {
    width: 100%;
}


.child-span-chap-mamorit-dabare-ma {
    display: flex;
    justify-content: space-around;
}


.child-span-chap-mamorit-dabare-ma h3:hover {
    transform: scale(1.1);
}


.child-span-chap-mamorit-dabare-ma i {
    padding: 5px;
    margin: 5px;
    background-color: #458855;
    color: #458855;
}


.child-span-chap-mamorit-dabare-ma h3 {
    font-size: 24px;
    padding: 20px;
    font-weight: 300;
    padding-right: 0px;
}


.nazarat-dabare-ma {
    position: relative;
    margin-bottom: 750px;
}

.titr-nazarat-dabare-ma {
    text-align: center;
    position: absolute;
    color: white;
    top: 25%;
    left: 40%;
}

.titr-nazarat-dabare-ma h4 {
    font-size: 24px;
    font-weight: 10;
    margin: 10px;
}

.titr-nazarat-dabare-ma h2 {
    font-size: 50px;
    margin: 10px;
}

.natayej-nazarat-dabare-ma {
    width: 90%;
    margin: auto;
    position: absolute;
    top: 90%;
    left: 5%;
    display: flex;
    background-color: white;
    padding: 25px;
    box-shadow: 2px 2px 20px 1px;
}

.rast-natayej-nazarat-dabare-ma {
    width: 50%;
    padding: 80px;
}

.rast-natayej-nazarat-dabare-ma h5 {
    font-size: 28px;
    font-weight: 100;
    color: rgb(60, 60, 60);
}

.rast-natayej-nazarat-dabare-ma h2 {
    font-size: 44px;
}

.rast-natayej-nazarat-dabare-ma p {
    font-size: 18px;
    padding: 10px 0px 0px;
    margin: 0px;
    color: rgb(60, 60, 60);
}

#rast-natayej-nazarat-dabare-map {
    margin-top: 25px;
}

.rast-natayej-nazarat-dabare-ma a {
    border: 2px solid rgb(255, 0, 0);
    color: rgb(255, 0, 0);
    padding: 15px 25px;
    margin: 50px;
}

.rast-natayej-nazarat-dabare-ma a:hover {
    border: 2px solid #406882;
    color: #406882;
   
    padding: 15px 25px;
    margin: 50px;
}

.chap-natayej-nazarat-dabare-ma {
    width: 50%;
}

.top-chap-natayej-nazarat-dabare-ma {
    display: flex;
    justify-content: space-between;
    width: 100%;
}

.bottom-chap-natayej-nazarat-dabare-ma {
    display: flex;
    justify-content: space-between;
    width: 100%;
}

.mask3 {
    width: 100%;
    height: 100%;
    position: absolute;
    left: 0%;
    top: 0%;
    z-index: -1;
    background-color: rgba(0, 0, 0, 0);
}

.menue {
    position: relative;
    z-index: 10;
   
}

#firstsec {
    position: relative;
   
    z-index: 5;
   
    margin-top: -107px;
   
}

.top-menue-content p {
    color: rgb(225, 225, 225);
}

.top-menue-content i {
    color: rgb(225, 225, 225);
}

img {
    transition: transform 0.3s ease, opacity 0.3s ease;
}


img:hover {
    transform: scale(1.05);
   
    opacity: 0.8;
   
}


#firstsec img:hover {
    transform: none;
    opacity: 1;
}

.child-kar img:hover {
    transform: none;
    opacity: 1;
}

.child-banner-dabare-ma h1 {
    font-size: 70px;
    color: white;
    height: 100px;
    top: 50%;
    left: 50%;
    transform: translate(-35%, -50%);
}


.img-mamorit-dabare-ma img {
    display: block;
    object-fit: cover;
    height: 215px;
    width: 215px;
}

#img1 {
    width: 330px;
    object-fit: cover;
    height: 500px;
}

.span-chap-mamorit-dabare-ma {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
   
    gap: 20px;
   
    align-items: center;
   
}

.child-span-chap-mamorit-dabare-ma {
    display: flex;
    flex-direction: column;
   
    gap: 10px;
   
    text-align: right;
   
}


#pic1 {
    display: contents;
}




@media (max-width: 1400px) and (min-width: 1200px) {

    .child-tarikhche-dabare-ma1 span {
       
        margin: 15px 15px;
        font-size: 20px;
    }

    #img1 {
        width: 280px;
    }
}

@media (max-width: 1200px) and (min-width: 992px) {

    .child-tarikhche-dabare-ma1 span {
       
        margin: 10px 10px;
        font-size: 16px;
    }

    #img1 {
        width: 250px;
    }
}

@media (max-width: 1200px) and (min-width: 1005px) {

    #img1 {
        width: 240px;
    }
}

@media (max-width: 1005px) and (min-width: 992px) {

    #img1 {
        width: 220px;
    }
}


@media (max-width: 992px) and (min-width: 768px) {


    .tarikhche-dabare-ma {
        display: flex;
        align-items: center;
        width: 90%;
       
        flex-direction: column;
    }


    .child-tarikhche-dabare-ma1 {
        width: 90%;
        margin-top: -140px;

    }
    #pic1 {
        display: flex;
        justify-content: center;
    }

    .child-tarikhche-dabare-ma {
        width: 40%;
    }

    #img1 {
        width: 228px;
        height: 333px;
       
        object-fit: cover;
    }

}


@media (max-width: 768px) and (min-width: 576px) {
    .tarikhche-dabare-ma {
        display: flex;
        align-items: center;
        width: 90%;
       
        flex-direction: column;
    }

    .child-tarikhche-dabare-ma1 {
        width: 90%;
        margin-top: -140px;

    }

    #pic1 {
        display: flex;
    }
    .child-tarikhche-dabare-ma {
        width: 45%;
    }
    #img1 {
        width: 245px;
        object-fit: cover;
        height: 340px;
    }
    .child-tarikhche-dabare-ma1 span {
       
        margin: 22px 22px;
        font-size: 16px;
    }
}
@media (max-width: 576px) and (min-width: 320px) {
    .tarikhche-dabare-ma {
        display: flex;
        align-items: center;
        width: 90%;
       
        flex-direction: column;
    }

    .child-tarikhche-dabare-ma1 {
        width: 90%;
        margin-top: -140px;

    }

    #pic1 {
        display: flex;
    }
    .child-tarikhche-dabare-ma {
        width: 45%;
    }
    #img1 {
        width: 200px;
        object-fit: cover;
        height: 300px;
    }
    .child-tarikhche-dabare-ma1 span {
       
        margin: 20px 20px;
        font-size: 14px;
    }
}







@media (max-width: 1496px) and (min-width: 1280px) {
    .mamorit-dabare-ma {
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }
    .rast-mamorit-dabare-ma {
        width: 50%;
        position: relative;
        z-index: 2;
    }
    .chap-mamorit-dabare-ma {
        width: 50%;
        position: relative;
        z-index: 2;
    }
    .img-mamorit-dabare-ma img {
        height: 200px;
        position: relative;
        z-index: 1;
    }
}

@media (max-width: 1280px) and (min-width: 992px) {
    .mamorit-dabare-ma {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    .chap-mamorit-dabare-ma {
        order: 1;
        width: 80%;
        text-align: center;
    }
    .rast-mamorit-dabare-ma {
        order: 2;
        width: 80%;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    .img-mamorit-dabare-ma {
        display: flex;
        justify-content: center;
    }
    .img-mamorit-dabare-ma img {
        height: 180px;
    }
}

@media (max-width: 992px) and (min-width: 900px) {
    .mamorit-dabare-ma {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    .chap-mamorit-dabare-ma {
        order: 1;
        width: 80%;
        text-align: center;
    }
    .rast-mamorit-dabare-ma {
        order: 2;
        width: 80%;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    .img-mamorit-dabare-ma img {
        height: 160px;
    }
}

@media (max-width: 900px) and (min-width: 768px) {
    .mamorit-dabare-ma {
        display: flex;
        flex-direction: column-reverse;
        align-items: center;
    }
    .rast-mamorit-dabare-ma, .chap-mamorit-dabare-ma {
        width: 80%;
        text-align: center;
    }
    .img-mamorit-dabare-ma {
        display: flex;
        justify-content: center;
    }
    .img-mamorit-dabare-ma img {
        height: 160px;
    }
}

@media (max-width: 768px) and (min-width: 576px) {
    .mamorit-dabare-ma {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    .rast-mamorit-dabare-ma, .chap-mamorit-dabare-ma {
        width: 90%;
        text-align: center;
    }
    .img-mamorit-dabare-ma {
        display: flex;
        justify-content: center;
    }
    .img-mamorit-dabare-ma img {
        height: 140px;
    }
    .span-chap-mamorit-dabare-ma {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 576px) and (min-width: 320px) {
    .mamorit-dabare-ma {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    .rast-mamorit-dabare-ma, .chap-mamorit-dabare-ma {
        width: 100%;
        text-align: center;
    }
    .img-mamorit-dabare-ma {
        display: flex;
        justify-content: center;
    }
    .img-mamorit-dabare-ma img {
        height: 120px;
    }
    .span-chap-mamorit-dabare-ma {
        grid-template-columns: 1fr;
    }
}

@media (min-width: 1280px) and (max-width:1415px){
    .img-mamorit-dabare-ma img {
        height: 180px;
        width: 180px;
    }
}

@media (max-width: 768px){
    .mamorit-dabare-ma{
    flex-direction: column-reverse;
    }
}


@media (max-width: 760px) {
    .child-rast-mamorit-dabare-ma {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 10px;
        justify-content: center;
        align-items: center;
    }
    
    .img-mamorit-dabare-ma {
        width: 100%;
    }
}

@media (max-width: 576px) {
    .child-rast-mamorit-dabare-ma {
        grid-template-columns: 1fr;
    }
}


@media (max-width: 1280px) and (min-width: 992px) {
    .img-mamorit-dabare-ma img {
        height: 180px;
        width: 180px;
    }
}



@media (max-width: 1400px) and (min-width: 1200px) {
    .titr-nazarat-dabare-ma {
        top: 20%;
        left: 50%;
        transform: translateX(-50%);
    }
    .natayej-nazarat-dabare-ma {
        top: 90%;
        padding: 20px;
    }
}

@media (max-width: 1200px) and (min-width: 992px) {
    .titr-nazarat-dabare-ma {
        top: 15%;
        left: 50%;
        transform: translateX(-50%);
    }
    .natayej-nazarat-dabare-ma {
        position: relative;
        top: auto;
        margin-top: -50px;
        flex-direction: column;
        padding: 20px;
    }
    .rast-natayej-nazarat-dabare-ma,
    .chap-natayej-nazarat-dabare-ma {
        width: 100%;
        text-align: center;
    }
    .moshavere-t6 {
        width: 45%;
        height: auto;
        font-size: 22px;
    }
}

@media (max-width: 992px) and (min-width: 765px) {
    .titr-nazarat-dabare-ma {
        top: 12%;
        left: 50%;
        transform: translateX(-50%);
    }
    .natayej-nazarat-dabare-ma {
        position: relative;
        top: auto;
        margin-top: -40px;
        flex-direction: column;
        padding: 15px;
    }
    .rast-natayej-nazarat-dabare-ma {
        padding: 40px;
    }
    .moshavere-t6 {
        width: 90%;
        height: auto;
        font-size: 20px;
    }
}

@media (max-width: 765px) and (min-width: 576px) {
    .titr-nazarat-dabare-ma {
        top: 10%;
        left: 50%;
        transform: translateX(-50%);
        text-align: center;
    }
    .natayej-nazarat-dabare-ma {
        position: relative;
        top: auto;
        margin-top: -30px;
        flex-direction: column;
        padding: 10px;
    }
    .rast-natayej-nazarat-dabare-ma {
        padding: 30px;
    }
    .moshavere-t6 {
        width: 100%;
        height: auto;
        font-size: 18px;
    }
}

@media (max-width: 576px) and (min-width: 320px) {
    .titr-nazarat-dabare-ma {
        position: relative;
        top: auto;
        left: auto;
        transform: none;
        text-align: center;
        padding: 15px 0;
    }
    .natayej-nazarat-dabare-ma {
        position: relative;
        top: auto;
        margin-top: -20px;
        flex-direction: column;
        padding: 5px;
    }
    .rast-natayej-nazarat-dabare-ma {
        padding: 20px;
    }
    .moshavere-t6 {
        width: 100%;
        height: auto;
        font-size: 16px;
    }
}




@media (max-width: 1200px) {
    .titr-nazarat-dabare-ma {
        top: 20%;
        left: 50%;
        transform: translateX(-50%);
        text-align: center;
    }
    .natayej-nazarat-dabare-ma {
        top: auto;
        position: relative;
        flex-direction: column;
        padding: 20px;
    }
    .rast-natayej-nazarat-dabare-ma,
    .chap-natayej-nazarat-dabare-ma {
        width: 100%;
        text-align: center;
    }
    .moshavere-t6 {
        width: 45%;
        height: auto;
        font-size: 22px;
    }
}

@media (max-width: 992px) {
    .titr-nazarat-dabare-ma {
        top: 15%;
        left: 50%;
        transform: translateX(-50%);
        font-size: 20px;
    }
    .natayej-nazarat-dabare-ma {
        margin-top: -50px;
        padding: 15px;
    }
    .moshavere-t6 {
        width: 90%;
        height: auto;
        font-size: 20px;
    }
}

@media (max-width: 768px) {
    .titr-nazarat-dabare-ma {
        top: 10%;
        font-size: 18px;
    }
    .natayej-nazarat-dabare-ma {
        margin-top: -30px;
        padding: 10px;
    }
    .moshavere-t6 {
        width: 100%;
        height: auto;
        font-size: 18px;
    }
}

@media (max-width: 576px) {
    .titr-nazarat-dabare-ma {
        position: relative;
        text-align: center;
        padding: 15px 0;
        font-size: 16px;
    }
    .natayej-nazarat-dabare-ma {
        margin-top: -20px;
        padding: 5px;
    }
    .moshavere-t6 {
        width: 100%;
        font-size: 16px;
    }
}


@media (max-width: 1200px) {
    .natayej-nazarat-dabare-ma {
        position: relative;
        top: auto;
        left: auto;
        margin: 50px auto;
        width: 90%;
        padding: 20px;
    }
    .titr-nazarat-dabare-ma {
        left: 50%;
        transform: translateX(-50%);
        text-align: center;
    }
    .nazarat-dabare-ma {
        margin-bottom: 0px;
    }
}

@media (max-width: 992px) {
    .natayej-nazarat-dabare-ma {
        width: 95%;
        margin: 40px auto;
        padding: 15px;
    }
}

@media (max-width: 768px) {
    .natayej-nazarat-dabare-ma {
        width: 98%;
        margin: 30px auto;
        padding: 10px;
    }
}

@media (max-width: 576px) {
    .natayej-nazarat-dabare-ma {
        width: 100%;
        margin: 20px auto;
        padding: 5px;
    }
}
