/* Font-face for custom font */
@font-face {
  font-family: 'SportsWorld';
  src: url('fonts/SportsWorld.ttf.woff') format('woff'),
       url('fonts/SportsWorld.ttf.svg#SportsWorld') format('svg'),
       url('fonts/SportsWorld.ttf.eot'),
       url('fonts/SportsWorld.eot?#iefix') format('embedded-opentype');
  font-weight: normal;
  font-style: normal;
}

:root { background-attachment: fixed; }

/* Reset and basic styling */
body, #slider, .wrap, .slide-content {
  margin: 0;
  padding: 0;
  font-family: Cabin, Helvetica, sans-serif;
  width: 100%;
  height: 100vh;
  overflow-x: hidden;
}

/* Selection highlight */
::selection {
  background-color: rgba(255, 0, 0, 0.3);
  color: inherit;
}

/* Body styling */
body {
  margin: 0;
  font-family: Arial, sans-serif;
}

/* Headers styling */
h1, h2, h3, h4 {
  font-family: 'SportsWorld';
  text-transform: uppercase;
  letter-spacing: 2px;
}

h1, h2, h3, h4, h5, h6 {
  margin: 0;
  font-weight: bold;
  letter-spacing: 0.05em;
}

/* Header sizes and responsiveness */
h1 { font-size: 2.5rem; line-height: 1.2; }
h2 { font-size: 2rem; line-height: 1.3; }
h3 { font-size: 1.75rem; line-height: 1.4; }
h4 { font-size: 1.5rem; line-height: 1; }
h5 { font-size: 1.25rem; line-height: 1.6; }
h6 { font-size: 1rem; line-height: 1.7; }

/* Paragraph styling */
p {
  margin: 0;
  font-size: 1rem;
  line-height: 1.6;
  letter-spacing: 0.01em;
}

/* Styling for unordered list */
ul {
  list-style-type: none; /* Remove default bullets */
}

ul li:before {
  content: "\2022"; /* Unicode character for bullet (•) */
  color: #cc0001; /* Set bullet color to red */
  display: inline-block;
  width: 1em; /* Adjust bullet width */
  margin-left: -1em; /* Adjust spacing between bullet and list item text */
}

/* Styling for ordered list */
ol {
  list-style-type: decimal; /* Use decimal numbers for ordered list */
}

ol li:before {
  color: #cc0001; /* Set bullet color to red */
  content: counter(list-item) "."; /* Use counter for ordered list */
  display: inline-block;
  width: 1em; /* Adjust bullet width */
  margin-left: -1.5em; /* Adjust spacing between bullet and list item text */
}

/* Unordered and Ordered List styling */
ul, ol {
  margin: 0;
  padding: 0;
  font-size: 1rem;
  line-height: 1.6;
  letter-spacing: 0.01em;
}

ul li, ol li {
  margin-bottom: 0.5em;
}

ul { text-align: left; }
ul li { 
  text-align: left; 
  margin: 1em auto 35px auto;
  text-align: left;
  font-size: 1.3em;
  line-height: 1.4em;
}

ul li a {
  color: #cc0001;
  text-decoration: none;
  transition: color 0.3s, text-decoration 0.3s;
}

ul li a:hover {
  color: #000;
  text-decoration: underline;
}

/* Navbar styling */
.navbar {
  background-color: #000;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 0px 50px;
  box-sizing: border-box;
  z-index: 1000;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: padding 0.3s ease;
}

.navbar-logo {
  width: 70px;
  height: 70px;
  transition: width 0.3s ease, height 0.3s ease;
}

.navbar-logo img {
  width: 100%;
  height: 100%;
}

.navbar-links {
  display: flex;
  align-items: center;
}

.navbar-links .nav-link, .dropbtn {
  color: white;
  text-decoration: none;
  background-color: transparent;
  padding: 14px 16px;
  font-size: 16px;
  border: none;
  cursor: pointer;
}

.navbar-links .nav-link:hover, .dropbtn:hover {
  text-decoration: none;
  background-color: #cc0001;
}

/* Styles for mobile menu toggle button */
.mobile-menu-toggle {
  display: none; /* Hide by default on larger screens */
}

/* Styles for mobile navbar */
.mobile-navbar {
  display: none; /* Hide by default on larger screens */
  width: 100%;
  text-align: center;
  background-color:#fff;
  margin-top:17px;
  margin-bottom:0;
  position: fixed;
  z-index: 1;
  opacity: 0; /* Initially set opacity to 0 */
  transition: opacity 0.3s ease;
  border-bottom:2px solid #000;
  box-shadow: 0px 0px 15px rgba(0, 0, 0, 0.4);
}

.mobile-navbar.active {
  display: block; /* Show the navbar when active */
  opacity: 1; /* Set opacity to 1 when active */
}

