body {
    display: none;
    display: -ms-grid;
    display: grid
}

body * {
    letter-spacing: .1rem;
    font-family: "Inter", sans-serif;
}

input {
    border-radius: unset !important;
}

textarea:focus,
input[type="text"]:focus,
input[type="password"]:focus,
input[type="datetime"]:focus,
input[type="datetime-local"]:focus,
input[type="date"]:focus,
input[type="month"]:focus,
input[type="time"]:focus,
input[type="week"]:focus,
input[type="number"]:focus,
input[type="email"]:focus,
input[type="url"]:focus,
input[type="search"]:focus,
input[type="tel"]:focus,
input[type="color"]:focus,
.uneditable-input:focus,
.form-control:focus {
    border-color: #ced4da;
    outline: none;
    box-shadow: 0 0 0 0.2rem #2d3748;
}

input[type="radio"]:focus,
input[type="radio"]:before,
input[type="radio"]:checked,
input[type="radio"]:active {
    background-color: #bc2649;
    border-color: #bc2649;
    outline: none;
    box-shadow: none;
}

select {
    border-radius: unset !important;
}

#background {
    position: fixed;
    right: 0;
    bottom: 0;
    min-width: 100%;
    min-height: 100%;
    z-index: -1;
    object-fit: cover;
}

.background_type1 {
    background: url(../images/dest/o_konkurse.png) 50% no-repeat fixed;
    background-size: cover
}

.background_type2 {
    background: url(../images/dest/kak_stat_uchastnikom.png) 50% no-repeat fixed;
    background-size: cover
}

