:root {
  --blue: #242b70;
  --blue-light: #007eae;
  --gold: #ecb941;
  --grey: #666;
}

body {
  background: white;
  font-size: 18px;
  margin: 0 auto;
  padding: 0 20px;
  font-family: "Open Sans", Arial, Helvetica, sans-serif;
  color: #333;
  overflow-x: hidden;
  line-height: 1.8rem;
}

a {
  text-decoration: none;
}

a:hover {
  text-decoration: none;
  opacity: 0.8;
}

h1,
h2,
h3 {
  font-family: "Open Sans", Arial, Helvetica, sans-serif;
  font-weight: 600;
  font-style: normal;
  color: var(--blue) !important;
}

h1 {
  font-size: 2.0rem;
}

h2 {
  font-size: 1.75rem;
  text-transform: uppercase;
}

.container {
  max-width: 1200px;
  display: block;
  margin: 60px auto;
}

.entry-header {
    margin-top: 60px;
}

.top-section {
  margin-top: 10px;
}

.column {
  gap: 20px;
  margin-bottom: 30px;
}

#primary {
  width: 70%;
}

#secondary {
  width: 30%;
}

.main-wrapper {
  display: flex;
}

.site-logo img {
  width: 200px;
}

.service-logo {
  width: 300px;
}

.grey {
  color: #999;
}

.portfolio li img {
  width: 200px;
}

.portfolio {
  margin: 0;
  padding: 0;
  display: flex;
  list-style: none;
  flex-wrap: wrap;
  font-size: 12px;
}

.portfolio li {
  width: 265px;
  height: 150px;
  /* Added a height so you can see the vertical centering */
  display: flex;
  /* Turn the list item into a flex container */
  justify-content: center;
  /* Center horizontally */
  align-items: center;
  /* Center vertically */
}

.portfolio li a {
  display: flex;
  /* Ensure the link wrapper also centers the inner image */
  justify-content: center;
  align-items: center;
}

.portfolio li img {
  max-width: 100%;
  /* Keep images from spilling out of the 250px width */
  max-height: 100%;
  /* Keep images from spilling out of the height */
  height: auto;
}

.sidebar-title {
  font-weight: 600;
}

.sidebar {
  margin: 100px auto;
  display: block;
  text-align: center;
}

.sidebar img {
  max-width: 200px;
}

.sidebar .subtext {
  color: #333;
  font-size: 14px;
  max-width: 180px;
  display: block;
  text-align: center;
  margin: 0 auto;
  line-height: 1.3;
}

@media screen and (max-width:767px) {
  .main-wrapper {
    display: block;
  }
  #primary {
    width: 100%;
  }
  #secondary {
    width: 100%;
  }
  .portfolio li {
    width: 100%;
    height: auto;
    margin: 30px 0;
  }
}

.footer {
  font-size: 0.875rem; 
}

.contact {
  background: var(--blue) !important;
  color: white;
  padding: 16px 30px;
  margin-bottom: 40px;
  border-radius: 30px;
}