/* Styles for mobile navbar */
.mobile-navbar ul {
  list-style: none; /* Remove default list styles */
  padding: 0; /* Remove default padding */
}

.mobile-navbar ul li:before {
  content: none;
  display: inline-block;
}

.mobile-navbar ul, 
.mobile-navbar ul li { width:100%; }

.mobile-navbar li {
  display: block; /* Display list items horizontally */
  text-align:center;
  border-bottom:1px solid #f0f0f0;
  margin:0;
}

.mobile-navbar li a { 
  display:block; 
  text-decoration:none; 
  padding: 15px 0;
  transition: opacity 0.3s ease;
  transition: background-color 0.3s ease;
}

.mobile-navbar li a:hover { background-color:#f0f0f0; text-decoration:none; }

/* Dropdown styling */
.dropdown {
  position: relative;
}

.dropdown-content {
  display: none;
  position: absolute;
  background-color: #f9f9f9;
  min-width: 160px;
  box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
  z-index: 1;
}

.dropdown-content a:hover {
  background-color: #f1f1f1;
  text-decoration: none;
}

.dropdown-content a {
  color: black;
  padding: 12px 16px;
  text-decoration: none;
  display: block;
}

.dropdown:hover .dropdown-content {
  display: block;
}

/* Breadcrumb styling */
.breadcrumb {
  text-align: center;
  margin-top:10px !important;
}

.breadcrumb .row {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 10px;
}

.breadcrumb .row a {
  color: #cc0001;
  text-decoration: none;
  transition: color 0.3s, text-decoration 0.3s;
  margin: 0 10px; /* Add spacing between links */
}

.breadcrumb .row a:hover {
  color: #000;
  text-decoration: underline;
}

.breadcrumb .row span {
  color: #000; /* Adjust color of divider */
}

/* Section styling */
.section {
  box-sizing: border-box;
  padding: 50px 20px;
}

.section > * {
  width: 80%;
  max-width: 1000px;
  margin: 0 auto;
  text-align: center;
}

.section p {
  margin: 1em auto 35px auto;
  text-align: left;
  font-size: 1.5em;
  line-height: 1.8em;
}

.section p a {
  color: #cc0001;
  text-decoration: none;
  transition: color 0.3s, text-decoration 0.3s;
}

.section p a:hover {
  color: #000;
  text-decoration: underline;
}

.section p .image-container {
  display: flex;
  justify-content: center;
}

.section img {
  width: auto;
  max-height: 100%;
}

.section iframe {
  display: block;
  margin: 0 auto;
}

img.center { 
  display:block;
  margin: 0 auto 2% auto;
 }

.hero { margin-top: 18px; }
.hero img { width:100%; height:auto; }
.noSlider { margin-top: 70px; }

.overlay {
  position: absolute;
  bottom: 160px;
  right: 80px;
  text-align: center;
  color: white;
}

.overlay h2 {
  font-size: 24px;
  margin-bottom: 20px;
}

.overlay .btn {
  display: inline-block;
  padding: 10px 20px;
  background-color: #cc0001;
  color: white;
  text-decoration: none;
  border-radius: 5px;
  transition: background-color 0.3s;
}

.overlay .btn:hover {
  background-color: #990000;
}

.wrap { position: relative; }

/* Special sections styling */
.section.middle { background-color: #f0f0f0; }

.section.last {
  background-color: #cc0001;
  text-align: center;
  color: white;
}

.section.fixed-bg {
  position: relative;
  background-image: url('images/softball-field.jpg');
  background-size: cover;
  background-attachment: fixed;
  padding: 110px 0 50px 0;
  min-height: 400px;
}

.section.fixed-bg::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.3);
}

.section.fixed-bg > * {
  position: relative;
  z-index: 1;
}

.section.fixed-bg h4 {
  font-size:80px;
  text-align: center;
  color: white;
}

.container {
  text-align: center; /* Center-align the content */
}

.container p { 
  font-size:1.2em;
  line-height:1.6em; 
}

.left, .right {
  display: inline-block; /* Display divs side by side */
  vertical-align: top;
  width: 45%; /* Adjust the width as needed */
}

