html{
    box-sizing: border-box;
}
*, :after, :before {box-sizing: inherit}

:root{
    --pozadibutton: #DB8C7E;
    --h4: #DB8C7E;
    --pozadisekce: #FFE5D9;
    --ikony: #FCD5CE;
    --pozadih1: #FFE5D9;
    --text: #423C3A;
    --h3: #EBB93D;
    --activemenu:#EBB93D;
    --line: #FCD5CE;
    --hoverbutton: #c58174;
}

/* font-family: 'Amatic SC', cursive;
font-family: 'Nunito', sans-serif; */

body{
    font-family: 'Nunito', sans-serif;
    margin: 0;
    color: var(--text);
    overflow-x: hidden;
}

.menu__part, .menu__odkaz{
    flex: 1 0 auto;
    justify-content: space-around;
    font-weight: 300;
    text-transform: uppercase;
    text-decoration: none;
    color: var(--text);
}   

.menu__part:hover,
.menu__part:active,
.menu__part--active{
    color: var(--activemenu);
}

.menu{
    list-style-type: none;
    text-align: center;
    display: flex;
    align-items: center;
    padding-left: 0;
    margin: 20px 0;
}

.menu__logo{
    height: 3em;
}

footer{
    text-align: center;
    margin-top: 40px;
}

.footer__logo{
    height: 4em;
}

.footer__odkazy{
    text-transform: uppercase;
    margin: 20px 0;
}

.footer__odkaz{
    text-decoration: none;
    color: var(--text);
    margin: 30px;
    position: relative;
    z-index: 1;
}

.footer__odkaz::before{
    content: '';
    width: 120%;
    height: 5px;
    background-color: var(--line);
    left: -10%;
    bottom: 45%;
    position: absolute;
    text-align: center;
    z-index: -1;
}

.footer__odkazy::after{
    content: '';
    height: 1px;
    width: 70%;
    background-color: var(--line);
    display: block;
    text-align: center;
    position: absolute;
    left: calc(50% - 35%);
    margin: 20px 0;
}

.footer__sluzby{
    margin-top: 40px;
    margin-bottom: 20px;
}
.footer__sluzba{
    text-decoration: none;
    color: var(--text);
    margin: 20px;
    text-align: center;
}

.fas, 
.fa-facebook{
    color: var(--ikony);
}

.hero{
    background-image: url(/images/hero.jpeg);
    max-width: 100%;
    min-height: 40vw;
    background-position: center;
    background-size: cover;
    margin: 0 5%;
    position: relative;
}

.hero__h1{
    position: absolute;
    left: 0;
    bottom: 0;
    margin: 30px;
}

h1{
    background-color: var(--pozadih1);
    text-transform: capitalize;
    padding: 10px;
    font-family: 'Amatic SC', cursive;
    letter-spacing: 0.1em;
    font-size: 60px;
    display: inline-block;
}

.scroll{
    margin: 30px 0;
    text-align: center;
    scroll-behavior: smooth;
}

.sluzby{
    text-align: center;
}

h2{
    text-transform: capitalize;
    font-family: 'Amatic SC', cursive;
    color: var(--activemenu);
    font-size: 30px;
}

h3{
    color:var(--text);
    text-transform: capitalize;
    font-family: 'Amatic SC', cursive;
    position: relative;
    z-index: 1;
    display: inline-block;
    margin-top: 20px;
    margin-bottom: 20px;
    font-size: 40px;
}

h3::before{
    content: '';
    width: 120%;
    height: 10px;
    background-color: var(--line);
    left: -10%;
    bottom: 40%;
    position: absolute;
    z-index: -1;
}

.button--primary{
    background-color: var(--pozadibutton);
    color: white;
    padding: 10px 15px;
    border: 0;
    font-family: 'Nunito', sans-serif;
    font-size: 20px;
    text-decoration: none;
}

.button--primary:hover,
.button--primary:active,
.button--primary:focus{
    background-color: var(--hoverbutton);
}

.nasesluzby{
    margin: 60px 5%;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    column-gap: 25px;
}

.nasesluzby__sluzba{
    padding: 15px;
    position: relative;
    text-align: left;
    border-bottom: 1px solid var(--activemenu);
    border-left: 1px solid var(--activemenu);
    display: grid;
    grid-template-columns: 2fr 1fr;
    padding-bottom: 30px;
}

.nasesluzby__sluzba::before{
    content: '';
    position: absolute;
    background-color: var(--activemenu);
    width: 60%;
    height: 1px;
    top: 0;
    left: 0;
}

.nasesluzby__sluzba::after{
    content: '';
    position: absolute;
    background-color: var(--activemenu);
    height: 30%;
    width: 1px;
    right: 0;
    bottom: 0;
}

