* {
    margin: 0;
    padding: 0;
    text-decoration: none;
    list-style: none;
    box-sizing: border-box;
    --primary-font: ui-sans-serif,
        system-ui,
        apple-system,
        BlinkMacSystemFont,
        'Segoe UI',
        Helvetica,
        'Apple Color Emoji',
        Arial,
        sans-serif,
        'Segoe UI Emoji',
        'Segoe UI Symbol';
}

hr {
    border-top: 1px solid #D2D0D0;
}

.category-container {
    display: grid;
    align-items: stretch;
    grid-template-columns: 1fr 1fr 1fr;
    grid-template-rows: auto;
    grid-gap: 1rem;
    margin-top: 1.5rem;
}

@media only screen and (max-width:700px) {

    .category-container {
        grid-template-columns: 1fr;
    }

    .search {
        padding: 10px;
        border-radius: 7px;
        border: none;
        width: 80%;
        background: rgba(16, 16, 16, 0.2);
        box-shadow: 0px 10px 10px rgba(66, 64, 64, 0.08);
        margin-top: 30px;
        color: #fff;
        outline: none;
        padding-left: 40px;
        box-sizing: border-box;
    }

    .search-icon {
        position: absolute;
        color: #fff;
        margin-top: 42px;
        margin-left: 13px;
    }

    .inner-div h2 {
        font-size: 22px !important;
    }

    .inner-div p {
        width: 80% !important;
    }

    #second-collection-div {
        margin-top: -30% !important;
    }

    .collection-title:nth-child(n+2) {
        margin-top: 2rem;
    }

    .collection-img {
        width: 120px;
        height: 100%;
        transition: all .3s linear;
    }

    .collection {
        position: relative;
        padding-left: 0px;
    }

    .breadcrumb-items p,
    .breadcrumb-items a {
        font-size: 12px !important;
    }

    .ma-t {
        margin-top: 1.5rem !important;
    }

    .collection-div {
        padding-top: 50px;
        padding-left: 2%;
        padding-right: 2%;
    }

}

@media only screen and (min-width:1101px) {
    .icon {
        display: none;
    }

    .mid-col-container {
        margin: 0px 30px;
    }

    .search {
        padding: 15px;
        border-radius: 7px;
        /* border: 1px solid #7F57F1; */
        border: none;
        width: 50%;
        background: rgba(16, 16, 16, 0.2);
        box-shadow: 0px 10px 10px rgba(66, 64, 64, 0.08);
        margin-top: 30px;
        color: #fff;
        outline: none;
        padding-left: 40px;
        box-sizing: border-box;
    }

    .search-icon {
        position: absolute;
        color: #fff;
        margin-top: 46px;
        margin-left: 13px;
    }

    #second-collection-div {
        margin-top: -7% !important;
    }

    .ma-t {
        margin-top: 1.5rem !important;
    }

    .ma-l10 {
        margin-left: 10%;
    }

    .collection-img {
        position: absolute;
        left: 0;
        top: 0;
        width: 120px;
        height: 100%;
        transition: all .3s linear;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .collection {
        position: relative;
        padding-left: 150px;
    }

    .collection-div {
        margin: auto;
        max-width: 870px;
    }

    .card-space {
        padding: 20px 30px;
    }
}

@media screen and (min-width:700px) and (max-width: 1100px) {
    .category-container {
        display: grid;
        align-items: stretch;
        grid-template-columns: 1fr 1fr;
        grid-template-rows: auto;
        grid-gap: 1rem;
    }

    .collection-div {
        padding-left: calc(min(96px, 8vw));
        padding-right: calc(min(96px, 8vw));
    }

    .search {
        padding: 15px;
        border-radius: 7px;
        /* border: 1px solid #7F57F1; */
        border: none;
        width: 50%;
        background: rgba(16, 16, 16, 0.2);
        box-shadow: 0px 10px 10px rgba(66, 64, 64, 0.08);
        margin-top: 30px;
        color: #fff;
        outline: none;
        padding-left: 40px;
        box-sizing: border-box;
    }

    .search-icon {
        position: absolute;
        color: #fff;
        margin-top: 46px;
        margin-left: 13px;
    }
}


.book-div {
    position: relative;
    display: none;
}

.inner-div {
    background: linear-gradient(103.85deg, #579EF1 0%, rgba(97, 94, 250, 0.5) 99.51%);
    padding-top: 100px;
    padding-bottom: 260px;
}

.inner-div p {
    font-size: 15px;
    color: #626366;
    width: 30%;
    margin-top: 10px;
}

.inner-div h2 {
    font-size: 36px;
    color: #1F2024;
}

.book-page {
    margin-top: 5px;
}

.book-icon {
    margin-left: 15px;
}

.category-link .category-text {
    font-size: 1rem;
    color: #626366;
    flex: 1;
    padding-top: .75rem;
}

.article-count {
    padding-top: .75rem;
    color: var(--fg-color-light);
    font-size: .75rem;
    font-weight: 500;
}

footer h5 {
    font-weight: normal;
    text-align: center;
    color: #556575;
    background: #f6f6f6;
}

.text-white {
    color: #fff !important;
}

::-webkit-input-placeholder {
    /* Edge */
    color: #fff;
}

:-ms-input-placeholder {
    /* Internet Explorer */
    color: #fff;
}

::placeholder {
    color: #fff;
}

.book-div-1 {
    display: flex;
    justify-content: center;
    align-items: center;
}

.category-container .category-wrapper {
    box-shadow: 5px 5px 30px rgba(85, 81, 81, 0.05);
    background-color: #fff;
    border-radius: var(--border-radius);
    padding: 20px;
    border: 1px solid #eee;
}

.category-wrapper:hover {
    transform: scale(1.02);
}

.category-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

#first-collection-div {
    transform: translate(0px, -100px);
}

.first-coll-con {
    background: #fff;
}

.category-title {
    margin-top: 20px;
    color: #000000;
    font-size: 1.5rem;
    font-weight: 700;
}

.collection-title:nth-child(1) {
    color: #fff;
}

.collection-div {
    transform: translate(0, -120px);
}

.collection-container {
    background: #f6f6f6;
}