.left {
  margin: 0 65px 0 0;
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size:14px;
}
th { color:#fff; background-color:#000; }
th, td {
  border: 1px solid #dfdfdf;
  padding: 8px;
  text-align: center;
}
.homeGame { background-color:#ea9999; }

.awayGame { background-color:#d9d9d9; }

td a {
    color: #000; /* Set initial color to black */
    transition: color 0.3s, text-decoration 0.3s; /* Apply transition for color and text-decoration */
    text-decoration: underline; /* Add underline on hover */
}

td a:hover {
    color: #000; /* Change color to black on hover */
    text-decoration: none; /* Remove default underline */
}

.table-container {
  overflow-x: auto; /* Enable horizontal scrolling */
}

.responsive-table {
  width: 100%;
  border-collapse: collapse;
}

.responsive-table th, .responsive-table td {
  border: 1px solid #ddd;
  padding: 8px;
}

.nowrap { white-space: nowrap; }
.textAlignLeft { text-align:left; }
.textAlignCenter { text-align:center !important; }
.textAlignRight { text-align:right; }

hr {
  border: none; /* Remove default border */
  height: 1px; /* Set the height of the rule */
  background-color: #b1b1b1; /* Set the color of the rule */
  margin: 40px auto !important; /* Add spacing above and below the rule */
  width:30% !important;
}

.center-button {
  text-align: center;
  margin-top: 20px; /* Adjust the margin as needed to create space between the paragraph and the button/link */
}

.reach-out-btn {
  display: inline-block;
  padding: 10px 20px;
  background-color: #cc0001;
  color: white;
  text-decoration: none;
  border-radius: 5px;
  font-size: 18px;
  transition: background-color 0.3s ease;
}

.reach-out-btn:hover {
  background-color: #000;
}


#back-to-top {
  display: none; /* Hide the link by default */
  position: fixed; /* Fixed position */
  bottom: 20px; /* 20px from the bottom */
  right: 20px; /* 20px from the right */
  background-color: #f0f0f0;
  color: white;
  padding: 10px;
  border-radius: 5px;
  text-decoration: none;
  font-size: 24px; /* Adjust size as needed */
  z-index: 1000; /* Ensure it's above other content */
  transition: opacity 0.3s ease;
  transition: background-color 0.3s ease;
}

#back-to-top:hover {
  background-color: #cc0001;
}

.headshotIMG { width:150px !important; height:auto; }

.width50 { width:50%; }
.width60 { width:60%; }
.width70 { width:70%; }
.width80 { width:80%; }
.width90 { width:90%; max-width:1100px; }

/* Footer styling */
footer {
  background-color: #f0f0f0;
  padding: 20px;
  text-align: center;
}

.footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-links {
    margin-left: 20px; /* Add left spacing */
    margin-right: 20px; /* Add right spacing */
}

.footer-links a {
    color: #000; /* Set initial color to black */
    transition: color 0.3s, text-decoration 0.3s; /* Apply transition for color and text-decoration */
    text-decoration: none; /* Add underline on hover */
    margin: 0 10px; /* Add spacing between links */
}

.footer-links a:hover {
    color: #cc0001; /* Change color to black on hover */
    text-decoration: underline; /* Remove default underline */
}

.footer-divider {
    color: #ccc; /* Set divider color to light gray */
}

.copyright {
    margin-left: auto; /* Push copyright text to the right */
    margin-right:50px;
}

.builtBy { 
  margin-top:10px;
  padding-right:50px; 
  font-size:12px; 
  text-align:right; 
  vertical-align: text-top;
}



@media screen and (min-width: 769px) {
  .mobile-navbar {
    display: none; /* Hide the mobile-navbar */
  }
}

@media screen and (max-width: 768px) {

  #slider, .wrap { height:33vh; }

  .dir-control { display:none; }

  .navbar-logo {
    width: 50px;
    height: 50px;
  }

  .section { padding-top:25px; padding-bottom:25px; }

  .hero { margin-top:35px; }

  .hero img { width:100%; height:auto; }

  .responsive-table th, .responsive-table td {
    padding: 3px; /* Adjust padding for smaller screens */
    font-size:12px;
  }

  h1 { font-size: 1.8rem; }
  h2 { font-size: 1.5rem; }
  h3 { font-size: 1.2rem; }
  h4 { font-size: 1.0rem; }
  h5 { font-size: 1.0rem; }
  h6 { font-size: 1rem; }

  .section p { font-size: 1.0rem; }

  ul li {
    font-size: 0.9rem;
    max-width: 95%;
  }

  .section > * { width:95%; }

  .width60 { width:85% !important; }

  hr {
    width:50% !important;
  }

  .section.fixed-bg h4 { font-size:45px; }

  .navbar-links {
    display: none; /* Hide navbar links by default on smaller screens */
  }
  
  .mobile-menu-toggle {
    display: block; /* Show toggle button on smaller screens */
    cursor: pointer;
  }

  .mobile-navbar ul, 
  .mobile-navbar ul li { max-width:100%; }

  .breadcrumb ul li {
    display: block; /* Display list items vertically */
    margin-bottom: 10px; /* Add spacing between list items */
  }

  .section.fixed-bg {
    /*background-size:contain;*/
  }

  .footer {
    flex-direction: column; /* Stack items vertically on smaller screens */
    text-align: center; /* Center-align content */
    padding-right:0px;
    padding-left:0px;
  }

  .footer-links, .copyright {
    margin-bottom: 10px; /* Add some space between the two sections */
  }

  .copyright { text-align:center !important; margin:0; }

  .builtBy { text-align:center; padding-right:0; }
}
