* {
  box-sizing: border-box;
  margin: 0;
  border: 0;
  padding: 0;
}

body {
  font-family: 'Titillium Web', sans-serif;
}

html {
  scroll-behavior: smooth;
}

header {
  width: 100%;
  border-bottom: 12px solid rgb(98, 100, 111);
  position: fixed;
  top: 0;
  background-color: rgb(242, 242, 249);
  z-index: 1;
}

#res-menu {
  display: none;
  width: 15%;
  max-width: 75px;
  cursor: pointer;
}

#res-div-menu {
  width: 100%;
  background-color: rgb(98, 100, 111);
}

#res-div-menu a {
  color: #fff;
  text-decoration: none;
  font-size: 1.4rem;
}

#res-div-menu a:hover {
  color: rgba(255, 255, 255, 0.488);
}

#home-logo {
  height: 185px;
  position: absolute;
  top: 0;
  left: 40px;
  border-top: 8px solid rgb(98, 100, 111);
  cursor: pointer;
  box-shadow: 2px 5px 6px rgba(0, 0, 0, 0.55);
  z-index: 2;
}

.nav-bar {
  position: relative;
  width: 100%;
  max-width: 1000px;
  height: 120px;
  padding: 70px 0px 0px 115px;
  margin: 0px auto;
}

#nav ul {
  list-style: none;
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
}

#nav li a {
  margin: 0px 10px;
  color: rgb(98, 100, 111);
  font-size: 1.25rem;
  text-transform: uppercase;
  cursor: pointer;
  text-decoration: none;
}

#nav li a:hover {
  color: rgb(210, 1, 1);
}

#main-container {
  width: 100%;
  margin-top: 132px;
  border-top: 4px solid rgb(210, 1, 1);
  border-bottom: 4px solid rgb(210, 1, 1);
}

.content {
  width: 100%;
  padding: 20px 0px;
}

.content:nth-child(even) {
  background-color: rgb(242, 242, 249);
}

.title {
  font-size: 2.2rem;
  text-transform: uppercase;
  font-weight: 600;
  color: rgb(98, 100, 111);
}

.carousel-inner {
  max-height: 400px;
}

.carousel-item {
  margin-top: -10%;
}

.home-text {
  width: 60%;
  font-size: 1.25rem;
  line-height: 1.75;
  margin: 0px 25px 0px 0px;
  color: rgb(63, 64, 69);
  font-weight: 300;
  letter-spacing: 1;
}

.stacked-logo-div {
  position: relative;
  width: 40%;
  display: flex;
  flex-direction: column;
  text-align: center;
  align-items: center;
  justify-content: center;
  margin: 0px 0px 0px 25px;
}

#logo-top {
  width: 110px;
  margin-bottom: 15px;
}

#logo-bottom {
  width: 340px;
}

#logo-bottom-nav {
  display: none;
  position: absolute;
  width: 340px;
  bottom: 20px;
  right: 35px;
}

#section-one,
#section-two,
#section-three,
#section-four {
  width: 100%;
  max-width: 1000px;
  min-height: 300px;
  margin: 0px auto;
  padding: 20px;
}

#section-four {
  padding-bottom: 0;
}

#section-one {
  padding-top: 10px;
}

.card-row {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: stretch;
  justify-content: space-between;
}

.card {
  margin-top: 20px;
  padding: 20px 35px;
  text-align: center;
}

.card-title {
  color: rgb(210, 1, 1);
  margin-bottom: 20px;
}

.card-text {
  font-size: 1.25rem;
  color: rgb(63, 64, 69);
  font-weight: 300;
  letter-spacing: 1;
  line-height: 1.75;
}

.card-icon {
  width: 60px;
  margin-bottom: 8px;
  color: rgb(210, 1, 1);
}

.flex-div {
  display: flex;
  flex-direction: row;
}

.column {
  width: 50%;
  padding: 20px 0px 20px 0px;
  font-size: 1.25rem;
  line-height: 1.75;
  color: rgb(63, 64, 69);
  font-weight: 300;
  letter-spacing: 1;
}

.column:first-of-type {
  margin-right: 50px;
}

#contact-form {
  position: relative;
  width: 100%;
}

#contact-form .row {
  margin: 10px 0px;
}

#contact-form label {
  margin: 10px 0px;
}

#contact-form .btn {
  width: 250px;
  height: 50px;
  margin: 20px 0px 0px 0px;
  background-color: rgb(210, 1, 1);
  border-color: rgb(210, 1, 1);
  color: white;
  padding: 0.375rem 0.95rem;
}

#contact-form .btn:hover {
  background-color: rgb(111, 0, 0);
  border-color: rgb(210, 1, 1);
}

#page-bottom-logo {
  width: 248px;
  position: absolute;
  bottom: 5px;
  right: 15px;
}

footer {
  text-align: center;
  border-top: 12px solid rgb(98, 100, 111);
  background-color: rgb(242, 242, 249);
  padding: 20px 50px;
}

@media (max-width: 950px) {
  #home-logo {
    height: auto;
    width: 70px;
    left: 8px;
  }

  .carousel {
    display: none;
  }

  .content {
    padding: 20px 10px;
  }

#section-one,
#section-two,
#section-three,
#section-four {
  padding: 5px;
}

.flex-div {
  flex-direction: column;
}

#section-one .flex-div {
  flex-direction: column-reverse;
}

.column {
  width: 100%;
  padding: 5px 0px 5px 0px;
}

.home-text {
  width: 100%;
}

.stacked-logo-div {
  position: relative;
  display: flex;
  flex-direction: column;
  text-align: center;
  align-items: center;
  justify-content: center;
  width: 100%;
  margin: 0px auto 20px auto;
}

#page-bottom-logo {
  display: none;
}

#contact-form .btn {
  width: 100%;
}

#logo-top {
  width: 20%;
  margin-bottom: 8px;
}

#logo-bottom {
  width: 80%;
}

#logo-bottom-nav {
  width: 200px;
  right: auto;
  left: auto;
  bottom: auto;
}

#nav {
  display: none;
}

.nav-bar {
  position: relative;
  width: 100%;
  max-width: 1000px;
  height: 120px;
  padding: 70px 0px 0px 115px;
  margin: 0px auto;
}

#res-menu {
  position: absolute;
  display: inline-block;
  right: 8px;
  bottom: 10px;
}

#res-div-menu {
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
  padding-top: 10px;
  line-height: 2;
}

.title {
  text-align: center;
}

.card {
  padding: 10px;
}

.home-text, .column p {
  text-align: center;
}



}
