:root {
    --accent-color: #242F71;
    --compliment1: #BD8B4F;
    --compliment2: #705E24;
    --compliment3: #BD9517;
}

.maincontent{
    max-width:100%;
}

img {
    width: 100%;
}

.title{
    margin-bottom: 20px;
}

.highlight {
    color: var(--compliment1);
    font-weight: 600;
}

.my-container {
    max-width: 1500px;
    padding: 0 3%;
    margin: 0 auto;
}



.half-hr {
    margin: 60px auto 60px;
    width: 0%;
    border: 0;
    height: 1px;
    background-image: -webkit-linear-gradient(left, #f0f0f0, #8c8b8b, #f0f0f0);
    background-image: -moz-linear-gradient(left, #f0f0f0, #8c8b8b, #f0f0f0);
    background-image: -ms-linear-gradient(left, #f0f0f0, #8c8b8b, #f0f0f0);
    background-image: -o-linear-gradient(left, #f0f0f0, #8c8b8b, #f0f0f0);
    animation: hr 1s 2s forwards;
}

@keyframes hr {
    to {
        width: 60%;
    }
}

.my-header{
    text-align: center;
    margin:40px 0 60px;
}

.featured-content{
    max-width:1000px;
    margin:0 auto;
    text-align: center;
}

.before-after {
    display: grid;
    width:75vw;
    max-width:1200px;
    margin: 0 auto;
}

.damage {
    grid-column: 1/2;
    grid-row: 1/2;
    width:50vw;
    max-height: 60vh;
    max-width: 700px;
    transition: 1s;
    overflow: hidden;
}

.fixed {
    grid-column: 1/2;
    grid-row: 1/2;
    width:50vw;
    max-width: 700px;
    max-height: 60vh;
    overflow: hidden;
}

#damage2,#fixed2{
    justify-self: flex-end;
}

.damage:hover {
    opacity: 0;
    transition: 1s;
}

.quote {
    grid-column: 1/2;
    grid-row: 1/2;
    position: relative;
    display:block;
    margin: 10% 0 0;
    padding:3% 2%;
    font-size: 32px;
    max-width: 50%;
    max-height: 60vh;
    font-family: 'Kalam', sans-serif;
    font-weight: 700;
    color: var(--compliment1);
    z-index:10;
}

#quote1::after,#quote2::after,#quote3::after{
    content:"";
    position: absolute;
    top:-5%;
    height:10em;
    width:100%;
    background-image:linear-gradient(var(--accent-color) 0%, var(--accent-color) 100%);
    display:inline-block;
    z-index:-1;
}
#quote1::after,#quote3::after{
    left:0;
}
#quote2::after{
    right:0;
}

#quote1,#quote3 {
    justify-self: flex-end;
}
#quote2{
    justify-self: flex-start;
    max-width: 50%;
}

.featured-services{
    background-image: linear-gradient(rgba(255,255,255,1) 0%, rgba(255,255,255,0.9) 50%, rgba(255,255,255,1) 100%), url('/imageserver/UserMedia/rooflife/bg.png');
    background-size:cover;
    background-repeat:no-repeat;
    background-position: center;
    text-align: center;
    min-height:350px;
    display:flex;
    align-items:center;
}
.inner-services{
    max-width:1000px;
    padding:0 3%;
    margin:0 auto;
}

@media screen and (max-width: 992px) {
    .before-after{
        overflow:visible;
    }
    .quote{
        grid-row:2/3;
    }
    .damage,.fixed{
        justify-self: center;
        width:80vw;
    }
    #damage2,#fixed2{
        justify-self: center;
    }
    .quote {
        font-size: 24px;
    }
    #quote1,#quote2,#quote3{
        justify-self: center;
        text-align: center;
        max-width:100%;
    }
    #quote1::after,#quote2::after,#quote3::after{
        height:0;
        width:0;
        margin:10px 0;
    }
    .featured-services{
        min-height:300px;
    }
}