/* Base style settings */
html {
  height: 100%;
  scroll-behavior: smooth;
}

body {
  background: radial-gradient(#120855, #000000);
  margin: 0;
  animation: fadeInAnimation ease 1s;
  animation-iteration-count: 1;
  animation-fill-mode: forwards;
}

@keyframes fadeInAnimation {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

h1 {
  font-size: 32px;
  color: white;
  font-family: 'Orbitron', sans-serif;
}

h2 {
  font-size: 24px;
  color: white;
  font-family: 'Questrial', sans-serif;
}

h3 {
  font-size: 18px;
  font-weight: 400;
  color: white;
  font-family: 'Questrial', sans-serif;
}

h4 {
  font-size: 16px;
  font-weight: 400;
  color: white;
  font-family: 'Questrial', sans-serif;
}

p {
  color: white;
  font-family: 'Questrial', sans-serif;
}

li {
  color: white;
  font-family: 'Questrial', sans-serif;
}

a {
  text-decoration: none;
  color: #120855;
}

body.hover a:hover {
  text-decoration: none;
  color: white;
}

/* Section: NAVBAR */
.navbar-outer {
  width: 100%;
  z-index: 1000;
  position: fixed;
  top: 0;
  left: 0;
  padding: 0.25rem 0 0.25rem 0;
  background-color: (255,255,255,0);
  border-color: rgba(255,255,255,0);
  transition: background-color 0.5s /* Smooth transition effect when scrolling down */
}

.navbar-outer.scrolled {
  background-color: #0C0637; /* Change background color on scroll */
}

.topnav {
  margin: 0 auto;
  max-width: 1600px;
  overflow: hidden;
  padding-left: 1rem;
  padding-right: 1rem;
}

.navbar-outer.scrolled .topnav a {
  color: white;
}

/* Socials Styles */
.socials {
  float: right;
  height: 55px; /* height of navbar (65px) - height of logo = 10 */
  padding: 5px 0; /* 10 / 2 = 5 */
  display: flex;
  align-items: center;
}

.socials i {
  margin: 0 auto;
  border-radius: 10px;
}

#socials-mobile {
  display: none;

  .fa-brands {
    color: white;
  }
}

#socials-desktop {
  margin-left: 1rem;
}

#club-logo {
  display: flex;
  justify-content: center;

  img {
    height: 2.5rem;
  }
}

.fa-brands{
  color: #120855;
}

.navbar-outer.scrolled .fa-brands {
  color: white;
}

/* Links and Language Styles */
#links {
  float: left;
  text-align: center;
  /* transform: translateX(0%); /* Default position for large screens */
  /* transition: transform 0.4s ease-in-out; /* Apply transition for all screen sizes */
}

/* Navbar Link Styles */
.topnav a {
  line-height: 65px;
  text-decoration: none;
  font-family: 'Orbitron', sans-serif;
  font-size: 18px;
  font-weight: 600;
  transition: font-weight 0.3s ease;
}

.nav-link {
  padding: 0 1rem 0 1rem;
}

/* Hamburger Icon Styles */
.topnav .icon {
  display: none;
  margin-right: 1rem;
  color: #120855;
  line-height: 65px;

}

.topnav.scrolled .icon {
  color: white;
}

.topnav.responsive .icon {
  color: white;
}

.link-block {
  display: block !important;
}

/* General containers */
.container-title {
  height: auto;
  width: auto;
  text-align: center;
  font-family: 'Orbitron', sans-serif;
  font-weight: 100;
  margin-top: 5rem;
  position: relative;
}

.container-title span {
  position: absolute;
  top: -120px;
}

.container-text-outer {
  height: auto;
  width: auto;
  display: flex;
  justify-content: center;
}

.container-text-inner {
  height: auto;
  width: 50%;
  text-align: center;
  font-family: 'Questrial', sans-serif;
  font-weight: 200;
}

.container-text-inner-next-show {
  height: auto;
  text-align: center;
  font-family: 'Questrial', sans-serif;
  font-weight: 200;
}

.container-text-outer-band {
  height: auto;
  width: auto;
  display: flex;
  justify-content: center;
}

.container-text-inner-band {
  height: auto;
  width: 50%;
  text-align: justify;
  font-family: 'Questrial', sans-serif;
  font-weight: 200;
}

.legal-container {
  background-color: rgb(28, 28, 28);
  padding: 20px; /* Add some padding for spacing */
  margin: 6rem auto 20px auto;
  max-width: 700px;
  border-radius: 5px; /* Add rounded corners to the container */
  box-shadow: 0 0 10px black; /* Add a box shadow for depth */
  align-content: center;
}

.legal-container p {
  text-align: justify;
}

/* Section: TOP IMAGE */
#container-top-img {
  position: relative;
  width: 100%;
  /* height: 100vh; */
  overflow: hidden;
  text-align: center;
}

#container-top-img img {
  width: 100%;
  /* height: 100%; */
  object-fit: cover; /* This property ensures that the image covers the entire container without distortion */
  min-height: 100vh;
  max-height: 100%;
}

