* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px;
}

body {
    font-family: 'Roboto', sans-serif;
    color: #ffffff;
    background-color: #1a1a1a;
}

h1 {
    font-size: 1.5rem;
    margin: 0;
}

h2 {
    font-size: 1.8rem;
    /* color: #134D4D; */
    text-align: center;
    margin-bottom: 50px;
}

a {
    color: #ffffff;
    text-decoration: none;
    cursor: pointer;
    color: inherit;
}

a:hover {
    color: #ffffff;
    text-decoration: underline;
}

:active, :hover, :focus {
    outline: 0;
    outline-offset: 0;
}

hr {
    border: 1px solid #333;
}

.container {
    padding: 0 20px;
}

.row {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

section {
    padding: 80px 0;
}

header {
    position: fixed;
    width: 100%;
    height: auto;
    z-index: 30;
}

section#main-screen {
    padding: 0;
}

#main-screen {
    background-image: url("../img/autobot-bg-light2.png");
    background-color: #1a1a1a;
    background-position: top center;
    background-repeat: no-repeat;
    background-size: cover;
    width: 100%;
    height: 100vh;
}

.main-text {
    display: flex;
    justify-content: flex-end;
    flex-shrink: 0;
    flex-direction: column;
    /* align-items: flex-end; */
    text-align: center;
    padding: 0 40px;
    margin: 0;
    height: 65vh;
}

.main-text p {
    margin-top: 20px;
    /* font-size: 20px; */
    font-size: 1.3rem;
    line-height: 1.9rem;
    color: #ffffff7e;
}

.follow-us, .logo-img, .sandwitch {
    /* position: fixed; */
}

.follow-us {
    display: flex;
    flex-direction: column;
    top: 60%;
    left: 10px;
    /* border: 1px solid; */
    width: 20px;
    justify-content: space-between;
    position: fixed;
    opacity: 0.5;
    z-index: 30;
    text-shadow: 1px 1px 1px #000000;
}

.follow-us_text {
    transform: rotate(-90deg) translateY(-110px) translateX(150px);
    width: 250px;
    padding-left: 80px;
    white-space: nowrap;
    letter-spacing: 10px;
    text-transform: uppercase;
    /* border: 1px solid; */
}

.follow-us_text::before {
    content: "";
    position: absolute;
    height: 1px;
    width: 50px;
    left: 0;
    top: 50%;
    background-color: #fff;
    opacity: 0.5;
}

.instagram-icon {
    width: 20px;
    margin-bottom: 20px;
}

.facebook-icon {
    width: 20px;
}

/* .top-header {
    position: fixed;
    width: 100%;
    background-color: #1a1a1a;
    z-index: 20;
} */

.header_wrap {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    display: -webkit-flex;
    display: -moz-flex;
    display: -ms-flex;
    display: -0-flex;
    display: flex;
    justify-content: space-between;
    align-items: center;
    /* color: #000; */
    background-color: #1a1a1a;
    padding: 0 20px;
}

.logo-img {
    position: relative;
    z-index: 10;
    flex-grow: 1;
}

.logo-img img {
    width: 80px;
}

.lang-switch {
    display: flex;
    margin-right: 30px;
}

.lang-switch ul {
    display: flex;
}

.lang-switch ul li {
    list-style-type: none;
    margin-right: 20px;
}

.lang-switch a {
    text-shadow: 1px 1px 3px #000;
}

.active {
    text-decoration: underline;
}

.ham {
    /* position: fixed; */
    display: block;
    z-index: 10;
    background-color: transparent;
    border: none;
    color: #ffffff;
    cursor: pointer;
}

.menu {
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    display: flex;
    justify-content: center;
    flex-shrink: 0;
    flex-direction: column;
    align-items: center;
    background: rgba(0, 0, 0, 0.801);
    color: white;
    transform: translateX(100%);
    transition: transform 0.2s;
    list-style: none;
    padding: 4rem;
    z-index: 30;
    text-align: center;
}

.menuIcon {
    width: 50px;
    background-color: transparent;
}

.xIcon {
    display: none;
    width: 50px;
    outline: none;
}

.showMenu {
    transform: translateX(0);
}

li {
    padding: 1rem 0;
}

.menuLink {
    display: inline;
    font-size: 2rem;
    color: white;
    text-decoration: none;
}

.menuLink:hover {
    text-decoration: underline;
}

section#video-screen {
    padding: 0;
}

.video-screen_video {
    position: relative;
    top: 0;
    left: 0;
    /* min-height: 100%; */
    min-width: 100%;
    overflow: hidden;
    z-index: 1;
}

.video-screen_video video {
    width: 100%;
    height: auto;
}

.video-screen_content {
    position: absolute;
    top: 0px;
    bottom: 0;
    /* transform: translateY(-80%); */
    /* border: 1px solid; */
    z-index: 10;
    text-align: center;
    padding: 20px 0;
    width: 100%;
}

