:root {
    --background-black: #151515;
    --background-red: #A63D40;
    --background-gray: #f3eaea;
    --background-white: #ffffff;
    --background-transparent: transparent;
    --box-shadow-black6: #0000000f;
    --box-shadow-black20: #00000033;
    --color-black: #151515;
    --color-dark-gray: #282825;
    --color-gray: #706f6c;
    --color-primary1: #FFEFDA; 
    --color-primary1-lighter: #ffefda86;
    --color-primary2: #A63D40;
    --color-primary2-darker: #99393c;
    --color-violet: #cfccf5;
    --color-light-gray: #d9d3d3;
    --overlay-color: #00000080;
}
* {
    font-family: "FK Grotesk", "Mona Sans", sans-serif;
    line-height: 1;
    margin: 0;
    padding: 0;
    position: relative;
    -webkit-transition: all .4s ease;
    transition: all .4s ease;
    text-decoration: none;
    z-index: 1;
}
.hidden {
    display: none;
}
section {
    background-color: var(--background-gray);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 35px;
    padding: 75px 0px;
}
.row {
    display: flex;
    flex-direction: row;
    justify-content: center;
    margin: auto;
    padding: 0px 25px;
    max-width: 1320px;
    width: calc(100% - 50px);
}
.col {
    display: flex;
    flex-direction: column;
    width: 100%;
}
img {
    display: inline-block;
    object-fit: cover;
    height: auto;
    width: 100%;
}
h1, h2, h3, h4, h5, h6 {
    margin: 0;
}
.pixel {
    font-family: 'Pixelify Sans';
}

.backgroundWhite {
    background-color: var(--background-gray);
}
.backgroundBlack {
    background-color: var(--background-black);
}
.backgroundGreen {
    background-color: var(--background-red);
}

::-webkit-scrollbar {
    height: 2px;
    width: 5px;
}
::-webkit-scrollbar-track {
    background-color: transparent;
    border-radius: 100px;
    -webkit-border-radius: 100px;
}
::-webkit-scrollbar-thumb {
    background: linear-gradient(90deg, var(--color-primary1) 0%, var(--color-primary2) 100%);
    border-radius: 100px;
    -webkit-border-radius: 100px;
}
::-webkit-scrollbar-thumb:vertical {
    background: linear-gradient(180deg, var(--color-primary1) 0%, var(--color-primary2) 100%);
    border-radius: 100px;
    -webkit-border-radius: 100px;
}

header {
    background-color: var(--background-white);
    box-shadow: 0 1px 0 #e3e3e0;
    position: sticky;
    top: 0;
    left: 0;
    right: 0;
    height: 75px;
    width: 100%;
    z-index: 100;
}
header .row {
    justify-content: space-between;
    height: 100%;
}
header .logo {
    display: flex;
    justify-content: flex-start;
    align-items: center;
}
header .logoImg {
    height: 80%;
    width: auto;
}
header .btn {
    background-color: var(--background-transparent);
    border: 1px solid var(--color-black);
    border-radius: 100px;
    box-shadow: 0 0 0 0 var(--color-violet);
    color: var(--color-black);
    cursor: pointer;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 10px;
    font-size: 18px;
    font-weight: 600;
    line-height: 1;
    padding: 12px 24px;
    margin: auto 0;
    height: fit-content;
    width: fit-content;
}
header .btn img {
    display: none;
    height: 50px;
    width: 50px;
}
@media screen and (max-width: 540px) {
    header .btn {
        border: none;
    }
    header .btn span {
        display: none;
    }
    header .btn img {
        display: block;
    }
}

