html,
body {
    margin: 0;
    padding: 0;
    font-family: "Rubik", sans-serif;
    color: #212121;
    font-size: 16px;
}
*,
*::before,
*::after {
    box-sizing: border-box;
}
.bg {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.25;
    user-select: none;
}
.box {
    width: 700px;
    max-width: 100%;
    margin: 0 auto;
    box-shadow: 2px 2px 16px rgba(0, 0, 0, 0.12);
    border-radius: 16px;
    padding: 32px;
    position: relative;
    background: #fff;
    z-index: 3;
    direction: rtl;
}
.wrapper {
    padding: 50px 20px;
    min-height: 100vh;
}

h1 {
    margin: 0;
    font-weight: bold;
}

.text {
    margin: 16px 0;
    font-size: 18px;
    line-height: 26px;
}

ul {
    padding: 0;
    margin: 0;
    list-style-type: none;
}
li {
    display: block;
    margin: 10px 0 0;
}

a {
    text-decoration: underline;
    color: #212121;
}

img {
    width: 100%;
    display: block;
    height: auto;
}

.socials {
    position: absolute;
    left: 32px;
    bottom: 26px;
    display: flex;
    align-items: center;
}

.link {
    width: 42px;
    transition: all 0.4s;
    /*margin-left: 12px;*/
}
.link:hover {
    opacity: 0.7;
}

@media (max-width: 576px) {
    .wrapper {
        padding: 32px 16px;
    }
    .box {
        padding: 24px 16px;
    }
    .title {
        font-size: 22px;
        line-height: 28px;
    }
    html,
    body {
        font-size: 14px;
    }
    .text {
        font-size: 16px;
        line-height: 24px;
    }
    .socials {
        bottom: 16px;
        left: 16px;
    }
    .link {
        width: 28px;
    }
    .image {
        margin-right: -16px;
        width: calc(100% + 32px);
    }
}
