/* Rectangle: */
html {
    height: 100%
}

html, body {

    /*width: 100vw;*/
    margin: 0px;
    /*overflow-x: hidden;*/
    background: #f7f7f7;
    font-family: 'Raleway', Helvetica, "Segoe UI", sans-serif;
    font-size: 16px;
}

.hidden {
    opacity: 0;
}

.white {
    color: #fff;
}

@media screen and (min-aspect-ratio: 1/1) and (max-aspect-ratio: 3/1) {
    #firstPageBack {
        background-image: url(../img/Triangle_cropped.svg), radial-gradient(45% 60%, rgba(255, 255, 255, 1) 0%, rgba(60, 20, 168, 0.9) 99%);
        /*background-image: url(../img/Triangle_cropped.svg), radial-gradient(55% 60%, rgba(255, 255, 255, 0.1) 0%, rgba(60, 20, 168, 1) 99%);*/

        background-position: top;
        background-repeat: no-repeat;
        background-size: cover;
        min-height: 100%;
        min-width: 100%;
    }
}
.vertical-center {
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    -ms-flex-align: center;
    -webkit-align-items: center;
    -webkit-box-align: center;
    align-items: center;
}
#logo {
    width: 55%;
    margin: 0 auto;
    margin-top: 15%;
}

#companyName {
    padding-top: 4%;
    font-family: 'Nexa Bold', 'Helvetica Neue', Helvetica, 'Segoe UI', sans-serif;
    font-weight: 700;
    font-size: 5.6em;
    color: #14093B;
}

#slogan {
    font-size: 1.8em;

    padding: 0px 5px 40px 15px;
}

#firstGrid {
    flex-direction: column;
    -webkit-flex-direction: column;
    -webkit-align-items: center;
    align-items: center;
}

.centered {
    display: flex;
    justify-content: center; /* align horizontal */
    align-items: center;
}

.grid-container {
    display: grid;

}

.speciality {
    /*grid-template-columns: 1fr 4fr;*/
    /*grid-template-rows: auto;*/
}

.grid-item {
    max-width: 70%;
    height: auto;
}

.grid-text {
    font-size: 1.6em;
    font-weight: 200;
line-height: 1.4;
    padding-left: 4%;
    /*margin: auto 0;*/
}

.header-icon-wrapper {

    /*justify-content: flex-start;*/
    /*align-items: center;*/

}

.header-icon {
    width: 30%;
    height: auto;
}

.contact-us-icon {
    padding-right: 2%;
    width: 18%;
    height: 100%;
}

.title {
    padding-top: 20px;
    margin-top: 40px;
    padding-bottom: 30px;
    font-weight: 900;
    color: #14093B;
}

.footer-icon {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.footer-text {
    font-size: 1em;
    font-weight: 200;
    line-height: 150%;
}

#tg-icon {
    -webkit-transition-duration: .8s;
    -moz-transition-duration: .8s;
    -o-transition-duration: .8s;
    transition-duration: .8s;
    -webkit-transition-property: -webkit-transform;
    -moz-transition-property: -moz-transform;
    -o-transition-property: -o-transform;
    transition-property: transform;

}

.rotate {
    -webkit-transform: rotate(40deg);
    -moz-transform: rotate(40deg);
    -o-transform: rotate(40deg);

}

.footer-link {
    font-size: 2.0em;
    font-weight: 600;
    line-height: 15%;
    /*text-align: center;*/
    position: relative;
    /*top: 50%;*/
    -ms-transform: translateY(-50%);
    -webkit-transform: translateY(-50%);
    transform: translateY(-50%);
}

.sub-title {
    /*font-size: 35px;    */
    color: #201837;
}

h1.title {
    font-size: 2.8em;
}

h2.title {
    font-size: 1.8em;
}

h2.sub-title {
    font-size: 1.4em;
    font-weight: 700;
    padding: 20px 0;
}

.nav-title {
    font-weight: 600;
    font-size: 1.8em;
    /*padding-bottom:3%;*/
    padding-left: 3px;
}

#sticky-nav {
    z-index: 2;
    position: -webkit-sticky;
    position: -moz-sticky;
    position: -ms-sticky;
    position: -o-sticky;
    position: sticky;
    top: -1px;
}

