@font-face {
    font-family: 'Scania Sans CY Headline';
    font-display: block;
    src: url('ScaniaSansCYHeadline-Regular.woff2') format('woff2'), url('ScaniaSansCYHeadline-Regular.ttf') format('truetype');
}

@font-face {
    font-family: 'Scania Sans CY Headline';
    font-display: block;
    src: url('ScaniaSansCYHeadline-Bold.woff2') format('woff2'), url('ScaniaSansCYHeadline-Bold.ttf') format('truetype');
    font-weight: 700;
}

@font-face {
    font-family: 'Scania Sans CY';
    font-display: block;
    src: url('ScaniaSansCY-Regular.woff2') format('woff2'), url('ScaniaSansCY-Regular.ttf') format('truetype');
}

@font-face {
    font-family: 'Scania Sans CY';
    font-display: block;
    src: url('ScaniaSansCY-Bold.woff2') format('woff2'), url('ScaniaSansCY-Bold.ttf') format('truetype');
    font-weight: 700;
}

* {
    font-family: 'Scania Sans CY Headline', sans-serif;
}

body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    margin: 0;
    font-family: 'Scania Sans CY Headline', sans-serif;
    color: #fff;
    background: #041E42;
}

*, ::before, ::after {
    box-sizing: border-box;
}

img, svg, picture {
    display: block;
}

.container {
    width: 100%;
    margin: 0 auto;
    padding: 0 20px;
}

a {
    color: inherit;
    text-decoration: none;
}

.scania-default {
    font-family: 'Scania Sans CY', sans-serif;
}


header {
    padding: 15px 0;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    width: 131px;
    height: 29px;
}

.tel {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 29px;
    height: 29px;
    border-radius: 50%;
    background: #fff;
}

.tel-icon {
    width: 17px;
    height: 17px;
}

main {
    padding: 23px 0 38px;
    position: relative;
    flex-grow: 1;
}

.bg-title {
    position: absolute;
    z-index: -1;
    top: 0;
    left: 0;
    width: 100%;
    pointer-events: none;
}

.bg-title-img {
    width: 100%;
    object-fit: contain;
}

.main-title {
    margin: 0 0 13px;
    font-size: 16px;
    line-height: 1.2;
    font-weight: 400;
}

.block {
    position: relative;
}

.block-wrap {
    padding-bottom: 54%;
    background: #fff;
}

.block-content {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(4, 30, 66, .7);
}

.block-title {
    padding: 0 30px;
    margin: 10px 0 0;
    text-align: center;
}

.block-link {
    font-weight: 700;
    font-size: 35px;
    line-height: 1.2;
}

.block-link::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.block-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.block-icon-scania {
    max-height: 50px;

}

.block-icon-wrap {
    width: 100%;
}

.block-icon-wrap img {
    max-width: 90%;
    margin: 0 auto;
    max-height: 50px;
    -o-object-fit: contain;
    object-fit: contain;
}

.block-icon-liugong {
    max-height: 50px;
}

.block-icon-faw {
    max-height: 50px;

}

.block-icon-chenglong {
    max-height: 50px;

}

.blocks-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
}

footer {
    padding: 29vw 0 12px;
    background: #f15c22;
}

.title_canvas {
    z-index: -1;
    position: absolute;
    top: 0px;
    left: 0;
    width: 100%;
    text-align: center;
    pointer-events: none;
    opacity: 0.2;
}

.title_canvas canvas {
    object-fit: contain;
    width: 100%;
}

.footcanv {
    position: relative;
    top: -30px;
}

.title_canvas2 {
    z-index: 3;
    position: absolute;
    top: 0px;
    left: 0;
    width: 100%;
    text-align: center;
    pointer-events: none;
    opacity: 1;
}

.title_canvas2 canvas {
    /* object-fit: contain; */
    width: 100%;
}

.title_canvas3 {
    display: none;
    z-index: 3;
    position: absolute;
    top: 0px;
    left: 0;
    width: 100%;
    text-align: center;
    pointer-events: none;
    opacity: 1;
}

.title_canvas3 canvas {
    /* object-fit: contain; */
    width: 100%;
}

