
/*-----------------Html & Body----------------*/

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

.container-fluid {
  width: 70%;
  margin: 3em auto 4em auto;
}

h1 {
  margin-bottom: 0.75em;
  font-size: 3em;
}

/*----------------Headers & Emphasis Tags----------------*/

#mycarousel .carousel-inner img {
  height: 50vh;
  width: auto;
  object-fit: cover;
  object-position: center;
}

#mycarousel .carousel-caption {
  background: rgba(0, 0, 0, 0.6)
}

#mycarousel .carousel-inner {
  text-shadow: 0 0 3px black; 
}

#mycarousel .carousel-control-prev, #mycarousel .carousel-control-next {
  background: none;
  border: none;
}

#mycarousel {
  position: relative;
}

.desktopStore, #storeCarousel {
  display: none;
}

.mobileStore, #storeCarouselM  {
  display: block;
}

#storeCarousel .carousel-item .card {
  width: 28%;
  height: 30vh;
  margin: 0 0.2% 0 0.2%;
  float: left;
}
#storeCarousel .carousel-inner {
  margin: 0 7.3% 0 7.3%;
}

#storeCarouselM .carousel-item .card {
  width: 100%;
  height: 50vh;
}

#storeCarousel .card-body, #storeCarouselM .card-body {
  text-align: center;
  padding: auto;
}

#storeCarouselM .card-body {
  text-align: center;
}

#storeCarousel img, #storeCarouselM img {
  height: 70%;
  width: auto;
  object-fit: cover;
  object-position: center;
  margin: 0;
}

#storeCarousel .card-text {
  font-size: 2em;
  font-weight: normal;
  word-wrap: normal;
}

#storeCarouselM .card-text {
  font-size: 1.5em;
  font-weight: normal;
  word-wrap: normal;
}

#storeCarousel .carousel-control-prev, #storeCarousel .carousel-control-next {
  border: none;
}

#storeCarousel .carousel-control-prev {
  background-image: linear-gradient(to left, rgb(0,0,0,0.1) 10%, rgb(0,0,0,0) 90%);
  width: 7vh;
  height: 7vh;
  margin: 11vh 0 10vh 0;
  border-radius: 100%;
}

#storeCarousel .carousel-control-next {
  background-image: linear-gradient(to right, rgb(0,0,0,0.1) 10%, rgb(0,0,0,0) 90%);
  width: 7vh;
  height: 7vh;
  margin: 11vh 0 10vh 0;
  border-radius: 100%;
}

#storeCarouselM .carousel-control-next, #storeCarouselM .carousel-control-prev {
  border: none;
  background: none;
}

/*----------------Lists, Nav & Links----------------*/

.city-list, .charity-list {
  list-style-type: none;
  padding: 0;
  margin-block-start: 0;
  display: flex;
  flex-wrap: wrap;
}

.city-list {
  justify-content: space-evenly;
}

.city-list li {
  display: inline;
  margin-right: 2em;
  margin-left: 2em;
}

.charity-list li {
  width: 45%;  
}

.charity-list li:nth-child(odd) {
  margin-right: 5%;
}

@media (max-width: 750px) {
  .city-list {
    justify-content: space-between;
  }
  
  .city-list li {
    width: 45%;
    margin-right: 0;
    margin-left: 0;
  }
}

@media (max-width: 600px) {
  .charity-list {
    display: block;
  }

  .charity-list li {
    width: 100%;
  }
}

@media (max-width: 450px) {
  .city-list li {
    width: 100%;
  }
}

#above-carousel {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  width: 100%;
  z-index: 1;
  background-color: rgba(0,0,0,1);
}

#in-carousel {
  display: none;
}

@media (min-width: 992px) {

  #above-carousel {
    display: none;
  }
  
  #in-carousel {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    width: 100%;
    position: absolute; 
    top: 0;
    left: 0;
    background-color: rgba(0,0,0,0.6);
    z-index: 1;
  }
  
  .navbar-nav {
    width:100%;
    justify-content: right;
  }

  .desktopStore, #storeCarousel {
    display: block;
  }
  
  .mobileStore, #storeCarouselM  {
    display: none;
  }
}

.active {
  font-weight: bold;
}

.navbar-nav .active {
  text-decoration: underline;
}

.nav-link {
  color: white;
}

.navbar-brand {
  font-family: 'Lexend Mega', sans-serif;
  text-decoration: none;
}

.navbar-brand:hover {
  color: white;
  text-decoration: none;
}

.brand-label {
  display: none;
}

@media (min-width: 313px) {
  .brand-label {
    display: block;
    float: right;
    padding-left: 7px;
    font-size: 12px;
    padding-top: 5px;
  }
}

@media (min-width: 416px) {
  .brand-label {
    float: right;
    padding-left: 7px;
    font-size: 1em;
    padding-top: 0px;
  }
}


.nav-link:hover {
  color: white;
  text-decoration: underline;
}

/*----------------Button styles----------------*/

.btn:hover {
  background-color: rgba(0,0,0,0.5);
}

.btn-primary:not(:disabled):not(.disabled):active, .btn-primary:not(:disabled):not(.disabled).active,
.show > .btn-primary.dropdown-toggle {
  background-color: #A32121;
}

