/* Base Styles */
body {
  margin: 0;
  font-family: 'Arial', sans-serif;
  background-image: linear-gradient(#111111, #444444);
  color: #fff;
}

a {
  color: inherit;
  text-decoration: none;
}

/* Container */
.container {
  width: 90%;
  max-width: 1200px;
  margin: auto;
  padding-left: 0px;
  padding-right: 0px;
  background-color: #050505;
  background-image: url("bg.png");
  background-repeat: repeat-x; 
  border-radius: 5px;
}

/* Header */
.header {
  background: #000;
  border-bottom: 3px solid red;
  padding: 0;
}

.logo {
  background-image: url("navbg.png");
  background-size: cover;
  background-repeat: no-repeat;
  background-position: left;
  background-color: #222;
  margin: 0;
  font-size: 2rem;
  color: #ffbb14;
  padding: 10px;
}

/* Add a black background color to the top navigation */
.topnav {
  background-color: #111;
  overflow: hidden;
  border-radius: 5px;
}

/* Style the links inside the navigation bar */
.topnav a {
  float: left;
  display: block;
  border-right: 3px solid #333;
  color: #f2f2f2;
  text-align: center;
  padding: 5px 10px 5px 10px;
  text-decoration: none;
  font-size: 17px;
}

/* Add an active class to highlight the current page */
.active {
  background-color: red;
  color: white;
}

/* Hide the link that should open and close the topnav on small screens */
.topnav .icon {
  display: none;
}

/* Dropdown container - needed to position the dropdown content */
.dropdown {
  float: left;
  overflow: hidden;
  border-right: 3px solid #333;
}

/* Style the dropdown button to fit inside the topnav */
.dropdown .dropbtn {
  font-size: 17px;
  border: none;
  outline: none;
  color: white;
  padding: 5px 10px 5px 10px;
  background-color: inherit;
  font-family: inherit;
  margin: 0;
}

/* Style the dropdown content (hidden by default) */
.dropdown-content {
  display: none;
  position: absolute;
  background-color: #777;
  min-width: 160px;
  box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
  border-radius: 5px;
  z-index: 1;
}

/* Style the links inside the dropdown */
.dropdown-content a {
  float: none;
  color: white;
  padding: 5px 10px 5px 10px;
  text-decoration: none;
  display: block;
  text-align: left;
}

/* Add a dark background on topnav links and the dropdown button on hover */
.topnav a:hover, .dropdown:hover .dropbtn {
  background-color: #555;
  color: white;
}

/* Add a grey background to dropdown links on hover */
.dropdown-content a:hover {
  background-color: #ddd;
  color: black;
}

/* Show the dropdown menu when the user moves the mouse over the dropdown button */
.dropdown:hover .dropdown-content {
  display: block;
}

/* Hero Section */
.content-main {
	display: grid;
	background-image: url("bgl2.png");
	background-repeat: no-repeat;
	background-size: cover;
	border: 2px solid #333333;
	border-radius: 10px;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
	padding: 5px;
}

.hero {
  background-image: url("bgleft.png");
  background-color: hsla(0, 0%, 0%, 0.5);
  box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
  background-size: cover;
  border: 0px solid #888888;
  border-left: 5px solid red;
  border-radius: 5px;
  text-align: center;
  margin: 3rem 0;
}

.hero-2 {
  border-left: 5px solid red;
  background-color: hsla(0, 0%, 0%, 0.3);
  border-radius: 5px;
  text-align: left;
  margin: 3rem 0;
  padding-left: 10px;
}

.hero h2 {
  font-size: 2rem;
  color: red;
}

.mrllogo:hover {
	transform: scale(1.1);
	transition: transform 0.4s;
}

/* Series Grid */
.series-grid h3 {
  text-align: center;
  margin-bottom: 1rem;
  color: white;
}

.series-cards {
  display: grid;
  border-radius: 10px;
  grid-template-columns: repeat(auto-fit, minmax(175px, 1fr));
  gap: 1rem;
  background-image: url("checkered.png");
  background-size: cover;
  background-repeat: no-repeat;
}

.card {
  margin: 5px;
  background: #222;
  color: #999;
  padding: 1rem;
  border: 2px solid #444;
  border-left: 5px solid red;
  border-radius: 10px;
  transition: transform 0.4s;
  opacity: 0.9;
}

.card:hover {
  transform: scale(1.3);
  color: #fff;
  filter: drop-shadow(5px 5px 2px #000);
}

/* Schedule Preview */
.schedule-preview {
  margin-top: 3rem;
  padding-bottom: 5px;
}

.schedule-preview h3 {
  color: white;
  text-align: center;
  margin-bottom: 1rem;
}

.schedule-preview ul {
  list-style: none;
  padding: 0;
  text-align: center;
  line-height: 1.8;
}

/* Footer */
.footer {
  background: #000;
  color: #aaa;
  text-align: center;
  padding: 1rem 0;
  margin-top: 3rem;
  border-top: 3px solid red;
}

    .login-container {
      background-color: #222;
      padding: 30px;
      border-radius: 10px;
      box-shadow: 0 0 10px rgba(255, 0, 0, 0.3);
      width: 300px;
    }

    h2 {
      text-align: center;
      margin-bottom: 20px;
    }

    input[type="text"],
    input[type="password"] {
      width: 80%;
      padding: 5px;
      margin: 5px 0;
      border: 2px solid #555;
      border-radius: 5px;
      background: #fff;
      color: #000;
    }

    input[type="submit"] {
      width: 100%;
      padding: 10px;
      background-color: red;
      color: #fff;
      border: none;
      border-radius: 5px;
      cursor: not-allowed;
      font-weight: bold;
      opacity: 0.5;
    }

/* When the screen is less than 600 pixels wide, hide all links, except for the first one ("Home"). Show the link that contains should open and close the topnav (.icon) */
@media screen and (max-width: 600px) {
  .topnav a:not(:first-child), .dropdown .dropbtn {
    display: none;
  }
  .topnav a.icon {
    float: right;
    display: block;
  }
}

/* The "responsive" class is added to the topnav with JavaScript when the user clicks on the icon. This class makes the topnav look good on small screens (display the links vertically instead of horizontally) */
@media screen and (max-width: 600px) {
  .topnav.responsive {position: relative;}
  .topnav.responsive a.icon {
    position: absolute;
    right: 0;
    top: 0;
  }
  .topnav.responsive a {
    float: none;
    display: block;
    text-align: left;
  }
  .topnav.responsive .dropdown {float: none;}
  .topnav.responsive .dropdown-content {position: relative;}
  .topnav.responsive .dropdown .dropbtn {
    display: block;
    width: 100%;
    text-align: left;
  }
}