 

body{
background-color: rgb(238, 222, 202);
margin-bottom: 100px;
}
.menu {
   
    margin-top: 0px;
    margin-bottom: 0px;
    text-align: center;
    position:relative;
    font-size: 20px;
}



ul {
    margin: 0px;
    padding: 2px;
    list-style: none;
    text-align: justify;
}

ul li {
    float:left;
    width: 20%;
    height: 50px;
    background-color: rgb(78, 120, 161);
    opacity: 1;
    line-height: 40px;
    text-align: center;
    font-size: 20px;
    text-decoration: none;
    align-items: center;
    

}

ul li a {
    text-decoration: none;
    text-align: center;
    color: white;
    display: block;
    width: 100%;
    height: 100%;
    
}

ul li a:hover {
    background-color: rgb(255, 185, 55);
    width: 100%;
    height: 50px;
    box-shadow: rgba(50, 50, 93, 0.25) 0px 30px 60px -12px inset, rgba(0, 0, 0, 0.3) 0px 18px 36px -18px inset;
    

}

ul li ul li {
    display: none;
    text-align: center;
    width: 253px;
    height: 50px;
}

ul li:hover ul li {
    display: block;
      position: relative;
       top:1px;
       box-shadow: rgba(0, 0, 0, 0.4) 0px 2px 4px, rgba(0, 0, 0, 0.3) 0px 7px 13px -3px, rgba(0, 0, 0, 0.2) 0px -3px 0px inset;
}



.hover-me ul li:hover .menu-1 {

      display: block;
    position: absolute; /* Ensures proper placement */
    top: 0;  /* Aligns it with the parent item */
    left: 100%; /* Positions it to the right */
    width: 264.6px;
    height: 20px;
    z-index: 1000; 
}


ul li ul li ul li {
    display: none;


}



body{
    background: rgb(230, 230, 230);
    
}


h2 {
    padding: 5px;
    margin: 5px;
    text-align: center;
    font-size: 1.3em;
}
body {
    background: rgb(222, 212, 200);
}
.m3{
  display: block;
    margin:auto;
    padding:10px ;
  
}

@media only screen and (max-width: 600px){
    .imgbox{
        max-width: 90%;
        max-height: 200px;
        margin-bottom:5px ;
        
    }
    ul li{
        line-height: 20px;
        font-size: 12px;
    }
       ul li ul li {
    width: 150px;
    height: 40px;
}
    #zab{
       word-break: break-word;
          hyphens: auto;
    }
    
    .m3{
  width: 90%;
  
}

}

.container-new{
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    text-align: justify;
    padding: 10px;
}
     
p{
    display: block;
    margin: 8px;
    padding: 2px;
    unicode-bidi: isolate;

}
.menu-1 {
    display: none;
}
 h3{
    padding: 5px;
    margin: 5px;
    text-align: center;
    font-size: 1.3em;
}

.manastiri {
   background: white;
    width: 320px;
    height: 480px;
    border-radius: 15px;
    display: grid;
   
     box-sizing: border-box;
    padding: 5px;
    margin: 8px;
}

.image {
     background-color: aqua;
    height: 200px;
    margin: 8px;
    margin-bottom: 10px;
    background-size: cover;
}



.image:hover {
    background-color: rgb(248, 191, 106);
    color: white;
    cursor: pointer;
    transform: scale(1.3);
    transition: all is ease;
}


#img1 {
    background-image: url(images/rilski_man10.jpg);
     border-radius: 15px;
}

#img2 {
    background-image: url(images/rojenski_manNB1.png);
     border-radius: 15px;
}

#img3 {
    background-image: url(images/kuklen_man1NB.jpg);
     border-radius: 15px;
}

#img4 {
    background-image: url(images/7prestola4.jpg);
     border-radius: 15px;
}

#img5 {
    background-image: url(images/razboishki4.jpg);
     border-radius: 15px;
}

#img6 {
    background-image: url(images/cheparlenNB.jpg);
     border-radius: 15px;
}

#img7 {
    background-image: url(images/cherepishki1NB.jpg);
     border-radius: 15px;
}
#img8 {
    background-image: url(images/giginci_man15NB.jpg);
     border-radius: 15px;
}
#img9 {
    background-image: url(images/ruenski3NB.jpg);
     border-radius: 15px;
}
#img10 {
    background-image: url(images/zemen_man2.jpg);
     border-radius: 15px;
}
#img11 {
    background-image: url(images/sv_pantaleimon3.jpg);
     border-radius: 15px;
}
#img12 {
    background-image: url(images/odran_man8.jpg);
     border-radius: 15px;
}
#img13 {
    background-image: url(images/borov_kamak16.jpg);
     border-radius: 15px;
}
#img14 {
    background-image: url(images/lozen_man3.jpg);
     border-radius: 15px;
}
#img15 {
    background-image: url(images/peshtera_man2.jpg);
     border-radius: 15px;
}
#img16 {
    background-image: url(images/praveshki_man1.jpg);
     border-radius: 15px;
}
#img17 {
    background-image: url(images/divotinski_man3.jpg);
     border-radius: 15px;
}
#img18 {
    background-image: url(images/gornobanski6.jpg);
     border-radius: 15px;
}


.manastiri a {
background-color: rgb(77, 122, 248);
    color: white;
    height: 40px;
    padding-top: 13px;
    display: block;
    text-align: center;
    margin: 8px 50px;
    text-decoration: none;

}
.manastiri a:hover{
    transform: scale(1.2);
        background-color: rgb(255, 185, 55);
        text-decoration-color: cadetblue;
         box-shadow: rgba(50, 50, 93, 0.25) 0px 30px 60px -12px inset, rgba(0, 0, 0, 0.3) 0px 18px 36px -18px inset;
}
