@font-face {
  font-family: 'Montserrat';
  src: url('https://fonts.googleapis.com/css2?family=Montserrat:wght@500;600&display=swap');
}

@font-face {
  font-family: 'Poppins';
  src: url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500&display=swap');
}

:root {
  --header-height: 3.5rem;
  --body-font: 'Poppins', sans-serif;
  --second-font: 'Montserrat', sans-serif;
  --biggest-font-size: 2.75rem;
  --normal-font-size: .938rem;
  --small-font-size: .813rem;
  --smaller-font-size: .75rem;
  --font-regular: 400;
  --font-medium: 500;
  --font-semi-bold: 600;
  --z-tooltip: 10;
  --z-fixed: 100;
}

@media screen and (min-width: 1152px) {
  :root {
    --biggest-font-size: 5.5rem;
    --h1-font-size: 2.5rem;
    --h2-font-size: 1.5rem;
    --h3-font-size: 1.25rem;
    --normal-font-size: 1rem;
    --small-font-size: .875rem;
    --smaller-font-size: .813rem;
  }
}

html {
  scroll-behavior: smooth;
}

body {
  background: linear-gradient(to bottom, #9e01a1 .5%, #1c0155 9.5%, #0B0121 20%, #0B0121 70%);
}

ul,
a {
  list-style: none;
  text-decoration: none;
  color: white;
}

img {
  max-width: 100%;
}

.button-white {
  -webkit-background-clip: text;
  -webkit-text-fill-color: black;
  background-clip: text;
  background: rgba(255, 255, 255, .6);
  border: #9e01a1 2px solid;
  border-radius: 30px;
  padding: 15px 25px;
  font-family: var(--body-font);
  list-style: none;
  text-decoration: none;
  margin: .5rem 5rem;
}

.button-pink {
  -webkit-background-clip: text;
  color: white;
  background-clip: text;
  background: transparent;
  border: #9e01a1 2px solid;
  border-radius: 30px;
  padding: 8px 15px;
  font-family: var(--body-font);
  list-style: none;
  text-decoration: none;
  margin: .25rem;
}

.button-purple {
  -webkit-background-clip: text;
  -webkit-text-fill-color: rgba(255, 255, 255, .6);
  background-clip: text;
  background: #1c0155;
  font-family: var(--body-font);
  border: #9e01a1 .1px solid;
  border-radius: 10px;
  padding: .5rem;
  width: 100%;
  text-align: center;
  list-style: none;
  text-decoration: none;
  margin: .25rem;
}

.button-margin {
  margin: 3rem auto;
}

.nav-menu ul {
  list-style: none;
  margin: 0;
  padding-left: 0;
}

.nav-toggle i {
  margin-top: .5rem;
  margin-right: .5rem;
  z-index: 2;
  display: flex;
  font-size: 1.25rem;
}

.header {
  position: fixed;
  height: 3rem;
  width: 100%;
  background-color: hsla(0, 0%, 0%, .3);
  top: 0;
  left: 0;
  z-index: 20;
}

.nav-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-bar img {
  height: 35px;
  margin-top: .45rem;
  margin-left: .5rem;
  z-index: 2;
}

.nav-home i {
  color: white;
}

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

.nav-item a, i {
  color: black;
}

.nav-menu {
  position: fixed;
  top: -100%;
  background-color: hsla(0, 0%, 0%, .3);
  padding-block: 4rem;
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  transition: top .4s;
  color: white;
}

.nav-close {
  display: flex;
  font-size: 1.25rem;
  color: white;
}

@media screen and (max-width: 640px) {
  .talent-container {
    padding: 1rem; /* Reduce padding on mobile */
  }
  .videos {
    flex-direction: column; /* Stack videos vertically */
  }
  .videos video {
    max-width: 100%; /* Full width on mobile */
  }
  .carousel-item {
    padding: 0.5rem; /* Reduce padding for smaller screens */
  }
  .carousel-item img {
    max-width: 90%; /* NOT WORKINGEnsure images don't touch the edges */
  }
  .buttonStory-summary {
    list-style: none; /* Removes the default triangle */
    cursor: pointer;
    padding-left: 0;
  }
  .buttonStory-summary::-webkit-details-marker {
    display: none;
  }
}

@media screen and (min-width 1280px) { /* 1280px and up (large desktop) */

}

@media screen and (min-width: 1024px) { /* large laptops */
  body {
    /* prevent scroll behaviour to the right */
  }
  .nav-menu {
    right: 0;
  }
  .sizing {
    margin: auto 10rem;
  }
  .animated-text {
    /* need to shrink */
  }
  .carousel {
    margin: auto 20rem; /* only sits correct on my exact laptop screen size */
    width: 400px;
  }
  .about-container img {
    width: 600px;
    margin-bottom: 3rem;
  }
  .about-container p {
    margin: 3rem;
  }
  .button-margin {
    margin-top: 4rem;
  }
  .videos {
    /* to do */
  }
  .accident-card img {
    width: 600px;
  }
  .accident-card h2 {
    padding-top: 3rem;
  }
  .story-text {
    margin: 3rem 2rem;
  }
  .location-container {
    margin: 3rem;
  }
  .footer-card:first-child {
    margin-left: 22rem; /* only fits on my ecxact laptop screen size */
  }
}

@media screen and (min-width: 768px) { /* tablets */

}

  @media screen and (min-width: 640px) { /* large mobile */

  }

.nav-border {
  text-align: center;
  display: flex;
  flex-direction: column;
  row-gap: 1.5rem;
}

.nav-text {
  color: white;
  border-bottom: white 1px solid;
}

.nav-buttons {
  display: flex;
  flex-direction: column;
  text-align: center;
  width: 100%;
  padding-top: 2rem;
}

.nav-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
}

