a {
    color: #fff;
}

a:focus {
    color: inherit;
}

a:hover {
    color: inherit;
}

.color-normal {
    color: #fff;
}

.color-black {
    color: #000;
}

.color-gray {
    color: #AFB9C4;
}

.color-white {
    color: #ffffff;
}

.color-orange {
    color: #E9A361;
}

.color-yellow {
    color: #FFCC00;
}

.color-yellow2 {
    color: #FFDC62;
}

.color-red {
    color: #CA271A;
}

.fancybox-skin {
    position: relative;
    background: #232835;
    color: #fff;
    border-radius: 0px;
}

.popup-form {
    padding: 20px;
    background: rgba(0, 0, 0, 0.8);
}

.popup-form.popup-wide {
    width: 1030px;
}

.popup-form .header {
    font-size: 28px;
    margin-bottom: 30px;
}

.fancybox-close {
    top: 10px;
    right: 10px;
    width: 13px;
    height: 13px;
    background-image: url(../site_img/close.svg);
}

a.btn-yellow {
    height: 60px;
    line-height: 60px;
    padding: 0 40px;
    outline: 0;
    border: 0;
    border-radius: 0;
    color: #000;
    background: #FFCC00;
    font-size: 22px;
}

.modal-backdrop.show {
    opacity: 0.6;
}

a.btn-yellow.disabled {
    background: #637388;
    color: #AFB9C4;
}

a.btn-yellow:hover {
    color: #384252;
    background: #ffdd55;
}

.close-btn {
    position: absolute;
    top: 10px;
    right: 10px;
}

.popup-block {
    width: 800px;
    background: #000000d0;
    padding: 40px 25px;
}

.modal-content {
    background: transparent;
}

body {
    font-family: "Exo 2", sans-serif;
    font-optical-sizing: auto;
    font-style: normal;
    color: #fff;
    background: #202630;
    font-weight: 600;
    font-size: 18px;
}

.tt-square {
    font-family: 'TT Squares';
}

.fw-900 {
    font-weight: 900;
}

.bg1 {
    flex-direction: column;
    background: url(../site_img/bg1.jpg) no-repeat top center;
    padding: 100px 0 50px 0;
    background-size: 100% auto;
    min-height: 100vh;
}

.bg1 h1 {
    font-size: 64px;
    line-height: 1;
    margin-bottom: 25px;
}

.bg1 h2 {
    line-height: 1;
    font-size: 15px;
    margin-bottom: 125px;
}

.bg1 h3 {
    line-height: 1;
    font-size: 25px;
    margin-bottom: 25px;
}

.rating-container {
    background: #090A1380;
    padding: 25px;
    margin-bottom: 100px;
    font-family: 'TT Squares';
    font-weight: 700;
    font-size: 28px;
    line-height: 1;
    text-transform: uppercase;
}

.line {
    display: flex;
    margin-bottom: 10px;
    padding: 10px 0;
}

.line:last-child {
    margin-bottom: 0px;
}

.line-top.line {
    font-family: "Exo 2", sans-serif;
    background: #384252;
    font-weight: 600;
    font-size: 18px;
    line-height: 55px;
    text-transform: none;
    padding: 0;
}

.line-place {
    padding: 0 10px;
    width: 125px;
    color: #FFF4AC;
}

.line-count {
    width: 175px;
    padding-right: 10px;
    text-align: right;
}

.line-nickname {
    flex: 1;
    width: 100%;
}

.line-you {
    padding: 0 10px;
}

