 /*  Site menu and nav bar CSS  */

/* STANDARD PROPERTIES */

:root {
	--color-background: white;
	--color-gng-darkblue: #2A4651;
	--color-gng-lightblue: #488298;
	--color-gng-bluegreen: #05ADAE;
	--color-gng-bannerbkgnd: #C5C6C1;
	--color-header-background: white;
	--color-footer: #272C2F;
	--color-footer-link: #99b879;
	--color-menu: #0033CC;
	--color-menu-hover: #05ADAE;
	--width-main: 1000px;
	--navbar-height: 100px;
	--banner-height: 350px;
	--banner2-height: 250px;
	--contactus-height: 250px;
	--footer-height: 140px;
	--services-text-height: 450px;
	--services-photo-height: 300px;
	--height-subheader: 300px;
	--color-green: #5E9732;
	--padding-left: 75px;
}

* {
	font-family: 'Gotham_Medium';
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

body {
	padding: 0;
	margin: 0;
	background: var(--color-background);
	font-size: 16px;
	width: 100%;
}


/* NAVBAR */

.header {
	width: 100%;
	height: var(--navbar-height);
	background-color: var(--color-header-background);
	position:sticky;
}

.navbar {
	margin: 0 auto;
	width: var(--width-main);
	height: var(--navbar-height);
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 15px;
	color: var(--color-gng-darkblue);
}

.GNGDesignLogo {
	margin: auto 0;
	width: 35%;
}

	.GNGDesignLogo img {
		width: auto;
		max-width: 100%;
		max-height: calc(0.65*var(--navbar-height));
		margin: auto 0px;
		display: block;
		object-fit: cover;
	}

.hamburger {
    display: none;
}

.bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    -webkit-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
    background-color: #101010;
}

.nav-menu {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    margin-left: 10rem;
}

.nav-item {
    padding: 5px 14px;
    list-style:none;
    font-weight: 400;
    font-size: 1.2rem;
    color: #475569;
}


.nav-item:hover{
    		border-bottom: 1px solid;
		color: var(--color-menu-hover); 
		transition: 0.3s ease;
}


.nav-item a {
        outline: none;
        text-decoration: none;
        border-bottom: none;
}


.nav-item a:link, .nav-item a:visited, .nav-item a:active {
        color: var(--color-gng-lightblue);
}






 /* ----------------TITLE IMAGE------------------------------------- */
 
 /* MAIN IMAGE */

.banner-image {
	width: 100%;
	height: var(--banner-height);
	background-size: cover;

}

.banner-row {
	margin: 0 auto;
	width: var(--width-main);
	height: var(--banner-height);
	left: 10px;
	display: flex;
	align-items: center; /* Centering x-axis */
}


.banner-textbox, .banner-textbox > span {
	font-family: 'Gotham_Medium';
	font-size: 40px;
	color: white;
	line-height: 1.4;
	font-weight: bold;
}

.banner-textbox > span{
	color: var( --color-gng-bluegreen);
}

/* ----------------BLANK BANNER------------------------------------- */

.banner-blank {
	width: 100%;
	height: var(--banner2-height);
	background-color: var(--color-gng-bannerbkgnd);
}

.banner-row2 {
	display: grid;
	grid-template-columns: 60% 40%;
	margin: 0 auto;
	width: var(--width-main);
	height: var(--banner2-height);
	left: 10px;
	align-items: center;
}

.banner-text-about1 {
	font-family: 'Gotham_Medium';
	font-weight: bold;
	font-size: 35px;
	color: var(--color-gng-darkblue);
	line-height: 1.4;
}

.banner-text-about2 {
	font-family: 'Gotham_Light';
	font-size: 20px;
	color: var(--color-gng-darkblue);
	line-height: 1.5;
}

/* ----------------SERVICES TEXT------------------------------------- */

.grid-text {
	font-family: 'Gotham_Light';
	font-size: 16px;
	color: var(--color-gng-darkblue);
	line-height: 1.5;
}

	.grid-text::first-line {
		font-family: 'Gotham_Book';
		font-weight: bold;
		font-size: 24px;
		color: var(--color-gng-darkblue);
		line-height: 3.0;
		margin-bottom: 30px;
	}
	.grid-text > ul {
		padding-left: 30px;
	}
	.grid-text  li {
		font-family: 'Gotham_Light';
		font-size: 16px;
		color: var(--color-gng-darkblue);
		line-height: 1.5;
	}
	/* ----------------FOOTER-------------------------------------- */
	.footer {
		background: var(--color-footer);
		width: 100%;
		height: var(--footer-height);
	}

