html{
    font-size: 62.5%;
}

:root{
	--primary-color: #283949;
	--hover-white: #ffff;
	--secondary-color: #3c9cd6;
	--text-color:#283949;
	--margin-top: 10rem;
}

body:after{
    position: absolute;
    width: 0;
    height: 0;
    overflow: hidden;
    z-index: -1;
    content: url(../img/icons/facebook-hover.png) url(../img/icons/instagram-hover.png) url(../img/icons/youtube-hover.png);
}

.wrapper-main{
	width: 130rem;
	margin: 0 auto;
}

h1{
	font-size: 3.2rem;
}

h2{
	font-size: 3rem;
}

h3{
	font-size: 2rem;
}

h4{
	font-size: 1.8rem;
}

h1,h2,h3,h4,h5,
span,p, a{
	font-family: 'Roboto', sans-serif;
	text-align: justify;
}

a{
	cursor: pointer;
}

p{
	font-size: 1.8rem;
}

.top-line{
	width: 100%;
	height: 1rem;
	background-color: var(--primary-color);
}

/*=============== Header ===============*/
.header{
    width: 100%;
    height: 7rem;
	padding: 1rem 0;
    background-color: var(--primary-color);
    clip-path: polygon(29% 0, 100% 0, 100% 100%, 31% 100%, 30% 50%);
	position: absolute;  
}

.header-flex{
	display: flex;
    justify-content: flex-end;
    align-items: center;
	column-gap: 8rem;
}

/*Email*/
.header-email{
    display: flex;
    justify-content: center;
    align-items: center;
    column-gap: 1rem; 
}

