@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@400;600;800&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    display: flex;
    align-items: center;
    flex-direction: column;
    justify-content: center;
    font-family: 'Open Sans', sans-serif;
    font-size: 22px;
    line-height: 34px;
    color: #1a1a1a;
}

a {
    color: #1a1a1a;
}

img {
    width: 100%;
}

.actors_w {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 50px;
    margin-top: 28px;
}

.actor_i_text_email {
    font-size: 16px;
}

.actor_i {
    width: 256px;
}

.container {
    max-width: 1060px;
    margin-top: 60px;
    position: relative;
}

.f_w {
    display: flex;
    margin-top: 40px;
    gap: 40px;
}

.b_family {
    width: 417px;
    margin-left: -20px;
    transform: rotate(-8deg);
}

.f_img {
    width: 200px;
    flex-shrink: 0;
}

p {
    margin-bottom: 22px;
}

.sf_fam img {
    width: 190px;
    transform: rotate(-7deg);
    margin-bottom: 4px;
}

.ff_w {
    font-size: 18px;
    justify-content: end;
    display: flex;
    line-height: 22px;
    padding-bottom: 100px;
    position: absolute;
    right: 0;
    transform: translateX(50%);
}

@media screen and (max-width: 1400px) {
    .ff_w {
        margin-top: 40px;
        font-size: 18px;
        justify-content: unset;
        display: flex;
        line-height: 22px;
        padding-bottom: 100px;
        position: unset;
        right: 0;
        transform: unset;
    }

    .container {
        max-width: 1060px;
        margin-top: 60px;
        position: relative;
        padding: 0 40px;
    }
}

@media screen and (max-width: 600px) {

    .f_w,
    .actors_w {
        flex-direction: column;
    }

    .b_family {
        width: 100%;
        margin-left: 0;
    }

    .f_img {
        width: 100%;
    }

    .f_w {
        margin-top: 20px;
    }

    .container {
        padding: 0px 26px;
        margin-top: 30px;
    }

    .actor_i {
        width: 100%;
    }
}