body {
    position: relative;
    font-family: 'Montserrat', -apple-system, system-ui, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    font-weight: 400;
    color: #2E363E;
    font-size: 14px;
    padding: 0;
    margin-left: 0;
    margin-right: 0;
    /*background-color: #040C0E;*/
}

html {

    scroll-behavior: smooth;
}

body::-webkit-scrollbar, .swal-overlay::-webkit-scrollbar {
  width: 10px;
}

body::-webkit-scrollbar-track, .swal-overlay::-webkit-scrollbar-track {
  -webkit-box-shadow: 5px 5px 5px -5px rgba(34, 60, 80, 0.2) inset;
  background-color: #f9f9fd;
  border-radius: 10px;
}

body::-webkit-scrollbar-thumb {
  border-radius: 10px;
  background: linear-gradient(100deg, #263238, #005bea);
}

.swal-overlay::-webkit-scrollbar-thumb {
  border-radius: 10px;
  background: #2E363E;
}

.swal-button {
  background: #005bea;
}

body > * {
    padding: 50px 5%;
}

body > .line {
    padding: 0;
    margin: 10px 0;
    height: 0px;
    opacity: 0.1;
    border: 1px solid #7E868E;
}

#main-info {
    position: relative;
    overflow: hidden;
}

#main-info::before {
    position: absolute;
    content: "";
    left: 30%;
    top: 20%;
    width: 450px;
    height: 450px;
    border: 1px solid black;
    border-radius: 62% 47% 82% 35% / 45% 45% 80% 66%;
    will-change: border-radius, transform, opacity;
    animation: sliderShape 5s linear infinite;
    display: block;
    z-index: -1;
    -webkit-animation: sliderShape 5s linear infinite;
}
@keyframes sliderShape{
    0%,100%{
        border-radius: 42% 58% 70% 30% / 45% 45% 55% 55%;
        transform: translate3d(0,0,0) rotateZ(0.01deg);
    }
    34%{
        border-radius: 70% 30% 46% 54% / 30% 29% 71% 70%;
        transform:  translate3d(0,5px,0) rotateZ(0.01deg);
    }
    50%{
        transform: translate3d(0,0,0) rotateZ(0.01deg);
    }
    67%{
        border-radius: 100% 60% 60% 100% / 100% 100% 60% 60% ;
        transform: translate3d(0,-3px,0) rotateZ(0.01deg);
    }
}

nav {
    padding: 0 5%;
    display: flex;
    justify-content: space-between;
}

.menu-svg {
    width: 50px;
    height: 50px;
    display: none;
}


h2 {
    font-size: 36px;
    text-align: center;
    line-height: 38px;
}

#nav-right > ul {
    display: flex;
    padding: 0;
}

#menu-contact, #nav-right {
    display: flex;
}

#menu-contact {
    margin-left: 20px;
    align-items: center;
}

#menu-contact > svg {
    margin-right: 10px;
    animation: wiggle 3s infinite;
}

@keyframes wiggle {
    0% {
        rotate: 0deg;
    }
    25% {
        rotate: 25deg;
    }
    50% {
        rotate: 0deg;
    }
    75% {
        rotate: -25deg;
    }
    100% {
        rotate: 0deg;
    }
}

@keyframes rotation {
    0% {
        rotate: 0deg;
    }
    100% {
        rotate: 360deg;
    }
}

#logo {
    max-width: 340px;
    display: flex;
    align-items: flex-end;
    flex-direction: column;
    cursor: default;
    user-select: none;
}

#logo > * {
    transform: skewX(170deg);
    background: #5D6AFB;
    border-radius: 5px;
    text-align: center;
    font-weight: 600;
}

#logo span {
    display: inline-block;
    transform: skewX(-170deg);
    color: #fff;
    vertical-align: -webkit-baseline-middle;
    white-space: nowrap;
}

#logo-main {
    height: 34px;
    font-size: 16px;
    background: #2E363E;
    max-width: 340px;
    padding: 0 20px;
}

#logo-description {
    height: 31px;
    font-size: 14px;
    background: #5D6AFB;
    max-width: 260px;
    width: 220px;
    margin-right: 20px;
}

#logo-description > span {
    color: #5D6AFB;
    width: 157.88px;
}

