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;
    justify-content: space-between;
    max-width: 500px;
    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
}

 

.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
}

@media(max-width:1100px) {
    .container {
        padding: 0;
        max-width: 100%
    }

    .main {
        padding: 0 10px
    }
}

@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: 100%
    }

    .stars img:first-child {
        margin-bottom: 20px
    }

    .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
    }
}