@import "./vars.css";

/************************************ Nav Bar ************************************/

/* Bootstrap overrides */
.nav-link {
  padding: 25px 0;
  text-decoration: none;
  display: inline-block;
  font-size: 20px;
  text-align: center;
  margin: 0px 15px;
  color: white;
  transition: 0.4s;
}

.nav-link.active::after,
.nav-link::after {
  content: "";
  display: block;
  margin: auto;
  height: 2px;
  width: 0;
  background: white;
  transition: all 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.bg-body-secondary {
  background-color: rgba(105, 167, 219, 0.85) !important;
}

.navbar-nav .nav-link.active,
.navbar-nav .nav-link.show,
.navbar-brand {
  color: white;
}

.navbar-toggler {
  border: rgba(255, 255, 255, 0.3) solid 1px;
  color: white;
}

.navbar-toggler > i {
  font-size: 24px;
}

.dropdown-toggle::after {
  border: 0px;
}

.nav-link:focus,
.nav-link:hover {
  color: white;
}

.dropdown-menu {
  padding: 0;
  min-width: 120px;
  --bs-dropdown-border-color: none;
  --bs-dropdown-border-radius: 0px 0px 3px 3px;
  text-align: left;
}

.dropdown-menu[data-bs-popper] {
  margin-top: 8px;
}

.dropdown-menu .nav-link {
  text-align: left;
}

.navbar-expand-lg .navbar-nav .dropdown-menu .dropdown-item-custom {
  width: 100%;
  margin: 0;
  padding: 15px 21px;
}

/* .oversized-dropdown-item {
  width: 100px;
} */

@media (min-width: 992px) {
  .navbar-expand-lg .navbar-collapse {
    justify-content: center;
  }
  .navbar-nav {
    margin-right: 70px;
  }
}

@media screen and (max-width: 991px) {
  .nav-link {
    margin: 0;
    width: 100%;
    text-align: revert;
    padding: 20px;
    padding-bottom: 15px;
  }
}

/**************************************** Footer ****************************************/

footer {
  color: #a5b3c2;
  background-color: #181d23;
  height: 300px;
  padding: 30px 150px;
  padding-top: 50px;
}

footer > div {
  height: 100%;
  max-width: 1000px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

#footer_info {
  display: flex;
  justify-content: space-between;
}

#footer_info > * {
  width: 50%;
  max-width: 450px;
}

#copy {
  color: #687f99;
  margin: 0;
  text-align: center;
}

#social_media {
  width: 202px;
}

#social_media i {
  font-size: 24px;
}

#social_media_icons {
  display: flex;
  justify-content: space-between;
  width: 60px;
}

#social_media_icons > a {
  color: #a5b3c2;
}

#social_media_icons > a:hover {
  color: var(--yellowTheme);
}

@media screen and (max-width: 1030px) {
  footer {
    padding-left: 75px;
    padding-right: 75px;
  }
}

@media screen and (max-width: 870px) {
  footer {
    height: 400px;
    padding-top: 75px;
  }

  footer > div {
    align-items: flex-start;
  }

  #footer_info {
    flex-direction: column;
  }

  #footer_info > * {
    width: 100%;
  }

  #social_media {
    display: flex;
    margin-top: 75px;
  }

  #social_media > p {
    margin: 5px 18px 0 0;
  }

  #mc_embed_signup_email_button_div {
    justify-content: flex-start;
  }

  #copy {
    text-align: left;
  }
}


@media screen and (max-width: 400px) {
  footer {
    padding: 75px 20px 0 20px;
  }
}

/**************************************** Mailing List Singup ****************************************/

#mc_embed_signup * {
  text-align: left;
}

#mc_embed_signup_email_button_div {
  display: flex;
  justify-content: space-between;
}

.mc-field-group {
  display: inline-block;
} /* positions input field horizontally */
#mc_embed_signup input.email {
  font-family: "Open Sans", "Helvetica Neue", Arial, Helvetica, Verdana,
    sans-serif;
  font-size: 15px;
  border: none;
  -webkit-border-radius: 3px;
  -moz-border-radius: 3px;
  border-radius: 3px;
  color: white;
  box-sizing: border-box;
  height: 32px;
  padding: 0px 0.4em;
  display: inline-block;
  margin: 0;
  width: 100%;
  vertical-align: top;
  background-color: rgba(255, 255, 255, 0.1);
}

#mc_embed_signup input.email:focus {
  outline: none;
  border-bottom: 1px solid var(--yellowTheme);
}

#mc_embed_signup label#email_signup_label {
  display: block;
  padding-bottom: 10px;
}
#mc_embed_signup .clear {
  display: inline-block;
} /* positions button horizontally in line with input */
#mc_embed_signup input.button {
  font-size: 13px;
  border: none;
  -webkit-border-radius: 3px;
  -moz-border-radius: 3px;
  border-radius: 3px;
  letter-spacing: 0.03em;
  color: white;
  background-color: var(--yellowTheme);
  box-sizing: border-box;
  height: 32px;
  line-height: 32px;
  padding: 0 18px;
  display: inline-block;
  margin: 0;
  margin-left: 5px;
  transition: all 0.23s ease-in-out 0s;
}
#mc_embed_signup input.button:hover {
  background-color: var(--yellowHoverTheme);
  cursor: pointer;
}
#mc_embed_signup div#mce-responses {
  float: left;
  top: -1.4em;
  padding: 0em 0.5em 0em 0.5em;
  overflow: hidden;
  width: 90%;
  margin: 0 5%;
  clear: both;
}
#mc_embed_signup div.response {
  margin: 1em 0;
  padding: 1em 0.5em 0.5em 0;
  font-weight: bold;
  float: left;
  top: -1.5em;
  z-index: 1;
  width: 80%;
}
#mc_embed_signup #mce-error-response {
  display: none;
}
#mc_embed_signup #mce-success-response {
  color: #529214;
  display: none;
}
#mc_embed_signup label.error {
  display: block;
  float: none;
  width: auto;
  margin-left: 1.05em;
  text-align: left;
  padding: 0.5em 0;
}
