/*home hero*/
.home-hero {
    text-align: center;
    color: #000;
    background-color: #ffffff;
    position: relative;
    overflow: hidden;
    min-height: 80vh;
    display: flex;
    align-items: center;
  }

.hero-img {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    background-image: url(https://polygem.com/pub/media/wysiwyg/polygem-header-min.jpg);
  }
.hero-img:after {
    content: 'Museum Display Created Using ZooPoxy™';
    position: absolute;
    bottom: 10px;
    left: 10px;
    text-shadow: 0 0 10px #FFF, 0 0 10px #FFF, 0 0 5px #FFF;
}

  .home-bg {
    opacity: 0.4;
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    z-index: 0;
  }


.home-hero-wrapper {
    max-width: 1280px;
    margin: 0 auto;
    color: #fff;
    position: relative;
  }

.hero-text {
    position:absolute;
    z-index:1;
    width: 40vw;
    right: 10vw;
    top: 30%;
    color: #000;
}
.home-hero h1{
    font-size: clamp(22px, 1.9vw, 40px);
    font-weight: 400;
    margin-bottom: 20px;
    
}

.home-hero p, .home-hero a {
  font-size: clamp(12px, 1vw, 20px);
  font-weight: 300;
  width: 66%;
  margin: 0 auto;
  margin-bottom: 0px;
}

.home-hero a {
    font-weight: 600;
}


/*content*/
main.page-main{

    max-width:100%!important;
    padding:0px!important;
}

.page-main .columns{
    box-sizing: border-box;
    margin-left: auto;
    margin-right: auto;
    max-width: 100%;
    padding:0px!important;
    width: auto;
    display:block!important;
}

.page-main .columns .column.main{
    padding:0px!important;

}

.page-main .epoxy-for-today {
    border-bottom: 1px solid #cccccc;
    padding-bottom: 60px;
}

.page-main .epoxy-for-today h1 {
  font-weight: 600;
  margin-bottom: 20px;
  color: #2e5983;
  text-align: center;
  font-size: 4em;
  margin-top: 1em;
}

.page-main .epoxy-for-today p {
    font-size: 1.2em;
    color: #999999;
    text-align:center;
}

/*home categories*/
.home-categories, .featured-products {
    max-width: 1120px;
    margin-top: 60px !important;
    margin:0 auto;
}
.home-categories h2, .featured-products h2 {
    font-size: 38px;
    font-weight: 300;
    margin-bottom: 20px;
    color: #000;
    text-align:center;

}
.category-list {
    overflow: hidden;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-evenly;
  }

.category-list .category-image{
    margin-bottom: 20px;
    overflow: hidden;
    width: 361px;
    height: 361px;
  }
.home-categories article {
    margin-bottom: 40px;
    float: left;
    width: 33.33%;
    padding: 5px;
    box-sizing: border-box;
  }

.home-categories article img{

    width: 361px!important;
    height: 361px!important;
    transition: transform .5s;
}
.home-categories article:hover img{

    transform: scale(1.1);
}
.home-categories .icon-arrow{
   
    width: 14px;
      
}
.home-categories a{

    color:#000;
    font-size: 16px;
    font-weight: 400;
    text-decoration: none;
}

.featured-products .product-item-details {
    margin-left: 2rem;
}

/*mobile css*/

@media screen and (max-width: 1200px) {
  
    /*Home Collections*/
    .home-categories{
      width:90%;
      margin-top:0px!important;
    }
    
    
    .category-list .category-image{
    
      width:auto!important;
      height:auto!important;
    }
    .home-categories article img {
      width:auto!important;
      height:auto!important;
    }
    
}


@media (min-width: 991px), print {
    .page-layout-1column .block.widget .products-grid .product-item {
        margin-left: 2%;
        width: calc((100% - 6%) / 4)!important;
    }
}

@media (min-width: 640px) {
    .page-layout-1column .block.widget .products-grid .product-item {
        margin-left: 0%;
        width: calc((100% - 4%) / 2);
    }
}



@media screen and (max-width: 768px) {

    .hero-img {  
    background-image: url(https://polygem.com/pub/media/wysiwyg/polygem-web-blackground-mobile.jpg);
    background-size: cover;
    background-repeat: no-repeat;
    text-align: left;
    background-position: 50% 50%;
  }

  .hero-img:after {
    display: none;
  }

    .hero-text {
        width: 90%;
        left: 50%;
        transform: translate3d(-50%, 10px, 10px);
    }

    .hero-text h1 {
        font-weight: 600;
        color: #fff;
        font-size: 3rem;
        line-height: 1.3;
    }

    .hero-text p, .hero-text a {
        color: #fff;
    }

    .hero-text a {
        background-color: #346e9e;
        border-radius: 24px;
        font-weight: 600;
        font-size: 16px;
        font-family: 'Poppins';
        text-transform: uppercase;
        transition: all ease 0.2s;
        border-width: 0px;
        padding: 5px 12px;
        display: inline-block;
        position: relative;
        top: 30px;
    }

}
  

@media screen and (max-width: 480px) {

  /*Home Collections*/
  .home-categories article {width: 100%;}
  .collection article {width: 100%;}
      
}