* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background: #fff;
    color: #191919;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    min-height: 100vh;
    width: 100vw;
    font-size: 16px;
    font-family: "Inter", serif;
    padding: 60px 84px;
}

.header {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 44px;
    max-width: 706px;
}

.header img {
    width: 250px;
    height: 230px;
    border-radius: 36px;
    object-fit: cover;
    object-position: top;
}

.role {
    margin-left: 32px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.title,
.subtitle {
    font-size: 44px;
    font-weight: 500;
}

.title {
    margin-bottom: 16px;
}

.subtitle {
    background: #4F5DF0;
    color: #fff;
    border-radius: 300px;
    padding: 8px 32px;
}

.links {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(129px, 1fr));
    grid-template-rows: auto;
    gap: 16px;
    width: 100%;
    max-width: 706px;
}

a {
    text-decoration: none;
    color: #191919;
    transition: all .3s ease-in-out;
    display: flex;
    align-items: center;
    flex-direction: column;
    justify-content: center;
    background-color: #F0F0F0;
    border-radius: 28px;
    width: 100%;
    height: 130px;
}

a:hover {
    background: #D7D9F9;
}

a:active {
    background: #BCC0FF;
}

a > span {
    margin-top: 16px;
}

@media (max-width: 900px) {
    body {
        padding: 32px;
    }

    .title,
    .subtitle {
        font-size: 26px;
    }

    .title {
        margin-bottom: 8px;
    }

    .role {
        margin-left: 0;
        margin-top: 16px;
        width: 100%;
        align-items: center;
    }

    .links {
        gap: 8px;
    }

    .subtitle {
        padding: 8px 12px;
        max-width: 330px;
    }

    .header {
        margin-bottom: 40px;
    }
}