:root{
    --main-color: #89AB92;
    /* rgba(137,171,146,1); */
    --secondary-color:#AB8C80;
}
/* rgba(44,152,69,1); */
body,html{
    box-sizing: border-box;
    margin:0!important;
    padding: 0!important;
    font-size:18px;
    font-family: 'Montserrat', sans-serif;
    width:100%;
    height:100%;
}
#main-wrapper{
    overflow: hidden;
}
.maincontent{
    max-width:100%;
    padding:0;
    margin:0;
}
.maincontent_wrapper{
    padding-top:0;
}
img{
    width:100%;
}
h1{
    font-size:3rem;
}
h2{
    font-size:2rem;
}
h3{
    font-size:1.6rem;
    margin:8px 0;
    padding:0;
}
p{
    /* margin:0; */
}
.subtitle{
    font-style: italic;
    font-size:2.5rem;
    color: var(--main-color);
    font-weight:800;
}
.highlightLrg{
    font-style: italic;
    color:var(--secondary-color);
    font-size:2rem;
}
.highlightSm{
    font-style: italic;
    color:var(--secondary-color);
    font-size:1.3rem;
}


/* ========================== */

.grid-5050{
    display:grid;
    grid-template-columns: 50% 50%;
    gap:30px;
}
.hero{
    background-image: linear-gradient(rgba(0,0,0,0.3)0%, rgba(0,0,0,0.3) 100%), url('/imageserver/Reusable/malarkey22/highlander-midnight-black-min.jpeg');
    background-repeat: no-repeat;
    background-size: cover;
    background-position:top, 0 -15vw;
    clip-path: polygon(0% 0%, 100% 0%, 100% 88%, 32% 100%, 0% 88%);
    position: relative;
    min-height:25vw;
}
/* .hero-clip{
    position: absolute;
    bottom:0;
    height:25vw;
    width:100vw;
    background-color:#89AB92;
    clip-path: polygon(0% 80%, 32% 88%, 100% 0%, 32% 100%, 0% 0%);
} */

.hero-grid{
    display:grid;
    grid-template-columns: repeat(3,33.3%);
}
#hero-sub{
    display:inline-block;
}
#logo{
    position: absolute;
    top:3%;
    left:3%;
    background-color:#fff;
    padding:1%;
    max-width:15vw;
    min-width:100px;
}

#hero-content{
    justify-self:flex-start;
    align-self:center;
    grid-column:2/4;
    color:#fff;
    grid-row:1/2;
    position: relative;
}

#hero-img{
    max-width:1000px;
    grid-column:2/4;
    grid-row:1/2;
    justify-self: flex-end;
    /* text-align: right;     */
}
#hero-content h1{
    font-size:clamp(28px, 4vw, 3.5rem);
}
.section1{
    position: relative;
    
}

.sec1-wrapper{
    padding:100px 8% 0;
}
.sec1-grid{
    display:grid;
    grid-template-columns: repeat(6,1fr);
    margin:30px auto 0;
    gap:10px;
}
.video{
    grid-column:3/7;
    grid-row:3/5;
    align-self: center;
    justify-self:flex-end;
    position: relative;
    z-index:2;
    margin-left:150px;
}
#sec1-img{
    max-width:80%;
    grid-column:4/7;
    grid-row:1/4;
}
.sec1-content{
    max-width:800px;
    grid-column:1/5;
    grid-row:2/4;
    justify-self: center;
    align-self:center;
    background-image: linear-gradient(rgba(137,171,146,.8)0%, rgba(137,171,146,.8)100%), url('/imageserver/Reusable/malarkey22/bg13-lighten.png');
    background-size:cover;
    padding:5% 10% 10%;
    color:#f8f8f8;
    margin:50px;
}
#sec1-sub{
    max-width:70%;
}
/* .section2{
    margin-top:50px;
} */
#shamrockSvg{
    height:500px;
    width:500px;
}
#mainBg{
    position: absolute;
    opacity:.1;
    bottom:-20%;
    right:-45%;
    background-image: linear-gradient(to left, rgba(44,152,69,.6) 0%, rgba(44,152,69,.1) 100%), url('/imageserver/Reusable/malarkey22/highlander-midnight-black-min.jpeg');
    background-size:cover;
    background-position: -300px -100px;
    /* background-attachment: fixed; */
    min-height:60vw;
    width:100%;
    clip-path:url(#shamrockClip);
}

