html {
    scroll-behavior: smooth;
}

* {
    box-sizing: border-box;
}

body {
    background: radial-gradient(#87a764 0%, #3b6619 90%);
    font-family: 'Montserrat', sans-serif;
    color: white;
    line-height: 1.5em;
}

h1, h2, h3 {
    font-family: 'Slavjanica', serif;
    line-height: 1.2em;
    margin-top: 0;
}

.container {
    display: grid;
    grid-template-areas:
        "left-column right-column"
        "footer footer";
    grid-template-columns: 250px auto;
    gap: 40px;
    width: 1200px;
    margin: 0 auto;
    padding: 40px;
    position: relative;
    box-shadow: 0 0 5px 7px rgba(0, 0, 0, 0.2);
}

.left-column {
    grid-area: left-column;
}

.right-column {
    grid-area: right-column;
}

.menu {
    position: sticky;
    top: 50px;
    left: 0;
    font-family: 'Slavjanica', serif;
    text-transform: capitalize;
    font-weight: bold;
    line-height: 2em;
    font-size: 14pt;
    text-decoration: underline;
}

.menu ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.menu ul li {
    position: relative;
    margin-left: 25px;
}

.menu ul li::before {
    content: url("../img/flower.png");
    width: 15px;
    height: 15px;
    position: absolute;
    top: 3px;
    left: -25px;
}

.logo {
    margin-bottom: 40px;
}

.logo img {
    width: 500px;
}

a {
    text-decoration: none;
    color: #dddddd;
    font-weight: bold;
}

a:hover {
    color: white;
}
.slider {
    width: 400px;
    max-width: 100%;
    margin: 0 1em 0px 0;
}
.slider img {
    width: 100%;
    height: auto;
}


/* castom */
/* flex */

.flex-block {
    display: flex;
}

.flex-block.justify-content-center {
    justify-content: center;
}

.text-align-center {
    text-align: center;
}

.text-align-justify {
    text-align: justify;
}

.float-left {
    float: left;
}

.float-right {
    float: right;
}

.float-stop {
    clear: both;
}

.slider-img {
    width: 400px;
    height: auto;
    margin: 0 1em 0 0;
}

img {
    max-width: 100%;
}

.priest {
    width: 400px;
    height: auto;
    margin: 0 0 0 1em;
}

.small-img {
    width: 250px;
    margin: 0 0 0 1em;
}

footer {
    grid-area: footer;
}

footer p {
    border-top: 1px solid white;
    padding-top: 1em;
    text-align: center;
}

@media (max-width: 1280px) {
    .container {
        width: 100%;
    }
}

@media (max-width: 1024px) {
    .container img {
        width: 100%;
        margin-right: 0;
        margin-left: 0;
        float: none;
    }
    .slider {
        width: 240px;
        float: none;
    }
}

@media (max-width: 800px) {
    .container {
        grid-template-areas:
        "left-column"
        "right-column"
        "footer";
        grid-template-columns: 1fr;
    }
    .container * {
        text-align: left;
    }
}