header {
    background-color: #530089;
    width: 100%;
    padding: 15px 0;
    height: 69px;
}

header .wrapper {
    max-width: 1360px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
        -ms-flex-pack: justify;
            justify-content: space-between;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    position: relative;
}

.header-search {
    position: relative;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
}

.header-search__field {
    width: 221px;
    height: 30px;
    border: none;
    outline: none;
    color: #ffffff;
    border-radius: 20px;
    background-color: #9613EA;
    padding: 5px 31px 5px 15px;
}

.header-search__submit {
    position: absolute;
    right: 9px;
    cursor: pointer;
    top: 6px;
}

.header-search__submit input {
    display: none;
}

.navigation-menu {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    color: #ffffff;
    font-weight: 900;
    font-size: 14px;
    text-transform: uppercase;
    list-style: none;
}

.navigation-menu li {
    margin: 0 25px;
}

.navigation-menu li a {
    font-family: 'Roboto', sans-serif;
}

.navigation-menu a:hover {
    color: #FF8AEC;
}

.active-link {
    color: #FF8AEC;
}

.burger-menu {
    display: none;
}

.burger-menu input {
    display: none;
}

.burger {
    width: 21px;
    height: 20px;
    position: relative;
    z-index: 2;
    cursor: pointer;
}

.burger__navigation-menu {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    position: fixed;
    padding-top: 110px;
    -webkit-transform: translateX(100%);
        -ms-transform: translateX(100%);
            transform: translateX(100%);
    overflow: scroll;
    height: calc(100% - 69px);
    top: 69px;
    right: 0;
    width: 100%;
    -webkit-transition: -webkit-transform .4s ease-in-out;
    transition: -webkit-transform .4s ease-in-out;
    -o-transition: transform .4s ease-in-out;
    transition: transform .4s ease-in-out;
    transition: transform .4s ease-in-out, -webkit-transform .4s ease-in-out;
    background: url('../img/burger-menu-bg.svg') #9613EA;
    background-size: cover;
    background-repeat: no-repeat;
    color: #ffffff;
    font-size: 24px;
    font-weight: bold;
    text-transform: uppercase;
    z-index: 10;
}

.burger__navigation-menu li {
    text-align: center;
    padding: 15px 0;
}

.burger__navigation-menu .active-link {
    color: #4D5F80;
}

.burger span {
    position: absolute;
    width: 21px;
    height: 4px;
    left: 0;
    border-radius: 2px;
    background-color: #ffffff;
    -webkit-transition: all 0.4s ease-in-out, -webkit-transform 0.4s ease-in-out 0.4s;
    transition: all 0.4s ease-in-out, -webkit-transform 0.4s ease-in-out 0.4s;
    -o-transition: all 0.4s ease-in-out, transform 0.4s ease-in-out 0.4s;
    transition: all 0.4s ease-in-out, transform 0.4s ease-in-out 0.4s;
    transition: all 0.4s ease-in-out, transform 0.4s ease-in-out 0.4s, -webkit-transform 0.4s ease-in-out 0.4s;
}

.burger span:first-child {
    top: 0;
}

.burger span:nth-child(2), .burger span:nth-child(3), .burger span:nth-child(4) {
    top: 8px;
}

.burger span:nth-child(2) {
    width: 1px;
    -webkit-transform: rotate(90deg);
        -ms-transform: rotate(90deg);
            transform: rotate(90deg);
    left: 8px;
}
.burger span:nth-child(3) {
    width: 1px;
    left: 8px;
}

.burger span:last-child {
    bottom: 0;
}

.burger-menu input:checked ~ .burger span:first-child {
    top: 8px;
    background-color: transparent;
}
.burger-menu input:checked ~ .burger span:nth-child(2) {
    left: 0px;
    width: 21px;
    -webkit-transform: rotate(45deg);
        -ms-transform: rotate(45deg);
            transform: rotate(45deg);
}
.burger-menu input:checked ~ .burger span:nth-child(3) {
    left: 0;
    width: 21px;
    -webkit-transform: rotate(-45deg);
        -ms-transform: rotate(-45deg);
            transform: rotate(-45deg);
}
.burger-menu input:checked ~ .burger span:nth-child(4) {
    background-color: transparent;
}
.burger-menu input:checked ~ .burger span:last-child {
    bottom: 8px;
    background-color: transparent; 
}

.burger-menu input:checked ~ .burger__navigation-menu {
    -webkit-transform: translate(0);
        -ms-transform: translate(0);
            transform: translate(0);
}

#header-search__toggle {
    display: none;
}

label[for='header-search__toggle'] {
    display: none;
    margin-left: auto;
    margin-right: 15px;
    cursor: pointer;
}

@media(max-width: 1100px) {
    .navigation-menu {
        display: none;
    }

    .burger-menu {
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
    }
}

@media(max-width: 1250px) {
    .navigation-menu li {
        margin: 0 15px;
    }
}


@media(max-width: 560px) {
    label[for='header-search__toggle'] {
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
    }

    .header-search {
        display: none;
        width: 100%;
    }

    .header-search__field {
        width: 100%;
    }

    #header-search__toggle:checked ~ label[for='header-search__toggle'] {
        display: none;
    }

    #header-search__toggle:checked ~ .header-search {
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        position: absolute;
        right: 45px;
        padding-left: 55px;
    }    
}