.sec2-wrapper{
    position: relative;
    padding:5% 5%;
}

.grid-7030{
    display:grid;
    grid-template-columns: 60% 40%;
    gap:20px;
}
#smog-grid{
    display:grid;
    grid-template-columns: repeat(8,15%);
    max-width:1000px;
}
.smog-title{
    display:inline-block;
    font-size:clamp(12px, 2vw, 28px);
    position:relative;
}

#smog-content{
    /* margin-top:-50px; */
    max-width:80%;
}
#smog-content p{
    line-height: 1.8rem;
}
#molecule{
    max-width:clamp(100px, 20vw, 500px);
    grid-column:3/6;
    grid-row:2/6;
}
#leaf{
    max-width:50px;
    float:left;
    margin:0 8px;
}
#title{
    grid-column:2/-1;
    grid-row:1/2;
    margin-bottom:20px;
}
#colored-ceramic{
    grid-column:1/4;
    grid-row:2/4;
    align-self: flex-end;
    position: relative;
}
#colored-ceramic::after{
    content:"";
    position: absolute;
    top:0;
    left:0;
    height:2px;
    width:75%;
    background-color:#000;
}
#rawBase{
    grid-column:5/8;
    grid-row:2/3;
    justify-self: center;
    align-self:flex-end;
    position: relative;
    
}
#rawBase::after{
    content:"";
    position: absolute;
    bottom:0;
    right:0;
    height:2px;
    width:clamp(200px, 150%, 200%);
    background-color:#000;
}
#photocatalytic{
    grid-column:1/3;
    grid-row:5/6;
    position: relative;
}
#photocatalytic::after{
    content:"";
    position: absolute;
    top:0;
    left:0;
    height:2px;
    width:105%;
    background-color:#000;
}
#adhesion{
    grid-column:5/8;
    grid-row:4/6;
    align-self: flex-start;
    justify-self: center;
    position: relative;
}
#adhesion::before{
    content:"";
    position: absolute;
    bottom:0;
    right:0;
    height:2px;
    width:130%;
    background-color:#000;
}

/* ============ Section 3 ========== */

.section3{
    padding:3% 8% 0;
  

}
.sec3-header{
    text-align: center;
}
.flex-group{
    display:flex;
    flex-direction: row;
    justify-content: space-evenly;
    flex-wrap:wrap;
}
.my-container{
    height:400px;
}
.my-container .my-card .icon {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}
.my-container .my-card .card-title{
    position: absolute;
    bottom: -30%;
    left: 50%;
    width:80%;
    transform: translate(-50%, -50%);
    font-size: 1.5rem;
    font-weight:500;
    color: var(--main-color);
    padding:3%;
    background-color:#f8f8f8;
}
.my-container .my-card .slide {
    width: 400px;
    height: 250px;
    transition: 0.5s;
}
.my-container .my-card .slide.slide1 {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1;
    transition: .7s;
    transform: translateY(100px);
    text-align: center;
}
.my-container .my-card:hover .slide.slide1{
    transform: translateY(0);
}
.my-container .my-card .slide.slide2 {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 10px;
    box-sizing: border-box;
    transition: .8s;
    transform: translateY(-150px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.4);
}
.my-container .my-card:hover .slide.slide2{
    transform: translateY(0);
}

.my-container .my-card .slide.slide2 .my-content p {
    margin: 0;
    padding: 0;
    text-align: center;
    color: #414141;
}