.header-email-icon{
    width: 4rem;
    height: 4rem;
    background-image: url(../img/icons/email.png);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.header .header-email .header-title p{
    color: var(--hover-white);
    cursor: pointer;
	font-weight: 500;
	font-size: 1.8rem;
	display: block;
}

.header .header-email .header-title p:hover{
    color: var(--secondary-color);
}

.header .header-email .header-title span{
    color: var(--hover-white);
	font-size: 1.5rem;
}

/*Vertical Line*/
.vertical-line{
	width: 0.4rem;
	height: 4rem;
	background-color: #ffff;
}

/*Phone*/
.header-phone{
    display: flex;
    justify-content: center;
    align-items: center;
    column-gap: 1rem;
}

.header-phone-icon{
    width: 4rem;
    height: 4rem;
    background-image: url(../img/icons/phone-white.png);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.header .header-phone p{
    color: var(--hover-white);
    cursor: pointer;
	font-weight: 500;
	font-size: 1.8rem;
}

.header .header-phone span{
    color: var(--hover-white);
	font-size: 1.5rem;
}

.header .header-phone p:hover{
    color: var(--secondary-color);
}

/*Social Media*/
.header-sm{
    width: fit-content;
    height: fit-content;
    display: flex;
    justify-content: center;
    align-items: center;
    column-gap: 1rem;
}

.header-sm-fb{
    width: 2.5rem;
    height: 2.5rem;
    background-image: url(../img/icons/FB.png);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    cursor: pointer;
}

.header-sm-fb:hover{
    background-image: url(../img/icons/facebook.png);
}

.header-sm-in{
    width: 2.5rem;
    height: 2.5rem;
    background-image: url(../img/icons/IN.png);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    cursor: pointer;
}

.header-sm-in:hover{
    background-image: url(../img/icons/instagram.png);
}

.header-sm-yt{
    width: 2.5rem;
    height: 2.5rem;
    background-image: url(../img/icons/YT.png);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    cursor: pointer;
}

.header-sm-yt:hover{
    background-image: url(../img/icons/youtube.png);
}

/*Main Header*/
.header-main{
    width: 100%;
    height: 7rem;
}

.header-main-logo{
    width: 25rem;
    height: 7rem;
    background-image: url(../img/Roofer-logo.PNG);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}

/*============================== Navigation Header ==============================*/
.header-nav{
    width: 100%;
    height: fit-content;
    background-color: var(--hover-white);
    position: sticky;
    top: 0;
    left: 0;
    z-index: 999;
    box-shadow: 0 0.5rem 2rem -1.5rem var(--primary-color);
}

.header-nav-logo{
    display: none;
}

.header-nav-flex{
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-nav-logo{
    width: 25rem;
    height: 7rem;
    background-image: url(../img/Roofer-logo.PNG);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    top: -7rem;
    position: relative;
    display: none;
}

nav{
	width: fit-content;
    background-color: #ffff;
    border: none;
    box-shadow: none;
}

.navigaton{
    width: fit-content;
    height: 100%;
    background-color: #ffff;
}

.navigation ul{
    display: inline;
    float: left;
}

.navigation ul li{
    display: inline;
    float: left;
    position: relative;
}

.navigation ul li a{    
    padding: 0 2rem;
    color: var(--primary-color);
    font-weight: 600;
    font-size: 1.6rem;
    line-height: 7rem;
    display: block;
    height: 100%;
}

/*Styling for Services Dropdown*/

.navigation ul li ul{    
    display: none;
    position: absolute;
    background-color: #fff;
    padding: 0.5rem;
    width: fit-content;
    height: fit-content;
}

.navigation ul li:hover > ul{    
    display: block;
    border-left: 0.1rem solid var(--hover-blue);
    border-bottom: 0.1rem solid var(--hover-blue);
    border-right: 0.1rem solid var(--hover-blue);
}

.navigation ul li ul li{    
    width: 18rem;
    position: relative;
}

.navigation ul li ul li a{    
    padding: 0 2rem;
}

.navigation ul li ul li a:hover{
    color: #263949;   
    background-color: var(--secondary-color);
}

.navigation ul li a:hover,
.navigation ul li a.active{
    color: var(--secondary-color);
    transition: ease-in 200ms;
}

.navigation ul li a.active::after{    
    content: "";
    width: 64%;
    height: 0.5rem;
    background-color: var(--secondary-color);
    position: absolute;
    bottom: 0rem;
    left: 1.4rem;
}

/*Styling for Residential Services Dropdown*/
.navigation ul li ul li ul{    
    top: -0.5rem;
    left: 18.5rem;
}

.navigation ul li ul li ul li{    
    width: 23rem;
}

/*Navigation Button Phone Number*/
.phone-button{
    width: fit-content;
    height: fit-content;    
    display: flex;
    justify-content: center;
    align-items: center;
    column-gap: 2rem;
}

.phone-button-icon{    
    width: 4rem;
    height: 4rem;
    background-image: url(../img/icons/telephone.png);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.phone-info p{    
   font-size: 1.5rem;
   font-weight: 700;
   color: #ffff;
}

a .phone-button{
    width: 25rem;
    height: fit-content;
    background-image: linear-gradient(to right, #141d25, #243a4d);
    padding: 1rem;
    border-radius: 5rem;
}

 a .phone-button:hover{
    background-image: linear-gradient(to right, #263949, #355674);
}

/*=========================== Footer Section ===========================*/
.footer{
    width: 100%;
    height: fit-content;
    padding: 4rem 0;
    background-image: url(../img/footer-banner.png);
    background-position: bottom;
    background-repeat: no-repeat;
    background-size: cover;
}

.footer-info{
    width: 100%;
    height: fit-content;
    padding: 4rem;
    background-color: #263949;
}

.footer-info-flex{
    display: flex;
    justify-content: space-between;
    align-items: center;
	border: 0.1rem solid #ffff;
	padding: 3rem;
}

.footer-quote h3{
    font-weight: 600;
    font-size: 3rem;
    color: #d5defc;
}

.footer-quote h3 span{
    color: var(--secondary-color);
}

.footer-quote p{
	max-width: 80rem;
    color: #ffff;
    margin-top: 4rem;
}

.footer-button{
    width: fit-content;
    height: fit-content;
    display: flex;
    justify-content: center;
    align-items: center;
}

.footer-button a{
    background-color: #3c9cd6;
    color: #ffff;
    padding: 2rem;
    font-size: 2rem;
    font-weight: 400;
}

.footer-button a:hover{
    background-color: #2d3f4e;
    color: #ffff;
    transition: ease-in-out 100ms;
}

/*Start of Footer*/
.footer-flex{
    margin-top: 6rem;
}

.footer-flex-flex{
    display: flex;
    justify-content: center;
    column-gap: 18rem;
}

.contact-info{
    width: fit-content;
    height: fit-content;
}

.footer .contact-info .info a{
    color: #ffff;
}

.footer .contact-info .info a:hover{
    color: var(--secondary-color);
}

.contact-info h4{
    color: #ffff;
    font-size: 2.2rem;
    font-weight: 200;
    border-left: 0.4rem solid var(--secondary-color);
    padding-left: 2rem;
}

.info{
    margin-top: 2rem;
    border-left: 0.4rem solid var(--secondary-color);
    padding-left: 2rem;
}

.info p{
    font-size: 1.6rem;
    margin-top: 2rem;
    color: #ffff;
}

.contact-info ul li a{
    color: #ffff;
    font-size: 1.6rem;
    font-weight: 300;
    line-height: 3.2rem;
    transition: all ease-in-out 200ms;
}

.contact-info ul li a:hover{
    color: var(--secondary-color);
}

.footer .contact-info .list{
	width: fit-content;
    margin-top: 2rem;
    border-left: 0.4rem solid var(--secondary-color);
    padding-left: 2rem;
}

.contact-info-img{
    display: flex;
    column-gap: 1rem;
}

.contact-info-img .fb{
    margin-top: 2rem;
    margin-left: 3rem;
    width: 2rem;
    height: 2rem;
    background-image: url(../img/footer-icons/facebook.png);
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
}

.contact-info-img .fb:hover{
    background-image: url(../img/footer-icons/facebook-hover.png);
}

.contact-info-img .in{
    margin-top: 2rem;
    margin-bottom: 2rem;
    width: 2rem;
    height: 2rem;
    background-image: url(../img/footer-icons/instagram.png);
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
}

.contact-info-img .in:hover{
    background-image: url(../img/footer-icons/instagram-hover.png);
}

.contact-info-img .yt{
    margin-top: 2rem;
    margin-bottom: 2rem;
    width: 2rem;
    height: 2rem;
    background-image: url(../img/footer-icons/youtube.png);
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
}

.contact-info-img .yt:hover{
    background-image: url(../img/footer-icons/youtube-hover.png);
}

.footer-cr{
    width: 100%;
    height: fit-content;
    background-color: #3c9cd6;
}

.footer-cr p{
    color: #fff;
    text-align: center;
    padding-top: 2rem;
    padding-bottom: 2rem;
    font-size: 1.6rem;
}

.header-mobile,
.burger-menu{
	display: none;
}

/*================ MOBILE VERSION ================*/
@media (max-width: 1290px){
	.wrapper-main{
	    width: calc(100% - 40px);
    }
}

@media (max-width: 1250px){
	.header-flex{
	    column-gap: 3rem;
    }
	
	.header-email-icon{
        width: 3rem;
        height: 3rem;
    }
	
	.header-phone-icon{
        width: 3rem;
        height: 3rem;
    }
	
	.header-sm-fb,
	.header-sm-in,
	.header-sm-yt{
        width: 2rem;
        height: 2rem;
    }
}

@media (max-width: 1200px){
	/*=========================== Footer Section ===========================*/
   
    .footer-info-flex{
        flex-wrap: wrap;
        justify-content: center;
        row-gap: 3rem;		
    }

    .footer-quote h3{
	    text-align: center;
    }

    .footer-quote p{
	    max-width: 100%;
        text-align: center;
    }

    /*Start of Footer*/
    .footer-flex{
        margin-top: 4rem;
    }

    .footer-flex-flex{
        flex-wrap: wrap;
        justify-content: center;
        row-gap: 4rem;
    }

    .contact-info h4{
        text-align: center;
        border-left: 0;
    }
	
	.contact-info ul li a{
        left: 50%;
    }

    .info{
        border-left: 0;
    }

    .info p{
        text-align: center;
    }

    .footer .contact-info .list{
        border-left: 0;
    }

    .contact-info-img{
        flex-wrap: wrap;
        row-gap: 1rem;
    }
}

@media (max-width: 1025px){
	.navigation ul li a{
        font-size: 1.4rem;
    }
	
	/*Navigation Button Phone Number*/
    .phone-button{
        column-gap: 1rem;
    }

    .phone-button-icon{    
        width: 3rem;
        height: 3rem;
    }

    .phone-info p{    
       font-size: 1.4rem;
    }

    a .phone-button{
        width: fit-content;
        padding: 1rem;
    }

}

@media (max-width: 900px){
	.wrapper-main{
	    width: calc(100% - 40px);
    }
	
	.top-line{
	    display: none;
    }
	
	.header{
        display: none; 
    }
	
	.header-main{
        display: none;
    }
	
	.header-nav{
        display: none;
    }
	
	.navigation{
        display: none;
    }
	
	.header-mobile{
		display: block;
		width: 100%;
        height: fit-content;
        background-color: var(--hover-white);
        position: sticky;
        top: 0;
        left: 0;
        z-index: 999;
        box-shadow: 0 0.5rem 2rem -1.5rem var(--primary-color);
		padding: 1rem 0;
	}
	
	.header-mobile-flex{
		display: flex;
		justify-content: space-between;
		align-items: center;
	}
	
	.header-mobile .header-mobile-logo{
		width: 20rem;
        height: 6rem;
        background-image: url(../img/Roofer-logo.PNG);
        background-repeat: no-repeat;
        background-size: cover;
        background-position: center;
	}
	
	/*Navigation Button Phone Number*/
    

    a .phone-button{
        width: fit-content;
    }
	
	/*Burger Button*/
	.burger-menu-btn{
		display: block;
		width: 4rem;
		height: 4rem;
		background-image: url(../img/icons/burger-menu.png), url(../img/icons/close.png);
		background-position: center, center left 4rem;
		background-size: cover;
		background-repeat: no-repeat;
	}
	
	.burger-menu{
		display: none;
		position: fixed;
		width: 100%;
		height: 100%;
		z-index: 900;
		background-color: #fff;
	}
	
	.burger-menu ul{
		width: 100%;
		height: fit-content;
		padding-top: 8rem;
		display: flex;
		flex-wrap: wrap;
		align-content: flex-start;
	}
	
	.burger-menu ul li{
		flex-basis: 100%;
		border-top: 0.1rem solid var(--primary-color);
	}
	
	.burger-menu ul li:last-child{
		border-bottom: 0.1rem solid var(--primary-color);
	}
	
	.burger-menu ul li a{
		display: block;
		height: 100%;
		font-size: 2rem;
		padding: 3rem 0;
		flex-basis: 100%;
		text-align: center;
	}
	
	
}

@media(max-width: 515px){
	/*Navigation Button Phone Number*/
    .phone-button{
        column-gap: 0;
    }

    .phone-button-icon{    
        width: 3rem;
        height: 3rem;
    }

    .phone-info p{    
        display: none;
    }

    a .phone-button{
        width: fit-content;
    } 

    
}