.banner {
    gap: 0px;
    padding: 0;
}
.bannerBlock {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}
.banner .row {
    padding: 0px;
    max-width: unset;
    width: 100%;
}
.banner .col:first-child .bannerBlock {
    background-color: var(--color-primary1-lighter);
    color: var(--color-primary2-darker);
}
.banner .col:last-child .bannerBlock {
    background-color: var(--color-primary2-darker);
    color: var(--color-primary1-lighter);
}
.bannerBlock .textArea {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 25px;
    text-transform: uppercase;
}
@media screen and (max-width: 540px) {
    .bannerBlock .textArea {
        padding: 10px;
    }
}
.bannerBlock h2 {
    display: flex;
    flex-direction: column;
    gap: 0px;
    font-size: 18px;
    font-weight: bold;
}
@media screen and (max-width: 1200px) {
    .bannerBlock h2 {
        font-size: 16px;
    }
}
@media screen and (max-width: 540px) {
    .bannerBlock h2 {
        font-size: 14px;
    }
}
.banner h3 {
    font-size: 16px;
    font-weight: bold;
    padding: 2.5px 5px;
}
@media screen and (max-width: 1200px) {
    .bannerBlock h3 {
        font-size: 12px;
    }
}
@media screen and (max-width: 540px) {
    .bannerBlock h3 {
        font-size: 10px;
    }
}
.banner .col:first-child h3 {
    background-color: var(--color-primary2-darker);
    color: var(--color-primary1-lighter);
}
.banner .col:last-child h3 {
    background-color: var(--color-primary1-lighter);
    color: var(--color-primary2-darker);
}
@media screen and (max-width: 1040px) {
    .banner .col:first-child .bannerBlock {
        justify-content: flex-start;
    }
    .banner .col:last-child .bannerBlock {
        justify-content: flex-end;
    }
}
.bannerBlock  .title {
    font-size: 120px;
    font-weight: 400;
}
@media screen and (max-width: 1200px) {
    .bannerBlock .title {
        font-size: 100px;
    }
}
@media screen and (max-width: 1040px) {
    .bannerBlock .title {
        display: none;
    }
}
@media screen and (max-width: 840px) {
    .bannerBlock .title {
        font-size: 64px;
    }
}
@media screen and (max-width: 580px) {
    .bannerBlock .title {
        font-size: 48px;
    }
}
@media screen and (max-width: 460px) {
    .bannerBlock .title {
        font-size: 36px;
    }
}
.mobileBanner {
    display: none;
}
@media screen and (max-width: 1040px) {
    .mobileBanner {
        display: flex;
    }
    .mobileBanner .col:first-child .bannerBlock {
        justify-content: flex-end;
    }
    .mobileBanner .col:last-child .bannerBlock {
        justify-content: flex-start;
    }
    .mobileBanner .bannerBlock .title {
        display: flex;
    }
}

.startSectionBlock {
    display: flex;
    align-items: center;
    background-image: url(../img/startSection.svg);
    background-size: 75px 75px;
    background-repeat: repeat;
    background-position: top;
    min-height: 540px;
    height: auto;
    width: 100%;
}
.startSectionContent {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 35px;
    margin: auto;
    padding: 16px;
    text-align: center;
    min-height: 260px;
    max-width: 648px;
    width: 100%;
}
.startSectionContent .title {
    color: var(--color-black);
    font-size: 72px;
    font-weight: 500;
    line-height: 0.75;
    letter-spacing: -3px;
}
@media screen and (max-width: 1040px) {
    .startSectionContent .title {
        font-size: 56px;
    }
}
@media screen and (max-width: 1040px) {
    .startSectionContent .title {
        font-size: 48px;
    }
}
.startSectionContent .description {
    color: var(--color-black);
    font-size: 20px;
    font-weight: 400;
    line-height: 1.2;
}
@media screen and (max-width: 1040px) {
    .startSectionContent .description {
        font-size: 16px;
    }
}

.trustUs .row {
    flex-direction: column;
    gap: 35px;
}
.trustUs .title {
    color: #706f6c;
    font-size: 12px;
    font-weight: 700;
    line-height: 1;
    letter-spacing: 2px;
    padding: 0 24px;
    text-align: center;
    text-transform: uppercase;
}
.trustUsList {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 35px;
    list-style: none;
}
.trustUsItem {
    padding: 15px;
    height: 38px;
    width: fit-content;
}
.trustUsItem img {
    max-height: 100%;
    width: fit-content;
}

