.material-container {
    min-height: 100vh;
    padding-left: 10px;
    padding-right: 10px;
    position: relative;
}
.material-title {
    font-size: 34px;
    color: #df336c;
    text-transform: uppercase;
}
@media screen and (max-width:545px) {
  .material-title {
    font-size: 30px;
  }
}
.cards-sec {
    flex: 0 0 280px;
}
.main-search-sec {
    flex: 0 1 670px;
    text-align: left;
    margin-left: 50px;
}

.card1 {
  text-align: center;
  position: relative;
  left: 0;
  width: 250px;
  height: 250px;
  margin: 10px auto;
  background: linear-gradient(rgb(225,150,58), rgb(227,144,91));
  
  /* Don't hardcode transform here; we'll inject it with a class */
  box-shadow: 0px 20px 60px rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
}
.card-container:first-child .card1 {
  background: #7e6597;
}
.card-container:nth-child(2) .card1 {
  background: #cb6ce6;
}
.card-container:nth-child(3) .card1 {
  background: #f98fc4;
}
.card1:hover {
  /* transform: rotateX(0deg) rotateZ(0deg) translateY(0) translateZ(0); */
  box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.3);
}

.card1 p {
  color: white;
  text-align: center;
  width: 220px;
  /* transform: translateX(12px); */
  font-size: 22px;
}

.cards-wrapper {
  position: relative;
  width: 100%;
  height: 460px;
}
.card-container {
  position: absolute;
  perspective: 1000px;
  z-index: 1; /* base */
  transition: transform 0.6s, box-shadow 0.6s;
  transform-style: preserve-3d;
  transform: rotateX(55deg) rotateZ(-8deg) translateY(-110px) translateZ(-100px);
}

.card-container:hover {
  z-index: 999; /* bring to front on hover */
  transform: rotateX(0deg) rotateZ(0deg) translateY(0) translateZ(0);
}



.random-1 {
  /* transform: rotateX(55deg) rotateZ(-15deg) translateY(-100px) translateZ(-100px); */
  z-index: 1;
}
.random-2 {
  /* transform: rotateX(55deg) rotateZ(10deg) translateY(-90px) translateZ(-100px); */
  z-index: 2;
}
.random-3 {
  /* transform: rotateX(55deg) rotateZ(-8deg) translateY(-110px) translateZ(-100px); */
  z-index: 3;
}
.cards-wrapper.hovered {
  height: fit-content;
}
.cards-wrapper.hovered .card-container {
  position: initial;
  transform: rotateX(0) rotateZ(0) translateY(0) translateZ(0);
}
.cards-wrapper.hovered .card-container .card1  {
  width: 140px;
  height: 140px;
  padding: 10px;
}
.cards-wrapper.hovered .card-container .card1 p {
  font-size: 14px;
  width: 100%;
}
.cards-sec:has( .cards-wrapper.hovered) {
  flex: 0 0 160px;
}

.material-search input {
    color: #545454;
    font-size: 16px;
    padding: 8px 50px 8px 60px;
    border: 2px solid #cfcfcf !important;
    width: 100%;
    max-width: 100%;
    border-radius: 0;
    outline: none;
    border-radius: 8px;
}
.material-search input::placeholder {
    color:#cfcfcf;
}

.material-search {
    width: 100%;
    max-width: 510px;

}
.material-search .close-search-icon svg {
    height: 20px;
    width: 20px;
    fill: #df336c;
    cursor: pointer;
}
.material-search .close-search-icon svg line {
  stroke: #df336c;
}
.material-search .search-icon svg{
    height: 20px;
    width: 20px;
    fill: #df336c;
}
.material-search .search-icon {
    top: 8px;
    left: 12px;
}
.material-search .close-search-icon {
    top: 8px;
    right: 15px;
}
.alphabet-radio-block .inner-radio-info {
    color :#df336c;
    font-family: "Lexend Deca", sans-serif;
    text-align: center;
    cursor: pointer;
}
.alphabet-radio-block {
  font-size: 20px;
  justify-content: left !important;
}
.alphabet-radio-block .inner-radio-info:has( input:checked) label {
    background-color: #df336c;
    color :#fff;
    border-radius: 50%;
}
.alphabet-radio-block .inner-radio-info:has( input:checked) label.All i {
    display: none;
}
.material-result-wrapper {
  position: relative;
}

/* Overlay blur mask */
/* .material-result-wrapper::after {
    content: "";
    position: absolute;
    top: 72px;
    left: -19px;
    width: calc(100% + 19px);
    height: calc(100% - 69px);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    z-index: 2;
    pointer-events: all;
} */

.material-result-wrapper.expanded {
  max-height: none;
}

.material-result-wrapper.expanded::after {
  display: none;
}

.material-result-section {
  font-size: 22px;
  gap: 20px;
  /* display: flex; */
  flex-wrap: wrap;
  max-width: 670px;
}
@media screen and (max-width:1058px) {
  .material-result-section {
    margin-left: 0;
  }
}

