
*,
::after,
::before {
    box-sizing: border-box;
    margin: 0;
    padding: 0
}

body {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 16px
}

a {
    text-decoration: none;
    color: inherit
}

ul {
    list-style-type: none
}

.wrapper {
    display: flex;
    flex-direction: column
}

.container {
    max-width: 1020px;
    margin: 0 auto
}

.header {
    width: 100%
}

.top-header {
    width: 100%;
    background-color: #e90400;
    cursor: pointer
}

.content-top-header {
    padding: 5px 10px;
    background-color: #e64b38;
    transition: .3s ease
}

.content-top-header:hover {
    background-color: #c05041c0;
    transition: .3s ease
}

.text-content-top-header {
    color: #fff;
    font-size: 20px;
    width: 100%;
    text-align: center
}

.content-bottom-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 5px 10px;
    padding-top: 15px
}

.img-content-bottom-header {
    width: 150px;
    transition: .3s ease;
    cursor: pointer
}

.img-content-bottom-header:hover {
    transform: scale(.94);
    transition: .3s ease
}

.button-content-bottom-header {
    padding: 5px;
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    background-color: #e64b38;
    border: none;
    max-width: 150px;
    border-radius: 10px;
    transition: .3s ease;
    cursor: pointer;
    box-shadow: 0 0 5px 3px rgba(1, 1, 1, .2)
}

.button-content-bottom-header:hover {
    transform: scale(.97);
    transition: .3s ease
}

.main .container {
    padding: 0 10px
}

.div-reviews {
    max-width: 500px;
    margin: 30px auto;
    box-shadow: 0 0 5px 3px rgba(1, 1, 1, .2);
    border-radius: 10px;
    padding: 10px 15px
}

.title-reviews {
    text-align: center;
    font-size: 42px;
    font-weight: 700;
    line-height: 40px;
    margin-bottom: 30px
}

.message-reviews {
    margin: 10px 0 20px;
    background-color: #e6effb;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px;
    border-radius: 10px;
    gap: 15px
}

.img-message-reviews-first {
    align-self: flex-start;
    width: 70px
}

.img-message-reviews-last {
    align-self: flex-end;
    width: 70px
}

.estimation-reviews {
    width: 100%;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 30px
}

@media (max-width:500px) {
    .estimation-reviews {
        display: flex;
        flex-direction: column;
        align-items: center
    }
}

.estimation-item {
    padding: 5px;
    display: flex;
    align-items: center;
    gap: 10px
}

.img-estimation {
    width: 40px
}

.text-stars-estimation {
    display: flex;
    flex-direction: column;
    gap: 2px
}

.companies-reviews {
    padding: 10px;
    border: 1px solid gray;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    margin: 0 auto;
    border-radius: 10px;
    position: relative;
    padding-top: 20px
}

.text-companies-reviews {
    position: absolute;
    top: -15px;
    color: #000;
    background-color: #fff;
    border-radius: 10px;
    font-size: 14px;
    padding: 5px 10px;
    left: 20px;
    border: 1px solid gray
}

.img-companies-reviews {
    max-width: 200px
}

.section-pluses {
    width: 100%;
    margin-bottom: 30px
}

.title-pluses {
    text-align: center;
    margin-bottom: 20px;
    font-size: 30px
}

.content-pluses {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 25px
}

.gif-pluses {
    width: 100%;
    max-width: 450px
}

.list-pluses {
    display: flex;
    flex-direction: column;
    gap: 10px
}

.item-pluses {
    display: flex;
    align-items: center;
    gap: 5px
}

.title-list-pluses {
    font-weight: 600;
    font-size: 18px
}

.item-pluses-button {
    font-size: 18px;
    font-weight: 600;
    color: #fff;
    background-color: #e64b38;
    cursor: pointer;
    transition: .3s ease;
    border: none;
    max-width: 220px;
    padding: 10px 20px;
    border-radius: 10px;
    box-shadow: 0 0 5px 3px rgba(1, 1, 1, .2);
    margin-top: 10px
}

