/* Base Styles & Resets */

html {
  scroll-behavior: smooth;
  -webkit-tap-highlight-color: transparent;
  scroll-padding-top: 120px;
}

body {
  overflow-x: hidden;
  width: 100%;
  max-width: 100vw;
}

* {
  font-family: "Source Sans Pro", sans-serif;
  margin: 0;
  padding: 0;
  outline: none;
  box-sizing: border-box;
}

/* Wrapper */
.wrapper {
  overflow-x: hidden;
  width: 100%;
  max-width: 100vw;
}

/* Container */
.container {
    max-width: 1160px;
    width: 100%;
    display: -webkit-box;
    display: flex;
    flex-direction: column;
    margin: 0 auto;
    z-index: 1;
}

.container-header {
    display: -webkit-box;
    display: flex;
    flex-flow: row wrap;
    -ms-flex-pack: justify;
    justify-content: space-between;
    flex-wrap: wrap;
    -ms-flex-align: center;
    align-items: center;
}

/* Section Titles */
h1.section-title {
    font-style: normal;
    font-weight: 700;
    font-size: 50px;
    line-height: 63px;
    letter-spacing: 0.02em;
    margin-bottom: var(--component-spacing-lg);
}

h2.section-title {
    color: #000;
    text-transform: capitalize;
    font-weight: 700;
    font-size: 38px;
    line-height: 48px;
    letter-spacing: -0.02em;
    margin-bottom: var(--component-spacing-xl);
}

h2.section-title span {
    color: #ef2b23;
    font-size: 1em;
}

.section-descr {
    width: 100%;
    font-weight: normal;
    font-size: 22px;
    line-height: 32px;
    letter-spacing: 0.02em;
    color: #000;
    margin-top: var(--component-spacing-sm);
    margin-bottom: var(--component-spacing-xl);
}

.section-descr.small {
    font-weight: 700;
    font-size: 18px;
    line-height: 23px;
    color: #425466;
}

/* Utility Classes */
.hidden {
    display: none;
}

.active {
    background-color: rgb(183, 183, 183, 0.07);
    border-left: 2px solid #EF2B23;
}

.on-mobile {
    display: none;
}

/* Navigation body */
.nav-body {
    display: flex;
}

/* Line Awesome Icons */
.las:not(.nav-el) {
    color: #5B1D1D;
    font-size: 42px;
}

.lab:not(.nav-el) {
    color: #5B1D1D;
    font-size: 42px;
}

/* App Section Title */
.section-title-app {
    font-size: 96px;
    color: #2B6BF3;
    font-weight: bold;
    text-shadow:
        -1px -1px 0 #fff,
        1px -1px 0 #fff,
        -1px 1px 0 #fff,
        1px 1px 0 #fff;
}

/* Keyframe Animations */
@keyframes meet-right-drawing-animation-c {
    0% {
        transform: translateY(0) scaleX(2);
    }
    100% {
        transform: translateX(-100px) scaleX(1.9);
    }
}

@keyframes meet-right-drawing-animation {
    0% {
        transform: translateY(0);
    }
    100% {
        transform: translateY(-5%) translateX(-5%) scaleX(1.1);
    }
}

@keyframes menu-animate {
    0% {
        transform: translateY(-100%);
        opacity: 0;
    }
    50% {
        transform: translateY(-80px);
        opacity: 0;
    }
    100% {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes menu-animate-close {
    0% {
        transform: translateY(0);
        opacity: 1;
    }
    50% {
        transform: translateY(-80px);
        opacity: 0;
    }
    100% {
        transform: translateY(-100%);
        opacity: 0;
    }
}

@keyframes descr-anim {
    0% {
        opacity: 0.3;
    }
    50% {
        opacity: 1;
    }
    100% {
        opacity: 1;
    }
}

/* Section Text */
.section-text {
    font-weight: 400;
    font-size: 16px;
    line-height: 26px;
    color: #000;
}

/* Background Decorative Elements */
.custom-bg {
    position: absolute;
    animation: 4s ease-in-out 0s infinite alternate none running meet-right-drawing-animation-c;
    z-index: -1;
}

.bg-top {
    position: absolute;
    top: -54%;
    animation: 4s ease-in-out 0s infinite alternate none running meet-right-drawing-animation;
    transform: translateX(-50%);
    z-index: -1;
    display: none;
}

.bg-bottom {
    top: 100%;
    animation: 4s ease-in-out 0s infinite alternate none running meet-right-drawing-animation;
    position: absolute;
    width: 100%;
    z-index: 1;
    display: none;
}

/* Something wrapper for hardware section */
.something-wrapper-hardware {
    display: flex;
}

input:focus,
input.form-control:focus {
  outline: none !important;
  box-shadow: none;
}

a {
  color: var(--color-primary);
  text-decoration: none;
  transition: color 0.25s ease, opacity 0.25s ease;
}

a:visited {
  color: var(--color-primary);
}

a:hover,
a:focus {
  color: var(--color-secondary);
  text-decoration: none;
}

a:focus-visible {
  outline: 2px solid rgb(43, 107, 243, 0.35);
  outline-offset: 3px;
}