.video-screen_content h2 {
    font-size: 1.3rem;
    font-weight: 400;
    margin: 0;
    text-shadow: 3px 3px 7px black;
}

a.connect {
    position: relative;
    top: 30px;
    padding: 12px 20px;
    background-color: #1a1a1a;
    text-decoration: none;
}

#our-autopark {
    /* padding-top: 40px; */
    background-color: #1a1a1a;
    background-image: url('/img/trucks_autobot-bg.jpg');
    background-position: 50% 60%;
    background-size: cover;
    background-repeat: no-repeat;
    /* padding-bottom: 0; */
}

#our-autopark h2 {
    color: #ffffff;
}

.our-autopark_wrapper {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.our-autopark_block {
    width: 100%;
    padding-bottom: 60px;
    text-align: center;
}

.our-autopark_block img {
    width: 100%;
    /* height: 200px; */
    background-color: aliceblue;
}

#our-autopark h3 {
    color: #ffffff;
    margin-top: 10px;
    font-size: 1.3rem;
}

section#about-us {
    background-color: #ffffff;
    color: #000000;
}

section#about-us h2 {
    color: #000000;
}

section#about-us h3 {
    margin: 50px 0 10px;
    text-align: center;
}

section#about-us p {
    margin-bottom: 10px;
    text-align: justify;
}

section#about-us ul {
    padding-left: 20px;
}

section#about-us li {
    text-align: justify;
}

footer {
    background-color: #1a1a1a;
    background-image: url('../img/footer-bg.jpg');
    background-size: cover;
    background-position: 50% center;
    padding: 60px 0 0;
    width: 100%;
    border-top: 5px dashed #333;
}

footer h3 {
    margin: 20px 0 10px;
    font-size: 1.3rem;
}

.footer-logo {
    text-align: center;
    padding: 40px 20px;
}

.footer-logo img {
    width: 160px;
}

.contacts {
    margin: 20px 0 10px;
}

.contacts p {
    margin: 10px 0 10px;
}

.contacts a {
    text-decoration: none;
}

.footer-icons {
    width: 20px;
    float: left;
    margin-right: 10px;
    margin-bottom: 20px;
}

.copyright {
    padding: 40px 0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    color: #9e9e9e;
}

.copyright p {
    margin: 10px 0;
}

@media screen and (min-width: 768px) {
    .container {
        max-width: 1140px;
        margin: 0 auto;
        padding: 0 20px;
    }
    .row {
        display: flex;
        flex-direction: row;
        justify-content: space-between;
    }
    .hide-xs {
        display: none;
    }
    .header_wrap {
        background-color: transparent;
        padding: 0 40px;
    }
    .logo-img img {
        width: 160px;
    }
    .menuIcon {
        width: 70px;
    }
    .xIcon {
        width: 70px;
    }
    h1 {
        font-size: 2.2rem;
        margin: 0;
    }
    .main-text {
        align-items: flex-end;
        text-align: right;
    }
    .main-text p {
        margin-top: 20px;
        font-size: 27px;
        line-height: 30px;
    }
    .video-screen_content {
        position: absolute;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        width: 100%;
    }
    .video-screen_content h2 {
        font-size: 1.7rem;
        font-weight: 400;
        margin: 0;
    }
    a.connect {
        position: relative;
        top: 30px;
        padding: 12px 20px;
        background: rgb(26, 26, 26);
        background: linear-gradient(180deg, rgba(0, 0, 0, 1) 0%, rgba(26, 26, 26, 0.9010197829131653) 100%);
        text-decoration: none;
        border: 3px solid #333;
    }
    .our-autopark_wrapper {
        flex-wrap: nowrap;
    }
    .our-autopark_block+.our-autopark_block {
        margin-left: 20px;
    }
    .footer-logo {
        text-align: center;
        padding: 0;
        order: 2;
        white-space: nowrap;
        flex-basis: 0;
        flex-grow: 2;
    }
    .main-office {
        order: 1;
        flex-basis: 0;
        flex-grow: 1;
    }
    .ofice {
        order: 3;
        flex-basis: 0;
        flex-grow: 1;
    }
    .contacts {
        margin: 40px auto;
        text-align: center;
    }
    .copyright {
        flex-direction: row;
        justify-content: space-between;
    }
    nav#dot-nav {
        position: fixed;
        right: 20px;
        top: 20px;
        z-index: 50;
    }
    nav#dot-nav a {
        /* border: 1px solid #ffffff; */
        background: #bfbfbf66;
        border-radius: 50%;
        width: 8px;
        height: 8px;
        display: block;
        margin: 30px 0;
        box-shadow: 1px 1px 5px 0px #000;
    }
    nav#dot-nav a.active {
        background: #bfbfbf;
    }
}

