:root {
  --white: #fff;
  --black: #000;
  --secondary: #585858;
  --blue: #1172BA;
  --border: #e0e0e0;
  --login: #1172ba;
  --white_02: rgba(255, 255, 255, 0.2);
}

html {
    height: 100%; margin: 0; font-family: "Roboto", sans-serif;
}

body {
    height: 100%; margin: 0; 
}

a {
    text-decoration: none; color: var(--black);
}

p {
    margin: 0;
}

input, textarea, button {
    font-family: "Roboto", sans-serif;
}

h1, h2, h3, h4 {
    margin: 0; font-family: "Roboto", sans-serif;
}

h2 {
    color: var(--black); font-size: 32px; font-weight: 700;
}

.main {
    width: 1440px; margin: 0px auto;
}

.header {
    height: 94px; background: var(--white);
}

.header a {
    font-size: 16px; font-weight: 700; align-self: center;
}

.header .inner {
    width: 1120px; margin: 0 auto; display: flex; height: 100%;
}

.header .inner img {
    align-self: center;
}

.header .inner .menu {
    display: flex; align-items: center; margin-left: auto; gap: 84px;
}

.header .login {
    background: var(--login); border-radius: 2px; padding: 12px 28px; color: var(--white);
}

.main .hero {
    background: url("../images/hero-2.jpg"); height: 640px; position: relative; background-position: center;
}

.main .hero img {
    position: absolute; top: 50%; right: 40px; transform: translateY(-50%);
}

.main .hero .content {
    color: var(--white); width: 610px; position: absolute; top: 50%; left: 160px; transform: translateY(-50%);
}

.main .hero .content h1 {
    font-size: 64px; line-height: 60px;
}

.main .hero .content h3 {
    font-size: 36px; margin-bottom: 22px;
}

.subtitle {
    color: var(--blue); font-size: 14px; font-weight: 700; margin-top: 48px; text-align: center;
}

h2.improve_your_safety {
    color: var(--black); font-size: 32px; font-weight: 700; text-align: center; width: 400px; margin: 14px auto 100px auto;
}

.features {
    width: 1230px; display: flex; flex-direction: column; margin: 0 auto; flex-direction: row; flex-wrap: wrap;
}

.features .cell {
    display: flex; width: 33.333%; border-bottom: solid 2px var(--border); border-right: solid 2px var(--border); padding: 16px 0 6px 0; box-sizing: border-box;
}

.features .cell img {
    margin-bottom: 4px;
}

.features .cell:nth-child(n+7){
    border-bottom: none;
}

.features .cell:nth-child(3n+3){
    border-right: none;
}

.features .cell .left {
    width: calc(100% - 132px); padding-left: 40px;
}

.features .cell .right {
    width: 92px; margin: 0 36px;
}

.features .cell .title {
    font-weight: 700; font-size: 20px; color: var(--black); margin-bottom: 4px;
}

.features .cell .text {
    color: var(--secondary); font-size: 12px; line-height: 14px;
}

.features .big_logo {
    justify-content: center;
}

.features .big_logo img {
    object-fit: none;
}

.about_us {
    background: #fafafa; height: 550px; position: relative; margin-top: 60px;
}

.about_us .waves .main {
    width: 890px; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); display: flex;
}

.about_us .waves {
    height: 100%; background: url("../images/waves.png"); background-position: center bottom; background-repeat: no-repeat;
}

.about_us .waves .main .left {
    width: 347px;
}

.about_us .waves .main .right {
    width: calc(100% - 374px); padding-left: 60px; align-self: center;
}

.about_us .waves .main .right .subtitle {
    margin-top: 0; text-align: left; margin-bottom: 26px;
}

.about_us .waves .main .right h2 {
    margin-bottom: 32px; width: 300px; line-height: 42px;
}

.about_us .waves .main .right .text {
    color: var(--gray-text); font-size: 16px; line-height: 18px;
}

.our_customers {
    text-align: center; padding: 80px 0;
}

.our_customers .subtitle {
    margin-top: 8px;
}

.our_customers .list {
    display: flex; width: 1120px; margin: 18px auto 0 auto;
}

.our_customers .list > div {
    width: 20%;
}

.our_customers h2 {
    margin: 14px auto 66px auto; width: 300px;
}

.footer {
    width: 100%; padding: 52px 0; background: var(--blue); color: var(--white);
}

.footer .main {
    display: flex; justify-content: space-between; align-items: center; align-items: end;
}

.footer a {
    color: var(--white); font-weight: 700; font-size: 16px;
}

.footer .copyright {
    font-size: 14px; font-weight: 400;
}

.footer .cc {
    display: flex; align-items: end; gap: 20px;
}

.cookie_conatainer {
    width: 100%; position: fixed; bottom: 0; background: rgba(17, 114, 186, 0.9); z-index: 12; padding: 4px 0; border-top: solid 1px var(--white_02);
}

.cookie_conatainer .inner {
    width: 1200px; margin: 0px auto; display: flex; align-items: center; color: var(--white);
}