.next-show-timestamp {
  display: none;
}

#next-show-link {
  color: #e60a0a !important;
}
#next-show-link i {
  font-style: normal;
}
#next-show-title i {
  font-style: normal;
}

#container-next-show {
  max-width: 50%;
  margin: 0 auto;
}

.next-shows {
  display: flex;
  justify-content: center;
  column-gap: 8rem;
  row-gap: 1rem;
  flex-wrap: wrap;
}

.d-none {
  display: none !important;
}

.flyer {
  visibility: hidden;
  display: flex;
  position: fixed;
  top: 0;
  left: 0;
  background-color: rgba(0,0,0,0.8);
  width: 100vw;
  height: 100vh;
  z-index: 1001;
  /* animation-name: fadeInFlyer; This gets added with JS */
  animation-duration: 0.3s;
  animation-timing-function: ease-in-out;
  animation-fill-mode: forwards;
}
@keyframes fadeInFlyer {
  0% {
    opacity: 0;
  }

  100% {
    opacity: 1;
  }
}

.flyer img {
  margin: auto;
  max-height: 90vh;
  max-width: 90vw;
}

.live {
  display: none;
  font-style: normal;
  font-size: 14px;
  padding: 2px 5px;
  background-color: #e60a0a;
  border-radius: 9px;
  bottom: 2px;
  position: absolute;
  right: -48px;
}
.show-title {
  font-size: 20px;
  position: relative;
}

.show-flyer {
  display: inline-block;
  color: white;
  font-size: 20px;
  padding: 6px 16px;
  margin-top: 15px;
  border: 0.08rem solid white;
  border-radius: 20px;
}

body.hover .show-flyer:hover {
  border-color: rgba(0,0,0,0);
  box-shadow: 0 0 20px 0px #ffffff, 0 0 40px 0px #ffffff, 0 0 80px 0px #ffffff;
}

/* Section: BAND */
.container-member {
  display: flex;
  flex-direction: row;
  justify-content: center;
  gap: 2rem;
  margin: 2rem 2rem 0 2rem;
}

.flip-card {
  background-color: transparent;
  width: 300px;
  height: 400px;
  border-radius: 1rem;
  perspective: 1000px; /* responsible for the 3D effect */
}

/* This container is needed to position the front and back side */
.flip-card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  text-align: center;
  transition: transform 0.8s;
  transform-style: preserve-3d;
}

/* Do an horizontal flip when you move the mouse over the flip box container */
.flip-card:hover .flip-card-inner {
  transform: rotateY(180deg);
}

/* Position the front and back side */
.flip-card-front, .flip-card-back {
  position: absolute;
  width: 100%;
  height: 100%;
  -webkit-backface-visibility: hidden; /* Safari */
  backface-visibility: hidden;
}

/* Styles for the front side (fallback if image is missing) */
.flip-card-front {
  background-color: #bbb;
  color: black;
  border-radius: 0.25rem;
}

.flip-card-front img {
  width: 300px;
  height: 400px;
  border-radius: 0.25rem;
}

/* Styles for the back side */
.flip-card-back {
  background-color: rgb(28, 28, 28);
  color: white;
  transform: rotateY(180deg);
  border-radius: 0.25rem;
}

.flip-card-back-text {
  margin: 1.5rem 1rem 0.5rem 1rem;

  p {
    font-size: 14px;
  }
}

/* Section: VIDEO */
#container-video {
  display: flex;
  justify-content: center;
  margin-top: 3rem;

  video {
    border-radius: 0.5rem;
    width: 840px;
    height: auto;
  }
}

/* Section: DOWNLOADS */
.container-downloads {
  display: flex;
  justify-content: center;
  gap: 50px;
  flex-direction: row;
  margin-top: 3rem;
}

.download-card {
  width: 200px;
  height: 250px;
  padding: 1rem;
  border: 0.08rem solid white;
  border-radius: 1rem;
}

body.hover .download-card:hover {
  border-color: rgba(0,0,0,0);
  box-shadow: 0 0 20px 0px #ffffff, 0 0 40px 0px #ffffff, 0 0 80px 0px #ffffff;
}

.download-card img {
  width: 200px;
  height: 200px;
  object-fit: contain;
  background-color: white;
}

/* Section: CONTACT FORM */
.sub-container-contact {
  width: 40%;
  border-radius: 5px;
  background-color: #f2f2f2;
  padding: 20px;
  margin-top: 3rem;
}

#container-contact {
  display: flex;
  flex-direction: column;
  align-items: center;
}

textarea {
  font-family: 'Questrial', sans-serif;
}

label {
  font-family: 'Questrial', sans-serif;
  color: #120855;
}
/* Style inputs with type="text", select elements and textareas */
input[type=text], select, textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid #ccc;
  border-radius: 4px;
  box-sizing: border-box;
  margin-top: 6px;
  margin-bottom: 16px;
  resize: vertical;
}

/* Style the submit button with a specific background color etc */
/* input[type=submit] { */
#submit-button {
  color: white;
  background-color: #120855;
  padding: 12px 20px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}

