@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;700&display=swap');
/* ------------------- скроллбар ----------------- */
::-webkit-scrollbar {
  width: 5px;
}

::-webkit-scrollbar-thumb {
  border-radius: 10px;
  background-color: #a259cc;
}

::-webkit-scrollbar-track {
  background: #302C42;
}
/* ------------------- база ----------------- */
body {
    background: #302C42;
    margin:0;
    color:#fff;
    font-family: 'Montserrat', sans-serif;
}
a {
    color:#fff;
    text-decoration: none;
}
a:hover{
    color: #a259cc;
}
p {
    font-size:16px;
    line-height: 25px
}
button {
    transition: .3s all linear;
    cursor: pointer;
    background: linear-gradient(90deg, #8176AF, #C0B7E8, #8176AF);
    background-size: 200%;
    border-radius: 40px;
    border: none;
    padding: 17px 43px;
    color: #343045;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 12px;
}
button:hover {
    transition: .3s all linear;
    background-position: 219px;
}
section {
        padding: 0 15px;
}
/* ------------------- шапка ----------------- */
header, footer section {
    padding: 0 15px;
    max-width: 1530px;
    margin: 30px auto 0;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
footer section {
    margin-top: 0;
    height: 65px;
}
.logo a {
    display: flex;
    align-items: center;
}
.logo img {
    width:50px;
}
.logo span{
    font-size: 38px;
    font-weight: 600;
    background-image: linear-gradient(180deg, #C0B7E8 0%, #8176AF 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    padding-left: 13px;
}
nav ul, footer ul {
    list-style: none;
    display: flex;
    padding:0;
}
nav li, footer li {
    margin-left: 30px;
}
/* ------------------- тело ----------------- */
.container {
    /*padding: 0 15px;*/
    max-width:1530px;
    width:100%;
    margin:auto;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    margin-bottom:90px;
}
.s1 .container {
    margin-bottom:0;
}
.f-title {
    width: 508px;
}
.f-title h1 {
    font-weight: 700;
    font-size: 46px;
    line-height: 60px;
}
.f-title p {
    font-weight: 300;
    font-size: 16px;
    line-height: 30px;
    margin-bottom: 50px;
}
.f-img {
    height: 438px;
    padding-left: 80px;
    display: flex;
    align-items: center;
}
.f-img img {
    width: 100%;
    transition: .3s all linear;
    border-radius: 100px 100px 100px 240px;
}
.f-img img:hover {
    transition: .3s all linear;
    border-radius: 150px 50px 150px 100px;
}
.n-img {
    padding-right: 80px;
}
.n-img img {
    max-width: 532px;
    width: 100%;
}
.s1 .container {
    min-height: 650px;
    justify-content: space-between;
}
.card-2 {
    width: calc(100%/2 - 40px);
}
.card-3 {
    width: calc(100%/3 - 112px);
    background: radial-gradient(50% 2900.76% at 50% 53.89%, rgba(58, 52, 86, 0.95) 0%, #211E2E 100%) /* warning: gradient uses a rotation that is not supported by CSS and may not behave as expected */;
    margin: 20px;
    border-radius: 10px;
    padding: 36px;
}
.card-4 {
    width: calc(25% - 92px);
    background: radial-gradient(50% 2900.76% at 50% 53.89%, rgba(58, 52, 86, 0.95) 0%, #211E2E 100%) /* warning: gradient uses a rotation that is not supported by CSS and may not behave as expected */;
    margin: 10px;
    border-radius: 10px;
    padding: 36px;
}
.c {
    color:#8176AF;
}
/* ------------------- футер ----------------- */






@media (max-width:900px) {
.s5 .container {
    flex-wrap: wrap;
}
.card-4 {
    width: calc(100% - 80px);
}
.card-3 {
    width: calc(100%);
}
.card-2 {
    width: calc(100%);
}
}
@media (max-width:700px) {

nav {
    display:none;
}
.f-title {
    width: 100%;
}
footer section {
    flex-direction: column;
}
}