.cookie_conatainer .inner p {
    font-size: 12px; line-height: 17px; width: calc(100% - 340px); font-weight: 300;
}

.cookie_conatainer .inner form {
    display: flex; margin-left: auto;
}

.cookie_conatainer .inner button {
    color: var(--white); background: none; font-weight: 500; font-size: 16px; line-height: 22px; letter-spacing: 0.8px; cursor: pointer; font-size: 13px;
}

.cookie_conatainer .inner button.read {
     border: none; margin-right: 20px; margin-left: auto;
}

.cookie_conatainer .inner button.accept {
    border: solid 1px var(--white); padding: 0 11px; margin-left: auto;
}

.cookie_popup_bg {
    position: fixed; width: 100%; height: 100%; background: var(--black); z-index: 99; opacity: 0.9; display: none; top: 0;
}

.cookie_popup {
    width: 90%; max-width: 600px; border: solid 1px var(--black); position: fixed; background: var(--white); top: 50%; left: 50%; padding: 20px 12px;
    transform: translate(-50%, -50%); z-index: 100; max-height: 90%; overflow-x: auto; display: none;
}

.cookie_popup p {
    font-size: 14px; color: var(--black); padding-bottom: 8px;
}

.cookie_popup .title {
    font-size: 20px; color: var(--black); font-weight: 700; padding: 8px 0;
}

.cookie_popup img {
    width: 30px; float: right; cursor: pointer;
}

.cookie_popup span {
    float: right; margin-right: 12px; font-size: 14px; padding-top: 2px;
}

.cookie_popup .cookie_no {
    cursor: no-drop !important;
}

.cookie_popup input[type="submit"] {
    background: #0357a9; font-weight: 500; font-size: 16px; border: none; display: block; color: var(--sand); letter-spacing: 0.8px;
    cursor: pointer; padding: 4px 12px; margin: 60px 0 0 auto; color: #fff;
}

.cookie_popup a {
    color: var(--black); margin-top: 80px; text-decoration: underline; display: block; float: left; margin-top: 68px;
}

.cookies_page {
    width: 100%; max-width: 1200px; margin: 100px auto 0 auto;
}

.cookies_page h2 {
    margin-top: 32px;
}

.cookies_page h3 {
    margin-top: 20px;
}

.cookies_page .table {
    color: var(--black); margin: 12px 0; width: 100%;
}

.cookies_page .table .row {
    display: flex; width: 100%; padding: 4px 0; font-weight: 300;
}

.cookies_page .table .row span {
    display: none;
}

.cookies_page .table .row div:nth-child(1){
    width: 30%;
}

.cookies_page .table .row div:nth-child(2){
    width: 15%;
}

.cookies_page .table .row div:nth-child(3){
    width: 55%;
}

.cookies_page a {
    color: var(--black); text-decoration: underline;
}

.cookies_page button {
    height: 40px; display: block; line-height: 40px; background: var(--blue); font-size: 16px; border-radius: 8px; color: var(--white); text-align: center; padding: 0 12px;
    margin: 10px 0 40px 0; border: none; cursor: pointer
}

@media only screen and (max-width: 1440px) {
    .main {
        width: 100%;
    }
    
    .main .hero img {
        width: 35%;
    }
    
    .footer .main {
        padding: 0 12px; box-sizing: border-box;
    }
}

@media only screen and (max-width: 1280px) {
    .main .hero .content {
        left: 20px;
    }
    
    .main .hero .content h1 {
        font-size: 54px; line-height: 50px;
    }
    
    .main .hero .content h3 {
        font-size: 32px;
    }
    
    .main .hero img {
        right: 20px;
    }
    
    .features {
        width: 100%; padding: 0 12px; box-sizing: border-box;
    }
}

@media only screen and (max-width: 1240px) {
    .cookie_conatainer .inner {
        width: 100%; padding: 0 20px; box-sizing: border-box;
    }
    
    .cookies_page {
        width: 100%; padding: 0 20px; box-sizing: border-box;
    }
}

@media only screen and (max-width: 1120px) {
    .header .inner {
        width: 100%; padding: 0 12px; box-sizing: border-box;
    }
    
    .our_customers .list {
        width: 100%;
    }
    
    .features .cell .left {
        padding-left: 12px;
    }
    
    .features .cell .right {
        margin: 0 12px;
    }
}

@media only screen and (max-width: 1000px) {
    .footer {
        padding: 20px 0;
    }
    
    .footer .main {
        flex-direction: column; gap: 12px; text-align: right;
    }
    
    .footer .cc {
        flex-direction: column;
    }
}

@media only screen and (max-width: 900px) {
    .main .hero .content {
        position: relative; top: 20%; left: 0; transform: none; width: 100%; padding: 0 12px; box-sizing: border-box; text-align: center;
    }
    
    .main .hero img {
        left: 50%; top: unset; transform: translateX(-50%); bottom: 20px; width: 300px;
    }
    
    .features .cell {
        width: 50%;
    }
    
    .features .big_logo {
        display: none;
    }
    
    .features .cell:nth-child(n+7){
        border-bottom: solid 2px var(--border);
    }
    
    .features .cell:nth-child(n+8){
        border-bottom: none;
    }

    .features .cell:nth-child(3n+3){
        border-right: solid 2px var(--border);
    }

    .features .cell:nth-child(2), .cell:nth-child(4), .cell:nth-child(7), .cell:nth-child(9){
        border-right: none !important;
    }
    
    .about_us .waves .main {
        width: 100%; padding: 0 12px; box-sizing: border-box;
    }
}