@media screen and (min-width: 1200px) {
    html {
        font-size: 18px;
    }
    section {
        padding: 100px 0;
    }
    .logo-img img {
        width: 180px;
    }
    .video-screen_content h2 {
        font-size: 2.2rem;
        line-height: 5rem;
    }
    footer {
        padding: 100px 0 0;
        font-size: 16px;
    }
    a.connect {
        padding: 12px 40px;
        font-size: 24px;
    }
    .copyright {
        flex-direction: row;
        justify-content: space-between;
    }
}

/* modal form */

.hystmodal__window {
    position: relative;
    overflow: visible;
    border-radius: 4px;
    padding: 30px 30px;
}

.hystmodal__window--form {
    width: 440px;
    max-width: 100%;
    background: linear-gradient(216.25deg, #FFFFFF 0%, #F3F3F3 100%), #FCFCFC;
    box-shadow: 0px 0px 6px rgba(51, 66, 94, 0.5);
    padding: 7rem 9rem;
}

.hystmodal__window_text {
    width: 1440px!important;
}

.loginblock__h1 {
    margin-bottom: 20px;
    color: #2E3C56;
    font-weight: 600;
    font-size: 26px;
    line-height: 36px;
}

.loginblock__h2 {
    margin-top: 4px;
    color: #8F99AA;
    font-size: 14px;
    line-height: 21px;
}

.loginblock__form {
    padding-top: 36px;
}

.formitem {
    padding-bottom: 24px;
    position: relative;
}

.formitem input {
    font-family: 'Roboto', sans-serif;
    outline: none;
    background: #FFFFFF;
    box-shadow: inset 0 0 0 100px #fff;
    border: 1px solid #DDE0E6;
    box-sizing: border-box;
    color: #484c53;
    font-size: 15px;
    line-height: 26px;
    padding: 15px 20px;
    box-sizing: border-box;
    display: block;
    width: 100%;
}

.formitem input:focus {
    border-color: #9d9fa3;
}

.loginblock__bottom {
    justify-content: space-between;
    padding-bottom: 24px;
}

.formcheckbox {
    position: relative;
    display: block;
    cursor: pointer;
}

.formcheckbox input {
    position: absolute;
    /* visibility: hidden; */
    top: 0;
    left: 0;
    opacity: 0;
    pointer-events: none;
}

.formcheckbox:focus-within {
    outline: 2px dotted #afb3b9;
    outline-offset: 2px;
}

.formcheckbox input+span {
    height: 21px;
    color: #8F99AA;
    font-size: 12px;
    line-height: 21px;
    position: relative;
    align-items: center;
    user-select: none;
}

.formcheckbox input:checked+span {
    color: #2E3C56;
}

.checkplace {
    display: flex;
    background: #FFFFFF;
    border: 1px solid #DDE0E6;
    box-sizing: border-box;
    width: 18px;
    height: 18px;
    margin-right: 1rem;
}

.checkplace img {
    display: block;
    max-width: 90%;
    max-height: 95%;
    margin: auto;
    opacity: 0;
}

.formcheckbox input:checked+span .checkplace {
    border-color: #9d9fa3;
}

.formcheckbox input:checked+span .checkplace img {
    opacity: 1;
}

.loginblock__link {
    display: block;
    color: #2E3C56;
    font-size: 12px;
    line-height: 21px;
}

.formsubmit .button {
    width: 100%;
    height: 56px;
    font-weight: 500;
}

.hystmodal__styled button {
    background-color: #000;
    color: #fff;
    border: none;
    font-weight: bold;
    margin: 1em 0;
    padding: 10px 30px;
    font-size: 1.2rem;
}

textarea {
    font-family: 'Roboto', sans-serif!important;
    outline: none;
    background: #ffffff;
    box-shadow: inset 0 0 0 100px #fff;
    border: 1px solid #DDE0E6;
    box-sizing: border-box;
    color: #484c53;
    font-size: 15px;
    padding: 15px 20px;
    box-sizing: border-box;
    display: block;
    width: 100%;
}

.hystmodal__styled p {
    color: #9e9e9e;
    margin-bottom: 20px;
}

/* animations */
p.anim-text {
    transform: scale(0.94);
    animation: scale 4s forwards cubic-bezier(0.5, 1, 0.89, 1);
}
@keyframes scale {
    100% {
      transform: scale(1);
    }
  }

  .anim-text span {
    display: inline-block;
    opacity: 0;
    filter: blur(4px);
  }

  .anim-text span:nth-child(1) {
    animation: fade-in 0.5s 0s forwards cubic-bezier(0.11, 0, 0.5, 0);
  }

  .anim-text  span:nth-child(2) {
    animation: fade-in 0.5s 1s forwards cubic-bezier(0.11, 0, 0.5, 0);
  }

  .anim-text span:nth-child(3) {
    animation: fade-in 0.5s 2s forwards cubic-bezier(0.11, 0, 0.5, 0);
  }

  @keyframes fade-in {
    100% {
      opacity: 1;
      filter: blur(0);
    }
  }