﻿/*
	COLOR PALETTE
	#F7FFF7 - almost white
	#343434 - dark gray, almost black
	#2F3061 - dark blue
	#FFE66D - yellow
	#A1C6D7 - light blue
*/


/* --- Global Styles ----------------------*/

/*This compresses the content of the border box to keep the box size the same*/
html {
	box-sizing: border-box;
}

*, *:after, *:before {
	box-sizing: inherit;
}

body {
	color: #FFE66D;
	margin: 0;
	padding: 0;
	font-family: 'Noto Sans', sans-serif;
	background-image: url(../images/dark_rain.jpg);
	background-size: cover;
	background-position: top right;
}

h1 {
	font-size: 3.5em;
	text-align: center;
	line-height: 1;
}

h2 {
	font-size: 2em;
}

h1, h2 {
	font-family: 'Noto Sans', sans-serif;
	font-weight: 400;
	margin: 0;
}

a {
	color: #FFE66D;
}

p, li {
	line-height: 1.25;
}

.sub-header {
	padding-top: 15px;
}

.nav-buttons {
	list-style: none;
}

.solution-details h3 ~ p {
	margin: 0;
}

.image-only {
	display: flex;
	justify-content: center;
}

.image-right {
	justify-content: right;
}

.license h4 {
	margin-block-start: 0;
	margin-block-end: 0;
}

.license, .products, .phone {
	text-align: center;
}

.products {
	margin-top: .5em;
	margin-bottom: .5em;	
}

.divider > section {
	border-bottom: 1px dashed #343434;
	padding: 10px 0;
}

	.divider > section:last-of-type { /* removes the border for the last section within the divider classed container */
		border-bottom: none;
	}

.divider {
	border-bottom: 3px solid #343434;
	border-top: 3px solid #343434;
	padding: 10px 0;
	color: #F7FFF7;
	background: #343553;
	text-align: center;
}

.btn {
	background: #2f3061;
	color: #f7fff7;
	text-decoration: none;
	padding: 8px;
	border-radius: 4px;
	border: 1px groove gray;
	display: inline-block;
}

	.btn:hover, .projects .btn:focus {
		background: rgba(47, 48, 97, 70%);
	}

	.btn:active {
		background: rgba(47, 48, 97, 50%);
		padding: 8px 7px 9px;
	}

.about p {
	color: #F7FFF7;
	line-height: 1.5em;
	margin: 20px;
}

.about {
	margin-top: 30px;
	margin-bottom: 60px;
}

.solutions {
	color: #F7FFF7
}

/*.logo {
		max-width: 100%;
		height: auto;
}*/

footer {
	color: #f7fff7;
/*	background: #706b6b;  */
}

	footer .contact-list {
		list-style-type: none;
		padding: 0;
	}

		footer .contact-list li {
			padding: 5px 20px;
/*			display: inline-block;  */
		}

	footer a {
		color: aqua;
	}

		footer a:visited {
			color: aquamarine;
		}


/*--------- Dropdown Menu ----------*/
/* Style The Dropdown Button */
.dropbtn {
	background: #2f3061;
	color: #f7fff7;
	text-decoration: none;
	padding: 8px;
	border-radius: 4px;
	border: 1px groove gray;
	display: inline-block;
	cursor: pointer;
}

/* The container <div> - needed to position the dropdown content */
.dropdown {
  position: relative;
  display: inline-block;
}

/* Dropdown Content (Hidden by Default) */
.dropdown-content {
  display: none;
  position: absolute;
  color: #f7fff7;
  background-color: #2f3061;
  min-width: 160px;
  box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
  z-index: 1;
}

/* Links inside the dropdown */
.dropdown-content a {
  color: #f7fff7;
  padding: 12px 16px;
  text-decoration: none;
  display: block;
}

/* Change color of dropdown links on hover */
.dropdown-content a:hover {
	background-color: #2f3061;
	opacity: 80%;
}

/* Show the dropdown menu on hover */
.dropdown:hover .dropdown-content {
  display: block;
}

/* Change the background color of the dropdown button when the dropdown content is shown */
.dropdown:hover .dropbtn {
	background: rgba(47, 48, 97, 70%);
}
/*--------- Dropdown Menu ----------*/

		
/*------------  Responsive -------------------*/
@media screen and (min-width:750px) {   /* Activates when viewport >= than 750px */
	.content-wrap {
		max-width: 900px;
		width: 85%;
		margin: 0 auto;
		padding: 15px; /* Adds space to the container so the default margin of the top and bottom items don't create a gap between the sections.*/
	}
	
	header, footer {
		text-align: center;
	}

	.project-item img {
		float: left;
		margin-right: 20px;
	}

	.solution-item {
		display: grid;
		grid-template-columns: 60% 40%;
	}

	.list-image-right, .list-image-left {
		display: flex;
		flex-direction: row;
		flex-wrap: nowrap;
	}
		.list-image-right div, .list-image-left div {
			margin: 20px;
			padding-top: 8px;
			padding-bottom: 8px;
			color: #F7FFF7;
		}

	.list-image-right {
		justify-content: flex-end;
	}

	.list-image-left {
		justify-content: flex-start;
		text-align: right;
	}

	img {
	/*	max-width: 100%;  */
		width: min-content;
		height: auto;
		border-top: 5px groove #343434;
		border-right: 5px groove #343434;
		border-bottom: 5px groove #706b6b;
		border-left: 5px groove #706b6b;
	}

	footer {
		background-image: url(../images/light-grey-background.jpg);
		background-size: cover;
		background-position: top right;
	}
	
		footer .contact-list {
			display: flex;
			justify-content: center;
			align-items: center;
		}
}

@media screen and (max-width:749px) {   /* Activates from viewport 0px - 749px */
	.content-wrap {
		max-width: 749px;
		width: 100%;
		margin: 0 auto;
		padding: 5px; /* Adds space to the container so the default margin of the top and bottom items don't create a gap between the sections.*/
	}

	h1 {
		font-size: 2em;
		line-height: 0.9;
		margin-bottom: 20px;
	}

	h2 {
		font-size: 1.5em;
		line-height: 1;
	}

	footer {
		background-image: linear-gradient(to top, rgba(110,106,95,1), rgba(110,106,95,0));
	}

		footer .contact-list a {
			padding: 5px;
		}

	img {
		width: min-content;
		max-width: 100%;
		height: auto;
		border-top: 5px groove #343434;
		border-right: 5px groove #343434;
		border-bottom: 5px groove #706b6b;
		border-left: 5px groove #706b6b;
	}
	
}