.descSection {
    background-color: var(--background-red);
    gap: 75px;
}
.descSection .row {
    gap: 100px;
}
@media screen and (max-width: 1040px) {
    .descSection .row {
        flex-direction: column;
    }
    .descSection img {
        margin: auto;
        max-width: 450px; 
    }
}
.descSection .col {
    justify-content: space-evenly;
    gap: 50px;
}
.descSection .colGroup {
    display: flex;
    flex-direction: column;
    gap: 35px;
}
.descSection .title {
    color: var(--color-black);
    font-size: 56px;
    font-weight: 500;
    line-height: 1.2;
    letter-spacing: -1px;
}
@media screen and (max-width: 1040px) {
    .descSection .title {
        font-size: 48px;
    }
}
@media screen and (max-width: 540px) {
    .descSection .title {
        font-size: 36px;
    }
}
.descSection .description {
    color: var(--color-black);
    font-size: 30px;
    font-weight: 400;
    line-height: 1.25;
    max-width: 800px;
}
@media screen and (max-width: 1040px) {
    .descSection .description {
        font-size: 24px;
    }
}
@media screen and (max-width: 540px) {
    .descSection .description {
        font-size: 20px;
    }
}
.descSection .subTitle {
    color: var(--color-black);
    font-size: 24px;
    font-weight: 500;
    line-height: 1.25;
}
.descSection .subDescription {
    color: var(--color-black);
    font-size: 18px;
    font-weight: normal;
    line-height: 1.25;
}
.descSection .alighnCenter {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    text-align: center;
}
.descSection .btn {
    background-color: var(--background-transparent);
    border: 1px solid var(--color-black);
    border-radius: 100px;
    box-shadow: 0 0 0 0 var(--color-violet);
    color: var(--color-black);
    cursor: pointer;
    font-size: 18px;
    font-weight: 600;
    line-height: 1;
    padding: 12px 24px;
    height: auto;
    width: fit-content;
}

.development {
    background-color: var(--background-black);
    gap: 75px;
}
.development .row {
    gap: 100px;
}
@media screen and (max-width: 540px) {
    .development .row {
        flex-direction: column;
        gap: 50px;
    }
    .development img {
        margin: auto;
        max-width: 300px;
    }
    .development .row:nth-child(2) {
        flex-direction: column-reverse;
    }
    .development .row:nth-child(4) {
        flex-direction: column-reverse;
    }
}
.development .col {
    justify-content: space-evenly;
    gap: 50px;
}
.development .colGroup {
    display: flex;
    flex-direction: column;
    gap: 35px;
}
.development .title {
    color: var(--color-light-gray);
    font-size: 56px;
    font-weight: 500;
    line-height: 1.2;
    letter-spacing: -1px;
}
@media screen and (max-width: 1040px) {
    .development .title {
        font-size: 48px;
    }
}
@media screen and (max-width: 540px) {
    .development .title {
        font-size: 36px;
    }
}
.development .description {
    color: var(--color-light-gray);
    font-size: 30px;
    font-weight: 400;
    line-height: 1.25;
    max-width: 800px;
}
@media screen and (max-width: 1040px) {
    .development .description {
        font-size: 24px;
    }
}
@media screen and (max-width: 540px) {
    .development .description {
        font-size: 20px;
    }
}
.development .subTitle {
    color: var(--color-light-gray);
    font-size: 24px;
    font-weight: 500;
    line-height: 1.25;
}
.development .subDescription {
    color: var(--color-light-gray);
    font-size: 18px;
    font-weight: normal;
    line-height: 1.25;
}

.statistics {
    background-color: var(--background-red);
}
.statistics .row {
    justify-content: space-evenly;
    flex-wrap: wrap;
    gap: 50px;
}
.statistics .col {
    align-items: center;
    gap: 15px;
    width: auto;
}
.statistics .title {
    color: var(--color-black);
    font-size: 56px;
    font-weight: 500;
    line-height: 1.2;
    letter-spacing: -1px;
}
@media screen and (max-width: 1040px) {
    .statistics .title {
        font-size: 48px;
    }
}
@media screen and (max-width: 540px) {
    .statistics .title {
        font-size: 36px;
    }
}
.statistics .variable {
    color: var(--color-black);
    font-size: 16px;
    font-weight: 500;
    line-height: 1.5;
}
.statistics .value {
    color: var(--color-black);
    font-size: 100px;
    font-weight: 500;
    line-height: 1;
    letter-spacing: -3px;
}

