html {
  max-width: 100vw;
  overflow-x: hidden;
}

.main-nav {
  position: fixed;
  top: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: "Playfair Display", serif;
  font-weight: 600;
  height: 45px;
  background-color: #162c35;
  color: white;
  letter-spacing: 1.1;
  padding-right: 1rem;
  border-bottom: 2px solid rgba(0, 0, 0, 0.056);
  width: 100%;
  transition: all 300ms;
  z-index: 1000;
}
.nav-up {
  top: -45px;
}

.nav-logo {
  color: white;
  font-size: 1.4rem;
  margin: auto 10px;
  text-decoration: none;
}

.main-nav-content {
  display: flex;
  align-items: center;
}

.nav-ul {
  /* align-items: center; */
}

.nav-li {
  margin: 0px 15px;
}

.nav-a {
  text-decoration: none;
  color: rgb(227, 227, 227);
  transition: all 500ms;
}

.nav-a:hover {
  color: white;
}

.nav-a:visited {
  color: rgb(227, 227, 227);
}

.nav-button-container {
  margin: 0px auto;
}

.button {
  background-color: #306073;
  border-radius: 100px;
  color: white;
  font-family: "Roboto", sans-serif;
  padding: 0px 10px;
}

.hamburger-button {
  display: none;
  border: none;
  background-color: transparent;
  z-index: 1000;
  transition: all 500ms;
}

.hamburger-open {
  margin-right: 250px;
}

.hamburger-container {
  position: relative;
  width: 24px;
  height: 24px;
}

.hb-top-bar {
  position: absolute;
  top: -10px;
  left: 0px;
  fill: white;
  transition: all 500ms;
}

.hb-top-bar-open {
  transform: rotate(-45deg);
  top: -2px;
}

.hb-middle-bar {
  position: absolute;
  top: -2px;
  left: 0px;
  fill: white;
  transition: all 500ms;
}

.hb-middle-bar-open {
  opacity: 0;
}

.hb-bottom-bar {
  position: absolute;
  top: 6px;
  left: 0px;
  fill: white;
  transition: all 500ms;
}

.hb-bottom-bar-open {
  top: -2px;
  transform: rotate(45deg);
}

@media screen and (max-width: 500px) {
  .main-nav-content {
    position: absolute;
    top: 0;
    right: 0;
    display: flex;
    flex-direction: column;
    background-color: #162c35;
    padding: 40px 0px 10px 10px;
    width: 300px;
    height: 100vh;
    border-left: 4px solid #9dbebb;
    transition: all 500ms;
    opacity: 1;
  }

  .nav-ul {
    flex-direction: column;
    align-self: flex-start;
    font-size: 2rem;
    margin: 2rem auto !important;
  }

  .nav-ul li {
    margin-bottom: 1rem;
  }

  .nav-closed {
    right: -300px;
    opacity: 0;
  }

  .nav-button-container {
    margin: 20px auto;
  }

  .hamburger-button {
    display: block;
    position: absolute;
    top: 10px;
    right: 10px;
  }
}

body {
  min-height: 100vh;
  max-width: 100vw;
  display: flex;
  flex-direction: column;
  /* justify-content: space-between; */
  overflow: hidden;
}

main {
  background-color: #ebebeb;
  flex-grow: 1;
  padding-top: 45px;
}

.page-content {
  padding: 3rem 1rem;
}

@media (min-width: 576px) {
  .page-content {
    padding: 3rem;
  }
}

/* ---------------------------------------- */
/*              BREADCRUMBS                 */
/* ---------------------------------------- */

.breadcrumbs {
  display: flex;
  align-items: baseline;
  margin-top: -2rem;
}

.crumb-link {
  color: #77aca2;
  font-family: "Rubik", sans-serif;
  text-decoration: none;
  transition: all 500ms;
}

.crumb-link:visited {
  color: #77aca2;
}

.crumb-link:hover {
  color: rgb(63, 63, 63);
}

.chevron {
  color: rgb(15, 15, 15);
  padding: 0 0.5rem;
}

/* ---------------------------------------- */
/*                 FOOTERS                  */
/* ---------------------------------------- */

.admin-footer {
  background-color: lightgrey;
  height: 10px;
}

.footer {
  display: flex;
  flex-direction: column;
  background-color: #162c35;
  color: white;
  font-family: "Playfair Display", serif;
  padding: 1rem;
}

.footer-nav-cont {
  display: flex;
  justify-content: space-around;
  font-size: 1.3rem;
  margin: 3rem auto;
  width: 100%;
  max-width: 500px;
}

.footer-nav-cont li {
  margin-bottom: 0.5rem;
}

.footer-nav a {
  color: white;
  text-decoration: none;
  transition: all 0.5s;
}

.footer-nav a:hover {
  color: rgb(224, 224, 224);
}

.footer-policies {
  display: flex;
  justify-content: space-between;
  max-width: 700px;
  margin: 0px auto !important;
}

@media screen and (max-width: 700px) {
  .footer-policies {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 0px auto !important;
  }
}

.footer-policies a {
  color: white;
  text-decoration: none;
}

.footer-policies a:hover {
  color: rgb(224, 224, 224);
}

.footer-disclaimer {
  color: rgba(255, 255, 255, 0.54);
  font-size: 0.7rem;
  margin-top: 20px;
  max-width: 700px;
  text-align: center;
}

.footer-disclaimer p {
}

@media (min-width: 576px) {
  .base-footer-nav-cont {
    display: flex;
    justify-content: space-around;
  }

  .footer-disclaimer {
    color: rgba(255, 255, 255, 0.54);
    font-size: 0.7rem;
    margin: 20px auto 0px auto;
    max-width: 700px;
  }
}

.hide {
  display: none !important;
}

/* ---------------------------------------- */
/*              USER SECTION                */
/* ---------------------------------------- */

.user-nav-cont {
  width: 300px;
}

.user-nav a {
  color: black;
  text-decoration: none;
}

/* ---------------------------------------- */
/*                 SPINNER                  */
/* ---------------------------------------- */

.button-spinner {
  fill: white;
  animation: spin 2s linear infinite;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

/* ---------------------------------------- */
/*                 REUSABLE                 */
/* ---------------------------------------- */

.invalid-input {
  border: solid red;
}

.err-msg {
  color: red;
  font-weight: 600px;
  height: 2rem;
}
