@import url('https://fonts.googleapis.com/css2?family=Noto+Serif:ital,wght@0,100..900;1,100..900&family=Overpass:ital,wght@0,100..900;1,100..900&display=swap');

body{
    font-family: "Overpass", sans-serif;
    /* font-family: "Noto Serif", serif; */
    margin: 0;
}

p{
    margin: 0;
}

#toolkit-text{
    text-decoration: none !important;
}

.toolkittitlemain{
    background: linear-gradient(90deg, #FFB20E 1.3%, #B68406 100%);
    /* background: linear-gradient(90deg, #192E9D 23.96%, #5273FF 100%); */
    font-family: "Noto Serif", serif;
    font-weight: 600;
    font-size: 36px;
    color: #FFFFFF;
    padding: 14px 102px;
}

.toolkitdiscmain{
    background: 
    linear-gradient(0deg, #4D1362, #4D1362),
    linear-gradient(270.04deg, rgba(20, 54, 219, 0) 90.48%, rgba(255, 182, 1, 0.3) 109.97%),
    url('Image/852246cce3c2ea8187bad3c2f01fa652148d302d.png');
    background-blend-mode: luminosity, normal, normal;
    /* background: linear-gradient(#00000026, #00000026), url('Image/ef09628116969c899f8f78b3edc584e826f113e1.png'); */
    /* background-size: cover;
    background-position: center; */
    padding: 53px 102px;
    color: #FFFFFF;
    font-size: 20px;
    font-weight: 500;
    margin-left: -3px;
    height: 181px;
    position: relative;
}

.toolkitcontentsection{
    padding: 34px 102px;
    display: flex;
    flex-direction: column;
    gap: 34px;
}

.toolkitdescimg{
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
}

.filterandsearchsec{
    display: flex;
    justify-content: space-between;
}

.filtersection{
    display: flex;
    flex-wrap: wrap;
    gap: 11px;
}

.filtersection p{
    border: 1px solid #FFB601;
    color: #FFB601;
    border-radius: 20px;
    padding: 5px 10px;
    font-size: 14px;
    font-weight: 400;
    cursor: pointer;
}

.filactive{
    color: #FFFFFF !important;
    background-color: #FFB601;
}

.searchbox{
    border: 1px solid #4D1362BD;
    border-radius: 4px;
    padding: 4px 14px;
    width: 185px;
    display: flex;
    justify-content: space-between;
}

::placeholder{
    color: #4D13626B;
    text-align: right;
}

.searchbox input{
    font-size: 14px;
    letter-spacing: 1px;
    max-width: 150px;
    border: none;
    color: #4D13626B;
    padding: 0 10px;
    text-align: left;
}

.searchbox input:focus{
    outline: none;
}

.contentcardsection{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.allcards{
    width: 88%;
    display: flex;
    flex-wrap: wrap;
    /* justify-content: space-between; */
    gap: 44px;
}

.indvcard{
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-width: 331px;
    cursor: pointer;
}

.cardimg{
    width: 331px;
    height: 266px;
    overflow: hidden;
}

.cardimg img{
    height: inherit;
    width: inherit;
    object-fit: cover;
    transition: 0.5s ease-out;
}

.cardtext{
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.titleandunderline{
    width: fit-content;
}

.titleunderline{
    display: flex;
    background-color: #1436DB;
    height: 1.5px;
    width: 100%;
    opacity: 0;
    transition: 0.5s ease-out;
}

.cardtitle{
    font-family: "Noto Serif", serif;
    color: #1436DB;
    font-size: 20px;
    font-weight: 600;
}

.cardtitle:hover{
    /* border-bottom: 1.5px solid #1436DB; */
    text-decoration: underline;
}

.carddesc{
    font-size: 18px;
    font-style: italic;
    font-weight: 200;
    display: -webkit-box;
  -webkit-line-clamp: 3;       /* Show only 3 lines */
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

.cardtags{
    display: flex;
    flex-wrap: wrap;
    gap: 11px;
}

.cardtags p{
    color: #535353;
    background-color: #E5E7EB;
    padding: 3px 10px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 400;
}

.indvcard:hover .cardimg img{
    transform: scale(1.3);
}



.indvcard:hover .titleunderline{
    /* opacity: 1; */
}


.view-more-btn {
    margin: 20px auto;
    padding: 10px 20px;
    background: var(--Curations-Yellow, #FFB601);
    color: white;
    border: none;
    cursor: pointer;
    display: flex;
    justify-content: center;
}


@media (max-width: 910px){
    .allcards{
        justify-content: center;
    }
}


@media (max-width:800px){
    .toolkittitlemain{
        font-size: 28px;
    }

    .toolkitdiscmain{
        font-size: 16px;
    }

    .filterandsearchsec{
        flex-direction: column-reverse;
        gap: 10px;
    }

    .searchbox{
        width: auto;
    }
}


@media (max-width: 550px){
    .toolkittitlemain{
        padding: 14px 50px;
    }

    .toolkitdiscmain{
        padding: 50px;
    }

    .toolkitcontentsection{
        padding: 34px 50px;
    }
}

@media (max-width: 430px){
    .toolkittitlemain{
        padding: 14px 20px;
    }

    .toolkitdiscmain{
        padding: 20px;
    }

    .toolkitcontentsection{
        padding: 20px;
    }
}