.background_type3 {
    background: linear-gradient(180deg, #56A8BB, #8356BB 35%, #565CBB 100%);
}

.background_type4 {
    background: linear-gradient(90deg, #80429D, #8A689E 35%, #6B89DE 100%);
}

.background_type5, .background_type6 {
    background: #fff
}

.background_type5 *, .background_type6 * {
    color: #000
}

header {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 9999
}

.background_type4_1 header {
    background: #b4bcc3
}

main {
    position: relative;
    padding-top: 60px;
    padding-bottom: 60px;
    font-size: 1rem
}

.error {
    color: #bc2649;
    font-weight: bold;
    text-transform: none;
}

.background_type1 main, .background_type2 main, .background_type3 main, .background_type4 main {
    color: #fff
}

.background_type4_1 main, .background_type5 main, .background_type6 main {
    color: #000
}

.background_type4_1 main > .container {
    background: #b4bcc3
}

main h1 {
    font-size: calc(1rem + 3vw);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 5px;
    hyphens: auto;
    margin-bottom: 30px;
    margin-top: 30px;
}

.work-title {
    font-size: calc(1.5rem + 2vw);
    font-weight: 700;
    letter-spacing: 5px;
    margin: unset;
    word-wrap: break-word;
}

.subtitle {
    font-size: 24px;
    font-weight: 700;
    letter-spacing: 7.2px;
}

.form-title {
    font-size: 24px;
    font-weight: 700;
    letter-spacing: 7.2px;
}

.contact-form-title {
    font-size: 24px;
    font-weight: 700;
    letter-spacing: 7.2px;
    text-transform: none;
    color: white;
}

.background_type5 main h1 {
    color: #bc2649
}

.background_type6 main h1 {
    color: #000
}

footer {
    height: auto;
    min-height: 80px;
    padding: 15px 0;
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    text-transform: uppercase;
    border-top: 9px solid #d9d9d9;
}

.background_type4_1 footer, .background_type5 footer, .background_type6 footer {
    color: #000;
    border-color: #000
}

.background_type4_1 footer {
    background: #b4bcc3
}

.partners {
    margin-bottom: 40px;
}

.partners img {
    width: 360px;
    height: 300px;
    background-color: white;
    object-fit: contain;
    border-radius: 10px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.18);
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
}

footer div.col {
    padding: 0;
}

footer div.col + div.col {
    border-left: none
}

footer a {
    color: #fff;
    text-decoration: none
}

.background_type4_1 footer a, .background_type5 footer a, .background_type6 footer a {
    color: #000
}

.main-text {
    color: #fff;
    text-transform: uppercase
}

.main-text .first-block, .main-text .first-block i {
    font-size: calc(1rem + 8vw);
    letter-spacing: 0.25rem;
    line-height: normal;
    font-weight: 700
}

.main-text .first-block i {
    font-weight: 400
}

.main-text .second-block {
    font-size: calc(1rem + 1vw)
}

.navbar-brand {
    text-transform: uppercase
}

.navbar-brand .navbar-item {
    font-size: 1.25rem;
    color: #fff;
    text-decoration: none;
    white-space: nowrap
}

.background_type4_1 .navbar-brand .navbar-item, .background_type5 .navbar-brand .navbar-item, .background_type6 .navbar-brand .navbar-item {
    color: #000
}

.navbar-toggler {
    width: 70px;
    height: 57px;
    position: relative;
    border: none
}

.navbar-toggler:focus {
    -webkit-box-shadow: none !important;
    box-shadow: none !important
}

.navbar-toggler .navbar-toggler-row {
    display: inline-block;
    width: 100%;
    height: 9px;
    background-color: #d9d9d9;
    position: absolute;
    left: 0
}

.navbar-toggler .navbar-toggler-row:nth-child(1) {
    top: 0
}

.navbar-toggler .navbar-toggler-row:nth-child(2) {
    top: 23px
}

.navbar-toggler .navbar-toggler-row:nth-child(3) {
    top: 46px
}

.background_type4_1 .navbar-toggler .navbar-toggler-row, .background_type6 .navbar-toggler .navbar-toggler-row {
    background-color: #bc2649
}

.background_type5 .navbar-toggler .navbar-toggler-row {
    background-color: #000
}

.navbar-collapse {
    width: 404px;
    max-width: 90%;
    background: #000;
    top: calc(100% + 5px)
}

.navbar-collapse li {
    padding: 3px 27px
}

.navbar-collapse li a {
    text-transform: uppercase;
    color: #fff
}

.navbar-collapse li:hover {
    background: #bc2649
}

.steps {
    counter-reset: list1
}

.steps li {
    list-style: none;
    position: relative;
    padding-top: 32px;
    color: #fff;
    font-size: 1.5rem;
    text-transform: uppercase;
    margin-bottom: 42px
}

.steps li:before {
    counter-increment: list1;
    content: counter(list1) ". ";
    font-size: 1.5rem;
    font-weight: 700;
    color: #bc2649;
    line-height: 1;
    position: absolute;
    top: 0
}

.btn {
    border-radius: 0;
    font-size: 1rem;
    text-transform: uppercase
}

.btn-danger {
    color: #fff
}

.feedback {
    color: #fff
}

.text {
    margin-top: 100px;
    hyphens: auto;
    font-size: 1.5rem;
}

.site_form textarea {
    border: none;
    border-radius: 0;
    height: 217px;
    color: #fff
}

.site_form input:not([type=checkbox],[type=radio]), .site_form textarea, .site_form textarea:focus {
    background: rgba(255, 255, 255, .5);
    padding: 5px 10px;
    color: #fff
}

.site_form label {
    color: #fff;
    font-weight: 700
}

.site_form label.required {
    color: #bc2649
}

.site_form select {
    border-radius: 0
}

.background_type6 .site_form input:not([type=checkbox],[type=radio]), .background_type6 .site_form textarea, .background_type6 .site_form textarea:focus {
    color: #000;
    border: var(--bs-border-width) solid var(--bs-border-color)
}

.background_type6 .site_form label {
    color: #000;
    font-weight: 700
}

.background_type6 .site_form label.required {
    color: #bc2649
}

.prizes__title {
    font-size: 2.2rem;
    text-transform: uppercase;
    font-weight: bold;
}

.prizes__image {
    width: 100%;
    aspect-ratio: 12/10;
    background-color: white;
    object-fit: cover;
    border-radius: 10px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.18);
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.5);
}

@media screen and (min-width: 576px) {
    .prizes__image {
        max-width: 360px;
    }
}

.news .item {
    margin-bottom: 20px
}

.news .item a {
    text-decoration: none;
    color: #000
}

.news .item .date {
    color: #bc2649;
    font-weight: 700;
    margin-bottom: 20px
}

.news-card .item {
    margin-bottom: 45px
}

.news-card .item a {
    text-decoration: none;
    color: #000
}

