.header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 36px 32px 41px 32px;
    max-width: 1320px;
    margin: 0 auto;
}

.logo {
    display: flex;
    align-items: center;
}

.logo-title {
    font-weight: 700;
    font-size: 19px;
    line-height: 23px;
    color: #242424;
    margin: 0;
    margin-left: 8px;
}

.link {
    font-size: 19px;
    line-height: 23px;
    font-style: normal;
    font-weight: 400;
    font-size: 19px;
    line-height: 23px;
    text-decoration: none;
/* identical to box height */


    color: #999999;
}

.last-link {
    font-size: 19px;
    line-height: 23px;
    font-style: normal;
    font-weight: 400;
    font-size: 19px;
    line-height: 23px;
    text-decoration: none;
    margin-left: 42px;


    color: #999999;
}

.first-link {
    font-size: 19px;
    line-height: 23px;
    color: #242424;
    text-decoration: none;
}

.button {
    width: 172px;
    height: 48px;
    background: #0052CE;
    border-radius: 8px;
    border: none;
    font-weight: 600;
    font-size: 19px;
    line-height: 23px;
    color: #FFFFFF; 
    cursor: pointer;
    margin-right: 54px;
}

.links {
    margin-left: 110px;
}

.language {
    font-weight: 400;
    font-size: 16px;
    line-height: 19px;
    cursor: pointer;
   
    margin-right: 23px;

    color: #999999;
}

.language-active {
    text-decoration-line: underline;
}

.eng-language {
    cursor: pointer;
    font-style: normal;
    font-weight: 400;
    font-size: 16px;
    line-height: 19px;

    color: #999999; 
}

.menu-btn {
	width: 30px;
	height: 30px;
	position: relative;
	z-index:1;
	overflow: hidden;
    cursor: pointer;
    display: none;
}

.menu-btn .bar {
	width: 30px;
	height: 4px;
	position: absolute;
	top: 50%;
	left: 50%;
  border-radius: 4px;
	transform: translate(-50%, -50%);
	background-color: black;
	transition: all 0.3s ease-in-out;
}

.menu-btn .bar:nth-of-type(2) {
	top: calc(50% - 9px);
}
.menu-btn .bar:nth-of-type(3) {
	top: calc(50% + 9px);
}

.menu-btn.active .bar:nth-of-type(1) {
  display: none;
}
.menu-btn.active .bar:nth-of-type(2) {
  top: 50%;
  transform: translate(-50%, 0%) rotate(45deg);  
}
.menu-btn.active .bar:nth-of-type(3) {
  top: 50%;
  transform: translate(-50%, 0%) rotate(-45deg); 
}

body {
    position: relative;
}

body.active-body::after{
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%; 
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1;
}


@media (max-width : 1200px) {
    .button {
        display: none;
    }

    .menu-btn {
        display: block;
        margin-left: 28px;
    }

    .links {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        padding: 53px 24px;
        background: white;
        transform: translateX(100%);
        transition: transform 0.5s;
        z-index: 2;
    }

    .links.active {
        transform: translateX(48%);
        display: flex;
        flex-direction: column;
    }

    .first-link {
        font-style: normal;
        font-weight: 700;
        font-size: 16px;
        line-height: 25px;
        padding-top: 16px;
        padding-bottom: 16px;
        padding-left: 8px;
        border-top: 2px solid #F2F4F7;
        border-bottom: 2px solid #F2F4F7;
        max-width: 380px;
    }

    .link {
        font-style: normal;
        font-weight: 700;
        font-size: 16px;
        line-height: 25px;
        padding-top: 16px;
        padding-bottom: 16px;
        padding-left: 8px;
        border-bottom: 2px solid #F2F4F7;
        max-width: 380px;
        margin-left: 0px;
    }

    .buttons-wrapper {
        width: 70%;
        justify-content: end;
        display: flex;
    }
}


@media (max-width : 768px) {
    .buttons-wrapper {
        width: 40%;
    }
    .links.active {
        transform: translateX(24%);
    }
}

@media (max-width : 515px) {
    .buttons-wrapper {
        width: 40%;
    }
    .links.active {
        transform: translateX(0%);
    }
}

@media (max-width : 375px) {
   .logo-title {
    font-size: 15px;
   }
}

@media (max-width : 350px) {
    .logo-title {
     font-size: 13px;
    }

    .header {
        padding: 36px 15px 41px 15px;
    }
 }