* {
  box-sizing: border-box;
}

@import url('https://fonts.googleapis.com/css?family=Roboto+Condensed:400,400i,700,700i|Roboto+Slab:400,700');

body {
  margin: 0;
  padding: 0;
  font: 1rem/1.25rem 'Roboto Condensed', Times, sans-serif;
  color: #575757;
}

section {
  width: 100%;
  margin: 0 auto;
  padding: 3rem 0;
}

.container {
  max-width: 960px;
  width: 75%;
  margin: 0 auto;
}

.flex {
  display: flex;
  justify-content: flex-start;
}

p {
  margin: 0 0 2rem;
}

a, a:visited {
  text-decoration: none;
  color: #7985a3;
}

a:hover, a:visited:hover {
  text-decoration: underline;
}

h1, h2, h3, h4 {
  font-family: 'Roboto Slab', serif;
}

h1 {
  font-size: 3rem;
  line-height: 3.1rem;
}

/* HEADER STYLES */
header {
  background: #f0f0f0;
  padding: 0.5rem 0;
}

header .container {
  align-items: center;
}

.logo {
  width: 12%;
  height: auto;
  display: block;
}

nav {
  margin-left: 3rem;
  margin-top: 1.2rem;
}

nav ul {
  list-style: none;
  padding: 0;
}

nav ul li {
  margin-right: .9rem;
}

nav ul li a, nav ul li a:visited {
  padding: .25rem .35rem;
  text-decoration: none;
  color: #aeb5ba;
}

nav ul li a:hover, nav ul li a:visited:hover {
  background: #aeb5ba;
  color: #575757;
  text-decoration: none;
}

.social ul {
  display: flex;
  gap: 1rem;
}

.social ul li {
  margin: 0;
}

.social ul li a {
  display: block;
  padding: 0;
}

.social ul li img {
  width: 24px;
  height: 24px;
  display: block;
}

.social ul li a:hover,
.social ul li a:visited:hover {
  background: none;
  text-decoration: none;
}

/* HERO SECTION */
.hero {
  background: url(../images/production.jpg) no-repeat center center;
  background-size: cover;
  min-height: 40rem;
  display: flex;
  align-items: center;
  position: relative;
}

.hero .container {
  width: 48%;
  justify-content: flex-start;
  margin: 0;
  margin-left: 12%;
  color: #fff;
  font-size: 1.25rem;
  line-height: 1.7rem;
  padding: 2rem;
  background: rgba(136,170,197,.85);
}

/* HOME SECTIONS */
.homesection {
  height: 60vh;
  padding: 0;
}

.homesection .mainImage {
  display: block;
  width: 52%;
  height: 100%;
  object-fit: cover;
}

.homesection .container {
  text-align: center;
  width: 25%;
  align-self: center;
}

.homesection .icon {
  width: 8.875rem;
}