.date {
    color: #bc2649;
    font-weight: 700;
    margin-bottom: 20px
}

.news-card .item .title {
    text-transform: uppercase;
    margin-bottom: 20px
}

.gallery .item {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    margin-bottom: 56px
}

.gallery .item .img {
    height: 300px;
    margin-bottom: 25px;
    overflow: hidden;
}

.gallery .item .img img {
    display: block;
    width: 100%;
    height: 100%;
    -o-object-fit: cover;
    object-fit: cover;
    -webkit-transition: 1s;
    -o-transition: 1s;
    transition: 1s
}

.gallery .item .img img:hover {
    -webkit-transform: scale(1.2);
    -ms-transform: scale(1.2);
    transform: scale(1.2)
}

.gallery .item .title {
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase
}

.gallery .item a {
    color: #000;
    text-decoration: none
}

.gallery .item .title a:hover {
    text-decoration: underline
}

.active > .page-link, .page-link.active {
    color: #fff;
    background-color: #2d3748;
    border-color: #2d3748;
    border-radius: unset;
}

.page-item:first-child .page-link {
    border-top-left-radius: unset;
    border-bottom-left-radius: unset;
}

.page-item:last-child .page-link {
    border-top-right-radius: unset;
    border-bottom-right-radius: unset;
}

.gallery .item .description {
    font-size: .8rem;
    text-transform: uppercase;
    hyphens: auto;
}

.work .work_photo .work__rating {
    font-size: 1.5rem;
    line-height: 1;
    font-weight: 700
}

.work .work_photo .work__rating-unit {
    font-size: .75rem;
    font-weight: 700
}

.work .work_data {
    font-weight: 700;
    font-size: 1rem;
    line-height: 1rem
}

.work .work_data .name {
    font-weight: 800;
    font-size: 2rem;
    letter-spacing: 0.5rem;
    line-height: normal;
}

.work .work_data .work__other-work {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    grid-gap: 1rem;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    list-style: none;
    padding: 0;
    margin: 0;
    margin-top: 1rem
}

.work .work_data .work__other-work li a {
    color: #000;
    letter-spacing: 0.5rem;
    text-decoration: none
}

.work .work_data .work__other-work li a:hover {
    text-decoration: underline
}

.rating {
    padding-bottom: 5px
}

.rating .place {
    margin-bottom: 25px
}

.rating .place .participant, .rating .place .title {
    color: #bc2649;
    text-transform: uppercase
}

.rating .place .title {
    font-size: 1rem;
    font-weight: 700
}

.rating .place .title a {
    color: #bc2649;
    text-decoration: none
}

.rating .place .title a:hover {
    text-decoration: underline
}

.rating .place .participant {
    font-size: 1rem
}

.rating .place .voices {
    font-size: .8rem;
    font-weight: 700;
    color: #000;
    text-transform: uppercase
}

.rating .place .voices .number {
    font-size: 1.6rem
}

.rating .first .voices {
    color: #bc2649
}

.rating .first .title {
    font-size: 4.8rem
}

.rating .first .participant {
    font-size: 2.4rem
}

.rating .second .title {
    font-size: 2.4rem
}

.rating .second .participant {
    font-size: 2.4rem
}

.rating .third .title {
    font-size: 1.2rem
}

.rating .third .participant {
    font-size: 1.2rem
}

.participants ul {
    list-style: none;
    padding: 0;
    margin: 0
}

.participants .letters {
    margin-bottom: 12px
}

.participants .letters li {
    display: inline
}

.participants .letters li a {
    text-transform: uppercase;
    font-size: 1rem;
    font-weight: 700;
    color: #bc2649;
    text-decoration: none
}

.participants .letters li a.active {
    color: #000;
    text-decoration: underline
}

.participants .title {
    margin-bottom: 60px
}

.participants .title .letter {
    margin-bottom: 12px;
    font-size: 2.4rem;
    font-weight: 700;
    color: #bc2649
}

.participants .title .titles li {
    text-transform: uppercase;
    font-size: 1rem;
    font-weight: 700;
    color: #bc2649
}

.participants .title:nth-child(even) .letter {
    color: #b4bcc3
}

.participants .title:nth-child(even) .titles li {
    color: #b4bcc3
}

