h1 {
    color: #fc4b49;
    font-size: 96px;
    font-weight: 700;
    line-height: 1;
    margin: 0
}

h1 span {
    color: #333
}

@media (max-width:1260px) {
    h1 {
        text-align: center
    }
}

@media (max-width:640px) {
    h1 {
        font-size: 60px;
        line-height: 70px
    }
}

h2 {
    color: #fc4b49;
    font-size: 48px;
    font-weight: 700;
    line-height: 1.4;
    margin: 0;
    text-align: center
}

@media (max-width:640px) {
    h2 {
        font-size: 42px
    }
}

h4 {
    color: #333;
    font-size: 32px;
    font-weight: 700;
    line-height: 1.4;
    margin: 0
}

@media (max-width:640px) {
    h4 {
        font-size: 28px
    }
}

h5 {
    color: #333;
    font-size: 26px;
    font-weight: 700;
    line-height: 1.4;
    margin: 0
}

@media (max-width:640px) {
    h5 {
        font-size: 22px
    }
}

#portfolio,
.section.section_clients {
    margin-top: -30px
}

main {
    gap: 80px
}

.section__welcome-page {
    margin-top: 120px
}

.section__welcome-page .container {
    flex-direction: row
}

.section__welcome-text {
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: 32.4%
}

.section__welcome-text .section__welcome-description {
    display: flex;
    flex-direction: column;
    gap: 10px
}

.section__welcome-text .section__welcome-description p {
    color: #333;
    font-family: PT-Sans;
    font-size: 20px;
    line-height: 28px;
    margin: 0
}

.section__welcome-projects {
    display: grid;
    gap: 30px;
    grid-template-columns: 1fr 1fr;
    list-style-type: none;
    padding-inline-start: 0;
    width: 67.6%
}

.section__welcome-projects li {
    border-radius: 8px;
    height: 260px;
    width: 380px
}

.section__welcome-projects a {
    border-radius: 6px;
    box-shadow: 0 4px 12px 0 rgba(51, 51, 51, .161);
    display: block;
    height: 100%;
    transition: .6s;
    width: 100%
}

.section__welcome-projects a :hover {
    box-shadow: 0 16px 32px 0 rgba(51, 51, 51, .314);
    scale: 1.05
}

.section__welcome-projects img {
    border-radius: 8px;
    height: 100% !important;
    transition: .6s;
    width: 100% !important
}

@media (max-width:1260px) {
    .section__welcome-page {
        margin-top: 30px
    }

    .section__welcome-page .container {
        align-items: center;
        flex-direction: column
    }

    .section__welcome-text {
        width: 100%
    }

    .section__welcome-projects {
        max-width: 790px;
        width: 100%
    }
}

@media (max-width:1050px) {
    main {
        gap: 30px
    }
}

@media (max-width:850px) {
    .section__welcome-projects {
        gap: 20px;
        max-width: 580px
    }

    .section__welcome-projects li {
        height: 190px;
        width: 280px
    }
}

@media (max-width:640px) {
    .section__welcome-text {
        width: 100%
    }

    .section__welcome-projects {
        grid-template-columns: 1fr;
        max-width: 380px
    }

    .section__welcome-projects li {
        height: -moz-fit-content;
        height: fit-content;
        width: 100%
    }
}

.section__services-page .container {
    display: flex;
    flex-direction: column;
    gap: 30px
}

.section__services-page h4 {
    font-family: PT-Sans;
    margin-bottom: 10px
}

.section__services-page .section__services-list {
    display: grid;
    gap: 30px;
    grid-template-columns: repeat(3, 1fr)
}

.section__services-page .section__services-list .section__service {
    border: 1px solid #333;
    border-radius: 16px;
    box-shadow: 8px 8px 0 0 #333;
    display: flex;
    flex-direction: column;
    padding: 30px
}

.section__services-page .section__services-list .section__service:not(:first-child):not(.section__service-development) .section__service-text {
    gap: 16px
}

.section__services-page .section__services-list .section__service-text {
    display: flex;
    flex-direction: column;
    height: 100%;
    justify-content: space-between
}

.section__services-page .section__services-list .section__service-text p {
    color: #333;
    font-family: PT-Sans;
    font-size: 20px;
    line-height: 28px;
    margin: 0
}