.nasesluzby__sluzba p{
    margin-bottom: 25px;
}

.nasesluzby__flower{
    max-width: 100%;
    width: 200px;
    position: absolute;
    top: -40px;
    right: -40px;
}

.nasesluzby__flower--smaller{
    width: 140px;
    top: -30px;
    right: -20px;
}

.reference{
    text-align: center;
    background-color: var(--pozadisekce);
    padding-bottom: 50px;
    background-image: url(/images/kytka-pozadi-reference.svg);
    background-repeat: no-repeat;
    background-position: right;
}

.reference__p{
    margin: 0;
}

.glide__slide-reference{
    background-color: white;
    margin: 0 35%;
    padding: 20px;
    border: 1px solid var(--pozadibutton);
    text-align: left;
    padding-left: 30px;
    
}

.glide__slide-reference-akce{
    text-transform: uppercase;
    color: var(--activemenu);
    font-size: 12px;
    margin: 0;
}

.glide__slide-reference-jmeno{
    text-transform: uppercase;
    font-family: "Amatic SC", cursive;
    font-size: 30px;
    margin: 0;
}

.kontakt{
    margin: 0 5%;
    display: grid;
    grid-template-columns: 1fr 1fr 2fr;
    grid-template-rows: 1fr 1fr;
    column-gap: 30px;
}

.kontakt__h1{
    margin: 40px 5%;
}

.kontakt__sidlo{
    grid-column: 1 / 2;
    grid-row: 1 / 2;
}

.kontakt__mail{
    grid-column: 2 / 3;
    grid-row: 1 / 2;
}

.kontakt__social{
    grid-column: 1 / 2;
    grid-row: 2 / 3;
}

.kontakt__mapa{
    grid-column: 3 / 4;
    grid-row: 1 / 3;
}

.kontakt__sekce{
    margin: 20px; 
    display: grid;
    grid-template-columns: auto 2fr;
    column-gap: 20px;
}

.kontakt__ikona,
.sluzba__ikona{
    color: var(--pozadibutton);
    font-size: 25px;
    padding: 10px;
    background-color: var(--pozadisekce);
}

h4{
    color: var(--h4);
    margin-top: 0;
}

.kontakt__odkaz{
    color: var(--text);
}

.kontakt__social-ikona,
.sluzba__ikona{
    color: var(--h4);
}

.ozvetesenam{
    text-align: center;
    background-color: var(--pozadisekce);
    background-image: url(/images/kytka-pozadi-formular.svg);
    background-position: left;
    background-size: 40%;
    background-repeat: no-repeat;
    
}

.formular{
    margin: 0 25%;
}

.form--horizontal label{
    display: block;
    margin-top: 20px;
}

.form--horizontal input,
textarea{
    border: 1px solid var(--pozadibutton);
    width: 100%;
}
.form--horizontal {
    text-align: left;
}

.form--horizontal-button{
    margin: 20px 0;
}

.form--horizontal input{
    padding: 1em 0;
}

textarea, input{
    font-family: 'Nunito', sans-serif;
}

.sluzba__p{
    margin: 50px 0;
    text-transform: uppercase;
    max-width: 100%;
}

.sluzba__popis{
    display: grid;
    grid-template-columns: auto 1fr;
    grid-template-rows: 182px;
    column-gap: 30px;
    max-width: 100%;
}

.sluzba__sluzby{
    display: grid;
    grid-template-columns: auto 1fr;
    column-gap: 20px;
    margin-bottom: 20px;
}

.sluzby__popis{
    margin: 0;
}

.sluzby__h4{
    margin-bottom: 5px;
}

.sluzba__dve{
    display: grid;
    grid-template-columns: 1fr 1fr;
    margin-left: 5%;
    column-gap: 40px;
}

.sluzba__obrazek{
    background-image: url(/images/kytka-pozadi-sluzby.svg);
    background-position: right;
    background-position-x: 200px;
    background-size: 100%;
    background-repeat: no-repeat;
}

.obrazek1{
    max-width: 60%;
    border: 5px solid white;
}

.obrazek{
    margin-top: 100px;
    position: relative;
}

.obrazek2{
    max-width: 30%;
    width: 200px;
    border-radius: 50%;
    position: absolute;
    bottom: -50%;
    right: 30%;
    border: 5px solid white;
}


.article{
    margin: 0 5%;
}
.article__title{
    margin-bottom: 20px;

}
.article__header{
    margin-bottom: 40px;
    margin: 0 10%;
}

.article__content{
    margin: 0 15%;
}

.article__perex{
    font-style: italic;
}

.article__citat{
    font-size: 30px;
    font-family: 'Amatic SC', cursive;
    padding: 20px 5px;
    border-left: 4px solid var(--pozadisekce);
}