.item-pluses-button:hover {
    transform: scale(.97);
    transition: .3s ease
}

.section-review-doctor {
    background-color: #361f7e;
    padding: 0 15px
}

.div-review-doctor {
    padding: 50px 10px;
    display: flex;
    gap: 40px;
    position: relative
}

.img-review-doctor {
    width: 100%;
    max-width: 280px;
    border-radius: 10px
}

.text-review-doctor {
    padding: 17px;
    background-color: #fff;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    position: relative
}

.div-absolute-img-review-doctor {
    position: absolute;
    top: -20px;
    left: -20px;
    padding: 10px;
    background-color: #d5def0;
    border-radius: 100px
}

@media (max-width:800px) {
    .item-pluses-link {
        margin: 15px auto 5px
    }

    .div-pluses {
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 100%
    }

    .content-pluses {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 15px
    }

    .div-review-doctor {
        display: flex;
        flex-direction: column;
        align-items: center
    }
}

.form {
    border: 3px solid #e64b38;
    border-radius: 10px;
    max-width: 500px;
    margin: 30px auto;
    display: flex;
    flex-direction: column;
    align-items: center
}

.top-content-form {
    width: 100%;
    background-color: #e64b38;
    padding: 10px 5px;
    text-align: center
}

.text-top-content-form {
    color: #fff;
    font-weight: 700;
    font-size: 20px
}

.title-form {
    margin: 20px 0 35px;
    text-align: center
}

.div-img-ofer {
    display: flex;
    justify-content: center;
    gap: 5px;
    margin-bottom: 20px;
    width: 90%
}

.price-form {
    font-size: 48px
}

.img-form {
    width: 100%;
    max-width: 200px
}

.div-input-form {
    width: 90%
}

.input-form {
    width: 100%;
    padding: 10px;
    font-size: 20px;
    border: 1px solid gray;
    outline: 0
}

.name-input-form {
    font-weight: 700;
    margin-bottom: 15px;
    margin-top: 2px
}

.button-form {
    width: 90%;
    padding: 20px 5px;
    font-size: 24px;
    font-weight: 700;
    color: #fff;
    background-color: #e64b38;
    border-radius: 10px;
    border: none;
    margin-bottom: 20px;
    transition: .3s ease;
    cursor: pointer
}
body::before{
	background-image:url("../images/loading-page-transition.gif");
}
.button-form:hover {
    transform: scale(.97);
    transition: .3s ease
}

.section-big-review {
    background-color: #361f7e;
    padding: 30px 20px
}

.title-big-review {
    font-size: 28px;
    text-align: center;
    color: #fff;
    margin-bottom: 20px
}

.div-big-review {
    padding: 17px;
    background-color: #fff;
    border-radius: 10px;
    position: relative
}

.div-img-big-review {
    position: absolute;
    background-color: #d5def0;
    padding: 10px;
    border-radius: 100px;
    top: -25px;
    left: -25px
}

.text-big-review {
    margin-bottom: 25px;
    font-size: 18px
}

.person-big-review {
    display: flex;
    align-items: center;
    gap: 15px
}

.photo-person-big-review {
    width: 100%;
    max-width: 60px;
    border-radius: 100px
}

.name-big-review {
    font-weight: 700
}

.stars-big-review {
    width: 120px;
    margin-top: 3px
}

.title-info {
    text-align: center;
    font-weight: 700;
    margin: 30px 0 20px
}

.list-content-info {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px
}

.item-content-info {
    max-width: 400px;
    border-radius: 10px;
    box-shadow: 0 0 5px 3px rgba(1, 1, 1, .2)
}

.img-content-info {
    width: 100%;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    margin-bottom: 15px
}