.sticky-case {
    z-index: 0;
    position: -webkit-sticky;
    position: -moz-sticky;
    position: -ms-sticky;
    position: -o-sticky;
    position: sticky;
    top: 10em;

    /*bottom:14em;*/
    margin-top: 30%;
    margin-bottom: 30%;
    /*max-height:100%;*/
    /*min-height:1e;*/
}

.bullets-utf-wrapper > li {
    padding-bottom: 15px;
}

.bullets-utf {

    font-size: 150%;
    vertical-align: middle;
    float: right;
    /*padding: 0px 10px;*/
}

.bullets-utf-text {
    float: right;
}

.flip-horizontal {
    -moz-transform: scaleX(-1);
    -o-transform: scaleX(-1);
    -webkit-transform: scaleX(-1);
    transform: scaleX(-1);
    filter: FlipH;
    -ms-filter: "FlipH";
}

.sticky + .case {
    top: 3em;
}

.button {
    margin: 25px 20px 10px 20px;
    padding: 10px 25px;
    border: solid black 3px;
    display: inline-block;
    font-size: 1.8em;
    /* Rectangle 5: */
    /*background: #FFFFFF;*/
    border: 5px solid #3E1CB4;
    border-radius: 30px;
    /* Оркестра: */
    color: #231165;
    font-weight: 700;
    cursor: pointer;
}

.button:hover {
    background: #fff;
}

.in-active {
    /* Rectangle 5: */
    border: 5px solid #979797;
    border-radius: 30px;
    /* Оркестра: */
    font-weight: 700;
    color: #676767;
    border-style: dashed;
}

.nav-bar {
    height: 90px;
    background: #3c14a8;

    /*align-items: flex-start;*/
    /*justify-items: center;*/
    /*justify-content: space-around;*/
    padding-bottom: 5px;
}

.nav-buttons {
    align-items: center;
    justify-items: center;
    justify-content: center;
    background: #f7f7f7;
    /*width: 40%;*/
    padding-top: 20px;
    padding-bottom: 50px;
    margin: 0 auto;
    border-bottom-left-radius: 50px;
    border-bottom-right-radius: 50px;
    /*height:1000px;*/
}

.nav-buttons-wrapper {
    /*background: #f7f7f7;*/

    /*width:50%;*/

}

.content-wrapper {
    width: 800px;
    margin: 0 auto;
}

.content-2-column {
    grid-template-columns: 3fr 2fr;
    grid-template-rows: auto;
    width: 800px;

}

@media screen and (max-width: 768px) {
    .img-for-case {
        max-width: 250%;
    }
}

@media screen and (min-width: 769px) and (max-width: 950px) {
    .img-for-case {
        max-width: 180%;
    }
}

@media screen and (min-width: 951px) {
    .img-for-case {
        max-width: 160%;
    }
}

.grow {
    transition: all .2s ease-in-out;
}

.grow:hover {
    transform: scale(1.1);
    z-index: 10;
}

.grow-sm:hover {
    transform: scale(1.05);
    z-index: 10;
}

.circle-for-pic {

    background: rgba(233, 231, 235, 0.40);
    border: 2px solid #7c7c7c;
    box-shadow: 0 1px 2px 2px rgba(0, 0, 0, 0.50);
    border-radius: 50%;
    padding: 25px;
    float: left;
    margin: 3% 15%;
}

.product-desc {
    z-index: 0;
    display: block;
    position: relative;
    padding: 0px;
    margin-top: 5%;
    line-height: 1.3;
    font-size: 1.6em;
    font-weight: 200;

}

.product-desc:before {
    content: "";
    width: 4px;
    background-color: #3E1CB4;
    border-radius: 2px;
    height: 100%;
    left: -20px;
    position: absolute;
}

.text {
    font-size: 1.4em;
    line-height: 140%;
}

@media screen and (min-width: 800px) {
    .case {
        margin: 10px 30px 40px 30px;
    }
}

.case > img {
    /* Mask: */
    /* Rectangle-path: */
    /*background: #B3A3D8;*/
    /* Shape: */
    background: #FFFFFF;
    box-shadow: 0 2px 2px 1px rgba(0, 0, 0, 0.25);
    max-width: 98%;
    height: auto;
    /* Rectangle 6: */
    border: 3px solid #7c7c7c;
    border-bottom-left-radius: 30px;
    border-bottom-right-radius: 30px;
    border-top: 0px;
}