.line.active {
    background: linear-gradient(90deg, #FFCC00 0%, rgba(255, 204, 0, 0) 100%);
}

.line.active .line-place {
    color: #1F2630;
}

.rating-info {
    padding: 25px;
    font-size: 18px;
    font-weight: 600;
    background: #090A1380;
    margin-bottom: 100px;
}

.rating-login {
    padding: 25px;
    font-size: 18px;
    font-weight: 600;
    background: #090A1380;
    margin-bottom: 100px;
}

.rating-login__h1 {
    font-size: 28px;
    line-height: 1;
    margin-bottom: 25px;
}

.rating-login__h2 {
    line-height: 1;
    margin-bottom: 25px;
}

.rating-login a.btn-yellow {
    height: 90px;
    line-height: 90px;
    font-size: 36px;
}

.rating-clock {
    max-width: 540px;
    margin: 0 auto;
}

.rating-clock__h1 {
    margin-bottom: 25px;
}

.clock-block {
    font-size: 62px;
    gap: 2px;
    line-height: 1;
    text-align: center;
    justify-content: center;
    color: #FFCC00;
    margin-bottom: 25px;
}

.clock-block .digit-block {
    background: #1F2630;
    width: 60px;
    height: 89px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.clock-block .delimiter-block {
    width: 39px;
    line-height: 80px;
    height: 60px;
}

.like-h2 {
    margin: 0 auto 25px auto;
    line-height: 1.2;
    font-size: 15px;
    max-width: 705px;
}

.rating-prizes {
    margin: 100px 0;
    background: #090A1380;
    padding: 30px 25px;
}

.rating-prizes__h1 {
    font-size: 40px;
    margin-bottom: 5px;
    line-height: 1.4;
}

.rating-prizes__h2 {
    margin-bottom: 30px;
}

.rating-prizes__line {
    margin: 0 auto 15px auto;
    max-width: 700px;
    align-items: center;
    height: 38px;
}

.rating-prizes__line__places {
    width: 50%;
    font-size: 32px;
    height: 38px;
    border-right: 1px solid #FFCC00;
    line-height: 38px;
}

.rating-prizes__line__prizes {
    padding-left: 15px;
    width: 50%;
    text-align: right;
    font-weight: 600;
}

a.rules-div {
    background: #181B21CC;
    backdrop-filter: blur(10.666666984558105px);
    border: 2px solid #637388;
    border-radius: 9px 0 0 9px;
    padding: 17px;
    text-decoration: none;
    position: fixed;
    top: 300px;
    right: 0;
    display: flex;
    align-items: center;
    color: #fff;
    gap: 7px;
    line-height: 1;
    font-size: 19px;
    z-index: 100;
}

#rules-div .modal-dialog {
    max-width: 980px;
}

#rules-div .popup-block {
    width: 100%;
    background: #181B21CC;
    padding: 30px 40px;
    border: 2px solid #637388;
    border-radius: 13px;
}

#rules-div a.btn-yellow {
    width: 100%;
    font-size: 28px;
    max-width: 400px;
}

#rules-div h4 {
    font-size: 48px;
    margin-bottom: 15px;
    line-height: 1;
}

#rules-div .popup-info {
    margin: 0 auto 45px auto;
    max-width: 600px;
}

.rules-div__line {
    margin-bottom: 25px;
    align-items: center;
}

.rules-div__line__places {
    font-size: 36px;
    line-height: 1;
    width: 73px;
}

.rules-div__line__info {
    width: 100%;
    flex: 1;
    padding-left: 15px;
    display: flex;
    min-height: 62px;
    align-items: center;
    position: relative;
}

.rules-div__line__info:before {
    content: '';
    background: #FFCC00;
    left: 0;
    height: calc(100% - 24px);
    top: 12px;
    width: 1px;
    position: absolute;
}

@media (max-width: 1440px) {
    .bg1 {
        background-size: auto;
    }
}

