/*Website made by Nathan Call (https://nathancall.tech) for Recharge (MN)*/
/*Last updated: 2025-06-07*/
/*This is the main CSS file for custom styling*/

html,
body {
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  height: 100%;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  /* background: radial-gradient(circle, #ffffff, #fdf6e3); */
  background-color: #fafafa;
  color: #1a1a1a;
  font-family: "Inter", sans-serif;
}

main {
  flex: 1;
}

nav {
  background-color: black;
  color: white;
  display: flex;
}

nav div {
  height: 75px;
  align-items: center;
  display: flex;
}

nav div img {
  height: 75px;
}

/* .nav-link {
  text-decoration: none;
  color: white;
  margin: 5px;
  padding-inline: 10px;
  padding-block: 5px;
} */

/* .nav-link:hover,
.nav-link:focus {
  background-color: gray;
} */

/* From Uiverse.io by Cornerstone-04 */
.box {
  height: auto;
  float: left;
  transition: 0.5s linear;
  position: relative;
  display: block;
  overflow: hidden;
  padding: 15px;
  text-align: center;
  margin: 0 5px;
  background: transparent;
  text-transform: uppercase;
  font-weight: 700;
}

.box:before {
  position: absolute;
  content: "";
  left: 0;
  bottom: 0;
  height: 4px;
  width: 100%;
  border-bottom: 4px solid transparent;
  border-left: 4px solid transparent;
  box-sizing: border-box;
  transform: translateX(100%);
}

.box:after {
  position: absolute;
  content: "";
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  border-top: 4px solid transparent;
  border-right: 4px solid transparent;
  box-sizing: border-box;
  transform: translateX(-100%);
}

.box:hover {
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
}

.box:hover:before {
  border-color: #be9e3e;
  height: 100%;
  transform: translateX(0);
  transition: 0.3s transform linear, 0.3s height linear 0.3s;
}

.box:hover:after {
  border-color: #be9e3e;
  height: 100%;
  transform: translateX(0);
  transition: 0.3s transform linear, 0.3s height linear 0.5s;
}

.nav-link {
  color: white;
  text-decoration: none;
  cursor: pointer;
  outline: none;
  border: none;
  background: transparent;
}
/* From Uiverse.io by Cornerstone-04 */

#logo-img-a {
  margin: 0px;
  padding-inline: 0px;
  padding-block: 0px;
}

nav {
  border-bottom: 5px solid #be9e3e;
}

.navLarge {
  display: flex;
}
.navSmall {
  display: none;
}
#hidden-btn {
  position: absolute;
  font-size: 40px;
  background: none;
  text-decoration: none;
  border: none;
  color: white;
  top: 18px;
  right: 15px;
  user-select: none;
  padding-top: 15px;
  padding-bottom: 15px;
}
#hidden-btn:hover {
  cursor: pointer;
}
.menu {
  display: block;
  position: relative;
}
.menu,
.menu::before,
.menu::after {
  width: 30px;
  height: 4px;
  background: white;
  transition: transform 400ms ease-in-out, opacity 200ms linear;
  border-radius: 5px;
}
.menu::before,
.menu::after {
  content: "";
  position: absolute;
  left: 0;
}
.menu::before {
  bottom: 12px;
}
.menu::after {
  top: 12px;
}

.nav-open {
  transform: rotate(-405deg);
}

.nav-open::before {
  opacity: 0;
}

.nav-open::after {
  transform: rotate(90deg) translate(-12px);
}

.hide {
  display: none !important;
}
.show {
  display: flex;
}

.nav-card {
  font-size: 15px;
  display: flex;
  flex-direction: column;
  border-radius: 8px;
  position: relative;
  animation: w3animatetop 0.5s backwards;
  color: white;
  text-decoration: none;
  /*from w3*/
  padding: 8px 16px;
  float: left;
  width: auto;
  display: block;
  outline: 0;
  width: 100%;
  display: block;
  text-align: left;
  white-space: normal;
  float: none;
  outline: 0;
  text-align: center;
  float: right !important;
  margin-inline: 10px;
}

.nav-panel {
  position: absolute;
  width: 75px;
  right: 0;
  padding-bottom: 15px;
  background-color: black;
  margin-top: 0px;
  top: 75px;
  z-index: 1;
  border-radius: 0px 0px 0px 15px;
  border-left: 5px solid #be9e3e;
  border-bottom: 5px solid #be9e3e;
}
.logo {
  width: 75px;
  padding-top: 6px;
  padding-right: 10px;
}

