/* Body background and default styling */
body {
  min-height: 100vh;
  margin: 0;
  padding: 0;
  font-family: 'Comic Sans MS', cursive, sans-serif;
  background-image: url('../images/background/20240823-200413-fv_utah_motorsports_campus_2023-reds_toyota_supra_a90.png');
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center center;
  background-attachment: fixed;
}

/* Header styling */
h1 {
  color: #3399ff;       /* Your desired hex color for the title */
  text-align: center;    /* Centers the text horizontally */
  margin-top: 20px;      /* Optional spacing from the top */
}

h2 {
  color: #3399ff;
}

a {
  color: #00ff00;
}

ul li {
  color: #ffffff;
}
 
/* Paragraph styling */
p {
  color: #ffffff;           /* Adjust as needed for contrast */
  text-align: center;
}

/* Navigation bar styling */
nav {
  background-color: #333;
}
nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;          /* Makes the navigation horizontal */
  justify-content: center;/* Centers the navigation items */
}
nav ul li {
  position: relative;
}
nav ul li a {
  display: block;
  padding: 15px 20px;
  color: #fff;
  text-decoration: none;
}
nav ul li a:hover {
  background-color: #444;
}

/* Dropdown menu styling */
nav ul li ul.dropdown {
  display: none;          /* Hide dropdown by default */
  position: absolute;     /* Position relative to its parent li */
  top: 100%;              /* Place the dropdown below the parent */
  left: 0;
  background-color: #444;
  min-width: 150px;
  z-index: 1000;
}
nav ul li ul.dropdown li a {
  padding: 10px 15px;
}
nav ul li:hover > ul.dropdown {
  display: block;         /* Show dropdown on hover */
}

/* For home page */
html {
  margin: 0;
  padding: 0;
}
/* Wrapper that makes the page at least the height of the viewport */
.wrapper {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}
main {
  flex: 1;
}

/* Hero Section Styles */
.hero {
  text-align: center;
  max-width: 1000px;
  margin: 40px auto;  
  padding: 10px 20px;
  background: rgba(0, 0, 0, 0.5);
  color: #fff;
  overflow: hidden;
}

/* Remove the old hero video absolute styling */
/* .hero video { ... }  <-- Delete or comment out this block */

/* New styles for the video container */
.video-container {
  max-width: 900px;      /* Adjust the maximum width for the video player */
  margin: 0 auto 20px;   /* Center the player horizontally and give some bottom margin */
}

.video-container video {
  margin-top: 50px;
  width: 100%;           /* Make the video fill the container width */
  height: auto;
  border: 2px solid #fff;  /* Optional: adds a white border */
  border-radius: 5px;      /* Optional: rounds the corners */
}

/* Styles for the Call-To-Action Button remain unchanged */
.cta {
  display: inline-block;
  background-color: #3399ff;
  padding: 15px 30px;
  text-decoration: none;
  color: #fff;
  border-radius: 5px;
  font-weight: bold;
  transition: background-color 0.3s ease;
  margin-top: 20px;
}

.cta:hover {
  background-color: #2879c3;
}

/* Footer styling */
footer {
  text-align: center;
  padding: 20px;
  background-color: #333;
  color: #fff;
}

/*For ACMI*/
#content.acmi-page {
  max-width: 1000px;         /* Optional: constrain the width */
  margin: 40px auto;        /* Centers the container and gives vertical spacing */
  padding: 20px;            /* Internal spacing */
  background-color: rgba(0, 0, 0, 0.6);  /* A semi-transparent dark background */
  border-radius: 8px;       /* Rounded corners */
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.5); /* Subtle shadow for depth */
  color: #fff;              /* Ensure text is readable on a dark background */
}

/*For RCon-AC*/
#content.rcon-ac-page {
  max-width: 1000px;         /* Optional: constrain the width */
  margin: 40px auto;        /* Centers the container and gives vertical spacing */
  padding: 20px;            /* Internal spacing */
  background-color: rgba(0, 0, 0, 0.6);  /* A semi-transparent dark background */
  border-radius: 8px;       /* Rounded corners */
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.5); /* Subtle shadow for depth */
  color: #fff;              /* Ensure text is readable on a dark background */
}

/*For About me*/
#content.about-me-page {
  max-width: 950px;         /* Optional: constrain the width */
  margin: 40px auto;        /* Centers the container and gives vertical spacing */
  padding: 20px;            /* Internal spacing */
  background-color: rgba(0, 0, 0, 0.6);  /* A semi-transparent dark background */
  border-radius: 8px;       /* Rounded corners */
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.5); /* Subtle shadow for depth */
  color: #fff;              /* Ensure text is readable on a dark background */
}

.about-me-page .donation .gfm-embed {
  max-width: 500px;
  margin: 150px auto;
}