.footer-main {
	margin: 0 auto;
	display: grid;
	grid-template-columns: 70% 30%;
	width: var(--width-main);
	height: var(--footer-height);
}

/* Footer left */

.footer-left {
	vertical-align: middle;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	margin: auto auto auto 0px;
}
	.footer-left img {
		display: block;
		width: auto;
		height: calc(0.75*var(--navbar-height) );
		max-height: 60px;
		max-width: 25%;
		margin-left: 10px;
		margin-right: 50px;
		object-fit: contain;
	}


/* Footer Right */

.footer-right {
	font-family: 'Gotham_Light';
	font-size: 14px;
	margin: auto 0;
	line-height: 1.8;
}

.footer-right div {
	margin-top: 0px;
	margin-bottom: 0px;
}
	

.footer-right p{
	display: inline-block;
	color: #ffffff;
	vertical-align: middle;
	margin:0;
}

.footer-right p a{
	color:  var(--color-footer-link);
	text-decoration: none;
}

/* Changes for responsive design */

@media (max-width: 1000px) {

	:root {
		--width-main: 100%;
	}

	.banner-textbox, .banner-text-about1, .grid-text, .contactus-textbox, .footer-main {
		padding-left: 20px;
	}

	.banner-text-about2, .grid-text {
		padding-right: 10px;
	}

	.grid-text {
		font-size: 1.8vw;
	}

	.navbar {
		padding-left: 10px;
	}

	.navmenu {
		gap: 40px;
	}

	.nav-item a {
		font-size: 1.0rem;
	}

	.grid-text::first-line {
		font-size: 2.0vw;
	}
}

@media (max-width: 800px) {
    :root {
            --banner-height: 200px;
            --banner2-height: 200px;
            --contactus-height: 200px;
            --navbar-height: 80px;
            --footer-height: 140px;
    }

    .banner-textbox, .banner-textbox > span, .banner-text-about1 {
            font-size: 1.5rem;
    }

    .banner-text-about2 {
            font-size: 1.5vw;
    }

    /*  HAMBURGER MENU */

    .nav-menu {
        display: none;
        position: absolute;
        background-color: rgba(255,255,255,1);
        height: var(--banner-height);
	right: 0;
        text-align: right;
        width:200px;
        padding: 10px 0;
        padding: 10px 0;
        top: var(--navbar-height);
    }

    .nav-menu.active {
        display:block;
    }

    .nav-item {
        margin: 1.0rem 0;
        font-size: 0.8rem;
    }
    
    .nav-item:hover{
                    border-bottom: none;
    }
        .hamburger {
        display: block;
        cursor: pointer;
    }

    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active .bar:nth-child(1) {
        -webkit-transform: translateY(8px) rotate(45deg);
        transform: translateY(8px) rotate(45deg);
    }

    .hamburger.active .bar:nth-child(3) {
        -webkit-transform: translateY(-8px) rotate(-45deg);
        transform: translateY(-8px) rotate(-45deg);
    }

		#img-NER {
			display: none;
		}

		.footer-right {
			font-size: 0.6rem;
		}

	}

@media (max-width: 500px) {

	:root {
		--banner-height: 150px;
		--banner2-height: 150px;
		--navbar-height: 65px;
		--footer-height: 100px;
		--contactus-height: 150px;
	}

	.banner-textbox, .banner-textbox > span, .banner-text-about1 {
		font-size: 3.5vw;
	}

	.banner-text-about2 {
		font-size: 2.5vw;
	}

	#img-NER {
		display: none;
	}
        .nav-menu {
            width:150px;
        }
        .nav-item {
             padding: 5px 5px;
            margin: 10px 5px;
        }
        .nav-item a {
             font-size: 12px;
        }
	/* Footer Right */

	.footer-right {
		font-size: 0.4rem;
	}

	.footer-left img {
		margin-left: 10px;
		margin-right: 10px;
	}
}

@media (max-height: 800px) {
    :root {
            --footer-height: 120px;
    }
	.footer-right {
		font-size: 0.6rem;
	}

	.footer-left img {
		margin-left: 10px;
		margin-right: 10px;
	}
}