.profile {
    color: #000;
    margin-bottom: 2rem
}

.profile-title {
    text-align: center;
}

.profile--mobile {
    display: flex;
}

.profile--desktop {
    display: none;
}

.profile--desktop .profile_photo img {
    max-width: 100%;
    max-height: 100%
}

.profile--mobile .profile_photo img {
    max-width: 200px;
    max-height: 200px;
}

.profile .profile_data {
    font-weight: 700;
    font-size: 2.5rem;
    line-height: 3rem
}

.profile .profile_data .name {
    font-size: calc(1rem + 2vw);
    hyphens: auto;
    font-weight: bold;
    line-height: normal;
    text-wrap: balance;
    letter-spacing: 0.8rem;
    hyphens: auto;
}

@media (min-width: 576px) {
    main h1 {
        font-size: 3.5rem;
        margin-bottom: 50px
    }

    .main-text .first-block, .main-text .first-block i {
        font-size: 2.5rem;
        letter-spacing: 0.5rem;
    }

    .main-text .second-block {
        font-size: 1.1rem
    }

    .steps li {
        padding-top: 56px;
        font-size: 2rem;
        margin-bottom: 64px
    }

    .steps li:before {
        font-size: 4rem;
        top: 0
    }
}

@media (min-width: 768px) {
    main h1 {
        font-size: 4rem;
        margin-bottom: 40px
    }

    .main-text .first-block, .main-text .first-block i {
        font-size: 3.5rem;
        letter-spacing: 0.75rem;
    }

    .main-text .second-block {
        font-size: 1.2rem
    }

    .profile--desktop {
        display: flex;
    }

    .profile--mobile {
        display: none;
    }

    .profile-title {
        text-align: start;
    }
}

@media (max-width: 992px) {
    .footer__links {
        flex-direction: column;
        align-items: center;
    }

    .footer__link {
        border: none;
        width: fit-content;
    }
}

@media (min-width: 992px) {
    main h1 {
        font-size: 5.5rem;
        margin-bottom: 60px
    }

    .main-text .first-block, .main-text .first-block i {
        font-size: 4.5rem;
        letter-spacing: 1rem;
    }

    .main-text .second-block {
        font-size: 1.4rem
    }

    .footer__links {
        flex-direction: row;
    }

    footer div.col + div.col {
        border-left: 9px solid #d9d9d9;
    }

    .background_type4_1 footer div.col + div.col, .background_type5 footer div.col + div.col, .background_type6 footer div.col + div.col {
        border-left-color: #000;
    }
}

@media (min-width: 1200px) {
    main h1 {
        font-size: 6.5rem;
        margin-bottom: 80px
    }

    .main-text .first-block, .main-text .first-block i {
        font-size: 4.5rem;
        letter-spacing: 1.25rem;
    }

    .main-text .second-block {
        font-size: 1.6rem
    }
}

@media (min-width: 1400px) {
    main h1 {
        font-size: 7rem;
        margin-bottom: 100px
    }

    .main-text .first-block, .main-text .first-block i {
        font-size: 5rem;
        letter-spacing: 1.25rem;
    }

    .main-text .second-block {
        font-size: 2rem
    }
}

/* Mobile-first improvements (<576px) */
@media (max-width: 575px) {
    main {
        padding: 40px 10px;
    }

    .navbar-brand .navbar-item {
        font-size: 0.9rem;
    }

    .navbar-toggler {
        width: 50px;
        height: 40px;
    }

    .navbar-toggler .navbar-toggler-row {
        height: 6px;
    }

    .navbar-toggler .navbar-toggler-row:nth-child(2) {
        top: 17px;
    }

    .navbar-toggler .navbar-toggler-row:nth-child(3) {
        top: 34px;
    }

    .subtitle, .form-title, .contact-form-title {
        font-size: 18px;
        letter-spacing: 3px;
    }

    .partners img {
        width: 100%;
        height: auto;
        aspect-ratio: 6/5;
    }

    .gallery .item .img {
        height: 220px;
    }

    .text {
        margin-top: 40px;
        font-size: 1.1rem;
    }

    footer {
        font-size: 14px;
        min-height: 60px;
        padding: 12px 0;
    }
}