@media (max-width: 992px) {
    .bg1 {
        padding: 50px 0 30px 0;
    }

    .bg1 h1 {
        font-size: 50px;
        margin-bottom: 20px;
    }

    .bg1 h2 {
        margin-bottom: 60px;
    }

    .bg1 h3 {
        font-size: 22px;
        margin-bottom: 20px;
    }

    .rating-container {
        padding: 20px;
        margin-bottom: 50px;
        font-size: 20px;
    }

    .rating-info {
        padding: 20px;
        margin-bottom: 50px;
    }

    .rating-login__h1 {
        font-size: 22px;
        margin-bottom: 20px;
    }

    .rating-login a.btn-yellow {
        height: 60px;
        line-height: 60px;
        font-size: 24px;
    }

    .rating-login {
        padding: 20px;
        margin-bottom: 50px;
    }
}

@media (max-width: 768px) {
    body {
        font-size: 13px;
    }

    .bg1 {
        padding: 20px 0;
    }

    .bg1 h1 {
        font-size: 30px;
        margin-bottom: 10px;
    }

    .bg1 h2 {
        margin-bottom: 30px;
        font-size: 13px;
    }

    .bg1 h3 {
        font-size: 18px;
        margin-bottom: 10px;
    }

    .rating-container {
        padding: 10px;
        margin-bottom: 20px;
        font-size: 14px;
        font-family: "Exo 2", sans-serif;
        font-weight: 400;
        text-transform: none;
    }

    .rating-info {
        padding: 10px;
        margin-bottom: 20px;
        font-size: 14px;
    }

    .rating-login__h1 {
        font-size: 16px;
        margin-bottom: 10px;
        line-height: 1.2;
    }

    .rating-login a.btn-yellow {
        height: 45px;
        line-height: 45px;
        font-size: 20px;
    }

    .rating-login {
        padding: 10px;
        margin-bottom: 20px;
    }

    .line-top.line {
        font-weight: 400;
        font-size: 14px;
        line-height: 1.2;
        padding: 5px 0;
    }

    .line-place {
        padding: 0 4px;
        width: 65px;
    }

    .line-count {
        width: 50px;
        padding-right: 4px;
    }

    .line {
        display: flex;
        margin-bottom: 5px;
        padding: 5px 0;
    }

    .rating-login__h2 {
        line-height: 1.1;
        margin-bottom: 15px;
        font-size: 13px;
    }

    .clock-block {
        font-size: 40px;
        margin-bottom: 20px;
    }

    .clock-block .digit-block {
        width: 40px;
        height: 60px;
    }

    .clock-block .delimiter-block {
        width: 15px;
        line-height: 53px;
        height: 60px;
    }

    a.rules-div {
        top: auto;
        bottom: 10px;
    }

    a.rules-div {
        padding: 7px;
        font-size: 14px;
    }

    .like-h2 {
        margin: 0 auto 10px auto;
        font-size: 14px;
    }

    .rating-prizes {
        margin: 30px 0;
        padding: 15px;
    }

    .rating-prizes__h1 {
        font-size: 18px;
    }

    .rating-prizes__line {
        margin: 0 auto 10px auto;
        height: auto;
        flex-wrap: wrap;
        border-bottom: 1px solid #FFCC00;
    }

    .rating-prizes__line__places {
        width: 100%;
        font-size: 24px;
        text-align: center;
        height: auto;
        border-right: none;
        line-height: normal;
        padding-bottom: 5px;
    }

    .rating-prizes__h2 {
        margin-bottom: 10px;
    }

    .rating-prizes__line__prizes {
        padding-left: 0;
        width: 100%;
        text-align: center;
        padding-bottom: 10px;
        font-weight: 600;
    }

    #rules-div .popup-block {
        padding: 10px;
    }

    #rules-div h4 {
        font-size: 28px;
        margin-bottom: 7px;
    }

    #rules-div .popup-info {
        margin-bottom: 10px;
    }

    .rules-div__line__info {
        padding-left: 10px;
    }

    .rules-div__line__places {
        font-size: 20px;
        width: 36px;
    }

    .rules-div__line {
        margin-bottom: 10px;
    }

    #rules-div a.btn-yellow {
        font-size: 22px;
        height: 48px;
        line-height: 48px;
    }
}
