html,
body {
  width: 100%;
  min-height: 100%;
}

body {
  font-family: "Source Sans Pro", "Helvetica Neue", Helvetica, Arial, sans-serif;
}

a {
  color: #005eb8;
}

a:hover,
a:focus {
  color: #003f7d;
}

.text-vertical-center {
  display: table-cell;
  text-align: center;
  vertical-align: middle;
}

.text-vertical-center h1 {
  margin: 0;
  padding: 0;
  font-size: 3rem;
  font-weight: 700;
}

.btn-dark {
  color: #fff;
  border: none;
  border-radius: 0;
  background-color: rgba(0, 0, 0, .45);
}

.btn-dark:hover,
.btn-dark:focus,
.btn-dark:active {
  color: #fff;
  background-color: rgba(0, 0, 0, .75);
}

.btn-light {
  color: #333;
  border: none;
  border-radius: 0;
  background-color: #fff;
}

.btn-light:hover,
.btn-light:focus,
.btn-light:active {
  color: #333;
  background-color: rgba(255, 255, 255, .85);
}

hr.small {
  max-width: 100px;
}

#sidebar-wrapper {
  position: fixed;
  z-index: 1000;
  right: 0;
  overflow-y: auto;
  width: 250px;
  height: 100%;
  transition: all .4s ease 0s;
  transform: translateX(250px);
  background: #222;
}

.sidebar-nav {
  position: absolute;
  top: 0;
  width: 250px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.sidebar-nav li {
  line-height: 40px;
  text-indent: 20px;
}

.sidebar-nav li a {
  display: block;
  color: #bbb;
  text-decoration: none;
}

.sidebar-nav li a:hover,
.sidebar-nav li a:focus {
  color: #fff;
  text-decoration: none;
  background: rgba(255, 255, 255, .2);
}

.sidebar-nav > .sidebar-brand {
  height: 55px;
  font-size: 18px;
  line-height: 55px;
}

#menu-toggle {
  position: fixed;
  z-index: 1001;
  top: 0;
  right: 0;
}

#sidebar-wrapper.active {
  right: 250px;
  width: 250px;
}

.toggle {
  margin: 5px 5px 0 0;
  padding: 15px 20px;
  font-size: 1em;
}

.header {
  position: relative;
  display: table;
  width: 100%;
  height: 100vh;
  min-height: 540px;
  color: #fff;
  background: linear-gradient(rgba(0, 0, 0, .24), rgba(0, 0, 0, .24)), url("../img/pgtower.jpg") no-repeat center center scroll;
  background-size: cover;
}

.header h3 {
  font-weight: 400;
}

.about,
.services,
.portfolio,
.call-to-action {
  padding: 50px 0;
}

.services {
  background-color: #005eb8 !important;
}

.service-item {
  margin-bottom: 30px;
}

.service-item .fa-circle {
  color: #fff;
}

.service-item .text-primary {
  color: #005eb8 !important;
}

.portfolio h5 {
  line-height: 1.55;
}

.call-to-action a {
  color: #fff;
  text-decoration: underline;
}

.magazine-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 24px;
  margin: 28px 0 36px;
}

.magazine-grid a {
  display: block;
}

.magazine-grid img {
  width: 220px;
  max-width: 100%;
  height: auto;
  border: 1px solid #ddd;
}

.video-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 28px;
  margin: 28px 0;
  text-align: left;
}

.video-card p {
  margin-bottom: 8px;
  font-weight: 700;
  text-align: center;
}

.video-card iframe {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  height: auto;
}

footer {
  padding: 90px 0;
}

#to-top {
  position: fixed;
  right: 5px;
  bottom: 5px;
  display: none;
  padding: 15px 20px;
  font-size: 1em;
}

@media (max-width: 767px) {
  .text-vertical-center h1 {
    font-size: 2.4rem;
  }

  .header {
    min-height: 480px;
  }

  footer {
    padding: 60px 0;
  }
}