.show-menu {
  top: 0;
  z-index: 20;
}

.blur-header::after {
  content: '';
  position: absolute;
  width: 1000%;
  height: 100%;
  background-color: hsla(0, 0%, 49%, 0.2);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  top: 0;
  left: 0;
  z-index: -1;
}

.animated-text {
  opacity: 0; /* Start at 0 opacity */
  animation: fadeInOut 6s ease-in-out forwards;
  text-align: center;
  margin-top: 4rem;
  margin-left: 3rem;
  margin-right: 3rem;
  -webkit-background-clip: text;
  -webkit-text-fill-color: black;
  background-clip: text;
  background: rgba(255, 255, 255, .6);
  border: #1c0155 2px solid;
  border-radius: 30px;
  padding: 5px 10px;
  font-family: var(--body-font);
  list-style: none;
  text-decoration: none;
}

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

.highlight-background {
  display: inline-block; /* Allows background color to fit text */
  padding: 0.5rem; /* Add padding around the text */
  border-radius: 5px;
}

/* Keyframes for the fade-in and fade-out effect */
@keyframes fadeInOut {
  0% {
    opacity: 0;
    transform: scale(1); /* Initial scale */
  }
  50% {
    opacity: 1;
    transform: scale(1); /* Fully visible, normal size */
  }
  80% {
    opacity: 0.85;
    transform: scale(0.95);
  }
  100% {
    opacity: 0.7;
    transform: scale(0.9);
    color: #1c0155;
    background-color: rgba(158, 1, 161, .1);
    border: /* Slightly reduced opacity and size */
  }
}

.about-card,
.location-card,
.talent-cards,
.accident-card {
  text-align: center;
  margin: 4rem 2rem;
  color: white;
  background-color: rgba(255, 255, 255, 0.2); /* Semi-transparent white */
  box-shadow: 0 4px 20px rgba(248, 235, 235, 0.5); /* Grey shadow */
  border-radius: 10px; /* Optional: Rounded corners */
  padding: 1rem; /* Optional: Padding inside the card */
  transition: box-shadow 0.3s ease;
}

.carousel-item {
  margin-top: 1rem;
  position: relative;
  height: auto;
  min-height: 100%;
  padding: 1rem;
}

.carousel-item img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
  border-radius: 10px;
  margin: auto;
  box-shadow: 0 2px 10px rgba(248, 235, 235, 0.7);
  transition: box-shadow 0.3s ease;
}

.carousel-caption {
  position: absolute;
  left: 20px;
  top: 20px;
  text-align: left;
}

.carousel-caption h3 {
  margin: 0;
  font-size: 1.5rem;
  text-align: left;
  background-color: rgba(158, 1, 161, .7);
  display: inline-block;
  padding: 5px 10px;
  border-radius: 15px;
  letter-spacing: .1em;
}

.about-card p {
  padding: 1rem;
  font-size: 1.2rem;
  letter-spacing: .075rem;
}
.about-card img {
  border-radius: 10px;
}

.about-card h6 {
  margin: 2rem auto;
  line-height: 2rem;
  letter-spacing: .075rem;
  font-size: 1.4rem;
}