.btn-primary:not(:disabled):not(.disabled):active:focus, .btn-primary:not(:disabled):not(.disabled).active:focus,
.show > .btn-primary.dropdown-toggle:focus {
  box-shadow: none;
}

.btn-primary {
  background-color: black;
  border: none;
}

.btn-primary:focus {
  box-shadow: none;
}

.btn[aria-expanded="true"] {
  background-color: rgba(0,0,0,0.5);
}

.newsletter .btn {
  width: 100%;
  text-align: left;
  font-size: 2em;
  padding-left: 5%;
  position: relative;
}

.newsletter .btn span {
  transition: all 0.5s;
  font-size: 1em;
  position: absolute;
  top: 25%;
  right: 0;
  padding-right: 2.5%;
  padding-left: 2.5%;
}

.newsletter .btn[aria-expanded="true"] span {
  transform: rotate(180deg);
}

/*----------------Main Content; Sections & Related----------------*/

.home-logo {
  display: none;
}

.event h2, .help, .map-hours {
  border-bottom: 3px solid #A32121;
}

.map-hours {
  margin-top: 3em;
  display: flex;
  flex-wrap: wrap;
}

.map-hours h2 {
  margin-top: 1em;
}

.map-hours > p:last-child {
  margin-top: 3em;
  margin-bottom: 2em;
}

#hours {
  line-height: 0.75em;
}

#hours span {
  float: right;
}

iframe {
  margin-right: 2em;
  height: 400px;
  width: 45%;
  flex-grow: 3;
  border-radius: 1em;
}

form {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

label {
  line-height: 0.75em;
}

input {
  margin-bottom: 1.5em;
}

#email-header {
  margin-top: 1em;
  margin-bottom: 0.75em;
}

form div {
  width: 45%;
}

#messageInput {
  height: 80%;
}

form .btn {
  width: 50%;
}


.newsletter .card-body {
  border: none;
  padding-top: 0;
}

.event-detail {
  text-align: center;
  margin-top: 7em;
}

.event {
  margin-bottom: 2em;
}

.event p {
  line-height: 0.75em;
}

.event p span {
  font-weight: bold;
}

.help {
  padding-bottom: 2em;
}

.fundraising h2 {
  margin-top: 1.5em;
}

.fundraising h3 {
  margin-top: 1.5em;
}

.fundraising h2, .fundraising p:last-child {
  text-align: center;
}

.fundraising p:last-child {
  width: 75%;
  margin: auto;
  margin-top: 5em;
}

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

#directors div {
  width: 45%;
  margin-bottom: 1em;
}

#directors div p:first-of-type {
  font-weight: bold;
  margin-bottom: 0;
}

@media (max-width: 550px) {
  #directors {
    display: block;
  }
}

.store img {
  width: 100%;
  margin-bottom: 2em;
}

.social-logos {
  margin-top: 1.5em;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

.logo-link {
  width: 100%;
  margin-top: 5%;
  margin-bottom: 5%;
}

.logo-link a {
  display: flex;
  justify-content: center;
  align-items: center;
}

.logo-link p {
  padding-bottom: 0;
  margin-bottom: 0;
  margin-left: 1.1em;
}

.logo-link:nth-of-type(2) {
  padding-right: 7%;
}

.logo-link:nth-of-type(2) img {
  padding-top: 2.5%;
}



.logo-link img {
  width: 5vh;
  margin-bottom: 0;
}

@media (min-width: 524px) {
  .social-logos {
    margin-top: 1.5em;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
  }

  .logo-link {
    width: 30%;
    margin-top: 0;
    margin-bottom: 0;
  }

  .logo-link:nth-of-type(2) {
    padding-right: 0;
  }
  
}

.store h2 {
  padding-top: 1.25em;
}




/*----------------Footer----------------*/
footer {
  background: black;
  text-align: center;
}

footer p:first-of-type {
  padding: 1.25%;  
}

.arrow {
  border: solid white;
  border-width: 0 2px 2px 0;
  display: inline-block;
  padding: 3px;
  margin-left: 15px;
  transform: rotate(-135deg);
}

.img-container {
  margin-right: 0.5%;
  margin-left: 0.5%;
  display: inline-block;
  width: 10vh;
  height: 10vh;
  padding-bottom: 4%;
  border-radius: 50%;
  background: rgba(255,255,255,0.25);
}

.img-container img {
  margin: auto;
  display: block;
  width: 80%;
  height: auto;
  object-fit: contain;
  object-position: center;
  padding: 10%;
  padding-top: 20%;
}

.img-container:nth-of-type(2) img {
  padding-top: 25%;
}

footer a {
  color: white;
}

footer a:hover {
  color: white;
}

.copyright {
  margin: 0 auto 0;
  color: white;
  padding: 1%;
  font-family: 'Lexend Mega', sans-serif;
}

footer .nav {
  margin: 1.25% auto 0;
  border-bottom: 1px solid white;
  width: 50%;
}

footer .nav-item {
  padding: 0%;
  margin-bottom: 1%;
}

@media (min-width: 576px) {
  .container {
    max-width: 540px;
  }
}

@media (min-width: 620px) {
  .home-logo {
    float: right;
    min-width: 10vw;
    max-width: 20vw;
    height: auto;
    display: block;
  }
}

@media (min-width: 768px) {
  .container {
    max-width: 720px;
  }
}

@media (min-width: 992px) {
  .container {
    max-width: 960px;
  }
}