@media only screen and (max-width: 800px) {
    .our_customers .list {
        flex-direction: column; gap: 20px;
    }
    
    .our_customers .list > div {
        width: 100%;
    }
    
    .main .hero .content h1 {
        font-size: 44px; line-height: 40px;
    }
    
    .main .hero .content h3 {
        font-size: 28px; margin-bottom: 12px;
    }
    
    .cookie_conatainer .inner {
        flex-direction: column;
    }
    
    .cookie_conatainer .inner p {
        width: 100%;
    }
    
    .cookie_conatainer .inner form {
        margin: 0px auto;
    }
}

@media only screen and (max-width: 750px) {
    .about_us .waves .main .left {
        width: 40%;
    }
    
    .about_us .waves .main .left img {
        width: 100%;
    }
    
    .about_us .waves .main .right {
        width: 60%; padding-left: 40px;
    }
}

@media only screen and (max-width: 700px) {
    .main .hero .content h1 {
        font-size: 36px;
    }
    
    .cookies_page .table .row {
       flex-wrap: wrap; 
    }
    
    .cookies_page .table .row div:nth-child(1) {
        width: 30%;
    }
    
    .cookies_page .table .row div:nth-child(2) {
        width: 70%;
    }

    .cookies_page .table .row div:nth-child(3) {
        width: 100%;
    }
}

@media only screen and (max-width: 600px) {
    h2 {
        font-size: 28px;
    }
    
    .our_customers h2 {
        width: 100%; font-size: 28px;
    }
    
    h2.improve_your_safety {
        width: 100%; padding: 0 12px; box-sizing: border-box; font-size: 28px;
    }
    
    .header .inner .menu {
        gap: 40px;
    }
    
    .features .cell {
        width: 100%; border-right: none !important; border-bottom: solid 2px var(--border) !important; 
    }
    
    .features .cell:last-child {
        border-bottom: none !important;
    }
    
    .about_us {
        height: auto;
    }
    
    .about_us .waves .main {
        flex-direction: column; top: 0; left: 0; transform: none; padding: 20px 12px; box-sizing: border-box;
    }
    
    .about_us .waves .main .left {
        width: 100%; display: flex; justify-content: center;
    }
    
    .about_us .waves .main .left img {
        max-width: 200px; margin-bottom: 20px;
    }
    
    .about_us .waves .main .right {
        width: 100%; padding-left: 0;
    }
    
    .about_us .waves .main .right h2 {
        width: 100%; text-align: center; line-height: 34px;
    }
    
    .about_us .waves .main {
        position: relative;
    }
    
    .about_us .waves .main .right .subtitle {
        text-align: center;
    }
    
    .cookies_page {
        margin: 80px auto 0 auto;
    }
    
    .cookies_page h1 {
        font-size: 24px;
    }
    
    .cookies_page h2 {
        font-size: 21px; margin: 20px 0 12px 0;
    }
    
    .cookies_page h3 {
        font-size: 18px; align-items: flex-start;
    }
}

@media only screen and (max-width: 600px) {
    .header .inner .menu {
        gap: 20px;
    }
}

@media only screen and (max-width: 460px) {
    .header a {
        font-size: 14px;
    }
    
    .header .inner {
        flex-direction: column; margin: 12px 0;
    }
    
    .header .inner .menu {
        margin: 12px auto 0 auto;
    }
    
    
    
    .header .login {
        padding: 4px 16px; position: absolute; top: 8px; right: 8px;
    }
    
    .features .cell .title {
        font-size: 18px;
    }
    
    .main .hero .content {
        top: 10%;
    }
    
    .main .hero {
        height: 500px;
    }
    
    .main .hero .content h3 {
        font-size: 20px;
    }
    
    .main .hero .content h1 {
        font-size: 28px; line-height: 38px;
    }
    
    .header .inner .menu {
        gap: 20px;
    }
    
    h2 {
        font-size: 24px;
    }
    
    .our_customers h2 {
        font-size: 24px;
    }
    
    h2.improve_your_safety {
        font-size: 24px;
    }
}

@media only screen and (max-width: 400px) {
    .cookies_page .table {
        font-size: 15px;
    }
        
    .cookies_page .table .row div:nth-child(1) {
        width: 50%;
    }
    
    .cookies_page .table .row div:nth-child(2) {
        width: 50%;
    }
    
    .cookies_page button {
        font-size: 14px;
    }
    
    .cookies_page h1 {
        font-size: 20px;
    }
    
    .cookies_page h2 {
        font-size: 18px; margin: 20px 0 12px 0;
    }
    
    .cookies_page h3 {
        font-size: 16px;
    }
}