.card1 {
  animation: card1 0.5s;
}
.card2 {
  animation: card2 0.5s;
}
.card3 {
  animation: card3 0.5s;
}
.card4 {
  animation: card4 0.5s;
}
.card5 {
  animation: card5 0.5s;
}
.card6 {
  animation: card6 0.5s;
  margin-bottom: 5px;
}
.card7 {
  animation: card7 0.5s;
}
@keyframes card1 {
  from {
    position: absolute;
    top: -150px;
    opacity: 0;
  }
  to {
    position: relative;
    top: 0px;
    opacity: 1;
  }
}
@keyframes card2 {
  from {
    position: absolute;
    top: -250px;
    opacity: 0;
  }
  to {
    position: relative;
    top: 0px;
    opacity: 1;
  }
}
@keyframes card3 {
  from {
    position: absolute;
    top: -350px;
    opacity: 0;
  }
  to {
    position: relative;
    top: 0px;
    opacity: 1;
  }
}
@keyframes card4 {
  from {
    position: absolute;
    top: -450px;
    opacity: 0;
  }
  to {
    position: relative;
    top: 0px;
    opacity: 1;
  }
}
@keyframes card5 {
  from {
    position: absolute;
    top: -550px;
    opacity: 0;
  }
  to {
    position: relative;
    top: 0;
    opacity: 1;
  }
}
@keyframes card6 {
  from {
    position: absolute;
    top: -650px;
    opacity: 0;
  }
  to {
    position: relative;
    top: 0;
    opacity: 1;
  }
}
@keyframes card7 {
  from {
    position: absolute;
    top: -750px;
    opacity: 0;
  }
  to {
    position: relative;
    top: 0;
    opacity: 1;
  }
}

main {
  width: 75%;
  justify-content: center;
  margin: auto;
  margin-block: 25px;
}

#main-logo {
  width: 75%;
  display: block;
  margin: 0 auto;
}

.inline-header {
  font-weight: 700;
  color: white;
  text-transform: uppercase;
  letter-spacing: 0.7px;
  margin-right: 0.25rem;
  text-shadow: 1px 1px 1px #1a1a1a;
  background-color: #be9e3e;
  padding: 1px 5px;
}

.home-text {
  font-size: 26px;
}

#cta-div {
  display: flex;
  text-align: center;
  justify-content: center;
  align-items: center;
  margin-block: 50px;
  padding-block: 25px;
}

#upcoming-events-btn {
  /* position: relative;
  display: inline-block;
  font-size: 1.5em; 
  font-weight: bold;
  color: #222;
  padding: 0 1.5em;  */
  font-size: 30px;
  padding: 10px 25px;
  text-decoration: none;
  border: none;
  color: white;
  background-color: #be9e3e;
  border: solid 5px #be9e3e;
  font-weight: bold;
}

#upcoming-events-btn:hover,
#upcoming-events-btn:focus {
  background-color: black;
  cursor: pointer;
  transition: 0.25s;
}

