@import url("../styles/fonts.css");

#cookie-banner {
    right: 0;
    text-align: center;
    border-radius: 8px;
    position: fixed;
    bottom: 20px;
    left: 20px;
    max-width: 360px;
    width: 100%;
    max-height: 100%;
    padding: 20px;
    background: #ffffff;
    box-shadow: 5px -3px 8px 6px rgba(0, 51, 153, .04), 0 2px 2px rgba(0, 51, 153, .08);
    z-index: 1;
}
.hidden {
    display: none;
}
#cookie-banner p {
    font-size: 15px;
    line-height: 18px;
}
#cookie-banner p a {}
#cookie-banner p a:hover {}
#cookie-banner button {
    margin-top: 10px;
    cursor: pointer;
    border-radius: 5px;
    padding: 8px 16px;
    font-size: 16px;
    color: white;
    background-color: #007bff;
    border: none;
}

#cookie-banner button:hover {
    background-color: #0056b3;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}
body {
    font-family: 'Raleway';
    font-size: 18px;
    line-height: 24px;
    color: #333;
    background: #fdfdfd;
    display: flex;
    min-height: 100vh;
    flex-direction: column;
    margin: 0;
}
header {
    background: #181818;
    width: 100%;
    position: relative;
}
.trapezium {
    z-index: 0;
    position: absolute;
    right: -30%;
    width: 80%;
    transform: rotate(48deg);
    -moz-transform: rotate(48deg);
    -webkit-transform: rotate(48deg);
    -ms-transform: rotate(48deg);
    -o-transform: rotate(48deg);
    background: #7951db;
    background: linear-gradient(to top right, #7951db, #623adb);
}
.trapezium:after {
    content: "";
    padding-top: 100%;
    display: block;
}
.trapezium .square {
    background: rgba(255, 255, 255, .2);
    background: linear-gradient(to top right, rgba(255, 255, 255, .1), transparent);
    position: absolute;
}
.trapezium .square:nth-child(1) {
    border-radius: 2rem;
    -moz-border-radius: 2rem;
    -webkit-border-radius: 2rem;
    transform: rotate(-30deg);
    -moz-transform: rotate(-30deg);
    -webkit-transform: rotate(-30deg);
    -ms-transform: rotate(-30deg);
    -o-transform: rotate(-30deg);
    width: 40%;
    top: 30%;
    right: -15%;
}
.trapezium .square:after {
    content: "";
    padding-top: 100%;
    display: block;
}
.trapezium .square:nth-child(2) {
    border-radius: 8rem;
    -moz-border-radius: 8rem;
    -webkit-border-radius: 8rem;
    transform: rotate(-10deg);
    -moz-transform: rotate(-10deg);
    -webkit-transform: rotate(-10deg);
    -ms-transform: rotate(-10deg);
    -o-transform: rotate(-10deg);
    width: 40%;
    bottom: 20%;
    left: 5%;
}
.trapezium .square:after {
    content: "";
    padding-top: 100%;
    display: block;
}
.trapezium {
    bottom: 25%;
    border-radius: 12rem;
    -moz-border-radius: 12rem;
    -webkit-border-radius: 12rem;
}
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}
.menu-flex-box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
}
.header-logo {
    width: 250px;
    padding: 15px 0;
}
.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
}
.logo img {
    height: 50px;
}
.logo-name {
    font-family: 'Raleway';
    font-weight: 600;
    font-size: 30px;
    text-transform: uppercase;
    color: #fff;
    margin-left: 10px;
}
.logo-name span {
    font-weight: 300;
    margin-left: 4px;
    color: #e4e4e4;
}
.main-menu nav a {
    color: #fff;
    text-decoration: none;
    margin-left: 25px;
    font-size: 18px;
    transition: background-color .2s 
    ease-in-out, color .2s 
    ease-in-out, border-color .2s 
    ease-in-out;
}
.main-menu nav a:first-child {
    margin-left: 0;
}
.main-menu nav a:hover {
    color: #ff7300;
}
.main-menu nav a.active {
    color: #ff7300;
    font-weight: 600;
}
main {
    flex-grow: 1;
}
#site-header {
    position: relative;
    color: white;
    overflow: hidden;
}
#stars-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;    /* клики не блокируются */
}
#site-header .container {
    position: relative;
    z-index: 1;              /* контент поверх звёзд */
}
.flex-box {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
}
.main-flex-box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    padding: 100px 0;
    z-index: 1;
    position: relative;
}
.main-text {
    max-width: 800px;
}
.main-text h1 {
    font-size: 54px;
    color: #e4e4e4;
    margin: 0;
    padding: 0;
    line-height: 58px;
}
.main-text h1 span {
    color: #ff7300;
}
.main-desc {
    margin: 50px 0;
}
.main-desc p {
    margin: 0;
    padding: 0;
    font-size: 18px;
    color: #e0e0e0;
    margin-bottom: 20px;
}
.main-desc p:last-child {
    margin-bottom: 0;
}
.main-btn {
    display: inline-block;
    border: 1px solid #e4e4e4;
    padding: 10px 25px;
    text-decoration: none;
    color: #e4e4e4;
    border-radius: 9px;
}
.main-btn:hover {
    border: 1px solid #ff7300;
    background: #ff7300;
    transition: all .3s;
}
.main-image {
    width: 500px;
}
.main-image img {
    width: 100%;
    display: block;
}
.about {
    padding: 100px 0;
}
.about-info {
    max-width: 310px;
}
.about-info h2 {
    margin: 0;
    padding: 0;
    line-height: 34px;
    font-size: 25px;
    color: #7955de;
}
.about-info h2 span {
   color: #ff7300;
}
.about-text {
    padding-left: 100px;
    width:calc(100% - 310px);
}
.about-text p {
    margin-bottom: 30px;
    color: #333;
}
.cms-prem-text {
    display: flex;
    align-items: normal;
    justify-content: space-between;
    flex-wrap: wrap;
    margin-top: 50px;
}
.cms-prem-item {
    width: calc(100% / 3 - 20px);
    margin-bottom: 30px;
    padding: 30px;
    box-sizing: border-box;
    background: linear-gradient(to bottom, #734ede, #6d45db);
    border-radius: 10px;
    transition: transform 0.3s ease;
}
.cms-prem-item:hover {
    transform: translateY(-10px);
}
.cms-prem-item:nth-last-child(-n+3) {
    margin-bottom: 0;
}
.cms-prem-img {display: none;}
.cms-prem-img img {}
.cms-prem-name {
    font-size: 20px;
    font-weight: 800;
    line-height: 22px;
    color: #fff;
    margin: 20px 0 40px;
}
.cms-prem-desc p {
    font-size: 16px;
    color: #e0e0e0;
    line-height: 20px;
}
.interface {
    padding: 100px 0;
    background: #edeff7;
}
.interface-info {
    max-width: 310px;
}
.interface-info h2 {
    margin: 0;
    padding: 0;
    line-height: 34px;
    font-size: 25px;
    color: #7955de;
}
.interface-info h2 span {
    color: #ff7300;
}
.interface-text {
    padding-left: 100px;
    width:calc(100% - 310px);
}
.interface-text p {
    margin-bottom: 30px;
    color: #333;
}
.interface-images {
    /*max-width: 750px;*/
    margin: 0 auto;
    margin-top: 25px;
}
.interface-images a {
    display: inline-block;
    position: relative;
    overflow: hidden;
}
.interface-images a::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: 10px;
}
.interface-images a:hover::before {
    opacity: 1;
}
.interface-images img {
    width: 100%;
    display: block;
    border-radius: 10px;
}
.slick-slide {
    margin-right: 20px;
}
.slick-slider {
  overflow: hidden;
  position: relative;
}


footer {
    padding: 50px 0;
    background: #181818;
}
.footer-block {
    text-align: center;
    color: #e4e4e4;
}
.footer-block p {}
.footer-block p span {
    font-family: tahoma;
}