body,
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box
}

body {
    font-family: sans-serif;
    font-size: 17px;
    line-height: 25px;
    color: #444
}

a {
    color: inherit;
    text-decoration: none
}

.link {
    font-weight: 700;
    color: #674da8
}

.btn {
    max-width: 530px;
    background: #674da8;
    padding: 10px 20px;
    font-size: 25px;
    text-transform: uppercase;
    font-weight: 700;
    text-align: center;
    color: #fff;
    margin: 50px auto;
    display: block;
    border-radius: 5px
}

ul {
    list-style: none
}

.container {
    padding: 0 20px;
    max-width: 1000px;
    margin: 0 auto
}

video,
figure,
figure img {
    width: 100%;
    max-width: 500px;
    display: block;
    margin: 0 auto
}

video,
figure {
    margin-bottom: 20px
}

figcaption {
    font-style: italic;
    margin-top: 5px;
    font-size: 15px;
    text-align: center
}

.stars {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 575px;
    margin: 0 auto 20px
}

.stars img {
    display: block;
    width: 48%
}

h1 {
    text-align: center;
    font-size: 28px;
    line-height: 34px;
    margin-bottom: 20px
}

h2 {
    font-size: 22px;
    line-height: normal;
    font-weight: 400;
    text-align: center
}

h2 b {
    font-weight: 700
}

h3 {
    color: #674da8;
    font-size: 23px;
    margin-bottom: 40px
}

.oswald {
    font-size: 21px;
    max-width: 700px;
    line-height: normal;
    text-align: center;
    font-family: oswald, sans-serif;
    margin: 0 auto
}

.center {
    text-align: center;
    max-width: 700px;
    margin: 0 auto
}

.header {
    margin-bottom: 20px;
    background: #004750;
}

.header__inner {
    display: flex;
    align-items: center;
    gap: 24px;
    padding: 8px 15px;
}


.logo img,
.logo {
    width: 28px;
    height: 28px;
}

.header__left-box {
    display: flex;
    align-items: center;
    gap: 25px;
}

.burgermenu-icon {
    height: 23px;
}

.nav__list {
    display: flex;
    color: #fff;
    gap: 18px;
    font-family: "Roboto Bold", Helvetica, sans-serif;
    letter-spacing: 0px;
    line-height: 16px;
    font-size: 14px;
    text-transform: uppercase;
    font-weight: 600;
}

.nav__item:hover {
    color: #3fb6ae;
}

.header__search-box {
    display: flex;
    margin-left: 81px;
    align-items: center;
    gap: 9px;
}

.header__search-icon,
.header__search-icon img {
    width: 26px;
    height: 23px;
}

.header__socials-box {
    display: flex;
    gap: 10px;
}

.header__search-decor {
    display: block;
    width: 1px;
    height: 40px;
    background-color: #fff;
}

.header__socials-icon {
    border: 2px solid #fff;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: inline-block;
}

.header__socials-icon img {
    display: block;
    width: 16px;
    height: 23px;
    margin: 0 auto;
}

.header__socials-icon:hover {
    border: 2px solid #3fb6ae;
    background: #3fb6ae;
}

.main p {
    margin-bottom: 20px
}

.question,
.answer,
.guest,
.doctor {
    display: flex;
    align-items: start
}

.question img,
.answer img,
.guest img,
.doctor img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 50%;
    display: block;
    margin-right: 15px
}

.question {
    padding: 20px 0;
    border-bottom: 1px solid #d4d4d4;
    border-top: 1px solid #d4d4d4;
    margin-bottom: 20px
}

.question p:last-child {
    margin-bottom: 0
}

.doctor-block {
    display: flex;
    background: #fff2cd
}

.doctor-block img {
    display: block;
    width: 250px
}

.doctor-block p {
    padding: 20px;
    font-style: italic
}

.comments {
    padding-top: 20px;
    border-top: 3px solid #674da8
}

.comment-item {
    display: grid;
    grid-template-columns: 50px auto;
    grid-column-gap: 15px;
    margin-bottom: 30px
}

.comment-item .avatar img {
    width: 48px;
    height: 48px;
    border-radius: 50%
}

.comment-item .info .name {
    display: block;
    margin-bottom: 5px
}

.comment-item p {
    margin-bottom: 10px
}

.comment-item .info img {
    width: 100%;
    max-width: 400px
}