/* From Uiverse.io by Bodyhc */
.loader {
  /* width: calc(200px / 0.707); */
  width: 100%;
  height: 150px;
  background: repeating-linear-gradient(135deg, #be9e3e45 0 50px, #0000 0 75px)
      right bottom,
    repeating-linear-gradient(45deg, #be9e3e45 0 50px, #0000 0 75px) right top;
  background-size: 300% 50%;
  background-repeat: no-repeat;
  animation: i4 60s infinite linear;
  display: flex;
  text-align: center;
  justify-content: center;
  align-items: center;
}

@keyframes i4 {
  100% {
    background-position: bottom left, top left;
  }
}

/* .big-arrows {
  font-size: 5em; 
  font-weight: bold;
  color: #be9e3e;
  letter-spacing: 0.1em; 
  user-select: none; 
  font-family: monospace, monospace;
} */

h1 {
  /* border-left: 15px solid #be9e3e; */
  padding-inline: 5px;
}

.header-icon {
  color: #be9e3e;
  text-shadow: 1px 1px 1px #1a1a1a;
}

.hero {
  /* height: 400px; */
  background-image: url("../assets/recharge-banner-2.jpg");
  background-size: cover;
  background-position: center;
  color: white;
  display: flex;
  justify-content: end;
  align-items: center;
  text-align: left;
  min-height: 400px;
}

.hero-content {
  background: rgba(0, 0, 0, 0.5); /* optional overlay for readability */
  padding: 10px;
  border-radius: 5px;
  margin: 20px;
}

.contact-form {
  background: #be9e3e07;
  padding: 30px;
  /* border-radius: 8px; */
  /* box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1); */
  border: solid 3px #be9e3e;
  width: 80%;
  max-width: 550px;
  margin: auto;
  margin-bottom: 50px;
}

.contact-form h2 {
  margin-bottom: 20px;
}

.contact-form label {
  display: block;
  margin-bottom: 5px;
  margin-top: 15px;
  font-weight: bold;
}

.contact-form input,
.contact-form textarea {
  width: 90%;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-family: "Inter", sans-serif;
}

.contact-form button {
  margin-top: 20px;
  padding: 10px 20px;
  background-color: #be9e3e;
  border: solid 5px #be9e3e;
  color: white;
  cursor: pointer;
  font-weight: bold;
  font-size: 22px;
}

.contact-form button:hover,
.contact-form button:focus {
  background-color: black;
  cursor: pointer;
  transition: 0.25s;
}

.alert {
  width: max-content;
  font-weight: bold;
  text-align: center;
  font-size: 18px;
  margin-top: 10px;
}

.event {
  border: 3px solid #be9e3e;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-block: 20px;
  background-color: #be9e3e07;
}

.event div {
  padding: 20px;
}

.event-btn {
  font-size: 20px;
  padding: 10px 25px;
  text-decoration: none;
  border: none;
  color: white;
  background-color: #be9e3e;
  border: solid 5px #be9e3e;
  font-weight: bold;
}

.event-btn:hover,
.event-btn:focus {
  background-color: black;
  cursor: pointer;
  transition: 0.25s;
}

footer {
  background-color: black;
  color: white;
  min-height: 75px;
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  border-top: 5px solid #be9e3e;
}

footer a {
  text-decoration: none;
  color: white;
  margin: 10px;
  margin-bottom: 10px;
  padding-block: 3px;
  white-space: nowrap;
}

footer a:hover,
footer a:focus {
  border-bottom: 5px solid #be9e3e;
  margin-bottom: 5px;
}

footer i {
  color: #be9e3e;
}

.link {
  text-decoration: none;
  color: #1a1a1a;
  border-bottom: solid 2px #be9e3e;
}
.link:hover,
.link:focus {
  cursor: pointer;
  color: #be9e3e;
}

@media only screen and (min-width: 970px) {
  .navLarge {
    display: visible;
  }
  .navSmall {
    display: none !important;
  }
  .hidden-l {
    display: none !important;
  }
  main {
    width: 60%;
  }
  h1 {
    font-size: 40px;
  }
  p,
  li {
    font-size: 20px;
  }
  #main-logo {
    width: 75%;
  }
  .hero {
    background-position: center;
    min-height: 400px;
  }
  .loader {
    animation: i4 60s infinite linear;
  }
  .event {
    display: flex;
  }
}

@media only screen and (min-width: 480px) and (max-width: 969px) {
  .navLarge {
    display: none !important;
  }
  .navSmall {
    display: visible;
  }
  .hidden-l {
    display: visible;
  }
  main {
    width: 90%;
  }
  h1 {
    font-size: 32px;
  }
  p,
  li {
    font-size: 18px;
  }
  #main-logo {
    width: 85%;
  }
  .hero {
    background-position: 23% center;
    min-height: 350px;
  }
  .loader {
    animation: i4 30s infinite linear;
  }
  .event {
    display: block;
  }
}

@media only screen and (max-width: 479px) {
  .navLarge {
    display: none !important;
  }
  .navSmall {
    display: visible;
  }
  .hidden-l {
    display: visible;
  }
  main {
    width: 95%;
  }
  h1 {
    font-size: 28px;
  }
  p,
  li {
    font-size: 16px;
  }
  #main-logo {
    width: 95%;
  }
  .hero {
    background-position: 28% center;
    min-height: 300px;
  }
  nav > a > span {
    display: none !important;
  }
  footer {
    padding-top: 25px;
    padding-bottom: 75px;
  }
  .loader {
    animation: i4 20s infinite linear;
  }
  .event {
    display: block;
  }
}
