* {
    margin: 0;
    padding: 0;
}

*::-webkit-scrollbar {
    width: 10px; /* ширина всей полосы прокрутки */
}

*::-webkit-scrollbar-track {
    background: transparent; /* цвет зоны отслеживания */
}

*::-webkit-scrollbar-thumb {
    border-radius: 5px; /* округление бегунка */
    box-shadow: inset 0 0 0 10px #d0d8de; /* цвет бегунка */
    border: solid 3px transparent; /* исскуственный отступ */
}

html {
    height: 100%;
    min-height: 100%;
}

body {
    font-family: "Inter", sans-serif;
    color: #2c2c2c;
    background-color: #fff;
    min-height: 100%;
    text-align: center;
}

ul li::before {
    content: "- ";
}

ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
}

.main-container {
    max-width: 1280px;
    margin: 0 auto;
    padding-top: 80px;
}
@media (max-width: 480px) {
  .main-container {
    width: 430px;
    padding-top: 20px;
  }
}

.header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 26px;
}
@media (max-width: 480px) {
  .header {
    margin-bottom: 12px;
  }
  .project-icon {
    height: 44px;
    width: 80px;
    margin-left: 20px;
  }
  .company-icon {
    height: 36px;
    width: 98px;
    margin-right: 20px;
  }
}

.main-page {
    width: 100%;
    height: 792px;
    background: url("./img/firstPage.svg") no-repeat center top/cover;
}
@media (max-width: 480px) {
    .main-page {
        width: 430px;
        height: 370px;
        background: url("./img/firstPageSmallSize.svg") no-repeat center top/cover;
        /* Разобраться */
    }
}

.main-page__title {
    font-size: 160px;
    line-height: 194px;
    text-align: left;
    padding-top: 150px;
}
@media (max-width: 480px) {
    .main-page__title {
        font-size: 40px;
        line-height: 48px;
        padding-top: 122px;
        padding-left: 20px;
    }
}

.main-page__subtitle {
    font-family: "JetBrains Mono", monospace;
    padding: 0;
    margin: 0;
    font-size: 160px;
    line-height: 211px;
    font-weight: 800;
    text-align: right;
}
@media (max-width: 480px) {
    .main-page__subtitle {
        font-size: 40px;
        line-height: 52px;
        padding-right: 20px;
    }
}

.main-tag__title {
    margin-top: 130px;
    width: 367px;
    height: 45px;
    background-color: rgba(213, 234, 171, 1);
    position: relative;
}
@media (max-width: 480px) {
    .main-tag__title {
        margin-top: 0px;
        margin-left: 20px;
        width: 180px;
        height: 24px;
    }
}

.main-tag__title_label {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 367px;
    font-size: 96px;
    line-height: 116px;
    font-weight: 700;
    text-align: left;
}
@media (max-width: 480px) {
    .main-tag__title_label {
        font-size: 40px;
        line-height: 48px;
    }
}

.main-tag__info {
    width: 935px;
    margin-top: 25px;
    font-size: 32px;
    line-height: 42px;
    text-align: left;
}
@media (max-width: 480px) {
    .main-tag__info {
        width: 400px;
        font-size: 14px;
        line-height: 18px;
        margin-top: 8px;
        margin-left: 20px;
    }
}

.our-work {
    margin-top: 160px;
    display: flex;
    align-items: end;
    flex-direction: column;
}

.our-work__title {
    width: calc(100% - 220px);
    margin-right: 110px;
}
@media (max-width: 480px) {
    .our-work__title {
        margin-right: 20px;
    }
}

.our-work__title_label {
    width: fit-content;
    right: -110px;
    left: auto;
    white-space: nowrap;
}
@media (max-width: 480px) {
    .our-work__title_label {
        right: 0;
        width: 280px;
        white-space: normal;
        text-align: right;
    }
}

