body {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
  margin-top: 0px;
  margin-bottom: 0px;
  margin-bottom: 25px;
  background: background.jpg;
}
html body {
  background: #bab8b8 url("/static/images/background.jpg") no-repeat fixed
    center top / cover;
  background-size: cover !important;
}

.footer .container {
  display: flex;
  width: 60%;
  padding-top: 0px;
  padding-bottom: 0px;
}
.footer {
  display: flex;
}
.footer-section {
  display: flex;
  align-items: center;
}

.footer ul {
  list-style-type: none;
}
.footer .container span {
  display: flex;
  align-items: center;
}

.container.full {
  width: 100%;
}

.container {
  background: #1c1919;
  border-radius: 4px;
  color: white;
  margin: 0 auto;
  display: block; /*! margin-top: 5%; */
  padding-top: 6px;
  padding-bottom: 12px;
  border: 1px solid #1c1919;
}

.container.half {
  width: 45%;
  display: inline-block;
}

#site-wrapper {
  margin-top: 10px;
  margin-bottom: 10px;
}

.contentbody {
  margin: 0 auto;
  background: transparent;
  width: 60%;
  padding: 5px;
}

.contentbody p {
  padding-right: 5%;
  padding-left: 5%;
}

.contentbody,
.footer,
nav,
body {
  font-family: Helvetica, sans-serif;
}

.center {
  justify-content: center;
}

.left {
  padding-left: 30px;
  text-align: left;
  margin-left: 0%;
  justify-content: left;
}
.right {
  text-align: right;
  margin-right: 0%;
  padding-right: 30px;
  justify-content: right;
}

#logoText {
  font-size: 40px;
  margin-top: -15px;
  margin-bottom: 2px;
  color: black;
  font-family: Georgia, serif;
}
#logo {
  width: 80px;
}
.activePage {
  background-image: -moz-linear-gradient(
    center top,
    #4b4545,
    #272424
  ) !important;
  background-image: -webkit-linear-gradient(
    center top,
    #4b4545,
    #272424
  ) !important;
  background: #4b4545;
}

.navbar {
  width: 60%;
  margin: 0 auto;
  display: block;
  background: white;
  border-radius: 6px;
  height: 60px;

  background-image: linear-gradient(
    top,
    rgb(177, 27, 41),
    rgb(123, 22, 22)
  ) !important;
  background-image: -webkit-linear-gradient(
    top,
    rgb(177, 27, 41),
    rgb(123, 22, 22)
  ) !important;
  background-image: -moz-linear-gradient(
    top,
    rgb(177, 27, 41),
    rgb(123, 22, 22)
  ) !important;
  border: 2px solid black;
}

nav > ul {
  margin-bottom: 0px;
  margin-top: 0px;
  position: absolute;
  height: 100%;
  width: 100%;
  display: flex;
  justify-content: center;
  padding-left: 0px;
}
nav {
  position: relative;
}

.barlink {
}

.barlink a:hover {
  text-shadow: 0 0 10px;
}
.barlink:hover {
  background-image: -moz-linear-gradient(
    center top,
    #4b4545,
    #272424
  ) !important;
  background-image: -webkit-linear-gradient(
    center top,
    #4b4545,
    #272424
  ) !important;
}

.barlink a {
  text-decoration: none;
  display: flex;
  justify-content: center;
  align-items: center;
  color: white;
  width: 100%;
  height: 100%;
  position: relative;
  overflow-wrap: break-word;
}
.home {
  margin-left: 10%;
}

@media only screen and (max-width: 1600px) {
  .barlink {
    font-size: 100% !important;
  }
}
@media only screen and (max-width: 1250px) {
  .barlink {
    font-size: 80% !important;
    min-width: 12%;
  }
  nav ul li {
    padding-left: 10px;
    padding-right: 10px;
    min-width: 50px;
  }
  #firstLink {
    margin-left: 0px !important;
  }
}