.case > div {

    border: 3px solid #7c7c7c;
    border-bottom: 0px;
    border-top-right-radius: 40px;
    border-top-left-radius: 40px;
    display: block;

    /*float:right*/

    /*border-radius: 50%;*/
}

.case > div > div:first-child {
    width: 18%;
    position: relative;
    float: left;
    left: -1px;
    height: inherit;

    /*border-top-right-radius: 37px;*/
    border-top-left-radius: 37px;
    /*border: 3px solid #7c7c7c;*/
    border-bottom: 0px;
    background: #8d65f5;

}

.case > div > div:last-child {
    position: relative;
}

.case > div > div:last-child > a {

    /*padding:0px 35px;*/
    margin: 0 5px;
}

.link {
    font-weight: 700;
    font-size: 1.2em;
    text-decoration: none;
    /*margin-top:-10px;*/
    /*margin: 0 auto;*/
    color: #31108a;
}

.bigger {
    /*margin-top:18px;*/
    margin-right: -1px;
    font-weight: 900;
    /*padding-right:1px;*/
    font-family: Helvetica, sans-serif;
    /*font-size:1.2em;*/
    line-height: 70%;
}

.vertical-align-middle {
    /*vertical-align: middle;*/
}

.metrics-list {
    padding-top: 10px;
}

.bullet-wrapper {
    margin: 10px 10px 10px 20px;
    text-align: center;
}

.bullet {
    font-family: 'Nexa Bold', Helvetica, sans-serif;
    font-size: 2.2em;
    /*font-weight: 900;*/
    /*float: right;*/
    /*padding-right: 20%;*/
}

.text-center {
    text-align: center;
}

.border {
    border: 5px solid #3C14A8;
    border-right: 0px;
    border-top: 0px;
    border-bottom-left-radius: 55px;
    padding-bottom: 15px;
}

.input {
    position: relative;
    z-index: 1;
    display: inline-block;
    margin: 1em;
    max-width: 400px;
    width: calc(100% - 2em);
    vertical-align: top;
}

.input__field {
    position: relative;
    display: block;
    float: right;
    padding: 0.8em;
    width: 60%;
    border: none;
    border-radius: 0;
    background: #f0f0f0;
    color: #aaa;
    font-weight: 400;
    font-family: "Avenir Next", "Helvetica Neue", Helvetica, Arial, sans-serif;
    -webkit-appearance: none; /* for box shadows to show on iOS */
}

.input__field:focus {
    outline: none;
}

.input__label {
    display: inline-block;
    float: right;
    padding: 0 1em;
    width: 40%;
    color: #6a7989;
    font-weight: bold;
    font-size: 70.25%;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -html-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.input__label-content {
    position: relative;
    display: block;
    padding: 1.6em 0;
    width: 100%;
}

/* Kaede */
.input--kaede {
    display: block;
    overflow: hidden;
    margin: 1em auto 2em;
    background: #EFEEEE;
    border-radius: 30px;

    font-size: 1.3em;
}

.input__field--kaede {
    position: absolute;
    top: 0;
    right: 100%;
    width: 60%;
    height: 100%;
    background: #fff;
    color: #9DABBA;
    -webkit-transition: -webkit-transform 0.5s;
    transition: transform 0.5s;
    -webkit-transition-timing-function: cubic-bezier(0.2, 1, 0.3, 1);
    transition-timing-function: cubic-bezier(0.2, 1, 0.3, 1);

}

.input__field--kaede::placeholder {
    color: #9DABBA;
}

.input__label--kaede {
    z-index: 10;
    display: block;
    width: 100%;
    height: 100%;
    text-align: left;
    cursor: text;
    -webkit-transform-origin: 0% 50%;
    transform-origin: 0% 50%;
    -webkit-transition: -webkit-transform 0.5s;
    transition: transform 0.5s;
    -webkit-transition-timing-function: cubic-bezier(0.2, 1, 0.3, 1);
    transition-timing-function: cubic-bezier(0.2, 1, 0.3, 1);
    /*font-size:1.1em;*/
    margin-right: 8px;

}

.input__label-content--kaede {
    padding: 1.5em 0em 1.5em 2.5em;
}

.input__field--kaede:focus,
.input--filled .input__field--kaede {
    -webkit-transform: translate3d(100%, -15%, 0);
    transform: translate3d(100%, -15%, 0);
    -webkit-transition-delay: 0.06s;
    transition-delay: 0.06s;

}


.input__field--kaede:focus + .input__label--kaede,
.input--filled .input__label--kaede {
    -webkit-transform: translate3d(110%, 0, 0);
    transform: translate3d(110%, 0, 0);
    pointer-events: none;
    -webkit-transition: all .4s;
    transition: all .4s;

    color: #fff;

}

.input__field--kaede:invalid {
    /*color:#8d65f5;*/
}

#error {

}

