/* -Шалом- */
*{
	margin: 0;
	padding: 0;
	border: 0;
}


*,*:before, *after{
	-moz-box-sizing; border-box: 
	-webkit-box-sizing: border-box;
	-box-sizing:border-box;
}

:focus, :active{outline: none;}
a:focus, a:active{outline: none;}

nav,footer,header,aside{display: block;}

html,body{
	height: 100%;
	width: 100%;
	font-size: 100%;
	line-height: 1;
	font-size: 14px;
	-ms-text-size-adjust: 100%;
	-moz-text-size-adjust: 100%;
	-webcit-text-size-adjust: 100%;
}

input,button,textarea{font-family: inherit;}

input::-ms-clear{display: none; color: #c7c7c7;}
button{cursor: pointer;}
button::-moz-focus-inner{padding: 0; border: 0;}
a, a:visited{text-decoration: none;}
a:hover{text-decoration: none;}
ul li{list-style: none;}
img{vertical-align: top;}

textarea {
resize: none;
}

/* - Шрифты - */

@font-face{
font-family: 'Forum';
font-style: normal;
font-weight: 400;
src: url('../fonts/Forum-Regular.ttf'); 
}


/* - end Шрифты - */


body{
font-family: 'Forum';
background: linear-gradient(94deg, #FFEAEA 30.86%, #DFF4FF 97.76%);
color: #272727;
}


a {
    color: #bb7093;
    cursor: pointer;
}

h1, h2, h3, h4, h5, p{
font-weight: 400;
color: #242A3F;
font-family: 'Forum';
}

h1{
font-size: 48px;
font-weight: 400;
line-height: 120%;
}

h2{
font-size: 36px;
font-weight: 400;
line-height: 120%;
}

h3{
font-size: 24px;
line-height: 120%;
}


h4{
font-size: 20px;
line-height: 120%;
}

h5{
font-size: 14px;
line-height: 120%;   
}

p{
font-size: 16px;
line-height: 120%;   
}

li{
    color: #8C8F99;
    font-size: 20px;
    font-weight: 500;
    margin-right: 50px;
}

::-webkit-scrollbar{
    height: 4px;
    width: 9px;
}

::-webkit-scrollbar-track{
background: #f0f0f0;
border-radius: 0px;
}
::-webkit-scrollbar-track piece{
    background: #e3e3e3;
}

::-webkit-scrollbar-thumb{
    background: linear-gradient(92.71deg, #7d7d7d -1.71%, #393939 101.29%);
    border-radius: 0px;
}

.container{
    width: 990px;
    margin: 0px auto;
    padding: 0px 15px;
    box-sizing: border-box;
    position: relative;
}

.header {
    display: flex;
    flex-direction: row;
    margin: 30px 0px;
    justify-content: space-between;
}

.logo_all {
    display: flex;
    flex-direction: row;
    cursor: pointer;
    align-items: center;
}

.logo img{
    width: 60px;
    height: 60px;
    margin-right: 5px;
}

.logo_text h4{
    font-size: 20px;
}

.logo_text p{
    font-size: 14px;
    color: #C7C7C7;
    width: 75px;
}

.header_block {
    display: flex;
    flex-direction: row;
    align-items: center;
}

.header_block img{
    width: 50px;
    height: 50px;
    margin-left: 20px;
    cursor: pointer;
    transition: 1s;
    opacity: 0.7;
}

.header_block img:hover{
    opacity: 1;
}

.btn {
    width: 200px;
    height: 55px;
    font-weight: 500;
    font-size: 18px;
    color: #f7f7f7;
    border-radius: 5px;
    display: flex;
    background: #272727;
    justify-content: center;
    align-items: center;
    transition: background 1s;
}

.btn:hover{
    background: #5e5e5e;
    transition:background 1s;
}

.btn_head{
    width: 120px;
    height: 40px;
}

.nav_row{
    display: flex;
    flex-direction: row;
    margin-bottom: 30px;
}

.nav_block{
    display: flex;
    margin-right: 20px;
    box-sizing: border-box;
    padding: 10px 20px;
    background: #f7f7f7;
    font-size: 20px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 1s;
}

.nav_block:hover{
    background: #FB7678;
    transition: all 1s;
    color: #f7f7f7;
}

.nav_block.active{
    background: #FB7678;
    transition: all 1s;
    color: #f7f7f7;
}

.block_row {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
}

.art_block {
    position: relative;
    width: 310px;
    height: 190px;
    cursor: pointer;
    margin-bottom: 20px;
    margin-right: 10px;
}

.art_block img{
    pointer-events: none;
}

.art_block h3 {
    position: absolute;
    color: #f7f7f7;
    bottom: 55px;
    left: 20px;
    pointer-events: none;
}

.bl_row{
    display: flex;
    flex-direction: row;
    bottom: 20px;
    left: 20px;
    position: absolute;
    pointer-events: none;
}

.bl{
    background: #7AA6BE;
    border-radius: 5px;
    padding: 7px 15px;
    color: #f7f7f7;
    margin-right: 10px;
}

.pop{
    background: #FB7678;
}

.md_row{
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 420px;
    position: relative;

}

.md_row img{
    width: 100%;
    height: 420px;
}

.md_col {
    bottom: 40px;
    left: 155px;
    position: absolute;
    width: 650px;
}

.md_col h2{
    color: #F8F8F8;
    margin-bottom: 10px;
}

.md_in{
    display: flex;
    flex-direction: row;
    pointer-events: none;
    margin-bottom: 10px;
}

.avtor_row {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid #505b61;
    padding-top: 20px;
}

.avtor_row h4{
    color: #DFF4FF;
}

.avtor_info {
    display: flex;
    flex-direction: row;
    align-items: center;
}

.avtor_info img{
    width: 45px;
    height: 45px;
    margin-right: 5px;
}

.avtor_info h5{
    color: #DFF4FF;
    font-size: 18px;
}

.art_center{
    display: flex;
    justify-content: center;
}

.art_row{
    width: 100%;
    max-width: 650px;
    display: flex;
    flex-direction: column;
    margin: 25px 0px;
}

.art_row img{
    margin-bottom: 20px;
}

.art_row h3{
    font-size: 30px;
    margin-bottom: 15px;
    color: #272727;
}

.art_row p{
    font-size: 18px;
    margin-bottom: 10px;
}

.answer_info{
    display: flex;
    flex-direction: row;
}

.answer_info img {
    margin-right: 5px;
    height: 50px;
    width: 50px;
}

.answer_info h5{
    font-size: 16px;
}

.reply_inp {
    width: 100%;
    height: 130px;
    border-radius: 16px;
    box-sizing: border-box;
    padding: 20px;
    background: #fff;
    display: flex;
    flex-direction: row;
}

.reply_text{
    width: 75%;
    min-height: 100px;
    font-size: 18px;
}

.reply_inp::placeholder{
    color: #546974;
}

.reply_btn{
    width: 25%;
}

.mr_0{
    margin: 0px;
}

.none{
    display: none;
}

.coment {
    box-sizing: border-box;
    padding: 0px 15px;
    margin: 15px 0px;
}

.coment_info{
    display: flex;
    flex-direction: column;
    margin-bottom: 10px;
}

.all_like {
    display: flex;
    flex-direction: row;
}

.likes {
    display: flex;
    align-items: center;
    font-size: 16px;
    margin-right: 15px;
}

.likes svg{
    stroke: #546974;
    cursor: pointer;
    transition: all 1s;
    margin-right: 3px;
}

.likes svg:hover{
    stroke: #272727;
    transition: all 1s;
}

.theme{
    width: 100%;
    height: auto;
    background: #fff;
    box-sizing: border-box;
    padding: 15px;
    border-radius: 16px;
}

.theme p{
    font-size: 18px;
    color: #546974;
}

.theme h5{
    font-size: 16px;
    color: #848484;
}

.theme_row {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

footer {
    margin-top: 30px;
    display: flex;
    flex-direction: column;
    background: #393939;
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
    box-sizing: border-box;
    padding: 40px 0px;
}

.ft_row {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

.social{
    display: flex;
    flex-direction: row;
}

.social img{
    margin-right: 10px;
    width: 40px;
    height: 40px;
    cursor: pointer;
}

.links a {
    font-size: 20px;
    color: #f7f7f7;
    line-height: 150%;
    transition: all 1s;
}

.links a:hover{
    color: #FFC5C5;
    transition: all 1s;
}

.column{
    display: flex;
    flex-direction: column;
}

.text_right{
    text-align: right;
}

.text_right h4{
    font-size: 20px;
}

.text_right span{
    font-size: 20px;
    color: #FFC5C5;
}

.text_right h5{
    font-size: 16px;
}

.ft_100{
    width: 100%;
    text-align: center;
    margin-top: 30px;
    color: #848484;
    font-size: 16px;
}

.popup{
    position: fixed;
    width: 100%;
    height: 100%;
    background-color: rgb(2 1 10 / 86%);
    top: 0;
    left: 0;
    opacity: 0;
    visibility: hidden;
    transition: all 0.8s ease 0s;
}

.popup.active .popup_content{
    opacity: 1;
    transform: translate(0px, 0px);
}


.popup.active {
    opacity: 1;
    visibility: visible;
}

.popup_body {
    min-height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 30px 10px;
    transition: all 0.8s ease 0s;
}

.popup_content {
    display: flex;
    flex-direction: column;
    background-color: #f6f7f8;
    color: #333;
    width: 400px;
    height: 400px;
    padding: 30px;
    box-sizing: border-box;
    border-radius: 30px;
    position: relative;
    transition: all 0.8s ease 0s;
    opacity: 0;
    transform: translate(0px, -100%);
}

.popup_content h2 {
    margin-top: 0px;
    margin-bottom: 20px;
    line-height: 95%;
}

.popup_content h4{
    margin-bottom: 20px;
}

.popup_content svg{
    width: 30px;
    height: 30px;
    stroke: #333;
    top: 20px;
    right: 20px;
    position: absolute;
    cursor: pointer;
}

.input_group {
    position: relative;
    margin-bottom: 16px;
    display: flex;
    z-index: 1;
    flex-direction: column;
}

.input_group_all {
    display: flex;
    flex-direction: row;
    align-content: center;
    align-items: center;
}


.input_request{
    width: 100%;
    max-width: 300px;
    height: 65px;
    border-radius: 5px;
    background-color: transparent;
    border: 1px solid rgba(128,139,149,.32);
    font-size: 16px;
    transition: 0.3s;
    padding: 0px 16px;
    padding-top: 6px;
    outline: none;
    box-sizing: border-box;
}

.input_request:focus{
    border-color: #262626;
}

input:-webkit-autofill,
input:-webkit-autofill:hover, 
input:-webkit-autofill:focus {
  -webkit-box-shadow: 0 0 0px 40rem #f6f7f8 inset;
}

.styles_label {
    position: absolute;
    top: 24px;
    left: 16px;
    z-index: -1;
    color: #888888;
    font-size: 16px;
    transition: 0.3s;
}

.error_input {
    border-color: #fb233d;
}

.date{
    max-width: 85px;
}

.btn_comment{
    width: 100%;
    max-width: 300px;
    height: 70px;
}

.svg_active {
    color: #ff82a5;
}

.svg_active svg{
    stroke: #ff82a5;
}

#ads {
    border-radius: 10px;
    cursor: pointer;
}

@media (max-width: 1200px){


.container{
  width: 950px;
  padding: 0px 20px;
}

.md_col {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
} 



}

@media (max-width: 990px){


.container{
  width: 100%;
  padding: 0px 20px;
}

.block_row {
    justify-content: flex-start;
} 

.art_block {
    margin-right: 30px;
}

.md_row {
    height: auto;
}

.md_row img {
    width: 100%;
    height: auto;
    max-height: 420px;
}

.md_col {
    position: relative;
    left: 0%;
    transform: translateX(0%);
    bottom: 0;
    width: 100%;
    box-sizing: border-box;
    padding: 20px;
}

.md_col h2 {
    color: #272727;
    margin-bottom: 10px;
}

.avtor_info img {
    width: 45px;
    height: 45px;
    margin-right: 5px;
}

.avtor_info h5 {
    color: #242A3F;
    font-size: 18px;
}

.avtor_row h4 {
    color: #242A3F;
}

.links a {
    font-size: 16px;
}



}


@media (max-width: 550px){

.container {
    width: 100%;
    padding: 0px 10px;
}

.btn_head {
    width: auto;
    height: auto;
    background: none;
    color: #272727;
    font-size: 18px;
}

.logo img {
    width: 50px;
    height: 50px;
    margin-right: 5px;
}

.logo_text h4 {
    font-size: 18px;
}

.logo_text p {
    font-size: 12px;
}

.header_block img {
    width: 40px;
    height: 40px;
    margin-left: 15px;
}

.nav_row {
    overflow-y: auto;
    padding-bottom: 20px;
}

.nav_block {
    margin-right: 15px;
    padding: 8px 18px;
    font-size: 16px;
}

.art_block {
    margin-right: 0px;
    width: 100%;
    height: auto;
    max-height: 260px;
}

.art_block img {
    width: 100%;
    height: auto;
}

.md_row img {
    width: 100%;
    height: auto;
    max-height: 420px;
    min-height: 170px;
}

.md_col h2 {
    font-size: calc(40px + (40 - 30) * ( (100vw - 480px) / ( 480 - 320) ));
}

.md_col {
    padding: 20px 5px;
}

.avtor_info img {
    width: 45px;
    height: 45px;
    margin-right: 5px;
    min-height: 45px;
}

.reply_inp {
    display: flex;
    flex-direction: column;
    height: auto;
}

.reply_text {
    width: 100%;
}

.reply_btn {
    width: 100%;
}



.ft_row {
    flex-direction: column;
    box-sizing: border-box;
    padding: 0px 15px;
}

.text_right {
    text-align: left;
}

.links{
    margin:20px 0px ;
}


}











