.information-blocks {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 64px;
}
@media (max-width: 480px) {
    .information-blocks {
        display: flex;
        justify-content: space-between;
        flex-wrap: wrap;
        gap: 12px;
        margin-top: 24px;
    }
}

.information-blocks__block {
    width: 570px;
    min-height: 311px;
    background-color: #fafafb;
    border-radius: 16px;
    padding: 30px;
    text-align: left;
}
@media (max-width: 480px) {
    .information-blocks__block {
        margin: 0 20px;
        min-height: auto;
        max-width: 330px;
    }
}

.information-blocks__block_title {
    font-size: 40px;
    line-height: 48px;
    font-weight: 700;
}
@media (max-width: 480px) {
    .information-blocks__block_title {
        font-size: 32px;
        line-height: 38px;
    }
}

.information-blocks__block_text {
    margin-top: 24px;
    font-size: 24px;
    line-height: 32px;
}
@media (max-width: 480px) {
    .information-blocks__block_text {
        font-size: 14px;
        line-height: 18px;
    }
}

.our-work-now {
    margin-top: 160px;
}

.our-work-now__title {
    width: 800px;
    margin-left: 110px;
}
@media (max-width: 480px) {
    .our-work-now__title {
        width: 180px;
        margin-left: 20px;
    }
}

.our-work-now__title_label {
    width: 1165px;
    left: -110px;
}
@media (max-width: 480px) {
    .our-work-now__title_label {
        width: 400px;
        left: 0px;
    }
}

.contacts {
    align-items: center;
}

.contacts__title {
    margin-right: 0;
    width: 720px;
}
@media (max-width: 480px) {
    .contacts__title {
        width: 200px;
    }
}

.contacts__title_label {
    width: 1000px;
    left: -65px;
}
@media (max-width: 480px) {
    .contacts__title_label {
        width: 390px;
        left: -90px;
    }
}

.contact-cards {
    display: flex;
    gap: 20px;
    margin-top: 64px;
}
@media (max-width: 480px) {
    .contact-cards {
        flex-direction: column;
        gap: 12px;
        margin-top: 24px;
    }
}

.contact-cards__card {
    width: 273px;
    background-color: #fafafb;
    border-radius: 16px;
    padding: 42px 16px 16px 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.contact-cards__card_img {
    width: 144px;
}

.contact-cards__card_full-name {
    width: 100%;
    text-align: left;
    padding-top: 35px;
    font-size: 16px;
    line-height: 24px;
    font-weight: 600;
    padding-bottom: 8px;
}

.contact-cards__card_job {
    width: 100%;
    text-align: left;
    color: #848484;
    font-size: 16px;
    line-height: 24px;
    font-weight: 600;
}

.contact-cards__contact {
    padding-top: 20px;
    font-size: 16px;
    line-height: 32px;
    text-align: left;
    text-decoration: none;
    width: 100%;
    color: #2c2c2c;
}

.contact-cards__card_phone {
    padding-top: 8px;
}

.footer {
    background-color: #fafafb;
    display: flex;
    align-items: center;
    padding: 32px 80px;
    gap: 40px;
    margin-top: 160px;
}
@media (max-width: 480px) {
    .footer {
        flex-direction: column-reverse;
        padding: 40px 0;
        gap: 40px;
        margin-top: 80px;
    }
}

.footer__images {
    display: flex;
    gap: 40px; 
}

.footer__nav {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
@media (max-width: 480px) {
    .footer__nav {
        flex-direction: column-reverse;
    }
}


.footer-nav__buttons {
    display: flex;
    align-items: center;
    gap: 40px;
}
@media (max-width: 480px) {
    .footer-nav__buttons {
        flex-direction: column;
        gap: 24px;
    }
}

.footer-button {
    cursor: pointer;
    background-color: transparent;
    outline: none;
    border: none;
    font-size: 16px;
    line-height: 24px;
}

.footer__up {
    margin-left: 90px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
}
@media (max-width: 480px) {
    .footer__up {
        margin-left: 0;
        margin-bottom: 40px;
    }
}