.material-result {
  padding: 0px 17px;
}
.material-result a {
  color: inherit !important;
}
.material-result.premium {
  /* color :#df336c; */
}

@media screen and (max-width:815px) {
    .material-result {
      padding: 0 7px;
    }
    .material-result-section {
      gap:15px;
      font-size: 20px;
    }
    .material-result-wrapper::after {
      top: 82px;
      height: calc(100% - 75px);
    }
}

.page-item.active .page-link {
    background-color: #df336c;
    border-color: #df336c;
    color: #fff !important;
    
}
.page-item:first-child .page-link {
  border-radius: 13px 0 0 13px;
  padding: 3px 0;
  display: flex;
}
.page-item:last-child .page-link {
  border-radius: 0 13px 13px 0;
  padding: 3px 0;
  display: flex;
}
.page-link svg {
  height: 11px !important;
  width: 13px !important;
}
.page-link {
    color: #df336c !important;
}
.page-link:focus {
  box-shadow: none;
}
.page-item:not(.disabled) .page-link svg {
    fill: #000;
}
.material-search-results.dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  z-index: 99;
}
.material-search-results ul {
    width: 100%;
    max-width: 280px;
    padding: 0;
    background-color: #fff;
    max-height: 200px;
    overflow-y: auto;
}
.material-search-results ul:has( li) {
    box-shadow: 0 8px 24px rgba(149, 157, 165, 0.2);
}
.material-search-results ul li {
    list-style-type: none;
    text-align: left;
    padding: 5px 10px;
    cursor: pointer;
}
.material-search-results ul li a {
    color: inherit !important;
}
.material-search-results ul li:hover {
    background-color: #df336c99;
    color: #fff;
}
.material-search-results ul::-webkit-scrollbar {
  width: 10px;
}

.material-search-results ul::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 10px;
}

.material-search-results ul::-webkit-scrollbar-thumb {
  background: grey;
  border-radius: 10px;
  border: 2px solid #f1f1f1;
}

.material-search-results ul::-webkit-scrollbar-thumb:hover {
  background: gray;
}
.greenText a {
    color: green !important;
    font-size: 16px;
}
.yellowText a {
    color: #000 !important;
    font-size: 16px;
}
.whiteText a {
    color: #000 !important;
    font-size: 16px;
}
.mobile-sec {
  display: none;
}
.info-card {
  padding: 10px;
  width: 140px;
  display: flex;
  align-items: center;
}
.info-card:first-child {
  background-color: #7e6597;
}
.info-card:nth-child(2) {
  background-color: #cb6ce6;
}
.info-card:nth-child(3) {
  background-color: #f98fc4;
}
.info-card p {
  margin: 0;
  color: #fff;
  font-size: 14px;
}
@media screen and (max-width:899px) {
  .mobile-sec {
    display: block;
  }
  .desktop-sec {
    display: none;
  }
  .yellowText a , .greenText a , .whiteText a {
    font-size: 14px;
  }
  .material-result-wrapper::after {
    top:75px;
  }
  .main-search-sec {
    margin-left: 0;
    text-align: center;
  }
  .alphabet-radio-block {
    justify-content: center !important;
  }
  .material-search , .filter-pagination-sec {
    margin-left: auto;
    margin-right: auto;
  }
}
.page-count-pagination {
    /* color: #df336c; */
    font-size: 13px;
}
.filter-history span {
  display: flex;
  align-items: center;
  gap: 5px;
  width: fit-content;
  padding: 5px 10px;
  background: #df336c;
  color: #fff;
  border-radius: 5px;
  font-size: 14px;
  line-height: 1;
}
.filter-history span svg {
  cursor: pointer;
}
.filter-pagination-sec {
  display: flex;
  max-width: 510px;
  /* border-top: 1px solid #f0f0f0; */
  /* border-bottom: 1px solid #f0f0f0; */
}
.filter-pagination-sec .filter-history {
  flex: 1;
}
.page-item .page-link {
  padding: 0;
  border: none;
  font-size: 14px;
  padding: 5px;
  border: 1px solid #ccc;
}
.page-item .page-link:hover {
  background-color: transparent;
}
.pagination-custom {
  gap: 6px;
}
@media screen and (max-width:545px) {
  .material-search input {
    padding: 10px 40px 10px 50px;
    font-size: 16px;
  }
  .material-search .search-icon svg {
    height: 20px;
    width: 20px;
  }
  .material-search .close-search-icon {
    top: 10px;
    right: 15px;
  }
  .material-search .search-icon {
    top: 11px;
    left: 12px;
  }
  .homeBodyBox {
    margin-top: 15px !important;
  }
}
.alphabet-radio-block .inner-radio-info label, .alphabet-radio-block .inner-radio-info {
    height: 19px;
    width:19px;
    font-size: 14px;
}
.list-show a {
    border-left: 1px solid #f0f0f0;
    border-bottom: 1px solid #f0f0f0;
    /* width: 100%; */
    margin: 3px;
    height: calc(100% - 6px);
    padding: 0 5px;
}
.list-show a:hover {
  color: #df336c !important;
}