.title-content-info {
    width: 85%;
    margin: 0 auto;
    padding: 10px;
    background-color: #d5def0;
    border-radius: 5px;
    transform: translateY(-70px);
    font-size: 22px;
    text-align: center;
    margin-bottom: -40px
}

.text-content-info {
    padding: 10px
}

.point-text-content-info {
    display: flex;
    align-items: flex-start;
    gap: 5px;
    margin-bottom: 20px
}

.section-info2 {
    background-color: #f3f4f5
}

.title-info2 {
    font-weight: 700;
    margin: 50px 0 20px;
    padding: 0 10px
}

.content-info2 {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: flex-start;
    gap: 30px;
    padding: 10px
}

.first-content-info2 {
    background-color: #fff;
    border-radius: 10px;
    padding: 10px;
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 400px
}

.inner-first-content-info2 {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 15px
}

.img-first-content-info2 {
    width: 100%;
    width: 50px
}

.text-first-content-info2 {
    font-weight: 700;
    font-size: 19px;
    margin-bottom: 5px
}

.second-content-info2 {
    position: relative;
    width: 100%;
    max-width: 300px;
    border-radius: 10px
}

.img-second-content-info2 {
    width: 100%;
    border-radius: 10px
}

.text-second-content-info2 {
    position: absolute;
    bottom: 70px;
    right: 22px;
    background-color: #fff;
    border: 2px solid red;
    border-radius: 10px;
    padding: 5px;
    width: 100%;
    max-width: 400px;
    font-weight: 700;
    text-align: end
}

@media (max-width:400px) {
    .img-form {
        width: 100%;
        max-width: 120px
    }

    .price-form {
        font-size: 36px
    }

    .button-form {
        padding: 15px 5px
    }

    .text-second-content-info2 {
        width: 90%
    }
}

.section-rules {
    margin-bottom: 50px
}

.title-rules {
    margin: 30px 0 20px;
    text-align: center
}

.text-rules {
    font-size: 19px;
    font-weight: 700;
    text-align: center
}

.all-rules {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px
}

.rule-rules {
    background-color: #ebebeb;
    border: 1px solid gray;
    border-radius: 10px;
    padding: 10px;
    width: 100%;
    max-width: 210px
}

.img-rule {
    width: 100%;
    max-width: 50px;
    margin-bottom: 20px
}

.name-rule {
    font-weight: 700;
    margin-bottom: 20px
}

.text-rule {
    margin-bottom: 0
}

.item-comment {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin: 50px 0
}

.item-comment img:first-child {
    width: 100%;
    max-width: 60px;
    border-radius: 10px
}

.name-item-comment {
    margin-bottom: 10px
}

.date-0,
.date-1,
.date-2,
.date-3 {
    margin-left: 15px
}

.img-comment {
    display: block;
    width: 100%;
    max-width: 370px;
    margin: 20px 0 0;
    border-radius: 10px
}

.footer {
    background-color: #361f7e;
    padding: 40px 20px 20px;
    color: #fff
}

.title-footer {
    background-color: #fff;
    padding: 20px;
    color: #000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
    border-radius: 10px;
    margin-bottom: 20px
}

.text-title-footer {
    font-size: 20px;
    font-weight: 700
}

.button-title-footer {
    background-color: #e64b38;
    color: #fff;
    border-radius: 10px;
    box-shadow: 0 0 5px 3px rgba(1, 1, 1, .2);
    border: none;
    padding: 10px;
    font-weight: 700;
    font-size: 20px;
    max-width: 220px;
    cursor: pointer;
    transition: .3s ease
}

.button-title-footer:hover {
    transform: scale(.97);
    transition: .3s ease
}

@media (max-width:700px) {
    .title-footer {
        display: flex;
        flex-direction: column;
        gap: 30px
    }
}

.img-footer {
    display: flex;
    justify-content: center
}

.logo-footer {
    margin-top: 20px;
    width: 100%;
    max-width: 200px
}

.text-footer {
    text-align: center;
    margin-top: 10px
}