.typed-text {
    overflow: hidden;
    border-right: 3px solid white;
}

#logo-main .typed-text  {
    animation: typing 2s steps(33, end), blink-caret .7s step-end infinite;
}

#logo-description .typed-text  {
    color: #fff;
    animation: typing_descr 1.4s steps(23, end), blink-caret .7s step-end infinite;
}

@keyframes typing_descr {
  from { width: 0 }
  to { width: 160.88px }
}

@keyframes typing {
  from { width: 0 }
  to { width: 100% }
}

@keyframes blink-caret {
    from, to {
        border-color: transparent
    }
    50% {
        border-color: #fff;
    }
}

#nav-right {
    justify-content: flex-end;
    align-items: center;
}

#nav-right > ul > li {
    list-style: none;
    font-weight: 500;
    padding-left: 20px;
}

#nav-right > ul > li > a {
    color: #2E363E;
    text-decoration: none;
    position: relative;

    &::before {
        content: '';

        position: absolute;
        width: 100%;
        height: 2px;
        border-radius: 4px;
        background-color: #18272F;
        bottom: 0;
        left: 0;
        transform-origin: right;
        transform: scaleX(0);
        transition: transform .3s ease-in-out;
    }

    &:hover::before {
        transform-origin: left;
        transform: scaleX(1);
    }
}

#menu-contact {
    color: #2E363E;
    text-decoration: none;
}

#menu-telephone {
    font-weight: 700;
}

#menu-contact-description {
    font-size: 14px;
}

#about-me h2 {
    text-align: left;
}

.bottom-line::after {
    position: absolute;
    bottom: 0;
    width: 100%;
    border-bottom: 3px solid #7E868E;
}

.window-preview {
    min-height: 600px;
}

#main-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 80vh;
    justify-content: center;
}

.tag {
    display: inline-block;
    padding: 10px 18px;
    text-align: center;
    background: #F2F6FA;
    border-radius: 5px;
    cursor: default;
    user-select: none;
}

#main-info > div {
    width: 70%;
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

#main-info > div > h1 {
    font-size: 48px;
    font-weight: 900;
    line-height: 62px;
}

.feedback-button {
    padding: 25px 50px;
    border-radius: 10px;
    background-color: #3647f6;
    color: #fff;
    font-size: 18px;
    text-decoration: none;
    font-weight: 700;

}

#main-info > div > p {
    font-size: 24px;
}

#main-info .arrow-svg {
    height: 50px;
}

#main-info .arrow-svg svg {
    margin-top: 10px;
    fill: #2E363E;
    cursor: pointer;
    animation: arrow 1s infinite;
}

@keyframes arrow {
    0% {
        padding-top: 0px;
    }
    50% {
        padding-top: 10px;
    }
    100% {
        padding-top: 0px;
    }
}

#about-me {
    display: flex;
    justify-content: space-between;

}

#about-me > .text {
    width: 50%;
    line-height: 24px;
    font-size: 16px;
}

#about-me > .text > ul > li {
    list-style-type: '👉 ';
}

#about-me > .text > ul > li > ul > li {
    list-style-type: '🎓 ';
}

#about-me > img {
    width: 40%;
}

#technologies {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.row {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

#technologies > .row {
    width: 100%;
}

#technologies > .row > .item {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 30%;
    padding-top: 40px;
    padding-bottom: 40px;
    text-align: center;
}

#technologies > .row > .item  > .item-title {
    font-weight: 700;
    margin: 10px 0;
    font-size: 16px;
}

#technologies > .row > .item > svg {
    width: 100px;
    height: 100px;
}

#products .item {
    width: 30%;
    min-height: 489px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    margin-bottom: 20px;
}

#products .item-title {
    margin: 30px 0 20px 0;
}

#products .item-price {
    font-size: 24px;
    text-align: right;
}

#products  .item-description {
    margin: 20px 0;
}

#why-me .item {
    width: 25%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    margin-right: 1%;
    margin-left: 1%;
    padding: 2% 4%;
    border: 2px solid #E2EAF2;
    border-radius: 10px;
    margin-bottom: 50px;
}

#why-me > div.row {
    flex-wrap: nowrap;
}

#why-me .item img {
    width: 40px;
    height: 40px;
}

