* {
    box-sizing: border-box;
    padding: 2px;
    margin: 8px;
}

body {
    background: rgb(213, 214, 206);
    margin-bottom: 100px;
}
#logo{
width: 100px;
}

h2 {
    padding: 5px;
    margin: 5px;
    text-align: center;
}

.container {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    text-align: justify;
}

.lovech-naseleni {
    background: white;
    width: 320px;
    height: 440px;
    border-radius: 15px;
    display: grid;
}

.image {
    background-color: aqua;
    height: 200px;
    margin-bottom: 15px;
    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/lovech13.jpg);
}

#img2 {
    background-image: url(images/troqn.jpg);
}

#img3 {
    background-image: url(images/teteven2.jpg);
}

#img4 {
    background-image: url(images/lukovit.jpg);
}

#img5 {
    background-image: url(images/aprilci.jpg);
}

#img6 {
    background-image: url(images/ribarica1.JPG);
}



.lovech-naseleni a {
    background-color: rgb(77, 122, 248);
    color: white;
    height: 50px;
    padding-top: 13px;
    display: block;
    text-align: center;
    margin: 8px 50px;
    text-decoration: none;
}
.lovech-naseleni a:hover {
    transform: scale(1.2);
    background-color: rgb(255, 185, 55);
    text-decoration-color: cadetblue;
}
