@font-face {
    font-family: 'Arial';
    src        : url('/fonts/ArialMT.woff2') format('woff2');
    font-weight: 400;
    font-style : normal;
}
@font-face {
    font-family: 'Arial';
    src        : url('/fonts/Arial-BoldMT.woff2') format('woff2');
    font-weight: 600;
    font-style : normal;
}


body {
    min-height    : 100vh;
    display       : flex;
    flex-direction: column;
    font-family: "Arial", sans-serif;
    font-optical-sizing: auto;
    font-style: normal;
    overflow-x: hidden;
    background-color: #000;
}

main {
    flex: 1;
}

footer {
    background-color: #000;
    color: #808080;
    text-align: center;
    font-size: 20px;
    font-weight: 600;
}
footer a {
    color: #808080;
    transition: 0.3s ease;
}
footer a:hover {
    opacity: .5;
}
/* bt */
.mt-100 {
    margin-top: 100px;
}
.mt-150 {
    margin-top: 150px;
}
.mt-200 {
    margin-top: 200px;
}
.me-md-150 {
    margin-right: 150px;
}
.mh-200 {
    max-height: 200px;
    justify-content: flex-start;
}
.c-pointer {
    cursor: pointer;
}
/* bt */
/* btn */
.btn-blackhawk {
    position: relative;
    display: inline-block;
    justify-content: center;
    padding: 20px 40px;
    background: #ffe500;
    color: #000;
    font-weight: 700;
    text-transform: uppercase;
    border: none;
    cursor: pointer;
    font-family: Arial, sans-serif;
    font-size : 24px;
    letter-spacing: 1px;
    clip-path: polygon(20px 0, 100% 0, 100% calc(100% - 20px), calc(100% - 20px) 100%, 0 100%, 0 20px);
    transition: 0.3s ease;
    text-decoration: none;
}