.weWork {
    background-color: var(--background-black);
    gap: 50px;
}
.weWork .col {
    gap: 15px;
}
.weWork .title {
    color: var(--color-light-gray);
    font-size: 56px;
    font-weight: 500;
    line-height: 1.2;
    letter-spacing: -1px;
}
@media screen and (max-width: 1040px) {
    .weWork .title {
        font-size: 48px;
    }
}
@media screen and (max-width: 540px) {
    .weWork .title {
        font-size: 36px;
    }
}
.weWork .description {
    color: var(--color-light-gray);
    font-size: 30px;
    font-weight: 400;
    line-height: 1.25;
    max-width: 800px;
}
@media screen and (max-width: 1040px) {
    .weWork .description {
        font-size: 24px;
    }
}
@media screen and (max-width: 540px) {
    .weWork .description {
        font-size: 20px;
    }
}
.weWork .weWorkList {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 35px;
    list-style: none;
    margin: auto;
    width: 1000px;
}
.weWork .weWorkItem {
    background-color: var(--background-gray);
    border: 1px solid var(--color-gray);
    border-radius: 6px;
    box-shadow: 0px 0px 1px var(--box-shadow-black6), 0px 4px 8px 0px var(--box-shadow-black6);
    cursor: pointer;
    display: flex;
    flex-direction: column;
    gap: 25px;
    padding: 32px;
    /*height: calc(100% - 64px);*/
    height: auto;
    max-width: calc(298px - 64px);
    text-align: center;
}
.weWork .weWorkItem:hover {
    background-color: var(--color-dark-gray);
    box-shadow: 0 1px 10px 5px var(--box-shadow-black20);
}
.weWork .weWorkItem:focus {
    box-shadow: 0 0 0 4px var(--color-violet);
}
.weWork .imgBlock {
    border: 1px solid var(--color-gray);
    border-radius: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
}
.weWork .imgBlock img {
    height: 35px;
    width: 35px;
}
.weWork .weWorkItem img {
    margin: 0 auto;
    height: 150px;
    max-width: 75%;
}
.weWork .subTitle {
    color: var(--color-black);
    font-size: 24px;
    font-weight: 700;
    line-height: 1.25;
}
.weWork .subDescription {
    color: var(--color-black);
    font-size: 18px;
    font-weight: normal;
    line-height: 1.25;
}
.weWork .weWorkItem:hover .subTitle,
.weWork .weWorkItem:hover .subDescription {
    color: var(--color-light-gray);
}

footer {
    padding: 50px 0px;
}
footer .logo {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 75px;
    width: fit-content;
}
footer .logoImg {
    height: 100%;
    width: auto;
}
footer .copyright {
    color: var(--color-gray);
    font-size: 12px;
    font-weight: 400;
    line-height: 1.5;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-end;
    height: 100%;
}

.popupIsOpen {
    overflow: hidden;
}
.popup {
    background: transparent;
    display: none;
    justify-content: center;
    position: fixed;
    left: 0;
    top: 0;
    padding: 0;
    opacity: 0;
    width: 100vw;
    height: 100vh;
    z-index: 99;
}
.overlay {
    background-color: var(--overlay-color);
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    height: 100vh;
    width: 100vw;
}
.popup .btnClose {
    position: absolute;
    top: 10px;
    right: 10px;
    height: 35px;
    width: 35px;
}
.popupContent {
    background-color: var(--background-white);
    border-radius: 15px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    padding: 50px 25px 25px 25px;
    max-height: calc(100% - 150px);
    height: auto;
    max-width: 650px;
    width: calc(100% - 50px);
    overflow-x: auto;
}
.popup .title {
    color: var(--color-black);
    font-size: 24px;
    font-weight: 700;
    line-height: 1;
    text-align: center;
    text-transform: uppercase;
}
.popup .description {
    font-size: 16px;
    font-weight: normal;
    line-height: 1.5;
}
#popupForm .popupContent {
    max-width: 350px;
}
.popup form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}
.popup label {
    display: flex;
    width: 100%;
}
.popup .formInput {
    background-color: #f8f8f8;
    border: 1px solid #a9a9a9;
    border-radius: 15px;
    font-size: 16px;
    font-weight: normal;
    display: block;
    padding: 15px;
    width: 100%;
}
.popup input[type='checkbox']:checked {
    background-color: var(--background-white);
}
.popup .formInput:active {
    box-shadow: inset 0px 0px 7px 0px var(--color-dark-gray);
}
.popup .formInput:focus-visible {
    box-shadow: inset 0px 0px 7px 0px var(--color-dark-gray);
    outline: 0;
}
.popup .formBtn {
    background-color: var(--background-transparent);
    border: 1px solid var(--color-black);
    border-radius: 100px;
    box-shadow: 0 0 0 0 var(--color-violet);
    color: var(--color-black);
    cursor: pointer;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 10px;
    font-size: 18px;
    font-weight: 600;
    line-height: 1;
    padding: 12px 24px;
    margin: auto 0;
    height: fit-content;
    width: fit-content;
}
@media screen and (max-width: 540px) {
    .popup .formBtn {
        width: 100%;
    }
}