.article__meta{
    font-size: 12px;
    color: black;
    opacity: .5;
}


.blog{
    margin: 0 5%;
}

.blog__h1{
    margin: 0 7%;
    margin-bottom: 5%;
}   

.blog__foto{
    width: 80%;
    justify-self: center;
}

.blog{
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    grid-template-rows: auto;
    column-gap: 10px;
    justify-items: center;
}

.blog__content{
    position: relative;
    display: grid;
}

.blog__h2{
    text-align: center;
    font-size: 26px;
}

.blog__h2::after{
    content: '';
    height: 3px;
    width: 40px;
    background-color: var(--line);
    display: block;
    margin: 20px 0;
    position: absolute;
    left: calc(50% - 20px);
}

.blog__odkaz a{
    text-align: center;
    color: var(--text);
}

.blog__odkaz{
    text-align: center;
    margin-bottom: 30px;
}

.background-photo{
    max-width: 100%;
    min-height: 40vw;
    background-position: center;
    background-size: cover;
    position: relative;
}



@media screen and (min-width: 500px) and (max-width: 1000px){
    .nasesluzby{
        grid-template-columns: auto;
        grid-template-rows: 1fr 1fr 1fr;
    }

    .nasesluzby__sluzba{
        margin-top: 40px;
    }
}

@media screen and (max-width: 499px) {
    .sluzby{
        margin: 0 5%;
    }

    .nasesluzby{
        grid-template-columns: auto;
        grid-template-rows: 1fr 1fr 1fr;
        margin-top: 0;
    }

    .nasesluzby__sluzba{
        margin-top: 40px;
        display: block;
        border-top: 1px solid var(--activemenu);
        border-right: 1px solid var(--activemenu);
    }

    .nasesluzby__sluzba h2{
        margin: 10px 0;
    }

    .nasesluzby__sluzba p{
        margin-bottom: 25px;
    }

    .nasesluzby__sluzba::before,
    .nasesluzby__sluzba::after{
        display: none;
    }

    .nasesluzby__flower{
        display: none;
    }

    .hero__h1{
        font-size: 30px;
    }

    .menu{
        flex-direction: column;;
    }

    .menu__odkaz{
        letter-spacing: 0.4em;
    }

    .menu__part{
        order: -1;
        margin-bottom: 5px;
    }
}

@media screen and (min-width: 700px) and (max-width: 1000px) {
    .glide__slide-reference{
    margin: 0 20%;
    }
}

@media screen and (max-width: 699px) {
    .glide__slide-reference,
    .reference__p{
        margin: 0 5%;
    }

    .blog{
        grid-template-columns: 1fr 1fr;
    }

}


@media screen and (min-width: 500px) and (max-width: 800px) {
    .hero__h1{
        font-size: 40px
    }   
}

@media screen and (max-width: 799px) {
    .sluzba__popis{
        display: block;
    }

    .sluzba__dve{
        display: block;
        margin-right: 5%;
    }

    .obrazek{
        display: none;
    }


    .sluzba__p{
        margin: 0;
    }

    .sluzba__h1{
        margin-top: 0;
    }
}

@media screen and (max-width: 599px) {
    .formular{
        margin: 0 5%;
        max-width: 100%;
    }

    .form__horizontal{
        max-width: 100%;
    }
    .form--horizontal input,
    .form--horizontal textarea{
        width: 100%;
    }
    .ozvetesenam{
        background-image: none;
    }

    h3{
        font-size: 25px;
    }

    h3::before{
        bottom: 35%;
        height: 7px;
    }
}

@media screen and (max-width: 1040px) {
    .kontakt{
        grid-template-columns: 1fr 1fr;
        grid-template-rows: 1fr 1fr 2fr;
    }

    .kontakt__mapa{
        grid-column: 1 / 3;
        grid-row: 3 / 4;
    }
}

@media screen and (max-width: 580px) {
    .kontakt{
        grid-template-columns: auto;
        grid-template-rows: 1fr 1fr 1fr 2fr;
    }

    .kontakt__mail{
        grid-column: 1 / 2;
        grid-row: 2 / 3;
    }

    .kontakt__social{
        grid-column: 1 / 2;
        grid-row: 3 / 4;
    }

    .kontakt__mapa{
        grid-row: 4 / 5;
    }
}

@media screen and (max-width: 399px) {
    .blog{
        grid-template-columns: 1fr;
    }

    .footer__odkaz{
        margin: 15px;
    }

    .footer__sluzba{
        margin: 10px;
    }

    .background-photo__h1,
    .hero__h1{
            font-size: 20px;
            margin: 15px;
    }
}