@import url('https://fonts.googleapis.com/css2?family=Rubik:ital,wght@0,300..900;1,300..900&display=swap');

body {
    font-family: "Rubik", sans-serif !important;
}

select,
button,
a,
input,
textarea,
img {
    outline: none !important;
    box-shadow: none !important;
}

a,
button {
    text-decoration: none !important;
    transition: .3s all !important;
}

img {
    max-width: 100% !important;
    border: 0 !important;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Stapel' !important;
    font-weight: 700 !important;
    color: #444342 !important;
}

.header__block {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 1rem;
    padding-bottom: 1rem;
    font-size: 1rem;
}

.header__block > div {
    display: flex;
    align-items: center;
    gap: .75rem;
}

.header__block > div picture {
    flex-shrink: 0;
}

.header__block p {
    margin: 0;
}

.header__block p a {
    color: #444342;
}

.header__block p a:hover {
    color: #F2A860;
}

.header__block > a {
    line-height: 100%;
    padding: 1rem 2rem;
    color: #fff;
    background-color: #F2A860;
    border-radius: 1rem;
}

.header__block > a:hover {
    color: #fff;
    background-color: #444342;
}

.categories__list {
    background-color: #444342;
    padding-top: .75rem;
    padding-bottom: .75rem;
    font-family: 'Stapel' !important;
    font-weight: 400 !important;
    position: fixed;
    z-index: 9;
}

.categories__list ul {
    list-style: none;
    margin: 0;
    padding: 0;
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE и Edge */
}

.categories__list ul::-webkit-scrollbar {
    display: none;
}

.categories__list ul a {
    color: #fff;
}

.categories__list ul .active {
    color: #F2A860;
}

.categories__list ul a:hover {
    color: #F2A860;
}

header {
    background-color: #f9f9f9;
}

header > .container {
    margin-top: 3.1rem;
}

.category {
    padding-top: 4rem;
}

.card__1 {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.card__1 .ratio picture {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 1rem;
    overflow: hidden;
    cursor: pointer;
}

.card__1 .ratio picture img {
    object-fit: cover !important;
    width: 100% !important;
    height: 100% !important;
    transition: .3s all;
}

.card__1 .ratio picture:hover img {
    transform: scale(1.1);
}

.card__text {
    padding: 1.2rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: .75rem;
    align-items: start;
    background-color: #f9f9f9;
    border-radius: 1rem;
    height: 100%;
}

.card__text > div {
    display: flex;
    flex-direction: column;
    gap: .5rem;
}

.card__text h3 {
    font-size: 1rem;
    margin: 0;
    font-weight: 400 !important;
}

.card__text span {
    font-size: 1.5rem;
    font-weight: 300;
}

.card__text a {
    width: 100%;
    align-items: center;
    padding: .75rem;
    border-radius: 1rem;
    text-align: center;
    color: #444342;
    border: 1px solid #444342;
}

.card__text a:hover {
    color: #fff;
    background-color: #444342;
}

.about__block {
    margin-top: 4rem !important;
}

.about__block h1 {
    line-height: 100% !important;
    margin: 0 0 1.5rem 0 !important;
}

.about__block {
    margin: 0;
}

.about__block .ratio picture {
    position: absolute;
    width: 100%;
    height: 100%;
}

.about__block .ratio picture img {
    object-fit: cover !important;
    width: 100% !important;
    height: 100% !important;
    border-radius: 2rem;
}

footer .container-fluid {
    margin-top: 4rem;
    padding-top: 2rem;
    padding-bottom: 2rem;
    background: url("../img/bg.webp") center no-repeat;
    background-size: cover;
}

footer .col-12 {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

footer .col-12 > div {
    display: flex;
    align-items: center;
    font-size: 1rem;
    gap: .75rem;
}

footer .col-12 > div picture {
    flex-shrink: 0;
}

footer .col-12 p {
    margin: 0;
}

footer .col-12 a {
    color: #444342;
    font-size: 1.2rem;
}

footer .col-12 a:hover {
    color: #000000;
}

footer .pt-4 {
    border-top: 1px solid #44434230;
    margin-top: 1.5rem;
    font-size: .9rem;
}

footer .pt-4 a {
    font-size: .9rem;
}

@media (min-width: 1440px) {

    .container,
    .container-lg,
    .container-md,
    .container-sm,
    .container-xl,
    .container-xxl {
        max-width: 1300px;
    }
}

@media (max-width: 1400px) {}

@media (max-width: 1200px) {}

@media (max-width: 992px) {
    .header__block > div {
        display: none;
    }

    .categories__list,
    .categories__list > div{
        padding-right: 0 !important;
        padding-left: 0 !important;
    }

    .categories__list ul {
        overflow-x: scroll;
        gap: 2.5rem;
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }
}

@media (max-width: 768px) {
    footer .col-12 {
        flex-direction: column;
        gap: 2rem;
    }
}

@media (max-width: 576px) {
    .card__text {
        padding: 1rem;
    }

    .card__text h3 {
        font-size: .9rem;
    }

    .card__text span {
        font-size: 1.2rem;
    }

    .card__text a {
        font-size: .75rem;
    }
}