.footer {
    font-size: 12px;
    background: none 0 0 repeat scroll #faf6dd;
    padding: 20px;
    margin-top: 50px
}

/* COMMENT */
.item {
    margin-bottom: 5px;
    border-radius: 5px;
    background-color: #edeff4;
    padding: 10px;
    display: flex;
    gap: 15px;
}

.photo img {
    width: 55px;
}

.area {
    display: flex;
    flex-direction: column;
    gap: 7px;
}

.name {
    font-size: 18px;
    font-weight: 600;
    line-height: 1;
    color: #0056b3;
}

.comment {
    font-size: 16px;
    font-weight: 400;
    line-height: 1.3;
    color: #414141;
}

.area p {
    margin: 0 !important;
}

.comment img {
    display: block;
    margin-top: 15px;
    max-width: 320px;
    width: 100%;
}

.comments-footer {
    display: flex;
    gap: 5px;
}

.comments-footer a {
    font-size: 16px;
    color: #0056b3;
    margin-right: 8px;
}

.comments-date {
    color: #9faeb5;
    font-size: 16px;
    font-weight: 500;
    text-indent: 0;
}

/* .comments-date::before {
    content: "";
    margin-right: 5px;
} */

.comments__form-fields {
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 100%;
}

.comments__form-input{
    display: block;
    width: 100%;
    height: 40px;
    margin: 0;
    padding: 5px 10px;
    border: 1px solid #9faeb5;
    border-radius: 5px;
    font-size: 14px;
    transition: height .4s linear;
}

.comments__form-input--text{
    height: 80px;
    padding-top: 10px;
}

.commetns__form-btn{
    background-color: #2156b9;
    width: 150px;
    cursor: pointer;
    display: block;
    height: 40px;
    margin: 0 0 0 auto;
    border: none;
    border-radius: 5px!important;
    outline: none!important;
    font-size: 16px!important;
    font-weight: 500!important;
    text-decoration: none!important;
    transition: background-color .2s linear!important;
    color: #fff!important;
    box-shadow: none!important;
}

.comments__item-content--printing{
    display: flex;
    gap: 10px;
    align-items: center;
    margin: 0 !important;
}


.comments__item-gif{
    width: 50px;
    height: 50px;
    padding-top: 10px;
}

.hidden{
    display: none;
}

.error{
    border: 1px solid red;
}

@media (max-width:500px) {
    .comment img {
        width: 100%;
    }

    .area {
        width: calc(100% - 0px);
    }
}

@media (max-width: 767px) {
    .comment__img{
        width: 100%;
    }

    .door__wrapper .door__title {
        padding-left: 10px !important;
        padding-right: 10px !important;
    }
}


@media(max-width:1100px) {
    .container {
        padding-left: 0;
        padding-right: 0;
        max-width: 100%
    }

    .main {
        padding: 0 10px
    }

    .header__inner {
        padding-left: 15px;
        padding-right: 15px;
        justify-content: space-between;
    }

    .header__socials-box {
        display: none;
    }

    .header__search-box {
        margin: 0;
    }
}

@media(max-width:870px) {
    .nav {
        display: none;
    }
}

@media(max-width:800px) {
    h1 {
        font-size: 24px
    }

    h2 {
        font-size: 22px
    }

    .footer {
        text-align: center
    }
}

@media(max-width:700px) {
    h1 {
        font-size: 20px
    }

    h2 {
        text-align: justify
    }

    .doctor-block {
        flex-direction: column;
        align-items: center;
        text-align: center
    }

    .btn {
        font-size: 20px
    }

    .comment-item .avatar {
        float: left
    }

    .comment-item {
        display: block
    }

    .comment-item .avatar img {
        margin-right: 15px
    }

    .comment-item .info .name {
        display: block;
        margin-bottom: 20px;
        padding-top: 15px
    }

    .stars {
        flex-direction: column;
        align-items: center
    }

    .stars img {
        width: 70%
    }

    .question,
    .answer,
    .guest,
    .doctor {
        display: block;
        min-height: 90px
    }

    .question img,
    .answer img,
    .guest img,
    .doctor img {
        float: left;
        width: 50px;
        height: 50px;
        margin-right: 10px
    }

    figure[style] {
        flex-direction: column;
        max-width: 315px !important;
    }
}