*, *:after, *:before {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

@font-face {
    font-family: 'Raleway'; /* Название для использования */
    src: url('../fonts/Jost-SemiBold.ttf') format('truetype'); /* Путь к файлу */
    font-weight: 700;
    font-style: normal;
}

@font-face {
    font-family: 'Raleway'; /* Название для использования */
    src: url('../fonts/Jost-Medium.ttf') format('truetype'); /* Путь к файлу */
    font-weight: 500;
    font-style: normal;
}

@font-face {
    font-family: 'Raleway'; /* Название для использования */
    src: url('../fonts/Jost-Regular.ttf') format('truetype'); /* Путь к файлу */
    font-weight: 400;
    font-style: normal;
}

:root {
    --main-color: #c998f8;
    --main-back-color: #f5e9ff;
    --text-color: #33353b;
    --secondary: #5C6466;
    --third: #1E2833;
}

html, body {
    font-family: 'Raleway', sans-serif;
    margin: 0;
    padding: 0;
    background-color: var(--main-back-color);
}

ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

a, a:link, a:visited  {
    text-decoration: none;
}

img, svg {
	max-width: 100%;
	height: auto;
}

.container {
    width: 86%;
    margin: 0 auto;
    max-width: 1400px;
    min-width: 320px;
    padding-left: 50px;
    padding-right: 50px;
}

.main {
    margin-left: 250px;
}

.main-title {
    font-weight: 500;
    font-size: 36px;
    margin-bottom: 20px;
    color: var(--text-color);
}

.main-descr {
    font-weight: 400;
    font-size: 16px;
    letter-spacing: 0.2px;
    color: var(--text-color);
}

.header {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: fixed;
    top: 10px;
    bottom: 10px;
    left: 0;
    max-width: 250px;
    background-color: #fff;
    padding: 50px 30px;
    border-radius: 25px;
    box-shadow: rgba(0, 0, 0, 0.2) 2px 2px 12px;
    overflow-x: auto;
}

.logo {
    display: inline-block;
    margin-bottom: 48px;
}

.nav-list {
    display: flex;
    flex-direction: column;
    margin-bottom: 48px;
}

.nav-list__item {
    margin-bottom: 10px;
}

.nav-list__link {
    font-size: 18px;
    color: var(--text-color);
    transition: all 0.3s ease-in-out;
}

.phone {
    font-weight: 700;
    font-size: 18px;
    color: #ad68ec;
    transition: all 0.2s ease-in-out;
}

.phone:hover {
    color: #6504c0;
}

.nav-bottom {
    display: flex;
    flex-direction: column;
}

.vk-link {
    width: max-content;
    height: max-content;
    margin-bottom: 15px;
    margin-right: 15px; 
}

.vk-link svg g path {
    transition: all 0.2s ease-in-out;
}

.vk-link:hover svg g path {
    fill: #385b9c;
}

.not-find {
    text-align: center;
    color: #bbbbbb;
    font-size: 16rem;
}

.--menu-active {
    color: #7426BF;
    border-bottom: 1px solid #7426BF;
}

.nav-list__link:hover {
    color: #a14eee;
}

@media(max-width: 1440px) {
    .main {
        margin-left: 180px;
    }

    .header {
        max-width: 225px;
    }
}

@media(max-width: 1200px) {
    .main {
        margin-left: 0;
    }

    .nav-bottom {
        flex-direction: row;
        align-items: center;
    }

    .vk-link {
        margin-bottom: 0px;
    }

    .container {
        width: 100%;
        padding-right: 20px;
        padding-left: 20px;
    }

    .header {
        top: 0;
        border-top-left-radius: 0;
        border-top-right-radius: 0;
        display: flex;
        flex-direction: row;
        position: relative;
        flex-wrap: wrap;
        align-items: center;
        max-width: 100%;
        width: 100%;
        padding: 20px;
    }

    .logo {
        order: -1;
        margin-right: 50px;
        margin-bottom: 0;
    }
    
    .logo-img {
        width: 120px;
    }

    nav {
        margin-top: 30px;
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: center;
        width: 100%;
    }

    .nav-list {
        flex-direction: row;
        margin-bottom: 0;
    }

    .nav-bottom {
        order: -1;
    }

    .nav-list__item {
        margin-bottom: 0;
        margin-right: 0;
    }
    
    .nav-list__item:not(:last-child) {
        margin-right: 25px;
    }
}

@media(max-width: 992px) {
    .main {
        margin-left: 0;
    }

    .container {
        width: 100%;
        padding-right: 15px;
        padding-left: 15px;
    }

    .logo {
        order: -1;
        margin-right: 50px;
        margin-bottom: 0;
    }
    
    .logo-img {
        width: 120px;
    }

    .nav-list {
        flex-direction: row;
        margin-bottom: 0;
    }

    .nav-bottom {
        order: -1;
    }

    .nav-list__item {
        margin-bottom: 0;
        margin-right: 0;
    }
    
    .nav-list__item:not(:last-child) {
        margin-right: 17px;
    }

}

@media(max-width: 776px) {
    .header {
        flex-wrap: nowrap;
    }

    .not-find {
        font-size: 8rem;
    }

    .logo {
        order: -1;
        margin-right: 0px;
        margin-bottom: 0;
    }
    
    .logo-img {
        width: 100px;
    }

    .vk-link {
        margin-right: 0;
    }

    nav {
        position: relative;
        margin-top: 0;
        width: 35px;
        height: 25px;
        order: -2;
        margin-right: 0;
    }
    
    .nav-list {
        display: none;
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transition: opacity 0.3s ease, visibility 0.3s ease;
        padding: 25px;
        padding-top: 80px;
        padding-bottom: 80px;
        z-index: 100;
        position: fixed;
        border-radius: 25px;
        left: 0;
        top: 10px;
        bottom: 10px;
        overflow: auto;
        max-width: 320px;
        width: 100%;
        flex-direction: column;
        justify-content: center;
        background-color: #fff;
        box-shadow: rgba(0, 0, 0, 0.3) 28px 2px 100px;
    }

    .close {
        position: relative;
        top: -35%;
        left: -5px;
        width: 35px;
        height: 30px;
    }
    
    .close::after, .close::before {
        position: absolute;
        content: '';
        top: 0;
        left: 15px;
        width: 2px;
        height: 100%;
        border-radius: 50px;
        background-color: #C8C5D1;
    }

    .close::before {
        transform: rotate(45deg);
    }
    
    .close::after {
        transform: rotate(-45deg);
    }

    .burger {
        position: relative;
        display: flex;
        align-items: center;
        width: 35px;
        height: 20px;
        cursor: pointer;
    }
    
    .burger-line {
        width: 100%;
        height: 2px;
        border-radius: 50px;
        background-color: #C8C5D1;
    }

    .burger::after, .burger::before {
        position: absolute;
        content: '';
        left: 0;
        width: 100%;
        height: 2px;
        border-radius: 50px;
        background-color: #C8C5D1;
    }

    .burger::before {
        top: 0;
    }

    .burger::after {
        bottom: 0;
    }

    .phone {
        display: none;
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transition: opacity 0.3s ease, visibility 0.3s ease;
        z-index: 120;
        position: fixed;
        left: 25px;
        bottom: 35px;
    }

    .nav-list.active {
        display: flex;
    }

    .phone.active {
        display: block;
    }

    .nav-bottom {
        order: 1;
    }

    .nav-list__item {
        margin-bottom: 0;
        margin-right: 0;
    }
    
    .nav-list__item:not(:last-child) {
        margin-right: 0;
        margin-bottom: 10px;
    }

}

@media(max-width: 576px) {
    .main-title {
        font-size: 24px;
    }

    .main-descr {
        font-size: 16px;
    }

    .logo-img {
        width: 80px;
    }

    .burger {
        width: 20px;
        height: 15px;
    }

    .vk-link svg {
        width: 25px;
        height: 25px;
    }

    .nav-list__link {
        font-size: 22px;
    }

    .phone {
        font-size: 22px;
    }
}