.shingle-type{
    text-align: center;
    font-size:1.4rem;
}
.product-link{
    color:var(--main-color);
    display: inline-block;
    font-size:1.1rem;
    color:#4D070D;
    white-space: nowrap;
    margin-top:10px;
}
.product-link:hover .arrow{
    stroke:#fff;
    fill:#fff;
    stroke-width:2px;
}
.product-link:hover{
    text-decoration: none;
    color:#4D070D;
}
.product-link:hover .arrow-circle{
    fill:var(--main-color);
    transform:rotate(360deg);
    height:100%;
    width:100%;
    transition:.5s;
}
.arrowSvg{
    max-width:26px;
    margin:-3px 5px;
    /* border:1px solid #992C36;
    border-radius:50%; */
}
.arrow-circle{
    fill:transparent;
    stroke:var(--main-color);
    stroke-width:3px;
    transform-origin:center;
    height:100%;
    width:0;
    transition:.5s;
}
.arrow{
    stroke:var(--main-color);
    fill:var(--main-color);
}


/* ============== Slider ================== */
.slider-header{
    padding-top:50px;
    margin-top:75px;
    display:grid;
    grid-template-columns: 30% 80%;
}
.class1{
    position: relative;
    z-index:10;
    background-color:#89AB92;
    grid-column:2/3;
    max-width:80%;
    padding:0 0 5%;
    margin:0 0 -100px;
    padding:3% 5% 5%;
    color:#fff;
}
.slider-wrapper{
    position: relative;
}
main {
	display: grid;
	grid-template-columns: 1fr 1.5fr;
	width: 100%;
	height: 90vh;
	padding: 8% 5% 0;
    background-image: url('/imageserver/Reusable/malarkey22/main-bg.png');
    background-size: cover;
}

main .layer {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}

main .hero-left {
	position: relative;
	display: flex;
	flex-direction: column;
	justify-content: center;
}



.class1 button {
	position: absolute;
    bottom:-10%;
	padding: 5px 15px;
	margin: 10px;
	border: none;
	background-color: #f8f8f8;
	color: var(--secondary-color);
	font-size: 1.2rem;
	cursor: pointer;
	z-index: 5;
    border:1px solid #000;
}

.class1 button:last-of-type {
	right: 60%;
}

main .hero-left button:active {
	transform: scale(0.9);
}

main .hero-left .layers {
	position: relative;
	width: 100%;
	height: 100%;
	overflow: hidden;
}

main .hero-left .layers .layer {
	display: grid;
	grid-template-rows: 6rem 3fr 1fr;
	/* background-color: white; */
	transition: all 0.5s cubic-bezier(0.55, 0, 0.1, 1);
	transition-delay: 0.5s;
	transform: translateX(100%);
	opacity: 0;
}

main .hero-left .layers .layer-displayed {
	transform: translateX(0);
	opacity: 1;
	z-index: 1;
}

main .hero-left .layers .layer-displayed-exit {
	transform: translateX(-100%);
	opacity: 0;
	z-index: 1;
}

main .hero-left .layers .layer>span {
	text-align: center;
	font-size: 1.2rem;
	font-weight: 300;
}

main .hero-left .layers .layer__image {
	background-repeat: no-repeat;
	background-size: cover;
	background-position: center center;
}

main .hero-left .layers .layer__info {
    margin:15px 0 0;
  }

main .hero-right {
	grid-column: 2;
	position: relative;
	overflow: hidden;
}

main .hero-right>.layer {
	
	transform: translateX(100%);
	transition: transform 0.5s cubic-bezier(0.55, 0, 0.1, 1);
	transition-delay: 0.5s;
}

main .hero-right>.layer-displayed {
	transform: translateX(0);
	z-index: 2;
}

main .hero-right>.layer-displayed-exit {
	transition-delay: 1s;
	transition-duration: 0;
	z-index: 1;
}

main .hero-right .photo-name {
	position: absolute;
	top: 13%;
	left: 55%;
	width: 50%;
	font-size: 1.5rem;
	z-index: 2;
}

/* .layer h2{
    color:var(--main-color);
} */

main .hero-right .photo-name span {
	display: block;
}

main .hero-right .photo-name__wrapper {
	position: relative;
}

main .hero-right .photo-name__title {
	font-weight: 300;
    color:var(--secondary-color)
}

main .hero-right .photo-name .layer {
	padding: 10px;
	transform: translateX(-100%);
	opacity:0;
	transition: all 0.5s cubic-bezier(0.55, 0, 0.1, 1);
}

main .hero-right .photo-name .layer-displayed {
	transform: translateX(50px);
	transition-delay: 0.5s;
	opacity:1;
}