body.cookie-visible .grecaptcha-badge {
  bottom: 70px !important;
}

select {
  color: #120855;
}

::placeholder {
  color: #120855;
}

body.hover input[type=submit]:hover {
  background-color: #1f1273;
}
/* Section: FOOTER */
#footer {
  display: flex;
  justify-content: space-between;
  margin: 0 5rem 0rem 5rem;
}

#footer img {
  width: 150px;
}

#container-legal {
  display: flex;
  gap: 5rem;
  align-items: center;
  font-family: 'Questrial', sans-serif;
  a {
    color: white;
  }
}

.cookies-bar {
  z-index: 999;
  min-height: 3rem;
  position: sticky;
  bottom: 0;

  padding: 10px 10px 5px 10px;

  border-bottom: none;
  background-color: #0C0637;
  color: white;
  text-align: center;

  display: flex;
  flex-direction: row;
  justify-content: center;
  gap: 1rem;

  a {
    color: white;
  }

  .btn {
    padding: 10px 20px;
    display: inline !important;
    font-family: 'Questrial', sans-serif;
    font-size: 16px;
    cursor: pointer;
    border-radius: 0.25rem;
    border: none;
    color: #120855;

    &.btn2 {
      margin-left: 1rem;
      /* background-color: white; */
      /* display: inline !important; */
      /* padding: 1rem; */
    }
  }
}

.cookies-bar button[type=button] {
  color: #120855;
  background-color: white;
  padding: 10px 20px;
  border: none;
  border-radius: 0.25rem;
  cursor: pointer;
}

#underline {
  text-decoration: underline;
}

#contact-success {
  border: 0.25rem solid rgb(2, 171, 2);
  background: rgb(2, 171, 2);
  border-radius: 0.5rem;
  margin-top: 1rem;
  padding: 1rem 3rem;
  text-align: center;
}

#contact-error, #captcha-error {
  border: 0.25rem solid red;
  background: red;
  border-radius: 0.5rem;
  margin-top: 1rem;
  padding: 1rem 3rem;
  text-align: center;
}

#captcha-error a {
  color: white;
  text-decoration: underline;
}

#captcha-error a:hover {
  text-decoration: none;
}

#google, #contact-success, #contact-error, #captcha-error {
  display: none;
}

@media (max-width: 2500px) {
  #container-top-img {
    height: auto;
  }
}

@media (max-width: 1800px) {
  #container-top-img img {
    /* height: auto; */
    min-height: unset;
  }
}

@media (max-width: 1024px) {
  #optional-link {
    display: none;
  }

  #container-top-img {
    height: auto;
  }

  #container-top-img img {
    height: auto;
  }

  #container-next-show {
    max-width: 80%;
  }

  .container-text-inner-band {
    width: 80%;
    text-align: justify;
  }

  .container-member {
    flex-direction: column;
    align-items: center;
  }

  .container-downloads {
    flex-direction: column;
    align-items: center;
  }
}

@media (max-width: 925px) {
  #socials-desktop {
    display: none;
  }
}

/* Media queries */
@media (max-width: 820px) {
  #optional-link {
    display: none;
  }

  .socials {
    float: none;
  }

  #container-video {
    video {
      width: 640px;
    }
  }

  .sub-container-contact {
    width: 80%;
  }

  .cookies-bar {
    .btn {
      width: 10rem;

      &.btn2 {
        margin-left: 0;
      }
    }
  }
}

@media screen and (max-width:780px) {
  .cookies-bar {
    flex-direction: column;

    .btn {
      margin: 0 auto;

      &.btn2 {
        margin-left: 0;
        margin: 0 auto;
      }
    }
  }
}

@media screen and (max-width:780px) {
  /* Adjustments for smaller screens */

  h1 {
    font-size: 24px;
  }

  p {
    font-size: 14px;
  }

  .topnav {
    min-height: 2rem;
  }

  .topnav a {
    font-size: 1rem;
    display: none;
    color: white;
    line-height: 45px;
  }

  .topnav a.icon {
    display: inline;
    float: right;
  }

  #links {
    margin-top: 65px;
    float: none;
    transition: transform 0.4s ease-in-out; /* Apply transition for all screen sizes */
  }

  .navbar-outer {
    padding: 0;
  }

  .topnav.responsive {
    position: relative;
    background-color: #0C0637;
  }

  #links.responsive {
    transform: translateX(0%); /* Hide #links by default on small screens */
  }

  #links {
    transform: translateX(100%);
  }

  .topnav.responsive a.icon {
    position: absolute;
    right: 1rem;
    top: 0;
  }

  .topnav.topnav.responsive a {
    display: block;
  }

  .container-title {
    margin-top: 2rem;
  }

  .container-title span {
    top: -80px;
  }

  #container-video {
    video {
      width: 340px;
    }
  }

  #footer {
    display: flex;
    justify-content: center;
    margin: 0 5rem 3rem 5rem;
  }

  #footer img {
    width: 100px;
  }

  #container-legal {
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin: 0 2rem;
    gap: 0.5rem;
    font-size: 12px;
  }
}
