html{line-height:1.15;-webkit-text-size-adjust:100%;margin: 0; padding: 0; font-size: 18px; font-weight: 200;}
body{margin:0;padding: 0; font-family: 'Roboto Slab', Arial, sans-serif; }
.bg-image{background: url("/temlate/images/bg.png") repeat;    opacity: 0.5;        position: fixed;
    top: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}
h1{font-size:2em;margin:0.67em 0;}
h2,h3{color: #476385; text-align: center; text-shadow: 1px 1px 1px #fff}
hr{-webkit-box-sizing:content-box;box-sizing:content-box;height:0;overflow:visible;}
pre{font-family:monospace, monospace;font-size:1em;}
a{background-color:transparent;}
*{box-sizing: border-box}
.container{max-width: 980px; margin: 0 auto}
footer,
header{background: #242323; color: #fff;}
footer a{color: #fff;}
header a{color: #fff;padding: 20px 0}
footer{font-size: 14px; text-align: center;padding: 20px 0}
.menu{ display: flex; justify-content: center; gap: 30px; align-items: center;}
.menu a{text-transform: uppercase; font-family: 'Open Sans';}
a{ text-decoration: none}
a:hover{ opacity: 0.8; transition: 0.3s ease-in-out all;}
img{max-width: 100%; display: block;}
h1{ text-align: center;   padding-top: 50px; font-weight: 400; font-size: 42px;}
.h1-bottom{text-align: center; font-size: 26px; opacity: 0.8;position: relative;padding-bottom: 50px;}
.h1-bottom:after,
.h1-bottom:before{
    content: ' ';
    background: #333;
    left: -120px;
    top: 14px;
    height: 2px;
    width: 80px;
    opacity: 0.8;
    position: relative;
    display: table;
    margin: 0 auto;
}
.h1-bottom:after{
    left: unset;
    right: -120px;
    top: -18px;
}

section{
    margin: 40px 0;
    background: #fff;
    padding: 20px;
    border: 1px solid #eee;
    box-shadow: 1px 1px 5px #eee;
}

section p{text-align: justify; text-indent: 40px;}
.logo{
    filter: contrast(0) brightness(2);
    padding-bottom: 16px;
    padding-top: 12px;
    height: 60px;
}

.service{
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 60px 20px;
    padding-bottom: 40px;
    padding-top: 40px;
}
.service-item__image path{
    fill: #555;
}
.service-item__title{
    font-size: 18px;
    text-align: center;
    padding: 10px 0;
    font-weight: 500;
}
.service-item__image svg{

    height: 36px;
    margin: 0 auto;
    display: block;
    fill: #333;
}
.service-item__text{
    font-style: italic;
    font-family: 'Open Sans';
    font-size: 16px;
    text-align: center;
    font-weight: 400;
    color: #555;
}
.gallery{
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 20px;
    margin-bottom: 80px;
}

.div-map{
    position: relative;
    border-top: 1px solid #aaa;
}
.div-map .contacts{
    position: absolute;
    right: 60px;
    top: calc(50% - 100px);
    width: 240px;
    height: 200px;
    background: #ffffff;
    display: flex
;
    flex-direction: column;
    font-size: 16px;
    justify-content: center;
    align-items: end;
    gap: 10px;
    padding: 20px;
    text-align: right;
    border: 1px solid #476385;
}

.room-list{display: grid; grid-template-columns: 1fr 1fr; gap: 40px 20px}
.room-item{border: 1px solid #eee; box-shadow: 1px 1px 5px #eee; background: #fff }
.room-image img{max-height: 305px; width: 100%}
.room-title{    text-align: center; font-weight: 400; padding: 20px;}
.room-text{
    font-size: 16px;
    font-weight: 300;
    font-family: sans-serif;
    padding: 20px;
}
@media screen and (max-width: 855px) {
    header a {
        font-size: 16px;
    }
}
@media screen and (max-width: 680px) {
    .logo{display: block;height: unset}
    .menu{
        flex-wrap: wrap;
        justify-content: center;
        flex-direction: column;
        gap: 0px;
    }
    header a {
        padding: 12px 0;
        font-size: unset;
    }

    header{
        padding: 20px 0;
    }
    .service {
        grid-template-columns: 1fr 1fr;
    }
    .div-map .contacts{
        position: unset;
        width: 100%;
        border: unset;
        border-bottom: 1px solid #555;
    }
    .room-list{display: grid; grid-template-columns: 1fr ;}
    .room-item{padding-bottom: 40px}
}

@media screen and (max-width: 480px) {
    .service {
        grid-template-columns: 1fr
    }
}