.footer-title {
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    transform: translateY(-20%);
}

.footer-title-img {
    width: 100%;
}

.footer-name {
    margin: 29px 0 0;
    color: #FEBDC6;
    font-size: 12px;
    line-height: 1.2;
}

.contact-link {
    display: inline-block;
    position: relative;
    z-index: 1;
    text-transform: uppercase;
    overflow: hidden;
    font-weight: 700;
    font-size: 14px;
    line-height: 1.45;
    transition-property: color;
    transition-duration: .4s;
}

.contact-link::after {
    content: '';
    position: absolute;
    z-index: -1;
    top: 0;
    bottom: 3px;
    left: 0;
    width: 100%;
    background: #fff;
    transform-origin: center bottom;
    transform: scaleY(0.05);
    transition: transform .4s;
}

.footer-email {
    margin-top: 14px;
    font-size: 16px;
}

.footer-phone-desc {
    margin: 0;
    font-size: 12px;
    line-height: 1.2;
}


@media (min-width: 768px) {
    .blocks-container {
        grid-template-columns: repeat(2, 1fr); /*repeat(6, 1fr)*/
    }

    /*.block:nth-child(-n+3) {*/
    /*    grid-column: span 2;*/
    /*}*/

    /*.block:nth-child(n+4) {*/
    /*    grid-column: span 3;*/
    /*}*/

    .block-wrap {
        padding: 0;
        height: 170px;
    }

    footer .container {
        position: relative;
    }

    .footer-title {
        left: 20px;
        right: 20px;
    }

    .contact-link:hover::after {
        transform: scaleY(.9);
    }

    .contact-link:hover {
        color: #f15c22;
    }

    footer {
        padding-top: 0;
    }

    footer .container {
        padding-top: 6vw;
    }

    .footer-title {
        transform: translateY(-34%);
    }

    .footer-email {
        margin: 0;
    }

    .footer-phone {
        display: flex;
        align-items: flex-end;
    }

    .footer-phone-desc {
        padding-bottom: 3px;
        margin-left: 6px;
    }

    .footer-content {
        display: flex;
        align-items: center;
        justify-content: space-between;
    }
}

@media (min-width: 1200px) {
    main {
        padding: 81px 0 109px;
    }

    .container {
        max-width: 92.1vw;
    }

    .logo {
        width: 318px;
        height: 69px;
    }

    .tel {
        display: none;
    }

    header {
        padding: 50px 0 0;
    }

    .main-title {
        margin: 0 0 33px;
        font-size: 54px;
        line-height: 1.2;
        max-width: 79%;
    }

    .blocks-container {
        grid-template-columns: repeat(3, 1fr); /*repeat(6, 1fr)*/
        gap: 30px;
    }

    .block-wrap {
        height: 300px;
    }

    .block-link {
        font-size: 34px;
    }

    .block-content {
        transition-property: background-color;
        transition-duration: .4s;
    }

    .block:hover .block-content {
        background: #f15d22b8;
    }

    .contact-link {
        font-size: 28px;
    }

    footer {
        padding-bottom: 23px;
    }

    footer .container {
        padding-top: 4.5vw;
    }

    .footer-phone-desc {
        padding-bottom: 3px;
        font-size: 18px;
    }

    .footer-name {
        margin-top: 65px;
        font-size: 18px;
    }

    .contact-link::after {
        bottom: 8px;
    }

    .contact-link:hover::after {
        transform: scaleY(.8);
    }
}

@media (min-width: 1440px) {
    .main-title {
        max-width: 1110px;
    }

    .block-link {
        font-size: 45px;
    }

    .block-title {
        padding: 0 50px;
    }

    .contact-link {
        font-size: 40px;
    }

    .footer-phone-desc {
        padding-bottom: 4px;
        font-size: 22px;
    }

    .footer-name {
        font-size: 22px;
    }
}

@media (max-width: 767px) {
    .blocks-container {
        padding: 0;
    }

    footer {
        position: relative;
    }
}

@media (max-width: 767px) {
    .title_canvas3 {
        display: block;
    }

    .title_canvas2 {
        display: none;
    }

    footer {
        padding: 15vw 0 12px;
    }
}