/*.hidden {*/
    /*visibility: hidden;*/
/*}*/
.main-button {

    background-image: linear-gradient(190deg, #8d65f5 -50%, #3c13a9 80%);
    border: 1px solid #979797;
    border-radius: 100px;
    /* Отправить: */
    font-weight: 800;
    font-size: 2.2em;
    color: #FFFFFF;
    letter-spacing: 0.86px;
    padding: 14px 0px;
    margin: 0 auto;
    text-align: center;
    cursor: pointer;
    width: 70%;

}

@media screen and (max-width: 1024px) {
    .main-button {
        width: 70%;

    }
}

.main-button:hover {
    /*background-image: linear-gradient(180deg, #8D65F5 -60%, #3E1CB4 60%)*/
    /*color:#3e1cb4;*/
    background-image: linear-gradient(190deg, #8d65f5 -50%, #3c13a9 50%);

}

textarea {
    letter-spacing: .5px;
    line-height: 110%;
    border-radius: 20px;
    padding: 5%;
    margin: 4% auto;
    border-width: 8px;
    border-style: solid;
    border-color: rgba(22, 7, 62, 0.55);
    background-color: #f0f0f0;
    font-weight: 300;
    resize: vertical;
    color: #4f4f4f;
    width: 100%;
    overflow: auto;
}

textarea:focus {
    outline: none !important;
    border-color: rgba(39, 12, 111, 0.78);
    /*box-shadow: 0 0 5px #14093B;*/
}

textarea::placeholder {
    overflow-x: hidden;
    overflow-y: hidden;
    text-wrap: normal;
}

textarea::-webkit-input-placeholder { /* Chrome/Opera/Safari */
    white-space: pre;
}

textarea::-moz-placeholder { /* Firefox 19+ */
    white-space: pre;
}

textarea:-ms-input-placeholder { /* IE 10+ */
    white-space: pre;
}

textarea:-moz-placeholder { /* Firefox 18- */
    white-space: pre;
}

#feedback {
    width: 100%;
    height: 60%;
}

#form {
    -webkit-transition: all 500ms;
    -moz-transition: all 500ms;
    -o-transition: all 500ms;
    transition: all 0s linear 2s;
}

@keyframes hide {
    from {
        opacity: 1;
    }
    to {
        opacity: 0;
    }
}

.fadeOut {
    animation: hide .3s ease-in-out both;
}

@keyframes show {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.fadeIn {
    animation: show 1.5s ease-in-out both;
}

.container {
    clear: both;
    position: relative;
}

.arrow_box {
    position: relative;
    background: #fff;
    border: 3px solid #78708E;
    padding: 20px 30px;
    margin: 30px;
    border-radius: 10px;
}

.arrow_box:after, .arrow_box:before {
    right: 100%;
    top: 50%;
    border: solid transparent;
    content: " ";
    height: 0;
    width: 0;
    position: absolute;
    pointer-events: none;
}

.arrow_box:after {
    border-color: rgba(255, 204, 253, 0);
    border-right-color: #fff;
    border-width: 18px;
    margin-top: -18px;
}

.arrow_box:before {
    border-color: rgba(194, 225, 245, 0);
    border-right-color: #78708E;
    border-width: 22px;
    margin-top: -22px;
}

footer {
    margin-top: 50px;
    /* Rectangle 15: */
    background: #ECECEC;
    box-shadow: inset 0 2px 8px 0 rgba(0, 0, 0, 0.50);
    height: 100%;
}

footer > div {
    /*margin-top:50px;*/
}

footer > col > h2 {
    font-weight: 900;
    font-size: 2.5em;

}

@media screen and (max-width: 568px) {
    .feedback {
        height: 130%;
    }
}
