:root {
  font-size: 20px;
}

html {
  font-size: 100%; /* Ensures scalability */
}

body {
	font: 1rem/1.5 Arial, Helvetica, sans-serif;
	color: #35424a;
	padding: 0;
	margin: 0;
	background-color: #f5f7f8;
}

.container{
	width: 95%;
	margin:auto;
	overflow:hidden;
}

.dark { /*Makes the dark box around content */
	padding: 15px;
	background: #1e2a32;
	color: #f5f7f8;
	margin-top: 10px;
	margin-bottom: 10px;
}

.logo {
  max-width: 240px; 
  width: 100%;
  height: auto;
}

ul{  /*Removes list formatting (dots and indents)*/ 
	margin: 0;
	padding: 0;
}

.button {
	display: block;
	margin: auto;
	padding: 10px;
	width: 50%;
	background-color: #00a097;
	color: white;
	border-radius: 10px;
	cursor: pointer;
}

.button:hover {
  background-color: #00938b;
  transition: background-color 0.6s ease;
}

a {
	text-decoration: none;
}

/*Header*/
/*The header bar*/

header{ 
	background: #35424a;
	color: #f5f7f8;
	padding-top: 30px;
	min-height: 70px;
	border-bottom: #58729b 5px groove;
}

/*The menu links in the header*/

header a {
	color:#f5f7f8;
	text-decoration:none;
	text-transform:uppercase;
	font-size:1rem;
}

/*The menu arrangement in the header*/

header li {
	float: left;
	display: inline;  /* Puts all the menu items in a row on the same line. */
	padding: 0 20px 0 20px;  /*Spaces inbetween menu items not above or below  TRBL */
}

header #branding {   /*pushes logo to the left*/
	float: left;
}
header #branding h1 {
	margin: 0;
	color: #1d5fb2; /*Not in his template*/
}

header nav {    /*Pushes the menu items to the right */

	float: right;
	margin-top: 10px;
}

header .highlight, header .current a {     /*Highlight and current page color*/
	color: #3D7Fd2;
	font-weight: bold;
}

header a:hover {   /*Change the color of the menu items on hover*/
	color: #ccd1d6;
}


/* Showcase Section */

#showcase {
	min-height: 400px;
	background: url('../img/website-code.jpg') no-repeat center;
	background-size: cover;
	text-align: center;
	color: #f7f5f8;
	border-bottom: #58729b 5px groove;
	position: static;
}


#showcase h1{
	margin-top: 50px;
	font-size: 3em;
	margin-bottom: 10px;	
}

#showcase h2{
	font-size: 1.5rem;
	margin-bottom: 10px;
}

#showcase p{
	font-size: 1rem;
	margin: 5%;
  font-weight: bold;
}

#showcase .content {	/*position: relative;*/
	display: block;
	margin: auto; 
	width: 50%;
	height: auto;
	padding: 10px;
  background-color: #000000;
  border: 1px solid Black;
  margin-bottom: 10px;
  opacity: 0.8;
  filter: alpha(opacity=60); /*for IE8 and earlier */
}

#newsletter {
	padding: 15px;
	color: #f5f7f8;
	background: #353637;
}

#newsletter h1 {
	float: left;
}

#newsletter form {
	float: right;
	margin-top: 15px;
}

#newsletter input[type="email"] {
	padding: 4px;
	height: 25px;
	width: 250px;
}

.button_1 {
	height: 38px;
	background: #cccccc;
	border: 0;
	padding-left: 20px;
	padding-right: 20px;
	color: #353637;
}

/*Boxes*/

#boxes {
	margin-top: 20px;
}

#boxes .box {
	float:left;
	text-align: center;
	width: 30%;
	padding: 15px;
}

#boxes p{
	text-align: justify;
}

#boxes ul {
	list-style-type: square;
	text-align: left;
	list-style-position: inside;
 	margin: 0;
	padding: 0;
}


/*Services*/


ul#services li {
	list-style: none;
	padding: 20px;
	border: #cccccc solid 1px;
	margin-bottom: 5px;
	background: #32a0c2;
}

ul#services h3 {
	border-bottom: #353637 solid 1px;
}

.services-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3.5rem;
  margin: 3rem 3rem;
}

.service-box {
  font-family: "Poppins", "Roboto", sans-serif;
  font: 1rem/1.5;
  background: #35424a;
  border-left: 15px solid #00a097;
  padding: 1.75rem;
  border-radius: 10px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.service-box h3 {
  font-size: 1.5rem;
  margin-top: 0;
  color: #00a097;
}

.service-box p {
  color: #f5f7f8;
  line-height: 1.6;
}

.service-box ul li{
  color: #f5f7f8;
  line-height: 1.6;
}

.service-box:hover {
  transform: translateY(-4px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
}

@media (max-width: 950px) {
  .services-container {
    grid-template-columns: 1fr;
  }
}


/*Footer*/

		.site-footer {
      padding: 3rem 1.5rem;
      color: #f5f7f8;
      margin-top: 4rem;
      background-color: #35424a;
      text-align: center;
      border-top: #00a097 10px groove;
    }

    .site-footer p {
      margin: 0.35rem 0;
      font-size: 1rem;
  		line-height: 1.5;
    }

    .site-footer a{
    	color: #00a097;
  		text-decoration: none;
  		font-weight: 500;
    }

    .site-footer a:hover {
		  color: #f5f7f8;
		  /*text-decoration: underline;*/
		}

    .footer-inner {
      max-width: 900px;
      margin: 0 auto;
      display: flex;
      justify-content: center;
      align-items: center;
      gap: 4rem;
      padding-top: 1rem;
    }

    .footer-brand {
    	display: flex;
		  flex-direction: column;
		  gap: 0.25rem;
      max-width: 420px;
    }

    .footer-credibility {
		  display: flex;
		  flex-direction: column;
		  align-items: center;
		  gap: 0.5rem;
		}


    .chamber-logo {
      max-width: 140px;
      width: 100%;
      height: auto;
      opacity: 0.9;
      filter: brightness(1.1); /*Soften logo to show up better on dark background*/
    }

    @media (max-width: 768px) {
	    
	    .footer-inner {
	      flex-direction: column;
	      text-align: center;
	      gap: 1.75rem;
	    }

	    .chamber-logo {
	      margin-top: 1rem;
	    }

	    .footer-brand p {
	    font-size: 0.9rem;
	  	}
  	}

/*About*/
/*Sidebar*/

aside#sidebar {
	float:right;
	width: 30%;
	padding: 5px;
}

article#main-col {
	float:left;
	width: 65%;
}

aside#sidebar input, aside#sidebar textarea{
	width: 90%;
	padding: 5px;
}

aside#sidebar img {
	max-width: 100%;
}

@media(max-width: 768px){
	header #branding,
	header nav,
	header nav li,
	#newsletter h1,
	#newsletter form,
	#boxes .box, 
	aside#sidebar,
	article#main-col {
		float: none;
		width: 100%
	}

	.logo {
    max-width: 180px;
    margin: 0 auto;
    display: block;
  }

	header h1{
		font-size: 1.5em;
	}	

	header {
		padding-bottom: 20px;
	}	

	#showcase h1 {
		margin-top: 40px;
		font-size: 32px;
	}

	#showcase h2 {
		font-size: 24px;
	}

	#showcase .content {
		width: auto;
	}	

	#newsletter button_1 {
		display: block;
		width: 100%
	}	

	#newsletter form input[type="email"],
	.contact input,
	.contact textarea,
	.contact label {
		width:100%;
		margin-bottom: 5px;
	}
}





