html {
    box-sizing: border-box;
}

*,
*::before,
*::after {
    box-sizing: inherit;
}

a {
    color: inherit;
    text-decoration: none;
}

.body-wraper {
    overflow: hidden;
    width: 100%;
    position: relative;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.header__container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 10px;
    padding-bottom: 10px;
}

.header__burger-btn {
    display: none;
    position: relative;
    width: 40px;
    height: 40px;
    border: none;
    outline: none;
    z-index: 2;
    cursor: pointer;
    margin-left: auto;
    margin-right: 20px;
}

.header__burger-btn span {
    display: block;
    position: absolute;
    width: 30px;
    height: 3px;
    left: 5px;
    background-color: #fff;
    transition: background-color .3s, opacity .3s, transform .5s;
    will-change: transform;
}

.header__burger-btn:hover span {
    background-color: #d3d3d3;
}

.header__burger-btn span:nth-child(1) {
    transform: translateY(-10px);
}

.header__burger-btn span:nth-child(2) {}

.header__burger-btn span:nth-child(3) {
    transform: translateY(10px);
}


/* Крестик */

.header.open .header__burger-btn span {
    background-color: white;
}

.header.open .header__burger-btn span:nth-child(1) {
    transform: translateY(0) rotate(45deg);
}

.header.open .header__burger-btn span:nth-child(2) {
    opacity: 0;
}

.header.open .header__burger-btn span:nth-child(3) {
    transform: translateY(0) rotate(-45deg);
}

.menu__list {
    display: none;
    align-items: center;
    list-style-type: none;
    padding: 0;
    margin: 0;
}

.menu__item:not(:last-child) {
    margin-right: 20px;
}

.menu__link {
    font-size: 16px;
}

.menu__list li:hover {
    background-color: rgba(20, 20, 20, 0.616);
}

.menu__list li {
    transition: 0.3s;
}

@media (max-width: 1162px) {
    .header {
        display: none;
    }
    .header__burger-btn {
        display: block;
        z-index: 5;
    }
    .menu-mobile {
        position: absolute;
        right: 0;
        top: -430px;
        width: 350px;
        padding: 75px 20px 20px 20px;
        background-color: rgba(20, 20, 20, 0.5);
        visibility: hidden;
        transition: 0.4s;
    }
    .open {
        visibility: visible;
        top: 0px;
        display: block;
        position: fixed;
        z-index: 4;
    }
    .menu__list {
        display: block;
    }
    .menu__item:not(:last-child) {
        margin-right: 0;
    }
    .menu__link {
        color: white;
        font-size: 21px;
        display: block;
        padding: 10px;
    }
    .header.open .menu {
        transform: translateX(-100%);
        visibility: visible;
    }
}

@media (max-width: 882px) {
    .character { display: none; }
    .columnchar { display: none; }
    .modal-content { width: 80%; }
}

@media (max-width: 852px) {
    .ordernews { order: 2; }
    .main { justify-content: center; }
}

@media (max-width: 550px) {
    .column img { width: 300px; }
    .column #news { margin-left: 0px; }
    #desc { width: 100%; }
    #textblock { width: 90%; margin-left: auto; margin-right: auto; }
    .character { margin-right: 0px; }
}