/* Шрифты NT Somic — при наличии в /fonts/ */
@font-face {
    font-family: 'NT Somic Med';
    src: url('../fonts/NTSomic-Medium.woff2') format('woff2'),
    url('../fonts/NTSomic-Medium.woff') format('woff'),
    url('../fonts/NTSomic-Medium.ttf') format('truetype');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'NT Somic Bd';
    src: url('../fonts/NTSomic-Bold.woff2') format('woff2'),
    url('../fonts/NTSomic-Bold.woff') format('woff'),
    url('../fonts/NTSomic-Bold.ttf') format('truetype');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'NT Somic';
    src: url('../fonts/NTSomic-Regular.woff2') format('woff2'),
    url('../fonts/NTSomic-Regular.woff') format('woff'),
    url('../fonts/NTSomic-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

body, html {
    margin: 0;
    padding: 0;
    height: 100%;
    font-family: 'NT Somic', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color:#4E1231;
}

@keyframes moveBg {
    0% {
        background-position: 50% 50%;
    }
    50% {
        background-position: 70% 80%;
    }
    100% {
        background-position: 50% 50%;
    }
}

.background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.8;
    background-image: url("../img/bg.jpg"), linear-gradient(135deg, #f8f1f1 0%, #e8d5e0 50%, #d4b8c8 100%);
    background-size: cover, 100% 100%;
    background-repeat: no-repeat, no-repeat;
    background-position: center, center;
    animation: moveBg 10s ease-in-out infinite;
    z-index: -1; /* фон под контентом; bg.jpg — добавьте в img/ при наличии */
}
.content {
    position: relative;
    z-index: 1;
    overflow-y: auto;
    box-sizing: border-box;
    min-height: 100%;      /* тянем блок по высоте экрана */
    display: flex;
    flex-direction: column;

}


.content .t, .content .d{
    color: #FFF;
}


.content .container {
    max-width: 600px;
    margin: 0 auto;
    margin-top: 30px;
    margin-bottom: 50px;
}
.content .container .container-main{
    background: #FFF;
    border-radius: 41px;
}

.content #logo{
    display: flex;
    flex: content;
    padding-top: 40px;
    padding-bottom: 20px;
}
.content #logo img{
    max-width: 100%;
    width: 80%;
    margin: 0px auto;
}

/*.menu{
    width: 80%;
    max-width: 80%;
    margin: 0px auto;
    list-style-type: none;
    padding: 0;
}*/
.content .menu{
    width: 80%;
    max-width: 80%;
    margin: 0px auto;
    list-style-type: none;
    padding: 0;
    font-size: 28px;
}

.content .menu li{
    display: block;
    text-align: center;
    max-width: 100%;
    margin-top: 10px;
}
.content .menu li a{
    background-color: #F8F1F1;
    display: block;
    text-align: center;
    max-width: 100%;
    padding-top: 20px;
    padding-bottom: 25px;
    border-radius: 50px;
}

.content .menu .btn-yc a{
    background-color: #EC008C ;
    color: #FFF;
    transition: 0.3s ease;
}
.content .menu .btn-yc a:hover,
.content .menu .btn-yc a:focus{
    opacity: 0.7;
}
/*.menu .btn-wa{
    background-color: #25D366;
    color: #FFF;
}
.menu .btn-tg{
    background-color: #0088CC;
    color: #FFF;
}*/

.content .menu .d{
    font-size: 14px;
    margin-top: 5px;
    opacity: 0.6;
}

.content .menu-social{
    width: 60%;
}


.content .contacts-phone{
    width: 80%;
    max-width: 80%;
    margin: 0px auto;

}
.content .contacts-address{
    width: 80%;
    max-width: 80%;
    margin: 0px auto;
    padding-top:50px;
    padding-bottom: 0px;
}
.content .contacts-social{
    width: 80%;
    max-width: 80%;
    margin: 0px auto;
    padding-top:50px;
    padding-bottom: 0px;
}

.content .menu-social-alt{

}
.content .address{

}
.content .map-marker{
    max-width: 25px;
    margin: 0px auto;
}
.content .emoji-marker{
    font-size: 25px;
    margin: 0px auto;
    text-align: center;
}

.content a {
    color: #EC008C;               /* фирменный розовый */
    text-decoration: none;        /* убираем подчеркивание */
    transition: 0.3s ease;
    font-weight: bold;
    margin: 0px auto;
    text-align: center;
    display: block;
    width: 100%;
    padding-top: 5px;
    padding-bottom: 5px;
}

.content a:hover,
.content a:focus {
    opacity: 0.7;
}

.content .menu-social li{
    display: block;
    text-align: center;
    max-width: 100%;
    margin-top: 10px;
}
.content .menu-social li a{
    background-color: #F8F1F1;
    display: block;
    text-align: center;
    max-width: 100%;
    padding-top: 20px;
    padding-bottom: 25px;
    border-radius: 50px;
}
.content .menu-social li .t{
    color: #EC008C;
}





.content .menu-social{
    padding-bottom: 25px;
}
/*.btn-map{
    display: inline-block;
    font-size: 14px;
    font-weight: 500;
    color: #1A0DAB; !* фирменный синий Яндекса *!
    text-decoration: underline;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    transition: color 0.2s ease;
}*/
/*.btn-map-button:hover {
    color: #0d0080;
    text-decoration: none;
}*/

.content .title{
    font-weight: bold;
    font-size: 16px;
    text-align: center;
    opacity: 0.6;
}
.content .info{
    font-weight: normal;
    font-size: 32px;
    padding-top: 10px;
    text-align: center;
    padding-bottom: 15px;
}

.content .row{
    width: 70%;
    max-width: 80%;
    margin: 0px auto;
    font-size: 25px;
    font-weight: normal;
    text-align: center;
    padding-top: 15px;
    display: flex;
    justify-content: space-between;
}
.content .row img{
    display: block;
    max-width: 7px;
}


.content .tags{
    width: 80%;
    max-width: 80%;
    margin: 0px auto;
    list-style-type: none;
    padding: 0;
    font-size: 35px;
    display: flex;
    flex-flow: wrap;
}

.content .tags li{
    background-color: #F8F1F1;
    display: block;
    margin-left: 10px;
    margin-top: 10px;
    padding-top: 20px;
    padding-bottom: 25px;
    padding-left: 40px;
    padding-right: 40px;
    border-radius: 50px;
}

.content hr{
    margin-top: 45px;
    margin-bottom: 35px;
    height: 1px;
    border: 0;
    border-top: 1px solid #e7e7e7;
}


@media (max-width: 1000px) {
    .content .container{
        max-width: none;
        width: auto;
        padding-left: 15px;
        padding-right: 15px;
        padding-top: 15px;
        margin: 0px auto;
        padding-bottom: 30px;
    }
    .content .row{
        max-width: 90%;
        width: 75%;
        font-size: 14px;
        max-width: 90%;
    }
    .content .row img{
        max-width: 4px;
    }
    .content .menu{
        max-width: 90%;
        width: 90%;
        font-size: 20px;
    }
    .content #logo img{
        max-width: 90%;
        width: 85%;
    }
    .content .title{
        font-size: 14px;
    }
    .content .info{
        font-size: 20px;
    }
    .content .menu-social{
        max-width: 70%;
    }
    .content .contacts-address{
        padding-top: 25px;
    }
}