
.header{
    flex-direction: row;
    justify-content: center;
    width: 100%;
    padding: 30px 0;
    background-color: #380a4d;
}
.header-container{
    display: flex;
    flex-direction: row;
    justify-content: flex-end;
    position: relative;
}

/* logo */
.header_logo{
    position: absolute;
    top: -15px;
    left: 0;
    width:60px;
    height: auto;
}
.header_logo a>img{
    max-width: 100%;
}

.header .header-list_item a{
    color: #ffffff;
}
.header-list{
    display: flex;
    flex-direction: row;
}
.header-list_item{
    padding: 4px 17px 0 17px;
    cursor: pointer;

}
.header-list_item a,
.header-list_item span,
.services-item a{
    display: block;
    color: #ffffff;
    text-transform: uppercase;
    text-decoration: none;
    padding-bottom: 8px;
    cursor: pointer;
    transition: border-bottom .3s ease-out;
    position: relative;
    overflow: hidden;
    white-space: nowrap;
    font-size: .92rem;
}
.header-list_item a::after,
.services-item a::after{
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: #ffffff;
  transform: translateX(-101%);
  transition: all .5s ease-out;
}
.services-item a::after{
    height: 1px;
}
.header-list_item.inside span{
    padding-right: 14px;
}
.header-list_item.inside span::after{
    content: "";
    position: absolute;
    top: 2px;
    right: 1px;
    width: 6px;
    height: 6px;
    border-bottom: 1px solid #ffffff;
    border-right: 1px solid #ffffff;
    transform: rotate(45deg);
}
.header-list_item.inside{
    position: relative;
}
.services{
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    position: absolute;
    left: 0;
    padding: 15px 15px 10px 15px;
    background-color: #380a4d;
    transition: all .3s ease-out;
    top: 18px;
    opacity: 0;
    z-index: -1;
}
.services-item{
    display: inline-block;
}
.services-item .services_link{
    padding-top: 9px;
    padding-bottom: 3px;
}
.header-list_item.choosed>a::after{
    transform: translateX(0);
}
/* hamburger menu */
.hamburger {
  display: inline-block;
  cursor: pointer;
  transition-property: opacity, filter;
  transition-duration: 0.15s;
  transition-timing-function: linear;
  background-color: rgba(255,255,255,0);
  border: 0;
  margin: 0;
  overflow: visible;
  position: absolute;
  right: 20px;
  top: 0px;
  opacity: 0;
}
.hamburger-box {
  width: 23px;
  height: 17px;
  display: inline-block;
  position: relative;
}
.hamburger-inner {
  display: block;
  top: 50%;
  margin-top: -2px;
}
.hamburger-inner,
.hamburger-inner::before,
.hamburger-inner::after {
    width: 23px;
    height: 3px;
    background-color: #ffffff;
    border-radius: 4px;
    position: absolute;
    transition-property: transform;
    transition-duration: 0.3s;
    transition-timing-function: ease;
}
.hamburger-inner::before,
.hamburger-inner::after {
  content: "";
  display: block;
}
.hamburger-inner::before {
  top: -10px;
}
.hamburger-inner::after {
  bottom: -10px;
}
.hamburger:focus{
  outline: none;
  background-color: rgba(255,255,255,0);
}
.hamburger--slider .hamburger-inner {
  top: 2px;
}
.hamburger--slider .hamburger-inner::before {
  top: 10px;
  transition-property: transform, opacity;
  transition-timing-function: ease;
  transition-duration: 0.3s;
}
.hamburger--slider .hamburger-inner::after {
  top: 20px;
}
.hamburger--slider.is-active .hamburger-inner {
  transform: translate3d(0, 10px, 0) rotate(45deg);
}
.hamburger--slider.is-active .hamburger-inner::before {
  transform: rotate(-45deg) translate3d(-5.71429px, -6px, 0);
  opacity: 0;
}
.hamburger--slider.is-active .hamburger-inner::after {
  transform: translate3d(0, -20px, 0) rotate(-90deg);
}


/* footer */
.footer{
    flex-direction: row;
    align-items: flex-start;
    justify-content: center;
    padding: 30px 0 0 0;
    width: 100%;
    background-color: #380a4d;
}
.footer_logo{
    width:140px;
    height: auto;
}
.footer_logo>a{
    display: inline-block;
    margin-bottom: 15px;
    width: 80px;
    height: 64px;
}
.footer_logo a>img{
    max-width: 100%;
}
.footer-info{
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
    padding-bottom: 20px;
}
.footer_name{
    font-size: 18px;
    padding-bottom: 10px;
}
.footer-contacts_item{
    display: block;
}
.footer_item{
    padding: 4px 0;
    transition: all 0.3s;
}
.footer p,
.footer a,
.footer h4{
    font-size: 16px;
    color: #ffffff;
}
.footer-social_item{
    position: relative;
    /* padding-left: 30px; */
}


.copyright{
    padding-top: 5px;
    width: 100%;
    text-align: center;
    font-size: 12px;
}



/*hover*/
@media screen and (min-width: 835px) {
    .header-list_item:hover>a::after,
    .services-item:hover a::after{
        transform: translateX(0);
    }
    .header-list_item.inside:hover .services{
        /* top: 18px; */
        opacity: 1;
        z-index: 0;
    }
    .footer_item:hover,
    .footer_item:hover a{
        color: #8b8b8b;
    }
}

/* адаптирование под экраны */
@media screen and (max-width: 700px) {
    .hamburger{
        display: inline-block;
        opacity: 1;
    }
    .header-container.container-inside{
        width: 100%;
        max-width: 100%;
        height: 30px;
        padding: 0 30px;
    }
    .header-nav{
        display: none;
        width: auto;
        padding: 20px;
        position: absolute;
        background-color: #380a4d;
        top: 32px;
        right: -100%;
        transition-property: right;
        transition-timing-function: ease-out;
        transition-duration: .6s;
    }
    .header-list{
        flex-direction: column;
        align-items: flex-start;
        justify-content: flex-start;
    }
    .header-nav.open{
        display: block;
        right: 0px;
        z-index: 2;
    }
    .services{
        position: static;
        opacity: 1;
        padding: 0 0 13px 10px;
    }
    .services_link{
        padding-top: 4px;
    }
}
@media screen and (max-width: 600px) {
    .footer-info{
        display: block;
    }
    .footer_logo{
        width: 100%;
        margin-bottom: 20px;
    }
    footer .footer_name{
        font-size: 25px;
        margin: 15px 0 0 0;
        padding: 0;
        font-family: 'Regular', sans-serif;
    }
      .footer-contacts{
        padding-bottom: 20px;
    }
    .footer-social{
        border-top: 1px solid #ffffff;
    }
}