main .hero-right .photo-frame {
	position: absolute;
	overflow: hidden;
	animation-play-state: paused;
    /* filter:drop-shadow(3px 3px 5px rgba(0,0,0,0.3)); */
}

main .hero-right .photo-frame:nth-child(4) {
	top: 10%;
	left: 10%;
	width: 50%;
	height: 40%;
	z-index: 3;
}

main .hero-right .photo-frame:nth-child(4) .cover {
	background-color: #f8f8f8;
}

main .hero-right .photo-frame:last-child {
	top: 40%;
	left: 15%;
	width: 65%;
	height: 50%;
	z-index: 2;
}

main .hero-right .photo-frame .cover {
	position: absolute;
	top: 0;
	left: 0;
	width: 0;
	height: 100%;
	background-color: #f8f8f8;
	transition: width 0.5s cubic-bezier(0.55, 0, 0.1, 1);
}

main .hero-right .photo-frame .layer {
	background-repeat: no-repeat;
	background-size: cover;
	background-position: center;
	opacity: 0;
	transition-delay: 0.5s;
}

main .hero-right .photo-frame .layer-displayed {
	opacity: 1;
}

@keyframes cover {
	0% {
		width: 0;
	}

	50% {
		width: 100%;
	}

	95% {
		width: 0;
	}

	100% {
		width: 0;
	}
}

@media screen and (max-width:1200px) {
    #smog-content{
        grid-column:1/-1;
        grid-row:1/2;
        place-self:center;
        margin:0 auto 30px;
        text-align: center;
        max-width:90%;
    }
    #smog-grid{
        grid-column:1/-1;
        margin:0 auto;
        width:70%;
    }
    .section2{
        margin-top:0;
    }
    .class1{
        grid-column: 1/-1;
        justify-self: center;
    }
    .slider-wrapper{
        margin-top:50px;
    }
    .slider-header{
        grid-template-columns: 50% 50%;
        padding-top:0;
    }
}
@media screen and (max-width:1100px) {
    .grid-5050{
        display:block;
        text-align: center;
    }
    .sec1-grid{
        display:block;
    }
    #sec1-img{
        display:none;
    }
    .sec1-content{
        margin:20px auto;
       text-align: center;
       max-width:80%;
       padding:3%;
    }
    .sec1-wrapper{
        text-align: center;
        padding:3%;
    }
    #sec1-sub{
        max-width: fit-content;
    }
    /* .video{
        margin-left:0;
    } */
}
@media screen and (max-width:992px) {
    body,html{
        font-size:14px;
    }
	main .hero-right{
		grid-column:1/-1;
		grid-row:2/3;
	}
	main .hero-left{
		grid-column:1/-1;
		grid-row:1/2;
		text-align:center;
	}
    #hero-content{
        justify-self:center;
        grid-column:1/4;
    }
    .slider-wrapper{
        margin-top:75px;
    }
    .video{
        margin-left:0;
    }
}
@media screen and (max-width:800px) {
	#hero-sub1{
        display:none;
    }
    #hero-sub{
        margin-top:-30px;
    }
    .subtitle{
        font-size:2rem;
    }
    .class1 button:last-of-type {
        right: 10%;
    }
}
@media screen and (max-width:700px) {
    #leaf{
        max-width:30px;
    }
    #title{
        grid-column:1/-1;
     
    }
}
@media screen and (max-width:600px) {
    main .hero-right .photo-frame:nth-child(4) {
        display:none;
    }
    main .hero-right .photo-name {
        text-align: center;
        position: relative;
        left: -15%;
        width: 70%;
        margin:0 auto;
      
    }
}
@media screen and (max-width:400px) {
    #hero-img{
        display:none;
    }
    .hero-grid{
        grid-template-rows:.45fr 1fr;
    }
    .hero{
        min-height:45vw;
        background-position: center;
    }
    #hero-sub{
        display: none;
    }
    #hero-content{
        grid-column:1/-1;
        grid-row:2/3;
        align-self:flex-end;
        text-align:center;
    margin-top:50px;
    }
    #logo{
        grid-row:1/2;
    }
    .slider-wrapper{
        margin-top:100px;
    }
    
    
}