.btn-blackhawk:hover {
    background: #ffe6009d;
    color: #fff;
}
.blackhawk-container {
    position      : relative;
    display       : flex;
    color         : #000;
    border        : none;
    clip-path: polygon(20px 0, 100% 0, 100% calc(100% - 20px), calc(100% - 20px) 100%, 0 100%, 0 20px);
    transition: 0.3s ease; 
}
.blackhawk-shadow {
   filter: drop-shadow(7px 10px 4px #acabab99); 
}
/* /btn */
/* ---------------------------------------- */
.content-blackhawk {
    position: relative;
    overflow: hidden;
    background-color: #000;
}
.content-blackhawk::after {
    position: absolute;
    content: '';
    width: 50px;
    height: 50px;
    bottom:-25px;
    left: -25px;
    background-color: #f6f6f6;
    transform: rotate(45deg);

}
.content-blackhawk::before {
    position: absolute;
    content: '';
    width: 50px;
    height: 50px;
    bottom: -25px;
    right: -25px;           
    background-color: #f6f6f6;
    transform: rotate(45deg);

}
.blackhawk {
    position: relative;
    padding-top: 125px;
    color: #fff;
    overflow: hidden;
}
.blackhawk-img {
    width: 508px;
}
.tire {
    position: absolute;
    top    : 10px;
    right: -120px;
    max-width: 1133px;
    height : auto;
    pointer-events: none;
}
.blackhawk-text {
    line-height: 26px;
    font-size: 36px;
    color: #ffe500;
    text-transform: uppercase;
    font-weight: 700;
}
.blackhawk-subtext {
    font-size     : 66px;
    text-transform: uppercase;
    font-weight   : 700;
    margin-left: -5px;
}

.road-text {
    font-size     : 32px;
    color         : #fff;
    text-transform: uppercase;
    font-weight   : 700;
}
/*  */
.content-blackhawk,
.content-select-tires,
.content-forto4ki {
    position: relative;
    overflow: hidden;
    background-color: #000;
}
.content-forto4ki {
    color: #fff;
}
.content-select-tires {
    background-color: #f6f6f6;
}
.content-blackhawk::after,
.content-select-tires::after {
    position: absolute;
    content: '';
    width: 50px;
    height: 50px;
    bottom:-25px;
    left: -25px;
    background-color: #f6f6f6;
    transform: rotate(45deg);
}
.content-select-tires::after {
    background-color: #000; 
}
.content-blackhawk::before,
.content-select-tires::before {
    position: absolute;
    content: '';
    width: 50px;
    height: 50px;
    bottom: -25px;
    right: -25px;           
    background-color: #f6f6f6;
    transform: rotate(45deg);
}
.content-select-tires::before {
    background-color: #000;
}

/*  */

.select-roads,
.select-construction,
.select-off-road {
    height: 200px;
}
.select-roads img,
.select-construction img,
.select-off-road img {
    transition: 0.3s ease;
}
.select-roads img:hover,
.select-construction img:hover,
.select-off-road img:hover {
    opacity: .4;
}
/*  */
.forto4ki-container {
    position: relative;
}
.forto4ki-register {
    position: absolute;
    bottom: 35px;
}
.forto4ki-text {
    font-size: 24px;
    font-weight: 400;
    line-height: 30px;
}

.forto4ki-subtext {
    position: relative;
    font-size: 64px;
    font-weight: 400;
    margin-left: 20px;
    line-height: 1;
    margin-bottom: 20px;
}
.forto4ki-subtext::before {
    position: absolute;
    content: '';
    left: -20px;
    width: 7px;
    height: 100%;
    background-color:#f47117;
    
}
.forto4ki-container-img {
    display: flex;
    width: 100%;
    max-width: 450px;
}

/* ---------------------------------------- */
.container {
    max-width: 1730px;
    padding: 0 40px;
}
/* анимация */
.animation {
    opacity: 0;
    transform: translateX(100px);
    visibility: hidden;
    /* блок есть в верстке, но невидим */
}

/* Анимация справа-налево */
@keyframes slideInRight {
    0% {
        opacity: 0;
        transform: translateX(100px);
        visibility: visible;
    }

    100% {
        opacity: 1;
        transform: translateX(0);
        visibility: visible;
    }
}

.animate-slide-right {
    animation: slideInRight 0.5s ease-out forwards;
}

/* Анимация снизу-вверх */
@keyframes slideInUp {
    0% {
        opacity: 0;
        transform: translateY(100px);
        visibility: visible;
    }

    100% {
        opacity:1;
        transform: translateY(0);
        visibility: visible;
    }
}

.animate-slide-up {
    animation: slideInUp 0.85s ease-out forwards;
}

/* Задержки */
.animate-delay-1 {
    animation-delay: 0.2s;
}

.animate-delay-2 {
    animation-delay: 0.4s;
}

.animate-delay-3 {
    animation-delay: 0.6s;
}

.animate-delay-4 {
    animation-delay: 0.8s;
}

.animate-delay-5 {
    animation-delay: 1s;
}
/* анимация */

@media (max-width: 1399.98px) {
    .forto4ki-text {
        font-size: 18px;
        line-height: 20px;
    }
}

/* до 1200px (≈xl) */
@media (max-width: 1199.98px) {
    .blackhawk {
        margin-top: 80px;
    }
    .blackhawk .mt-200 {
        margin-top: 100px;
    }
    .blackhawk .mt-150 {
        margin-top: 100px;
    }
    .tire {
        max-width: 600px;
        right: -40px;
    }
    .blackhawk-text {
        font-size: 24px;
        line-height: 18px;
    }
    .blackhawk-img {
        width: 350px;
    }
    .blackhawk-subtext {
        font-size: 48px;
    }
    .select-roads,
    .select-construction,
    .select-off-road {
        max-height: 100%;
    }
    .road-text {
        font-size: 22px;
    }
    .btn-blackhawk {
        padding: 15px 30px;
        font-size: 16px;
    }
    .forto4ki-register {
        bottom: 20px;
    }

}

/* до 992px (≈lg) */
@media (max-width: 991.98px) {

    .road-text {
        font-size: 16px;
    }
}

/* до 768px (≈md) */
@media (max-width: 767.98px) {
    .blackhawk .mt-200 {
        margin-top: 50px;
    }
    .blackhawk .mt-150 {
        margin-top: 50px;
    }
    .blackhawk {
        padding-top: 0;
        margin-top: 40px;
    }
    .road-text {
        font-size: 24px;
        line-height: 29px;
    }
    .forto4ki-subtext {
        font-size: 48px;
        margin-bottom: 10px;
    }
    .card-text {
        font-size: 14px;
    }

    .projects__items {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }
    .modal-desc {
        padding: 20px 0 !important;
    }
    .modal-desc div {
        height: auto !important;
    }
}

/* до 576px (≈sm) */
@media (max-width: 575.98px) {
    .blackhawk-img {
        width: 100%;
    }
    .blackhawk-text {
        font-size  : 18px;
        line-height: 18px;
    }
    .blackhawk-subtext {
        font-size: 28px;
        margin-left: -2px;
    }
    .select-container {
        width: 100%;
    }
    .select-roads {
        height: 100%;
    }
    .select-construction,
    .select-off-road {
        height: 100%;
        width: 50%;
    }

}

.projects__items {
    display        : flex;
    justify-content: space-between;
    margin-bottom  : 70px;
    width: 100%;
}

.projects__item {
    display       : flex;
    flex-direction: column;
    align-items   : flex-start;
}

.projects__item-top {
    display: flex;
}

.projects__item-top span {
    font-weight  : 500;
    font-size    : 70px;
    line-height  : 80px;
    margin-bottom: 10px;
    white-space: nowrap;
}

.projects__item-bottom {
    max-width  : 298px;
    font-weight: 400;
    font-size  : 22px;
}

.projects__text {
    display      : block;
    margin-bottom: 40px;
    font-size    : 22px;
    font-weight  : 400;
    line-height  : 30px;
}

.loader {
  width: 50px;
  aspect-ratio: 1;
  border-radius: 50%;
  border: 8px solid;
  border-color: #000 #0000;
  animation: l1 1s infinite;
}
@keyframes l1 {to{transform: rotate(.5turn)}}

.btn.btn-warning {
    border: 0;
}
.btn.btn-warning:hover {
    background: #ffe6009d !important;
    color: #fff;
}

.modal-desc {
    position: fixed;
    width: 100vw;
    height: 100vh;
    padding: 20px;
    color: #000;
    background-color: #fff;
    overflow: auto;
    z-index: 99;
}

.modal-desc div {
    height: 100%;
}

.modal-desc img {
    height: auto;
    max-height: 100%;
}

.modal-desc pre {
    font-size: inherit;
    font-family: inherit;
    text-wrap: auto;
    hyphens: auto;
}

.modal-desc .btn-close {
    position: absolute;
    top: 35px;
    right: 35px;
    width: 25px;
    height: 25px;
    background-size: contain;
}