body {
   font-family: 'Quicksand', sans-serif;
    background-color: #141414;
    background-image: url('background.jpg'); 
    background-size: cover;
    background-position: center;
    background-attachement: fixed;
    background-repeat: no-repeat;
    color: #999;
   

}

body ::before{
   content: '';
   position: absolute;
   top: 0;
   left: 0;
   width: 100%;
   height: 100%:
   background-color: rgba(20, 20, 20, 0.7);
   z-index: -1;

}

.navbar {
    border-bottom: 1px solid #444;
}

.hero-section {
    position: relative;
    background: url('football-field-2.jpg') no-repeat center center;
    background-size: cover;
    color: #fff;
    padding: 0px 0;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: rgba(0, 0, 0, 0.1); /* White overlay with 50% opacity */
    z-index: 1;
}

.text-background {
    display: inline-block; /* Or 'block' depending on layout needs */
    background: rgba(0, 0, 0, 0.5); /* Semi-transparent black background */
    margin: 0 auto;
    padding: 20px; /* Adjust padding as needed */
    border-radius: 8px; /* Optional for rounded corners */
    position: relative;
    z-index: 2; /* Ensure it's above the ::before overlay */
	text-align: left;
}

.container.text-center {
    position: relative;
    z-index: 2; /* Ensure text appears above the overlay */
	
}

/* Mobile devices */
@media (max-width: 576px) {
    .hero-section {
        background-image: url('mobile-hero-image.jpg');
    }
}

/* Tablets */
@media (min-width: 577px) and (max-width: 768px) {
    .hero-section {
        background-image: url('tablet-hero-image.jpg');
    }
}



.contest-info {
    background-color: #333;
    color: #222;
}

.footer {
    background-color: #222;
}

.btn-primary {
    background-color: #E50914;
    border: none;
}

.btn-primary:hover {
    background-color: #F40612;
}

h1, h2, h3 {
    color: #fff;
}

.text-red {
    color: red; /* This will apply only to elements with the .text-red class */
}

.text-gray {
    color: #828282; /* This will apply only to elements with the .text-red class */
}

.text-background {
    text-align: left; /* Aligns text to the left */
}
.ad-banner .ad-content {
    background-color: #f8f9fa; /* Light grey background; adjust as needed */
    border: 1px solid #ddd; /* Light border */
    border-radius: 4px; /* Slight rounding of corners */
    box-shadow: 0 2px 4px rgba(0,0,0,.1); /* Soft shadow for depth */
}

.ad-banner img {
    max-width: 100%; /* Ensure the image is responsive */
    height: auto; /* Maintain aspect ratio */
}
.carousel-caption .caption-background {
    background: rgba(0, 0, 0, 0.5); /* Semi-transparent black */
    display: inline-block; /* Wrap content */
    padding: 10px; /* Spacing around text */
    border-radius: 5px; /* Optional: Rounded corners */
    margin: 2px; /* Space between text and edges of the caption box */
    text-align: left; /* Aligns the text to the left */
}

.carousel-caption {
    right: auto;
    left: 15%; /* Adjust as needed for your layout */
    bottom: 50%;
    transform: translateY(50%);
    text-align: left;
}
#myBtn {
  display: none;
  position: fixed;
  bottom: 20px;
  right: 30px;
  z-index: 99;
  font-size: 18px;
  border: none;
  outline: none;
  background-color: red;
  color: white;
  cursor: pointer;
  padding: 15px;
  border-radius: 4px;
}

#myBtn:hover {
  background-color: #555;
}
#scanQR {
    display: none; /* Hide by default */
}

@media (max-width: 767px) { /* Adjust based on your needs */
    #scanQR {
        display: inline-block; /* Show only on mobile devices */
    }
}

