
:root {
  --bg-color: #111;
  --text-color: #eee;
  --accent-color: #fff;
  --overlay-bg: rgba(0, 0, 0, 0.8);
  --max-width: 1000px;
  --font-main: 'Segoe UI', sans-serif;
}

* {
  box-sizing: border-box;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  padding: 0;
  background: var(--bg-color) url('images/bsBlackLogoCropped.png') center center no-repeat;
  /*background-size: 600px;*/
  background-size: contain;
  background-attachment: fixed;
  color: var(--text-color);
  font-family: var(--font-main);
}

nav {
  background: #000;
  padding: 15px 20px;
  text-align: center;
  position: sticky;
  top: 0;
  z-index: 1000;
}

nav a {
  color: var(--text-color);
  text-decoration: none;
  margin: 0 15px;
  font-weight: bold;
  transition: color 0.3s;
}

nav a:hover {
  color: var(--accent-color);
}

header {
  text-align: center;
  padding: 10px 10px 10px;
  background-color: rgba(0, 0, 0, 0.7);
}

.logoSmall {
  max-width: 100px;
  margin-bottom: 20px;
}

.logo {
  max-width: 300px;
  margin-bottom: 20px;
}

.logoMedium {
  max-width: 500px;
  margin-bottom: 20px;
}

.logoWide {
  max-width: 600px;
  margin-bottom: 20px;
}

.stockimage {
  max-width: 100%;
  margin-bottom: 20px;
}

h1 {
  font-size: 3em;
  margin: 0;
  color: var(--accent-color);
  text-shadow: 2px 2px #000;
}

section {
  background: var(--overlay-bg);
  padding: 40px 20px;
  max-width: var(--max-width);
  margin: 30px auto;
  border-radius: 10px;
}

h2 {
  border-bottom: 2px solid var(--accent-color);
  padding-bottom: 10px;
}

h3 {
  padding-bottom: 10px;
}

ul {
  padding-left: 20px;
}

.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 15px;
  margin-top: 20px;
}

.gallery img {
  width: 100%;
  border-radius: 8px;
}

.center {
  margin-left: auto;
  margin-right: auto;
}

footer {
  text-align: left;
  padding: 20px;
  font-size: 0.9em;
  background: rgba(0, 0, 0, 0.6);
}

/* table td { width: 20em; border: 1px solid black; }*/
/*
table td:nth-child(2) { text-align: end; }
*/

    a {
        text-decoration: none;
        border-bottom: 1px solid #000;
        color: #77a3d3;
    }

    a:hover {
        border-bottom: 1px solid #007bff; /* Thicker underline on hover */
        color: #0056b3; /* Darker blue on hover */
    }

    a:visited {
        color: #6c757d; /* Gray for visited links */
    }

    a:active {
        color: #007bff; /* Reset to default on active */
        border-bottom: 1px solid #007bff; /* Thicker underline on active */
    }

.video-container {
  position: relative;
  width: 200px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.thumbnail {
  width: 100%;
  height: auto;
  display: block;
}

.video-player {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: none;
}

.video-player iframe {
  width: 100%;
  height: 100%;
}

.video-container.active {
  width: 560px;
  height: 315px;
}

.thumbnail::after {
  content: '\25B6'; /* Unicode for play button (▶) */
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 40px;
  color: white;
  background: rgba(0, 0, 0, 0.5); /* Semi-transparent background for visibility */
  border-radius: 50%; /* Circular background */
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1; /* Ensure it’s above the thumbnail */
  transition: opacity 0.3s ease;
}

.thumbnail:hover::after {
  opacity: 1; /* Increase visibility on hover */
}

.thumbnail:hover {
  transform: scale(1.05);
}

.close-btn {
  display: none;
  position: absolute;
  top: 10px;
  right: 10px;
  background: rgba(0, 0, 0, 0.7);
  color: white;
  border: none;
  padding: 5px 10px;
  cursor: pointer;
  border-radius: 3px;
  z-index: 10;
}

.video-container.active .close-btn {
  display: block;
}

.imagecontainer {
  /* Container width and height can be set here */
  width: 600px;
/*  height: 200px;*/
  max-width: 100%;
  margin-left: auto;
  margin-right: auto;
}


       .gallery2 {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
            gap: 15px;
            max-width: 1200px;
            margin: 0 auto;
        }
        .gallery2 img {
            width: 100%;
            height: 150px;
            object-fit: cover;
            cursor: pointer;
            border-radius: 5px;
            transition: transform 0.2s;
        }
        .gallery2 img:hover {
            transform: scale(1.05);
        }
        .modal {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-color: rgba(0, 0, 0, 0.8);
            justify-content: center;
            align-items: center;
            z-index: 1000;
        }
        .modal-content {
            max-width: 90%;
            max-height: 90%;
            border-radius: 5px;
        }
        .close {
            position: absolute;
            top: 20px;
            right: 30px;
            color: white;
            font-size: 40px;
            font-weight: bold;
            cursor: pointer;
        }

        .download-btn {
            display: inline-block;
            padding: 10px 20px;
            margin: 10px;
            background-color: #b60606;
            color: white;
            text-decoration: none;
            border-radius: 5px;
            font-family: Arial, sans-serif;
        }
        .download-btn:hover {
            background-color: #400652;
        }
