* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: aliceblue;
}

html {
    margin: 0;
    padding: 0;

}

header {
    width: 100%;
    height: 70px;
    background-color: black;
    color: white;
    display: flex; /* Включаем режим Flexbox */
    justify-content: center;
    align-items: center;
}

#title {
    font-size: 30px;
    font-weight: bold;
}


.selector {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
    height: 100px;
    /*background-color: #ededed;*/
}



.selector .card-type {
    color: black;
    padding: 10px;
    border-radius: 7px;
    font-size: 18px;
    cursor: pointer;
    width: 250px;

    display: flex;
    justify-content: center;
    align-items: center;

    border: 1px solid rgba(0, 0, 0, 0.25);
}


.selected {
    background-color: black;
    color: white !important;
}


#lists {
    width: 100%;
    display: flex;
    justify-content: center;
    margin-bottom: 100px;
}

.cards-list {
    width: 80%;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 50px;
    justify-content: center;
}

.card-item {
    /*height: 600px;*/
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    overflow: hidden;
    background-color: #fff;
    display: flex;
    flex-direction: column;
}

.card-image {
    width: 100%;
    height: auto;
    object-fit: cover;
}

.card-title {
    margin: 10px 0;
    font-size: 18px;
    font-weight: bold;
    text-align: center;
    color: #333;
}


.card-description-container {
    flex-grow: 1;
    display: flex;
    align-items: center;
    padding: 20px 0 20px 0;
}

/* Описание товара */
.card-description {
    padding: 0 20px 0 20px;
    font-size: 16px;
    color: #555;

}

.get-card {
    width: 100%;
    color: white;
    background-color: black;
    height: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    font-weight: bold;
    font-size: 20px;
}

.get-card:hover {
    font-size: 21px;
    background-color: #171717 !important;
}


.hidden {
    display: none;
}


footer {
    text-align: center;
    /*background-color: #eaeaea;*/
    background-color: black;
    color: #eaeaea;
    height: 100%;
    padding: 30px 10px 30px 10px;
    margin: 0;
}


@media (max-width: 764px) {
    .cards-list {
        padding: 0 10px 0 15px;
        width: 100%;
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .card-item {
        width: 100%;
    }


    .selector {
        flex-direction: column;
        gap: 0;
        padding: 50px;
        height: 200px;

        margin-bottom: 50px;
        background-color: #ececec;
    }

    .card-type {
        width: 100% !important;
        margin-bottom: 10px;

    }

    .card-item {
        /*height: 500px;*/
        margin-bottom: 30px;
    }

    h3 {
        font-size: 23px;
    }

}