.burger {
width: 40px;
height: 40px;
display: none;
justify-content: center;
align-items: center;
position: relative;
cursor: pointer;
display: none;
}

.burger span {
height: 2px;
width: 30px;
position: relative;
display: block;
background-color: #fff;
}

.burger.active span {
height: 0;
}

.burger span::before {
content: "";
width: 100%;
height: 2px;
transition: 0.3s;
background-color: #fff;
top: -10px;
left: 0;
position: absolute;
}

.burger.active span::before {
top: 0;
transform: rotate(45deg);
}

.burger span::after {
content: "";
width: 100%;
height: 2px;
transition: 0.3s;
background-color: #fff;
top: 10px;
left: 0;
position: absolute;
}

.burger.active span::after {
top: 0;
transform: rotate(-45deg);
}

.header__navigation .menu {
display: flex;
justify-content: space-between;
list-style: none;
}

.header__navigation .menu li {
padding: 20px 0;
font-size: 12px;
}

.header__navigation .menu > li + li {
margin-left: 10px;
}

.header__navigation .menu li > a {
color: #fff;
text-decoration: none;
}

.header__navigation .menu li > a:hover {
text-decoration: underline;
}

.header__navigation .menu li > span {
color: #fff;
}

.header__navigation .menu .sub-menu {
position: relative;
}

.header__navigation .menu .sub-menu ul {
position: absolute;
display: none;
left: -30px;
top: 56px;
background-color: #3e5874;
border: 1px solid #fff;
color: #fff;
padding: 0 30px;
flex-direction: column;
align-items: start;
list-style: none;
white-space: nowrap;
}

.header__navigation .menu .sub-menu ul > li {
border-bottom: 1px solid #fff;
}

.header__navigation .menu .sub-menu ul > li:last-child {
border-bottom: none;
}

@media screen and (max-width: 768px) {
.burger {
display: flex;
z-index: 99999;
}
}

@media screen and (max-width: 768px) {
.header__navigation {
position: fixed;
right: 0;
top: 0;
bottom: 0;
z-index: 999;
padding-top: 100px;
background-color: #3e5874;
width: 220px;
transition: 0.3s;
transform: translateX(220px);
}
}

@media screen and (max-width: 768px) {
.header__navigation.active {
transform: translateX(0);
}
}

@media screen and (max-width: 768px) {
.header__navigation .menu {
flex-direction: column;
align-items: center;
max-height: 85vh;
overflow: auto;
}
}

@media screen and (max-width: 768px) {
.header__navigation .menu > li + li {
margin-left: 0;
}
}

@media screen and (max-width: 768px) {
.header__navigation .menu .sub-menu {
display: flex;
flex-direction: column;
align-items: center;
}
}

@media screen and (max-width: 768px) {
.header__navigation .menu .sub-menu ul {
padding: 0;
border: none;
position: relative;
left: 0;
top: 0;
}
}
