/* cyrillic-ext */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(../../resources/fonts/1.woff2) format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* cyrillic */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(../../resources/fonts/1.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

/* latin-ext */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(../../resources/fonts/1.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(../../resources/fonts/2.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: none;
}

::-webkit-scrollbar-thumb {
    background-color: #ffffff;
    border-radius: 6px;
    border: 3px solid #000000;
}

::-webkit-scrollbar-thumb:hover {
    background-color: #f1f1f1;
}

body {
    scrollbar-width: thin;
    scrollbar-color: #000000 #ffffff;
    background-color: #000;
    margin: 0px;
    padding: 0;
    font-family: 'Inter', sans-serif;
    font-size: 12px;
    color: #fff;
    line-height: 1.5;
}

.main {
    max-width: 768px;
    margin-top: calc(60px);
    margin-left: auto;
    margin-right: auto;
    padding: 20px;
}

.block-main-header-text {
    display: flex;
    flex-direction: column;
    margin-top: 10px;
    margin-bottom: 30px;
}

.main-header-text {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 4px;
}

.secondary-header-text {
    font-size: 14px;
    color: #77787A;
}

.cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;

}

.card {
    background-color: #191919;
    border: 1px solid #292929;
    border-radius: 4px;
    transition: transform 0.5s ease;
}

.card:hover {
    transform: scale(1.01);
    cursor: pointer;
}

.card-image {
    max-width: 100%;
    border-top-left-radius: 4px;
    border-top-right-radius: 4px;
    margin-bottom: 12px;
    display: block;
}

.brand-name {
    padding-left: 6px;
    font-size: 10px;
    font-weight: bold;
}

.model-name {
    padding-left: 6px;
    font-size: 12px;
    margin-bottom: 26px;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

* {
    outline: none !important;
    -webkit-tap-highlight-color: transparent;
}

@media (max-width: 768px) {
    .cards {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .cards {
        grid-template-columns: repeat(2, 1fr);
    }
}