@font-face {
    font-family: "ZzzFont";
    src: url("../../../assets/fonts/Zzz.woff"), url("../../../assets/fonts/Zzz.ttf"),
        url("../../../assets/fonts/Zzz.otf");
}
/* First Block */
.zakodix {
    background-color: #222222;
    width: 100%;
    min-height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: -2;
}
#zakodixnet_canvas {
    position: absolute;
    display: block;
    top: 0;
    left: 0;
    z-index: -1;
    width: 100%;
}
.titles-block {
    font-family: "ZzzFont";
    font-weight: 500;
    font-size: 34px;
    line-height: 125%;
    font-style: normal;
    color: white;
    display: flex;
    flex-wrap: wrap;
    max-width: 400px;
}
.titles-block h1,
.about-us h2 {
    font-family: "ZzzFont";
    font-weight: 500;
    font-size: 64px;
    line-height: 125%;
    font-style: normal;

    text-align: center;
}
.titles-block h1 {
    color: white;
}
.titles-block h1:first-child {
    max-width: 400px;
}
.titles-block h1:last-child {
    max-width: 600px;
}
@media screen and (max-width: 640px) {
    .titles-block h1 {
        font-size: 36px;
        margin: 80px 0px;
    }
    .titles-block h1:first-child {
        max-width: 270px;
    }
    .titles-block {
        display: flex;
        flex-direction: column;
        align-items: center;
        max-width: 340px;
    }
}

/* Second Block */
.about-us {
    background: white;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-bottom: 80px;
}

.about-us h2 {
    font-size: 48px;
    margin: 80px 0px 50px 0px;
}
.about-us p {
    font-size: 24px;
    margin: 0px;
}

.code {
    width: 575px;
    background-image: url("../../../assets/img/aboutUs/code.webp");
    background-size: cover;
}

.about-us .contact-btn button {
    background: #222222;
    color: white;
    justify-content: flex-end;
    margin-right: 10px;
}
.about-us section {
    width: 1200px;
}
.about-us section:nth-child(2) p {
    margin: 0px 0px 50px 0px;
}
.about-us section:nth-child(3) {
    display: flex;
    justify-content: space-between;
}
.about-us section:nth-child(3) div {
    margin: 10px 10px 10px 0px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.about-us section:nth-child(3) div .contact-btn {
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: flex-end;
}
.about-us section:nth-child(3) div p {
    margin: 15px 0px;
}
@media screen and (max-width: 1200px) {
    .about-us section {
        width: 90%;
    }
}
@media screen and (max-width: 1000px) {
    .about-us section:nth-child(3) div.code {
        width: 50%;
    }
}
@media screen and (min-width: 640px) {
    .about-us section:nth-child(3) div {
        width: 575px;
    }
    .about-us section:nth-child(3) .contact-btn-mobile,
    .img-mobile {
        display: none;
    }
}
@media screen and (max-width: 640px) {
    .about-us {
        padding-bottom: 50px;
    }
    .about-us h2 {
        font-size: 24px;
        margin: 50px 0px 30px 0px;
    }
    .about-us p {
        font-size: 18px;
        margin: 0px;
    }
    .about-us section {
        width: calc(90%);
    }
    .about-us section:nth-child(2) p {
        margin: 0px 0px 40px 0px;
    }
    .about-us section:nth-child(3) div p {
        margin: 10px 0px;
    }
    .about-us section:nth-child(3) div.code {
        width: 100%;
        height: 230px;
        margin-right: 0;
    }
    .about-us section:nth-child(3) div .contact-btn,
    .img-desktop {
        display: none;
    }
    .about-us section:nth-child(3) {
        flex-wrap: wrap;
    }
    .about-us section:nth-child(3) .contact-btn-mobile {
        width: 100%;
        align-items: center;
    }
    .about-us section:nth-child(3) .contact-btn-mobile button {
        background: #222222;
        color: white;
    }
}
