html,
body {
  font-size: 18px;
}

.maincontent {
  max-width: 100%;
  padding: 0;
  margin: 0;
}

p {
  font-family: 'Montserrat', sans-serif;
}

h1, h2 {
  font-size: clamp(1.7rem, 3vw, 60px);
  margin: 0;
  padding: 0;
}

h2 {
  font-size: clamp(1.5rem, 2vw, 48px);
  line-height:1.4em;
}
h3{
  font-size: clamp(1.5rem, 1.5vw, 42px);
}
h1,
h2,
h3 {
  font-family: 'Anton', sans-serif;
  letter-spacing:.1em;
}
.row {
  padding: 0 !important;
  margin: 0 !important;
}

.col-md-6 {
  padding: 0 !important;
  margin: 0 !important;
}

img {
  width: 100%;
}

.main-hr {
  height: 0px;
  max-width: 60%;
  margin: 20px 0;
  border: 1px solid #024382;
}

.lrg-hr {
  max-width: 80%;
  margin: 20px 0;
  border: 1px solid #024382;
}

/* ----------------------------------- BTN Black ------------------------------------------ */

.reusable-btn {
  border-radius: 100px;
  text-align: center;
  display: inline-block;
  padding: 1.8rem 3.2rem;
  color: #fff;
  background: radial-gradient(ellipse at center, #024382, transparent 70%);
  font-family: 'Anton', sans-serif;
  letter-spacing: .2rem;
  transition: all .1s;
  font-size: 1.1rem;
}

.btn-drk {
  background: radial-gradient(ellipse at center, #4FA3F7 0%, transparent 70%);
  padding: 2rem 3.5rem;
}

.reusable-btn a {
  color: #fff;
}

.reusable-btn-white {
  color: #000;
}

.reusable-btn:hover {
  display: inline-block;
  filter: drop-shadow(0 2px 2px rgba(0, 0, 0, 0.5));
  transform: scale(.98);
  text-decoration: none;
  color: #fff;
}

.hero-content {
  padding: 8% 0 8% 15%;
}

.hero-content h2 {
  padding: 0 0 10px 0;
  border-bottom: 2px solid #024382;
  max-width: clamp(250px, 60vw, 500px);
}

.section-divider {
  background: #024382;
  color: #fff;
  text-align: center;
  padding: 1% 2% 1%;
  border: 1px solid #000;
  border-left: 0;
  border-right: 0;
}

.section-divider h2 {
  text-transform: uppercase;
  letter-spacing: .13rem;
}

.hero {
  background-image: url('/imageserver/Reusable/carlisle21/logo-bgr2.png'), url("/imageserver/Reusable/carlisle21/Insulation-hero-min.png");
  background-repeat: no-repeat;
  background-size: 25%, cover;
  background-position: 95% 15%;
}

#insulation-main-img {
  width: 100%;
  /* max-width:600px; */
  object-fit: cover;
}

.grid {
  display: grid;
  grid-template-columns: 50% 50%;
  /* max-height:400px;
      overflow:hidden; */
}

.grid-left {
  grid-column: 1/2;
  max-height: 350px;
  overflow: hidden;
}

.grid-right {
  background-color: #ececec;
  grid-column: 2/3;
  padding: 5%;
}

.product-list {
  padding: 2% 2% 2.5%;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: space-evenly;
  text-align: center;
}

.product-item {
  max-width: 300px;
  object-fit: cover;
  overflow: hidden;
}

.product-item p {
  font-weight: 800;
  margin-top: 10px;
}

.product-item img {
  object-fit: cover;
  filter: drop-shadow(5px 5px 10px rgba(0, 0, 0, 0.2));
  width: 335px;
}

.product-item-details {
  position: relative;
  transition: .4s;
  margin-top: 30px;
  max-width: 335px;
  max-height: 300px;
  object-fit: cover;
  overflow:hidden;
  /* transform:translateZ(500px) rotateX(20deg); */
}

.product-item-details::before {
  content: "";
  position: absolute;
  background: rgba(255, 255, 255, 0.7);
  height: 100%;
  width: 100%;
  top: 0;
  left: 0;
  z-index: 1;
  transform: scale(0);
  opacity: 0;
  transition: .5s;
}

.product-item-descrip {
  position: absolute;
  font-weight: 600;
  top: 4vw;
  left: 0;
  transform: translateY(60%);
  padding: 3%;
  color: #000;
  opacity: 0;
  transition: .8s;
  z-index: 5;
}

.product-link {
  color: #00509E;
  /* border-bottom:1px solid #EBC617; */
}

.product-link:hover {
  border-bottom: 2px solid #EBC617;
  transition: .3s
}

.product-item:hover .product-item-details {
  transform: translateY(-20px);
  transition: .6s;
}

.product-item:hover .product-item-descrip {
  transform: translateY(0%);
  visibility: visible;
  opacity: 1;
  transition: .8s;
}

.product-item:hover .product-item-details::before {
  transform: scale(1);
  opacity: 1;
  transition: .6s;
}

.featured-product {
  padding: 5%;
}

.grid2 {
  display: grid;
  grid-template-columns: 60% 40%;
  grid-template-rows: 1;
  padding: 3% 0;
  /* max-height:400px;
    overflow:hidden; */
}

.grid-left2 {
  grid-column: 1/2;
  grid-row: 1/2;
}

.grid-left2-btm {
  grid-column: 1/2;
  grid-row: 2/3;
  margin-top: clamp(-3vw, -8vw, -100px);
}

p {
  padding: 0;
  margin: 0;
}

.grid-left2-btm p {
  position: relative;
  font-weight: bold;
  line-height: 40px;
  display: inline;
  padding: 5px 20px;
  width: 400px;
  display: inline-block;
}

.grid-left2-btm p:nth-child(5) {
  width: 550px;

}

.grid-left2-btm p::before {
  position: absolute;
  top: 7px;
  left: -10px;
  content: "";
  transform: scale(.8);
}

.grid-left2-btm p:nth-child(1):before {
  content: url('/imageserver/Reusable/carlisle21/one.png');
}

.grid-left2-btm p:nth-child(2):before {
  content: url('/imageserver/Reusable/carlisle21/two.png');
}

.grid-left2-btm p:nth-child(3):before {
  content: url('/imageserver/Reusable/carlisle21/three.png');
}

.grid-left2-btm p:nth-child(4):before {
  content: url('/imageserver/Reusable/carlisle21/four.png');
}

.grid-left2-btm p:nth-child(5):before {
  content: url('/imageserver/Reusable/carlisle21/five.png');
}

.grid-right2 {
  grid-column: 2/3;
  grid-row: 1/2;
  text-align: center;

}

.section4 {
  background-image: linear-gradient(to bottom, rgba(0, 0, 0, .5) 0%, rgba(0, 0, 0, .5) 100%), url('/imageserver/Reusable/carlisle21/warranty2.png');
  background-repeat: no-repeat;
  background-size: cover;
  background-position: top;
  padding: 5% 8%;
  /* text-align: center; */
  margin-bottom: 50px;
  letter-spacing: 1.1px;
  color: #ececec;

}

.section4 h2 {
  text-align: center;
}

.section4 p {
  margin-top: 20px;
  max-width: 1200px;
  text-align: center;
  margin: 0 auto;
}


@media screen and (max-width:992px) {
  .grid {
    display: block;
    max-height: 100%;
    overflow: visible;
  }

  .grid2 {
    grid-template-rows: repeat(2, 1fr);
  }

  .grid-left2-btm {
    grid-row: 2/3;
    grid-column: 1/-1;
    margin-top: 20px;
  }

  .grid-left2-btm p {
    width: 100%;
  }

}

@media screen and (max-width:768px) {
  .grid2 {
    grid-template-rows: repeat(3, max-content);
    grid-template-columns: 1fr;
  }

  .grid-left2-btm {
    grid-row: 3/4;
  }

  .grid-left2 {
    grid-row: 1/2;
  }

  .grid-right2 {
    grid-row: 2/3;
    grid-column: 1/-1;
    padding: 15px 0;
  }

  .grid-right2 {
    grid-column: 1/-1;
    grid-row: 2/3;
  }

  .grid-left2-btm p {
    width: 100%;
    display: inline-block;
  }

  .grid-left2-btm p:nth-child(5) {
    width: 100%;
  }
}

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

  html,
  body {
    font-size: 14px;
  }
}