#why-me .item .title {
    font-size: 18px;
    font-weight: 700;
    margin: 10px 0;
}

#settings {
    animation: rotation 8s infinite;
}

#gift {
    animation: wiggle 3s infinite;
}

#contact .item-description {
    text-align: center;
    font-size: 18px;
    margin-bottom: 20px;
}

#contact form, #contact form > div {
    display: flex;
    justify-content: center;
}

#contact form {
    flex-direction: column;
    margin-bottom: 50px;
}

#contact form select__head {
    cursor: pointer;
}

#contact form > div.form-main > select, #contact form > div.form-main > input, #contact form > div.form-main > input[type=submit] {
    width: 25%;
    height: 60px;
    border: 0px;
    box-shadow: none;
    border-radius: 8px;
    background: #F2F6FA;
    color: #7E868E;
    font-size: 18px;
    font-weight: 500;
    margin: 0 1%;
    padding-left: 20px;
    margin-bottom: 10px;
    box-sizing: border-box;
}

#contact .form-checkbox {
    align-items: center;
}

#contact form input[type=checkbox], #contact form label[for=privacy] {
    cursor: pointer;
    align-items: center;
}

#contact form input[type=checkbox] {
    height: 20px;
    width: 20px;
}

#contact form > div.form-main > input[type=submit] {
    background: #5D6AFB;
    color: #fff;
    padding: 0;
    cursor: pointer;
}

#contact form span {
    text-decoration: underline;
    cursor: pointer;
}

#footer {
    display: flex;
    flex-direction: column;
    align-items: center;
    color: #7E868E;
    text-align: center;
}

#footer .social-links {
    margin-bottom: 10px;
}

#footer a {
    color: #7E868E;
}


@media (max-width: 1199px) {
    body > * {
        width: 98%;
        padding: 50px 1%;
    }
    span.tag {
	margin-bottom: 10px;
    }

    #technologies > .row > .item, #products > .row > .item {
        width: 45%;
    }
    #products img {
        max-width: 70%;
    }
    #why-me .item {
        width: 50%;
    }
    #why-me div.row {
        justify-content: center;
        flex-wrap: wrap;
    }
    #contact form > .form-main {
        flex-direction: column;
        align-items: center;
    }
    #contact form > div.form-main > select,
    #contact form > div.form-main > input,
    #contact form > div.form-main > input[type=submit]{
        width: 50%;
    }
    #products .item {
        min-height: auto;
    }
    nav {
        padding: 10px 1%;
    }
    #nav-right {
        flex-direction: column;
        width: 100%;
    }
    #nav-right ul {
        flex-direction: column;
        align-items: center;
        line-height: 35px;
    }
    .menu-svg {
        display: block;
        cursor: pointer;
    }
    #nav-right {
        display: none;
    }
    nav.active {
	justify-content: space-between;
    }
}

@media (max-width: 768px) {
    #main-info > div > p {
        font-size: 18px;
    }
    #main-info > div > h1 {
        font-size: 38px;
    }
    #about-me > .text,
    #technologies > .row > .item,
    #products > .row > .item,
    #contact form > div.form-main {
        width: 100%;
    }
    #about-me > img {
        display: none;
    }
    #products img {
        width: 50%;
    }
    #products .item-body {
        align-items: center;
        flex-direction: column;
        display: flex;
    }
    #contact form > div.form-main > select,
    #contact form > div.form-main > input,
    #contact form > div.form-main > input[type=submit],
    #contact form > div.form-checkbox {
        width: 95%;
    }
    #contact form {
        align-items: center;
    }
}

@media (max-width: 500px) {
    #why-me .item {
        width: 100%;
    }
    nav {
        flex-direction: column;
        align-items: center;
    }
    nav.active {
	justify-content: center;
    .menu-svg {
        margin-top: 10px;
    }
}


@media (max-width: 340px) {
    #logo-main, #logo-description {
        font-size: 12px;
        height: 26px;
    }
}

nav.active {
    position: fixed;
    top: 0;
    padding-top: 18px;
    z-index: 2;
    background: #fff;
    align-items: center;
    align-content: flex-start;
    justify-content: flex-start;
}
nav.active #nav-right {
    display: flex;
    justify-content: flex-start;
}

nav.active > #nav-right > ul > li {
    padding-left: 0;
}