.section__services-page .section__services-list .section__service-text br {
    content: "A" !important;
    display: block !important;
    margin-bottom: 10px !important
}

.section__services-page .section__services-list .section__service-links {
    display: flex;
    flex-direction: column;
    gap: 10px
}

.section__services-page .section__services-list .section__service-links a {
    color: #800208;
    font-family: PT-Sans;
    font-size: 20px;
    line-height: 28px;
    transition: .8s;
    width: -moz-fit-content;
    width: fit-content
}

.section__services-page .section__services-list .section__service-links a:hover {
    color: #fc4b49
}

.section__services-page .section__services-list .section__service-staff {
    grid-column: 2/span 2;
    grid-row: 1
}

.section__services-page .section__services-list .section__service-development {
    background-color: #fc4b49;
    background-image: url(/img/home/Home_Logo.png);
    background-position-x: right;
    background-position-y: 93%;
    background-repeat: no-repeat;
    grid-column: 1;
    grid-row: 2/span 2
}

.section__services-page .section__services-list .section__service-development .section__service-text {
    gap: 40px;
    height: -moz-fit-content;
    height: fit-content
}

.section__services-page .section__services-list .section__service-development a,
.section__services-page .section__services-list .section__service-development h4,
.section__services-page .section__services-list .section__service-development p {
    color: #fff
}

.section__services-page .section__services-list .section__service-development a:hover {
    color: #333
}

@media (max-width:1050px) {
    .section__services-page .section__services-list {
        grid-template-columns: repeat(2, 1fr)
    }

    .section__services-page .section__services-list .section__service-staff {
        grid-column: 2
    }

    .section__services-page .section__services-list .section__service-text {
        gap: 16px
    }

    .section__services-page .section__services-list .section__service {
        padding: 20px
    }

    .section__services-page .section__services-list .section__service-development {
        background-position-y: bottom
    }
}

@media (max-width:640px) {
    .section__services-page .section__services-list {
        grid-template-columns: 1fr
    }

    .section__services-page .section__services-list .section__service-staff {
        grid-column: 1;
        grid-row: 2
    }

    .section__services-page .section__services-list .section__service-development {
        background-size: 40%;
        grid-row: auto
    }
}

.section__expertise-page .container {
    flex-direction: row;
    gap: 10px;
    justify-content: space-between
}

.section__expertise-page .container .section__expertise-text {
    display: flex;
    flex-direction: column;
    gap: 10px;
    letter-spacing: 1px;
    max-width: 340px;
    width: 100%
}

.section__expertise-page .container h2 {
    text-align: left
}

.section__expertise-page .container p {
    color: #333;
    font-family: PT-Sans;
    font-size: 20px;
    line-height: 28px;
    margin: 0
}

.section__expertise-page .container .section__expertise-list {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    list-style-type: none;
    max-width: 730px
}

.section__expertise-page .container .section__expertise {
    align-items: center;
    border: 1px solid #a0a0a0;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    justify-content: center;
    padding: 19px;
    text-decoration: none;
    transition: .8s
}

.section__expertise-page .container .section__expertise p {
    color: #800208;
    font-family: PT-Sans;
    font-size: 20px;
    line-height: 28px;
    text-decoration: underline;
    transition: .6s
}

.section__expertise-page .container .section__expertise:hover {
    box-shadow: 0 16px 32px 0 rgba(51, 51, 51, .314);
    scale: 1.02
}

.section__expertise-page .container .section__expertise:hover p {
    color: #fc4b49
}

.section__expertise-page .container .section__expertise-large {
    width: 380px
}

.section__expertise-page .container .section__expertise-small {
    width: 320px
}

.section__expertise-page .container .section__expertise-block {
    display: flex;
    flex-wrap: wrap;
    gap: 30px
}

.section__expertise-page .container .section__expertise-block .section__expertise {
    width: calc(50% - 15px)
}

@media (max-width:1260px) {
    .section__expertise-page .container .section__expertise-list {
        max-width: 640px
    }

    .section__expertise-page .container .section__expertise-large {
        width: 330px
    }

    .section__expertise-page .container .section__expertise-small {
        width: 280px
    }
}