@media only screen and (max-width: 900px) {
  .contentbody,
  .footer > .container,
  #header > .navbar {
    width: 85% !important;
  }
  nav.navbar {
    height: 55px;
  }
}

@media only screen and (max-width: 700px) {
  .barlink {
    width: 12%;
  }
  .blog-card {
    width: 80%;
  }
}

@media only screen and (max-width: 500px) {
  nav ul li {
    padding-left: 7px;
    padding-right: 7px;
    min-width: 40px;
  }
  p {
    font-size: 15px;
  }
  .footer .container span,
  .footer .container li {
    font-size: 15px;
    white-space: nowrap;
  }
  nav.navbar {
    height: 50px;
  }

  .barlink {
    flex-grow: 1;
  }
  .navbar #lastLink {
    border-right: 0px;
  }
  .navbar #firstLink {
    border-left: 0px;
  }
  .right {
    padding-right: 10px;
  }
  .left {
    padding-left: 10px;
  }
}

@media only screen and (max-width: 350px) {
  .contentbody,
  .footer > .container,
  #header > .navbar {
    width: 95% !important;
  }
  #logoText {
    font-size: 25px;
  }
  p {
    font-size: 14px;
  }
  .footer .container span,
  .footer .container li {
    font-size: 14px;
  }
}

.barlink {
  text-decoration: none;
  float: left;
  margin-left: 5%;
  font-size: 120%;
  text-align: center;
  display: inline-block;
  position: relative;
  border-left: 2px solid black;
  border-right: 2px solid black;
  height: 100%;
  margin-left: -1px;
  min-width: 8%;
}
#firstLink {
  margin-left: 0px;
}

#bg_container {
  height: 500px;
  overflow: hidden;
}
#bg {
  width: 100%;
  height: 900px;
}
#content {
  position: absolute;
  top: 0px;
  padding-top: 30px;
  color: #fff;
  width: 100%;
}
video#bgvid {
  position: fixed;
  right: -23%;
  min-height: 100%;
  z-index: -100;
  background: url(/static/images/background.jpg) no-repeat;
  background-size: cover;
  top: -26%;
  height: 160%;
  min-height: 110%;
  margin: 0 auto;
}

table.projects {
  width: 80%;
  margin: 0 auto;
  border-collapse: collapse;
}

.contentbody a.redlink {
  color: rgb(255, 113, 126);
}

a {
  color: inherit; /* blue colors for links too */
  text-decoration: inherit; /* no underline */
}

.projects a {
  text-decoration: none;
}
.projects td {
  border: 1px solid black;
  padding: 0;
  margin: 0px;
}
#projectsTitle {
  font-size: 27px;
  margin-bottom: 35px;
}

a.button-7 {
  appearance: button;
  text-decoration: none;
}

/* CSS */
.button-7 {
  background-color: #0095ff;
  border: 1px solid transparent;
  border-radius: 3px;
  box-sizing: border-box;
  color: #fff;
  cursor: pointer;
  display: inline-block;
  font-family: -apple-system, system-ui, "Segoe UI", "Liberation Sans",
    sans-serif;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.15385;
  margin: 0;
  outline: none;
  padding: 8px 0.8em;
  position: relative;
  text-align: center;
  text-decoration: none;
  user-select: none;
  -webkit-user-select: none;
  touch-action: manipulation;
  vertical-align: baseline;
  white-space: nowrap;
}

.button-7:hover,
.button-7:focus {
  background-color: #07c;
}

.button-7:focus {
  box-shadow: 0 0 0 4px rgba(0, 149, 255, 0.15);
}

.button-7:active {
  background-color: #0064bd;
  box-shadow: none;
}

.blog-card {
  border: 1px solid white;
  border-radius: 4px;
  width: 50%;
  margin: 0 auto;
}
img.card-img-top {
  width: 100%;
}
img.card-blog-post {
  width: 80%;
  margin-top: 40px;
}

div.card-header {
  color: #ddd;
}

div.project-body {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
}

.container.projects .card.mb-4 {
  margin: 20px;
  flex-basis: 25%;
}
