html {
    overflow: hidden auto;
}
body {
    background: #d7d7d7;
    overflow: auto;
    &::-webkit-scrollbar {
        display: none;
    }
}
h1 {
    display: none;
}
header {
    &.hide {
        opacity: 0;
    }
    .logo, .burger {
        filter: invert(1);                
    } 
}
main {
    display: flex;
    align-items: center;
    justify-content: center;
}
footer {
    background-color: #fff;
    * {
        color: #262626;
    }
}
.jobs {
    position: relative;
}
.promo {
    width: 100%;
    margin: 0 auto;
    overflow: auto;
    height: 100%;
    &::-webkit-scrollbar {
        display: none;
    }
    .jobs {
        max-width: 1252px;
        padding: 200px 30px 216px;
        width: calc(100% - 188px);
        margin: 0 auto;
        display: flex;
        flex-direction: column;
        .item {
            max-width: 792px;
            margin-bottom: 120px;
            &:last-of-type {
                margin-bottom: 20px;
            }
            .title {
                color: #262626;
                font-size: 32px;
                line-height: 1.5;
                text-transform: uppercase;
            }
            h3 {
                color: #262626;
                font-size: 16px;
                line-height: 1.5;
                letter-spacing: 0.32px;
                text-transform: uppercase;
                margin: 40px 0 24px;
            }
            ul {
                display: flex;
                flex-direction: column;
                gap: 15px;
                li {
                    color: #7a7a7a;
                    font-size: 16px;
                    line-height: 1.5;
                    letter-spacing: 0.32px;
                    text-transform: uppercase;
                }
            }
            .button-box {
                position: relative;
                margin-top: 40px;
                width: fit-content;
                button {
                    display: flex;
                    gap: 8px;
                    line-height: 1.5;
                    &::after {
                        content: '\e901';
                        font-family: icon;
                        line-height: 1;
                        font-weight: 100;
                        color: inherit;
                        font-size: 16px;
                        margin-top: 1px;
                    }
                    &.active + .chip {
                        animation: chip-animation 2s;
                    }
                }
                .chip {
                    position: absolute;
                    left: 50%;
                    top: 50%;
                    transform: translate(-50%, -50%);
                    padding: 9px 12px 7px;
                    background: #7a7a7a;
                    display: flex;
                    align-items: center;
                    gap: 6px;
                    width: fit-content;
                    white-space: nowrap;
                    color: #f5f5f5;
                    font-size: 12px;
                    line-height: 1;
                    letter-spacing: 0.32px;
                    text-transform: uppercase;
                    pointer-events: none;
                    opacity: 0;
                    &::before {
                        content: '\e900';
                        font-family: icon;
                        line-height: 1;
                        font-weight: 100;
                        color: inherit;
                        font-size: 16px;
                    }
                }
            }
        }
    }
}
@media (max-width:1439px) {
    .promo {
        .jobs {
            width: calc(100% - 140px);
            padding: 200px 30px 0;
            .item {
                max-width: 748px;
                margin-bottom: 96px;
                &:last-of-type {
                    margin-bottom: 90px;
                }
            }
        }
    }
}
@media (max-width:1199px) {
    .promo .jobs {
        padding: 200px 12px 0;
    }
    .promo .jobs .item {
        margin-bottom: 80px;
        &:last-of-type {
        margin-bottom: 76px;
        }
    }
}
@media (max-width:1023px) {
    .promo {
        .jobs {
            width: calc(100% - 64px);
            padding-top: 160px;
            padding-bottom: 72px;
            padding: 160px 20px 0;
            .item {
                max-width: 552px;
            }
        }
    }
}
@media (max-width:767px) {
    .promo {
        .jobs {
            gap: 30px;
            width: calc(100% - 56px);
            padding: 120px 0 53px;
            .item {
                max-width: 388px;
                margin-bottom: 60px;
                &:last-of-type {
                    margin-bottom: 60px;
                }
                .title {
                    font-size: 24px;
                }
                h3 {
                    font-size: 14px;
                    letter-spacing: 0.28px;
                    margin: 24px 0 12px;
                    line-height: 1.43;
                }
                ul {
                    padding-left: 20px;
                    gap: 12px;
                    li {
                        font-size: 14px;
                        letter-spacing: 0.28px;
                        text-transform: none;
                        line-height: 1.43;
                        font-weight: 400;
                    }
                }
                .button-box {
                    margin-top: 24px;
                }
            }
        }
    }
    header.small {
        padding-top: 32px;
        .logo {
            max-width: 80px;
        }
    }
}
@media (max-width:479px) {
    .promo {
        .jobs  { 
            width: calc(100% - 32px);
            .item {
                margin-bottom: 26px;
                &:last-child {
                    margin-bottom: 56px;
                }
                .button-box { 
                    width: 100%;
                    button {
                        width: 100%;
                        justify-content: center;
                    }
                }
            }
        }
    }
}