/* #### CSS by: shortybsd #### */

body, html {
  margin: 0;
  padding: 0;
  height: 100%;
}

.fullscreen-hero {
  width: 100%;
  height: 100vh;
  background-image: url('../images/sc.png');
  background-size: cover;      /* Scales the image while preserving aspect ratio */
  background-position: center;  /* Centers the image within the container */
  background-repeat: no-repeat;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;    /* Pushes content to the bottom */
  align-items: center;          /* Centers content horizontally (optional) */
  padding-bottom: 40px; 
  box-sizing: border-box;       /* Prevents padding from breaking 100vh height */
}

.hero-text {
  color: #ffffff;
  text-align: center;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.6); 
  background: linear-gradient(to top, rgba(0,0,0,0.9), rgba(0,0,0,0));
  max-width: 800px;
  padding: 0 20px;
}

.top-centered-picture {
  position: fixed;            /* Breaks out of normal flow, stays in viewport */
  top: 20%;                   /* Moves top edge to the vertical center */
  left: 50%;                  /* Moves left edge to the horizontal center */
  transform: translate(-50%, -50%); /* Shifts image back by half its own size to center it perfectly */
  z-index: 9999;              /* Forces the picture on top of all other elements */
  
  /* Optional: Prevents huge images from breaking layout */
  max-width: 50vw;            
  max-height: 50vh;
  object-fit: contain;
  filter: grayscale(0%);
  transition: filter 0.3s ease-in-out;
}

.my-image {
  filter: grayscale(50%);
  transition: filter 0.3s ease-in-out;
}
.top-centered-picture:hover {
  filter: grayscale(100%);
}