/* Общие стили */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@100..900&display=swap');

body, html {
    font-family: "Inter", sans-serif;
    font-optical-sizing: auto;
    margin: 0;
    padding: 0;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #E8E9ED;
}

.container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 920px;
    padding-left: 40px;
    padding-right: 40px;
}

.block {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding-top: 40px;
    padding-bottom: 40px;
}

.block-main {
    flex-direction: row;
    justify-content: space-between;
}

.block-links {
    flex-direction: row;
    gap: 20px;
}

.text {
    margin-right: 20px;
    cursor: default;
}

.text div:nth-child(1) {
    font-size: 36px;
}

.text div:nth-child(2) {
    color: #fff; /* Убедитесь, что текст читаем на фоне градиента */
    font-weight: 700;
    font-size: 72px;
    line-height: 1.2;
    background: linear-gradient(to right, #7357e4, #af6ff0); /* Пример градиента */
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.text div:nth-child(3) {
    margin-top: 4px;
    font-weight: 300;
    font-size: 24px;
}

.photo{
    margin-left: auto;
}

.photo img {
    width: 250px;
    height: 250px;
    border-radius: 50%;
    object-fit: cover;
}

.block-links a img {
    transition: filter 0.3s ease; /* Smooth transition for the filter effect */
    filter: brightness(100%); 
    width: 80px;
    height: 80px;
}
.block-links a img:hover {
    filter: brightness(80%); 
}

@media (max-width: 1000px) {
    .container {
        width: 100%;
        padding-left: 40px;
        padding-right: 40px;
    }

    .block-main {
        flex-direction: column;
    }

    .block-links {
        padding-top: 0;
    }

    .text {
        margin-right: 0;
        text-align: center;
    }

    .text div:nth-child(1) {
        font-size: 24px;
    }

    .text div:nth-child(2) {
        font-size: 36px;
    }

    .text div:nth-child(3) {
        font-size: 16px;
    }

    .photo {
        margin-top: 20px;
        margin-left: 0;
    }

    .photo img {
        width: 150px;
        height: 150px;
    }

    .block-links a img {
        width: 60px;
        height: 60px;
    }
}
