/* PRISMway
   Theme colors: navy #001a33, link-hover #004280, silver #cacbce */

/* ---------- Reset & base ---------- */
* {
  margin: 0;
  padding: 0;
  outline: 0;
  box-sizing: border-box;
}

img {
  max-width: 100%;
  height: auto;
}

html {
  font: normal 20px/1.5 "Fenix", serif;
  background: #001a33;
  color: #001a33;
}

a {
  color: #001a33;
  transition: color 0.35s ease-in-out;
}

a:hover {
  color: #004280;
}

h1, h2, h3, h4, h5, h6 {
  font-family: "Manuale", serif;
  font-style: italic;
  margin-bottom: 10px;
}

h1 { font-size: 40px; margin: 0 0 10px; }
h2 { font-size: 30px; }
h3 { font-size: 25px; }
h4 { font-size: 20px; }
h5 { font-size: 15px; }

p {
  margin-bottom: 20px;
}

p:last-child {
  margin-bottom: 0;
}

button {
  background: #001a33;
  color: #fff;
  border: none;
  padding: 4px 20px;
  cursor: pointer;
  width: 100%;
  font-size: 24px;
  transition: background 0.35s ease-in-out;
}

button:hover {
  background: #004280;
}

/* ---------- Header & navigation ---------- */
header {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  padding: 10px;
  background: rgba(50, 50, 50, 0.75);
}

.logo {
  float: left;
  height: 60px;
}

.logo img {
  height: 60px;
  width: auto;
}

.menu-toggle {
  display: none;
  text-align: center;
  background: #001a33;
  color: #fff;
  font-weight: bold;
  cursor: pointer;
  padding: 5px 0;
  font-size: 20px;
}

nav {
  text-align: right;
}

.nav-menu li {
  list-style: none;
  display: inline-block;
}

.nav-menu a {
  display: block;
  padding: 20px;
  line-height: 1;
  color: #fff;
  text-decoration: none;
  font-family: "Fenix", serif;
  font-weight: bold;
  white-space: nowrap;
  transition: background 0.35s ease-in-out;
}

.nav-menu li:hover > a {
  background: rgba(200, 200, 200, 0.5);
}

/* ---------- Banner ---------- */
.banner img {
  display: block;
  width: 100%;
  max-height: 600px;
  object-fit: cover;
}

.hero {
  padding: 300px 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero-title {
  font-size: 70px;
  color: #fff;
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
  text-shadow: #000 2px 2px 5px;
}

/* ---------- Main content ---------- */
main {
  text-align: center;
  background: url("../img/glass-bg.jpg");
}

.page-title {
  font-family: "Fenix", serif;
  font-weight: bold;
  font-style: normal;
  text-align: center;
  background: #001a33;
  color: #fff;
}

.content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
  text-align: left;
}

.content ul {
  padding-left: 30px;
  margin: 10px 0;
}

.content ul li {
  margin-bottom: 5px;
}

/* Content column that sits next to a sidebar. */
.content.has-aside {
  width: calc(100% - 325px);
  display: inline-block;
  vertical-align: top;
}

aside {
  width: 310px;
  display: inline-block;
  vertical-align: top;
  margin: 20px 10px 20px 0;
  padding: 10px;
  text-align: left;
  background: rgba(255, 255, 255, 0.25);
}

/* Two side-by-side columns within .content. */
.left,
.right {
  display: inline-block;
  width: 50%;
  vertical-align: top;
  margin-right: -5px;
}

.left { padding-right: 20px; }
.right { padding-left: 20px; }

.section-title {
  border-bottom: solid #001a33 2px;
  padding-bottom: 2px;
}

/* ---------- Testimonials (Client Stories) ---------- */
.testimonials {
  list-style: none;
}

.testimonials .testimonial {
  border-bottom: solid 1px #001a33;
  margin-bottom: 30px;
  padding-bottom: 30px;
}

.testimonials .testimonial:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

/* ---------- Footer ---------- */
footer {
  text-align: center;
  padding: 20px;
  color: #fff;
  font-size: 16px;
}

footer a {
  color: #fff;
  text-decoration: none;
}

footer p {
  margin-bottom: 4px;
}

/* ---------- Modifiers ---------- */
.float-left {
  float: left;
  padding: 0 10px 10px 0;
}

/* ---------- Responsive ---------- */
@media screen and (max-width: 960px) {
  html { font-size: 16px; }

  h1 { font-size: 26px; }
  h2 { font-size: 22px; }
  h3 { font-size: 18px; }
  h4 { font-size: 15px; }

  header {
    position: static;
    background: #cacbce;
    padding: 0;
  }

  .logo {
    float: none;
    width: 100%;
    text-align: center;
    padding: 10px 50px;
  }

  .menu-toggle {
    display: block;
  }

  nav {
    text-align: left;
    display: none;
  }

  .nav-menu li {
    display: block;
    border-bottom: 1px solid #000;
  }

  .nav-menu > li:first-child {
    border-top: 2px solid #000;
  }

  .nav-menu a {
    background: #001a33;
    padding: 15px;
  }

  .nav-menu li:hover > a {
    background: #004280;
  }

  .hero {
    padding: 30px 0;
  }

  .hero-title {
    font-size: 30px;
    padding: 0 10px;
  }

  .content,
  .content.has-aside,
  .left,
  .right,
  aside {
    width: 100% !important;
    display: block !important;
    padding: 10px 20px !important;
    background: transparent;
  }

  .left,
  .right {
    padding: 10px 0 !important;
  }

  .float-left {
    float: none;
    display: block;
    margin: 0 auto;
  }
}