.location-card h2,
.accident-card h2 {
  color: white;
  margin-top: 1rem;
}

.accident-card i,
.about-container i,
.nav-toggle i,
.nav-close i {
  color: white;
}

.location-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .5rem;
  margin-top: 3rem;
}

.location-buttons a {
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  transition: background-color 0.3s ease;
}

.location-buttons i {
  margin-left: 8px;
  color: white;
}

.location-card p {
  margin-top: 4rem;
  font-size: 1.2rem;
  letter-spacing: .075rem;
}

.private-cards {
  display: flex;
  flex-wrap: wrap;
  justify-content: center; /* Center the cards */
  gap: 1.5rem; /* Space between cards */
  padding: 20px; /* Padding around the container */
}

.private-card {
  background-color: rgba(255, 255, 255, 0.7); /* Semi-transparent background */
  border-radius: 10px; /* Rounded corners */
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1); /* Subtle shadow */
  overflow: hidden; /* Hide overflow from rounded corners */
  transition: transform 0.3s ease, box-shadow 0.3s ease; /* Smooth transition */
  max-width: 300px; /* Maximum width for the cards */
  text-align: center; /* Center text in the card */
}

.private-card:hover {
  transform: translateY(-5px); /* Lift effect on hover */
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2); /* Deeper shadow on hover */
}

.private-card img {
  width: 100%; /* Full width of the card */
  height: auto; /* Maintain aspect ratio */
  border-bottom: 5px solid #9e01a1; /* Colored border below image */
}

.private-card h3 {
  margin-top: .5rem;
  color: #1c0155; /* Color for the heading */
  font-size: 1.25rem; /* Font size for the heading */
  font-weight: bold; /* Bold text */
  text-transform: uppercase; /* Uppercase text */
  letter-spacing: 0.05em; /* Spacing between letters */
}

.talent-container {
  max-width: 800px; /* Limit max width for larger screens */
  margin-top: 1rem;
  margin-bottom: 2rem; /* Center the container */
  padding: 2rem; /* Padding around the container */
  text-align: center;
  border-radius: 10px;
  margin-bottom: 2rem;
}

.talent-cards h6 {
  margin: 2rem auto;
  letter-spacing: .075rem;
  font-size: 1.2rem;
}

.talent-links a,
.about-container:first-child a {
  font-weight: bold;
  background: linear-gradient(to bottom, #ffffff, #f693f7, #7f0281);
  background-size: 200% 200%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.videos {
  display: flex; /* Use flexbox for video layout */
  flex-wrap: wrap; /* Allow videos to wrap on smaller screens */
  justify-content: center; /* Center the videos */
  gap: 1rem; /* Space between videos */
}

.video {
  width: 100%; /* Full width for responsiveness */
  max-width: 350px;
  height: auto;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.videos video {
  aspect-ratio: 16 / 9; /* Change this to your desired ratio */
  object-fit: cover;
  border-radius: 20px;
}

.accident-card {
  padding-bottom: 3rem;
}

.accident-card img {
  margin: 3rem auto;
  border-radius: 20px;
}

.buttonStory-summary {
  list-style: none; /* Removes the default triangle */
  cursor: pointer;
}

.buttonStory hr,
.talent-container hr {
  border: none;
  border-top: 2px dotted #9e01a1; /* Use dotted border style */
  width: 60%;

}

.buttonStory-text a {
  color: white;
  display: flex;
  flex-direction: column;
}

.articles {
  margin: 2rem auto;
  color:#9e01a1;
  background-color: rgba(255, 255, 255, .4);
  border-radius: 10px;
  padding: 1rem;
  box-shadow: 4px 10px rgba(158, 1, 161, .5);
}

.footer {
  background-color: #1c0155;
  color: white;
  bottom: 0;
  display: flex;
  justify-content: space-between;
  padding: 20px;
}

.footer-card {
  flex: 1;
  padding: 10px;
  margin-right: 10px;
}

.location-buttons a:hover,
.footer-card a:hover,
.button-margin a:hover {
  text-decoration: none;
  color: white;
}

.footer-card:first-child i {
  margin-right: .2rem;
}

.footer-card:last-child {
  margin-right: 0;
  margin-left: 6rem;
  margin-bottom: .2rem;
}

.footer ul {
  list-style: none;
  padding: 0;
}

.footer ul li {
  margin-bottom: 10px;
}

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

.footer i {
  color: #9e01a1;
}

.footer__logo {
  display: flex;
  align-items: center;
}