@media (max-width:1050px) {
    .section__expertise-page .container .section__expertise-list {
        max-width: 480px
    }

    .section__expertise-page .container .section__expertise-large,
    .section__expertise-page .container .section__expertise-small {
        width: 100%
    }
}

@media (max-width:640px) {
    .section__expertise-page .container {
        align-items: center;
        flex-direction: column
    }

    .section__expertise-page .container .section__expertise-text {
        max-width: 480px
    }

    .section__expertise-page .container h2,
    .section__expertise-page .container p {
        text-align: center
    }

    .section__expertise-page .container .section__expertise-block {
        gap: 10px
    }

    .section__expertise-page .container .section__expertise-block .section__expertise {
        width: 100%
    }

    .section__expertise-page .container .section__expertise-list {
        gap: 10px;
        max-width: 480px
    }

    .section__expertise-page .container .section__expertise-large,
    .section__expertise-page .container .section__expertise-small {
        width: 100%
    }
}

.section__achievements-page .container {
    gap: 10px
}

.section__achievements-page .container h2,
.section__achievements-page .container>p {
    align-self: center;
    max-width: 720px;
    text-align: center
}

.section__achievements-page .container>p {
    color: #333;
    font-family: PT-Sans;
    font-size: 20px;
    line-height: 28px;
    margin: 0
}

.section__achievements-page .container .section__achievements-list {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    list-style-type: none;
    padding-left: 0
}

.section__achievements-page .container .section__achievement {
    align-items: center;
    background-color: #f8f7f7;
    border-radius: 16px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    justify-content: center
}

.section__achievements-page .container .section__achievement a {
    align-items: center;
    border-radius: 16px;
    display: flex;
    height: 100%;
    justify-content: center;
    max-height: 100%;
    max-width: 100%;
    padding: 40px 5px;
    transition: .6s;
    width: 100%
}

.section__achievements-page .container .section__achievement img {
    height: auto !important;
    width: auto !important
}

.section__achievements-page .container .section__achievement-large {
    width: calc(50% - 15px)
}

.section__achievements-page .container .section__achievement-large p {
    margin: 0
}

.section__achievements-page .container .section__achievement-large p:first-child {
    color: #a0a0a0;
    font-size: 20px;
    line-height: 26px
}

.section__achievements-page .container .section__achievement-large p:last-child {
    color: #333;
    font-size: 32px;
    font-weight: 700;
    line-height: 42px
}

.section__achievements-page .container .section__achievement-small {
    width: calc(25% - 22.5px)
}

.section__achievements-page .container .section__achievement-small img {
    max-height: 140px
}

.section__achievements-page .container img {
    transition: .6s
}

.section__achievements-page .container a:hover {
    box-shadow: 0 16px 32px 0 rgba(51, 51, 51, .314)
}

.section__achievements-page .container a:hover img {
    scale: 1.02
}

@media (max-width:1260px) {
    .section__achievements-page .container .section__achievement-small:nth-child(5) img {
        height: 90px !important
    }
}

@media (max-width:1050px) {
    .section__achievements-page .container .section__achievements-list {
        gap: 10px
    }

    .section__achievements-page .container .section__achievement-large {
        width: calc(50% - 5px)
    }

    .section__achievements-page .container .section__achievement-small {
        width: calc(25% - 7.5px)
    }

    .section__achievements-page .container .section__achievement-small:nth-child(5) img {
        height: 85px !important
    }
}

@media (max-width:850px) {
    .section__achievements-page .container .section__achievement-small {
        width: calc(50% - 5px)
    }

    .section__achievements-page .container .section__achievement-small:nth-child(5) img {
        height: auto !important
    }
}

@media (max-width:640px) {

    .section__achievements-page .container .section__achievement-large,
    .section__achievements-page .container .section__achievement-small {
        width: 100%
    }
}

.section__stack-page .container {
    align-items: center;
    display: flex;
    flex-direction: column;
    gap: 10px
}

.section__stack-page p {
    color: #333;
    font-family: PT-Sans;
    font-size: 20px;
    line-height: 28px;
    margin: 0;
    max-width: 860px;
    text-align: center
}

.section__stack-page ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    list-style-type: none;
    margin-top: 20px;
    padding-left: 0
}

