@import url('https://fonts.googleapis.com/css2?family=Fira+Sans:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&family=Open+Sans:ital,wght@0,300..800;1,300..800&display=swap');

body, html {
    background-image: url('../image/mistbg2025.webp');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    margin: 0;
    color: #FFFFFF;
    font-family: 'Open Sans';
    font-weight: 600;
    min-height: 100vh;
  }
  .main-section {
    top: 0%;
    backdrop-filter: blur(4px) contrast(80%) brightness(90%);
  }
  #page-header {
    font-family: 'Arial';
    font-weight: bold;
    font-style: italic;
    text-shadow: 4px 4px 0px #00000025;
  }
  #not-page-header {
    font-family: 'Arial';
    font-weight: bold;
    font-style: italic;
    text-shadow: 4px 4px 0px #00000025;
  }
  #channels-container {
    margin-top: -1%;
  }
  .channel-guide-item {
	display: flex;
	align-items: center;
	/* background-color: #333; */
	padding: 15px;
	margin-bottom: 15px;
	border-radius: 32px;
	box-shadow: 0 2px 5px rgba(0, 0, 0, 0.5);
	transition: box-shadow 0.3s ease;
	backdrop-filter: blur(50px) saturate(150%) brightness(0.5);
	outline: 3px solid #b7b7b7;
  }
  
  .channel-guide-item:hover {
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.7); /* Stronger shadow on hover */
  }
  
  .channel-logo {
    max-width: 120px; /* Maximum width for the logo */
    max-height: 80px; /* Maximum height for the logo */
    margin-right: 20px; /* Increase right margin for more space */
    object-fit: contain; /* Ensures the image aspect ratio is preserved */
  }
  
  .channel-preview {
    max-width: 200px; /* Maximum width for the preview */
    max-height: 112px; /* Maximum height for the preview, maintaining a 16:9 aspect ratio */
    margin-right: 20px;
    object-fit: contain; /* Ensures the image aspect ratio is preserved */
    transition: transform 0.3s ease; /* Smooth transition for hover effect */
  }
  
  .channel-preview:hover {
    transform: scale(1.05); /* Slightly scale up image on hover */
    cursor: pointer; /* Change cursor to indicate clickable */
  }
  
  .channel-info {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
  
  .channel-title {
    font-size: 20px;
    color: white; /* Set the text color for the title */
  }
  
  .channel-action {
    align-self: start;
    margin-top: 10px; /* Adds space between the title and the button */
  }
  
  .channel-offline .channel-preview,
  .channel-offline .channel-info {
    opacity: 0.5;
  }
  
  .channel-offline {
    pointer-events: none; /* No clicking when offline */
    box-shadow: none; /* No shadow when offline to make it "flat" */
  }
  
  /* Add styles for the modal if using Bootstrap modal for the video player */
  .modal-content {
    background-color: #333;
    color: white;
  }
  .modal-body {
    padding: 0; /* Remove padding to allow the video to fit well */
  }
/* Navbar Customization */
.navbar {
    z-index: 50;
    position: sticky;
    top: 1%;
    border-radius: 32px;
    max-width: 98%;
    margin: 0 auto;
    background-color: #7aa8d65e !important;
    backdrop-filter: blur(5px) brightness(50%) saturate(50%);
    border-radius: 30px;
  }
  
  .navbar-brand, .navbar-nav .nav-link {
    color: #fff !important; /* Adjust the text color */
  }
  
  .navbar-brand img {
    max-height: 40px; /* Adjust the size of your logo */
  }
  
  /* Navbar link hover effect */
  .navbar-nav .nav-link:hover {
    color: #689acc !important; /* Adjust hover color */
  }

  .btn-primary {
    background-color: #7aa8d65e;
    border:none !important;
    outline: none !important;
  }

  .btn-primary:focus {
    outline: none !important;
    box-shadow: none !important;
  }

  .btn-secondary {
    display: inline-flex; /* Use flexbox for alignment */
    align-items: center; /* Align items vertically */
    justify-content: center; /* Center items horizontally */
    gap: 0.25em; /* Add some space between the text and the image */
    padding: .375rem .75rem; /* Bootstrap's default padding for buttons */
    border-radius: 15px;
    background-color: #abd7f549 !important;
    backdrop-filter: blur(4px);
    margin-top: 2%;
    margin-bottom: 2%;
    border:none !important;
    outline: none !important;
  }

  .btn-secondary:focus {
    outline: none !important;
    box-shadow: none !important;
  }
  
  .btn-secondary .button-logo {
    height: 1em; /* Set the height of the logo relative to the font size */
    width: auto; /* Maintain the aspect ratio of the logo */
    margin-bottom: -0.1em; /* Adjust if the logo is not vertically aligned */
  }

  .btn-light {
    color: #FFFFFF;
    background-color: #FFFFFF50;
    backdrop-filter: blur(4px) contrast(80%) brightness(80%) !important;
    border-radius: 20px;
  }

  .btn-light:hover {
    color: #FFFFFF;
    background-color: #ffffff30
  }

/* the featured channels card i hate myself -sspwxr/raii */
.row {
  flex-direction: row;
  justify-content: space-between;
  margin-top: 5%;
}
.featured-card {
  width: 32%;
  height: 586px;
  padding: 2%;
  border-radius: 30px;
  background-color: #394d7796;
  overflow: hidden;
}

footer {
  position: relative;
  width: 100%;
  background-image: linear-gradient(#35404e, #000000);
  bottom: -4%;
}