@charset "utf-8";

:root {
    --dark_purple: hsl(245, 23%, 21%);
    --medium_purple: hsl(244, 11%, 50%);
    --light_purple: hsl(240, 22%, 90%);
    --red: hsl(0, 57%, 58%);
    --beige: hsl(0, 10%, 90%);
    --button: rgba(133, 133, 168, 95%);
}

.hp_first_screen {
    background-image: url(/media/original_images/main_bgr_desctop.webp);
    width: 100%;
    height: calc(100vh - 80px);
    background-size: cover;
    background-repeat: no-repeat;
    position: relative;
}

.hp_first_screen_mobile {
    display: none;
}

.hp_first_screen_text {
    width: 60%;
    max-width: 800px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 5rem;
    position: absolute;
    top: 6rem;
    right: 3rem;
    color: #fff;
    text-align: center;
    padding-right: 10px;
}

.hp_first_screen_text h1 {
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hp_first_screen_text_subtitle {
    font-size: 1.3rem;
    font-weight: 300;
    margin-top: 5px;
}

.education {
    display: flex;
    flex-direction: column;
    margin: 1rem 0;
}

.hp_first_screen_social .social {
    margin-top: 1.5rem;
}

.achievements {
    display: flex;
    gap: 3rem;
}

.achievement {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    flex: 1 1 0;
    text-align: center;
}

.achievement_title {
    font-size: 16px;
    font-weight: 400;
}

.achievement_subtitle {
    font-size: 2rem;
    font-weight: 500;
    line-height: 1;
    align-self: center;
}

.achievement_hr {
    border-bottom: 2px solid var(--beige);
}

.hp_first_screen_button {
    margin: 0 auto;
}


@media (min-width: 1025px and max-width: 1185px) {

    .hp_first_screen_text h1 {
        font-size: 2.1rem;
    }

    .hp_first_screen_text {
        gap: 3rem;
        top: 0;
        right: 0;
        padding: 1rem 1rem;
    }

    .achievements {
        gap: 1rem;
    }

    .achievement {
        gap: 10px;
    }

    .achievement_title {
        font-size: 12px;
    }

    .achievement_subtitle {
        font-size: 2rem;
    }

}

@media (max-width: 1024px) {

    .hp_first_screen {
        display: flex;
        flex-direction: column;
        background-image: none;
        height: auto;
    }

    .hp_first_screen_mobile {
        background-image: url(/media/original_images/main_bgr_mobile.webp);
        background-position: center;
        display: block;
        height: 50vh;
        width: 100%;
        background-size: cover;
        background-repeat: no-repeat;
        position: relative;
    }

    .hp_first_screen_text {
        background-color: var(--red);
        height: auto;
        width: 100%;
        max-width: 100%;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        gap: 2rem;
        position: relative;
        top: auto;
        right: auto;
        padding: 3rem 10px 5rem 10px;
    }

    .hp_first_screen_button .button {
        background-color: var(--beige);
        color: var(--dark_purple);
    }

}

@media (max-width: 590px) {

    .hp_first_screen_text h1 {
        font-size: 2.1rem;
    }

    .hp_first_screen_text {
        gap: 3rem;
        top: 0;
        right: 0;
        padding: 3rem 1rem;
    }

    .hp_first_screen_text_subtitle {
        font-size: 1rem;
    }

    .achievements {
        gap: 1rem;
    }

    .achievement {
        gap: 10px;
    }

    .achievement_title {
        font-size: 12px;
    }

    .achievement_subtitle {
        font-size: 1.8rem;
    }
}

@media (max-width: 470px) {

    .hp_first_screen_text h1 {
        font-size: 1.8rem;
    }

    .achievements {
        flex-direction: column;
        gap: 3rem;
    }

    .achievement_title {
        font-size: 16px;
    }

    .achievement_subtitle {
        font-size: 2rem;
    }

    .achievement_hr {
        width: 45%;
        margin: auto;
    }

}

.symptoms_block {
    background-color: var(--red);
    padding: 3rem 10% 4rem 10%;
}

.symptoms_block h2 {
    text-align: center;
    margin-bottom: 2.5rem;
    color: white;
}

.symptoms {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 2.5rem;
}

.symptoms p {
    width: calc(50% - 0.5rem);
    box-sizing: border-box;
    padding: 1rem;
    border-radius: 60px;
    color: var(--red);
    background-color: white;
    font-size: 1.2rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 10px;
}

.symptoms p::before {
    content: '';
    display: inline-block;
    width: 50px;
    height: 50px;
    background-image: url(/media/icons/exclamation.svg);
    background-size: cover;
    background-repeat: no-repeat;
    flex-shrink: 0;
}

.symptoms_block > .button {
    display: block;
    margin: auto;
    background-color: var(--red);
    color: white;
    border: 2px solid white;
    font-weight: 500;
    width: 310px;
}

.symptoms_block > .button:hover {
    background-color: var(--beige);
    color: var(--red);
}

@media (max-width: 1024px) {

    .symptoms_block {
        padding: 3rem 10px 4rem 10px;
    }

    .symptoms p {
        width: 100%;
        font-size: 1rem;
    }
}

.appointment_block {
    background-color: var(--light_purple);
    padding: 3rem 10% 4rem 10%;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.appointment_block h2 {
    flex-basis: 100%;
    min-width: 100%;
    text-align: center;
    margin-bottom: 2rem;
}

.appointment_columns {
    display: flex;
    flex-direction: column;
    flex-basis: 48%;
    gap: 2rem;
}

.appointment_image {
    flex-basis: 48%;
}

.appointment_image img {
    border-radius: 4px;
}

.appointment {
    display: flex;
    gap: 2rem;
}

.appointment_icon img {
    width: 60px;
    height: 60px;
}

.appointment_title {
    font-size: 1.5rem;
    font-weight: 600;
}

@media (max-width: 1024px) {

    .appointment_columns {
        flex-basis: 100%;
        order: 2;
    }

    .appointment_image {
        flex-basis: 100%;
        order: 1;
        margin-bottom: 2rem;
    }

}

@media (max-width: 470px) {
    .appointment_block {
        padding: 3rem 10px 2rem 10px;
    }
}

.hp_reviews_block {
    background-color: var(--light_purple);
    padding: 3rem 0 4rem 0;
}

.hp_reviews_block h2 {
     text-align: center;
     margin-bottom: 2rem;
}

.hp_reviews_block > .button {
    margin: auto;
    display: block;
}

.preparation_block {
    background-color: var(--beige);
    padding: 5rem 10% 6rem 10%;
}

.preparation_block h2 {
    text-align: center;
    margin-bottom: 3rem;
}

.preparations {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
}

.preparation {
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex: 1;
    align-self: flex-start;
}

.preparation_title {
    font-size: 1.2rem;
    font-weight: 600;
}

.preparation img {
    width: 70px;
    height: 70px;
    margin: auto;
}

@media (max-width: 1024px) {

    .preparation_block {
        padding: 3rem 10%;
    }

    .preparations {
        flex-direction: column;
        gap: 2rem;
    }

}

@media (max-width: 470px) {
    .preparation_block {
        padding: 3rem 10px 4rem 10px;
    }
}

.hp_spec_block {
    background-color: var(--beige);
    padding: 3rem 10% 4rem 10%;
}

.hp_spec_block h2 {
    text-align: center;
    margin-bottom: 2rem;
}

.hp_all_spec {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    justify-content: space-between;
}

.hp_spec {
    width: calc(33% - 1rem);
    box-sizing: border-box;
    padding: 2rem;
    border-radius: 10px;
    color: rgba(255,255,255,0.8);
    background-color: hsl(243, 15%, 40%);
    font-size: 14px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: space-between;
}

.hp_diseases_description {
    border-top: 2px solid white;
    padding-top: 10px;
    width: 100%;
}

.hp_diseases_title {
    font-size: 1.3rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: white;
}

.hp_spec:hover {
    background-color: var(--dark_purple);
}


@media (max-width: 1024px) {
    .hp_spec {
        width: 100%;
        flex-wrap: wrap;
        gap: 10px;
        justify-content: flex-start;
    }
}