.section__stack-page li {
    align-items: center;
    border: 1px solid #a0a0a0;
    display: flex;
    flex-direction: column;
    gap: 10px;
    justify-content: center;
    padding: 31px 20px;
    width: 20%
}

.section__stack-page li p {
    color: #333;
    font-family: HeliosCond;
    font-size: 32px;
    font-weight: 700;
    line-height: 1.4;
    margin: 0;
    text-align: center
}

:is(.section__stack-page li:first-child, .section__stack-page li:nth-child(2), .section__stack-page li:nth-child(3), .section__stack-page li:nth-child(4), .section__stack-page li:nth-child(5)) {
    border-bottom-width: 0
}

:is(.section__stack-page li:first-child, .section__stack-page li:nth-child(2), .section__stack-page li:nth-child(3), .section__stack-page li:nth-child(4), .section__stack-page li:nth-child(6), .section__stack-page li:nth-child(7), .section__stack-page li:nth-child(8), .section__stack-page li:nth-child(9)) {
    border-right-width: 0
}

.section__stack-page li:first-child {
    border-top-left-radius: 8px
}

.section__stack-page li:nth-child(5) {
    border-top-right-radius: 8px
}

.section__stack-page li:nth-child(6) {
    border-bottom-left-radius: 8px
}

.section__stack-page li:nth-child(10) {
    border-bottom-right-radius: 8px
}

.section__stack-page img {
    height: 64px !important;
    width: -moz-fit-content !important;
    width: fit-content !important
}

@media (max-width:1050px) {
    .section__stack-page li {
        width: 33.33%
    }

    :is(.section__stack-page li:nth-child(2), .section__stack-page li:nth-child(3), .section__stack-page li:nth-child(5), .section__stack-page li:nth-child(6), .section__stack-page li:nth-child(8), .section__stack-page li:nth-child(9)) {
        border-right-width: 1px
    }

    :is(.section__stack-page li:nth-child(3), .section__stack-page li:nth-child(6), .section__stack-page li:nth-child(9)) {
        border-left-width: 0
    }

    :is(.section__stack-page li:nth-child(7), .section__stack-page li:nth-child(10)) {
        border-bottom-left-radius: 8px
    }

    :is(.section__stack-page li:nth-child(9), .section__stack-page li:nth-child(10)) {
        border-bottom-right-radius: 8px
    }

    .section__stack-page li:nth-child(3) {
        border-top-right-radius: 8px
    }

    .section__stack-page li:nth-child(5) {
        border-top-right-radius: 0
    }

    .section__stack-page li:nth-child(6) {
        border-bottom-left-radius: 0;
        border-bottom-width: 0
    }

    .section__stack-page li:nth-child(10) {
        border-top-width: 0
    }
}

@media (max-width:640px) {
    .section__stack-page li {
        width: 50%
    }

    :is(.section__stack-page li:first-child, .section__stack-page li:nth-child(3), .section__stack-page li:nth-child(4), .section__stack-page li:nth-child(7), .section__stack-page li:nth-child(8), .section__stack-page li:nth-child(9)) {
        border-right-width: 1px
    }

    :is(.section__stack-page li:nth-child(2), .section__stack-page li:nth-child(4), .section__stack-page li:nth-child(8), .section__stack-page li:nth-child(10)) {
        border-left-width: 0
    }

    :is(.section__stack-page li:nth-child(3), .section__stack-page li:nth-child(9)) {
        border-left-width: 1px
    }

    :is(.section__stack-page li:nth-child(7), .section__stack-page li:nth-child(10)) {
        border-bottom-left-radius: 0
    }

    :is(.section__stack-page li:nth-child(9), .section__stack-page li:nth-child(10)) {
        border-top-width: 0
    }

    .section__stack-page li:nth-child(2) {
        border-top-right-radius: 8px
    }

    .section__stack-page li:nth-child(3) {
        border-top-right-radius: 0
    }

    .section__stack-page li:nth-child(9) {
        border-bottom-left-radius: 8px;
        border-bottom-right-radius: 0
    }

    .section__stack-page li:nth-child(10) {
        border-bottom-right-radius: 8px
    }

    .section__stack-page li p {
        font-size: 28px
    }
}