body,html{
    box-sizing: border-box;
    margin:0;
    padding:0;
    font-size:18px;
}
img{
    width:100%;
}
.images{
    text-align: center;
    align-self: center;
}
.content{
    align-self: center;
    max-width:80%;
    margin:0 auto;
}
.content h2{
    position: relative;
    display: inline-block;
    margin-left:35px;
}
.content h2::after{
    content:"";
    position: absolute;
    top:50%;
    left:-35px;
    height:2px;
    width:30px;
    background-color: #000;
}
.maincontent{
    max-width:100%;
    padding:0;
    margin:0;
}
.maincontent_wrapper{
    padding-top:0;
}
.grid-5050{
    display:grid;
    grid-template-columns: 1fr 1fr;
    gap:20px;
}
.grid-7030{
    display:grid;
    grid-template-columns: .7fr .3fr;
}
div[class*="container"]{
    max-width:1400px;
    margin:0 auto;
    padding:2% 3%;
}
.my-header{
    text-align: center;
}
.btn-wrapper{
    position: relative;
    z-index:5;
}
.myButton {
    box-shadow: 3px 3px 5px -2px rgba(0,0,0,0.29);
	border-radius:5px;
	border:1px solid #566963;
	display:inline-block;
	cursor:pointer;
	color:#000;
	font-family:Arial;
	font-size:15px;
	font-weight:bold;
	padding:11px 23px;
	text-decoration:none;
}
.myButton:hover {
    box-shadow: 2px 2px 5px -2px rgba(0,0,0,0.29);
    transform:scale(.98);
    color:#000;
    text-decoration:none;
}
.myButton:active {
	position:relative;
	top:1px;
}

.hero{
    background-image: url('/imageserver/Reusable/custom-bilt22/hero-min.jpeg');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    height:30vw;
    max-height:500px;
}
.hero-container{
    padding:5%;
}
#hero-title{
    font-size:3.5em;
    font-weight:800;
    color:#fff;
    perspective: 150px;
}
#hero-subtitle{
    color:#fff;
    font-size:2em;
    opacity: 0;
    animation: hero-subtitle 1s .8s forwards;
}
#custom{
    transform: rotateX(90deg);
    transform-style: preserve-3d;
    display:inline-block;
    opacity: 0;
    animation: hero-title 1s forwards;
}
#bilt{
    transform: rotateX(-90deg);
    transform-style: preserve-3d;
    display:inline-block;
    animation: hero-title 1s  forwards;
    opacity: 0;
}
@keyframes hero-title {
    to{
        transform: rotateX(0deg) rotateY(0deg);
        opacity:1;
    }
}
@keyframes hero-subtitle {
    to{
        opacity:1;
    }
}

.main-bg{
    background-image:linear-gradient( to right, rgba(255,255,255,1) 0%, rgba(255,255,255,0) 50% ), url('/imageserver/Reusable/custom-bilt22/cool-roof2-min.png');
    background-size: 50%;
    background-repeat: no-repeat;
    background-position:100% 100%;
}
.my-card{
    position: relative;
    margin:0 auto;
    text-align: center;
    display:grid;
    align-items: center;
    justify-content: center;
    max-width:500px;
    
}
.card-image{
    grid-column: 1/2;
    grid-row: 1/2;
    max-width:500px;
    max-height:303px;
    overflow: hidden;
  position:relative;
}
.card-content{
    position: relative;
    height:100%;
    grid-column: 1/2;
    grid-row: 1/2;
    max-width:500px;
    padding:10%;
    display:grid;
    align-items: center;
}
.card-content h3, .card-content p, .card-content a{
    position: relative;
    z-index:5;
    transition:.5s;
    opacity:0;
}

.card-content::after{
    position: absolute;
    display:inline-block;
    z-index:1;
    content:"";
    background:rgba(255,255,255,0.8);
    height:0;
    width:0;
    top:0;
    left:0;
    transition:.5s;
    opacity:0;
}
.card-image::before{
    position: absolute;
    display:inline-block;
    z-index:2;
    content:"";
    border:1px solid #000;
    height:0;
    width:0;
    top:5%;
    left:5%;
    transition:.5s;
    opacity:0;
}
.my-card:hover .card-content h3{
    opacity:1;
    transition:.5s;
    transition-delay: .1s;
    transition-timing-function: ease-in;
}
.my-card:hover .card-content p{
    opacity:1;
    transition:.5s;
    transition-delay: .2s;
    transition-timing-function: ease-in;
}
.my-card:hover .card-content a{
    opacity:1;
    /* transition:.5s; */
    transition-delay: .3s;
    transition-timing-function: ease-in;
}
.my-card:hover .card-content::after{
    opacity:1;
    transition:.5s;
    height:100%;
    width:100%;
}
.my-card:hover .card-image::before{
    opacity:1;
    transition:.5s;
    height:90%;
    width:90%;
    /* transition-delay: .5s; */
}

.shape-outside::before {
	content: " ";
	float: right;
	background-size: 100% 100%;
	width: 35vw;
	height: 15em;
	margin: 0 0 0 0;
	shape-outside: content-box polygon( 29.1% 26.5%, 49.9% -6.5%, 20.2% 56.3%, 6.7% 76.2%, -1.2% 100.1%, 1% 70% );
}
.section2{
    height:clamp(300px, 15em, 30em);
}
.sec3-header{
    text-align: center;
}
.images-5050{
    order:1;
}
.content-5050{
    order:2;
}



@media screen and (max-width:992px) {
    .grid-5050{
        display: block;
    }
    .content-5050{
        grid-row:1/2;
        order:1;
    }
    .images-5050{
        grid-row:2/3;
        order:2;
    }
    .content{
        margin-top:30px;
    }
    .my-card{
        margin:20px auto;
    }
    .hero-container{
        text-align: center;
    }
    .section1{
        text-align: center;
    }
    .shape-outside::before {
        float: none;
        height:25em;
    }
    .main-bg{
        background-image:linear-gradient( to right, rgba(255,255,255,.8) 0%, rgba(255,255,255,.8) 50% ), url('/imageserver/Reusable/custom-bilt22/cool-roof2-min.png');
    background-size: 100%;
    background-position:100% 100%;
    }
    .section2{
        margin:30px 0 0;
        text-align: center;
        height:clamp(300px, 20em, 30em);
    }
}
@media screen and (max-width:800px) {
    #hero-title{
        font-size:2em;
    }
    #hero-subtitle{
        font-size:1.5em;
    }
}
@media screen and (max-width:600px) {
    .product-cards{
        margin-top:30px;
    }
    #hero-title{
        font-size:1.2em;
    }
    #hero-subtitle{
        font-size:1em;
    }
}