:root {
    --main-color-500: #F5D033;
    --main-color-600: #c8a92b;
    --gray-500: #959595;
    --red-500: #df4040;
    --blue-500: #2679ec;
}

html, body {
    padding: 0;
    margin: 0;
    background-color: #121214;
}

* {
    font-family: Rubik, sans-serif;
}

h1, h2, h3 {
    font-family: Rubik, sans-serif;
    font-weight: 500;
    margin: 0;
    color: white;
}

p {

}

button {
    display: block;
    padding: 15px;
    border-radius: 13px;
    font-size: 16px;
    color: black;
    background-color: white;
    border: none;
    cursor: pointer;
    text-align: center;
}

button.primary {
    background-color: var(--main-color-500);
    color: black;
}

button.primary:hover {
    background-color: var(--main-color-600);
}

.header {
    display: flex;
    flex-direction: row;
    padding: 10px;
    border-bottom: solid 1px #2e2e2e;
}

.header__right {
    margin-left: auto;
}

.header__user {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 10px;
}

.header__user__avatar {
    width: 32px;
    height: 32px;
    border-radius: 100%;
}

.header__user__info {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.header__user__info__name {
    display: block;
    color: white;
    font-size: 16px;
}

.header__user__info__role {
    display: block;
    color: var(--gray-500);
    font-size: 14px;
}

.main-block {
    padding: 50px;
}

.main-block__top {
    margin: 0 auto;
    width: 700px;
}

.main-block__top__title {
    display: block;
    text-align: center;
    font-size: 48px;
    margin: 0 auto 5px;
}

.main-block__top__description {
    display: block;
    text-align: center;
    font-size: 24px;
    margin: 0 auto 15px;
}

.main-block__top__buttons {
    display: flex;
    flex-direction: row;
    gap: 15px;
    margin: 0 auto;
    width: fit-content;
}

.petitions {
    width: 800px;
    margin: 50px auto 0;
}

.petitions__title {
    margin-bottom: 20px;
    text-align: center;
}

span {
    color: white;
    font-size: 16px;
}

@font-face {
    font-family: Rubik;
    src: url("/static/ttf/Rubik.ttf");
}

@media screen and (max-width: 800px) {

    .main-block__top {
        width: 100%;
    }

    .petitions {
        width: 100%;
    }

}