/* Reset styles */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  background: linear-gradient(
      rgba(36, 37, 42, 0.9),
      rgba(36, 37, 42, 0.9)
    ),
    url('../image/splash6.jpg'); /* Add your background image */
  background-size: cover; /* Ensures the image covers the entire background */
  background-repeat: no-repeat; /* Prevents the image from repeating */
  background-attachment: fixed; /* Keeps the background image fixed when scrolling */
  background-position: center; /* Centers the background image */
  color: #edf0f1; /* Optional: default text color for better readability */
  font-size: 80%;
  font-family: 'Montserrat', sans-serif;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Header styles */
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 30px 10%;
  position: relative;
}

.logo {
  cursor: pointer;
}

.nav__links {
  list-style: none;
}

.nav__links li {
  display: inline-block;
  padding: 0px 50px;
}

.nav__links li a {
  transition: all 0.3s ease 0s;
  color: #edf0f1;
  text-decoration: none;
}

.nav__links li a:hover {
  color: #0088a9;
}

/* Add this style to your existing CSS */
.second-nav-container {
  /* background-color: #333; */
  padding: 10px 0;
  text-align: center;
}

.second-nav {
  list-style: none;
  margin: 0;
  padding: 0;
}

.second-nav li {
  display: inline-block;
  margin-right: 20px;
}

.second-nav a {
  text-decoration: none;
  color: #fff;
  font-weight: bold;
  font-size: 16px;
  transition: color 0.3s ease;
}

.second-nav a:hover {
  color: #00ffe5; /* Set the desired color on hover */
}

.second-nav a.active {
  /* color: #943636; */
  text-decoration: underline;
}

#search-container {
  display: flex;
  flex-direction: column; /* Align items in a column */
  justify-content: center;
  align-items: center;
  height: 140px; /* Adjust the height as needed */
  width: 400px;
  text-align: center;
  margin: 40px auto; /* Adjust the margin to center vertically */
  background-color: #2c2c2c;
  border-radius: 15px;
}

#searchForm {
  width: 100%;
  max-width: 300px;
  text-align: center;
  margin-bottom: 15px; /* Add space between the form and the button */
}

#searchForm label {
  margin-bottom: 50px; /* Add space below the label */
}

#searchForm input {
  padding: 8px;
  border: none;
  border-radius: 4px;
  width: 100%;
  margin-bottom: 10px; /* Add space below the input */
  text-align: center; /* Center the text in the input field */
}

#searchForm input[type="submit"] {
  padding: 8px 15px;
  border: none;
  border-radius: 4px;
  background-color: #444;
  color: #fff;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

#searchForm input[type="submit"]:hover {
  background-color: #444;
}

.most-searched-player-container {
  flex: 1; /* Take up remaining space */
  max-width: 300px;
  text-align: center;
  margin-top: 10px; /* Adjust the margin as needed */
}

/* Add this style to your existing CSS */
#errorMessage {
  display: none;
  color: #00ffe5; /* Set the desired color for the error message */
}

/* Table styles */
table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 10px; /* Adjust the top margin as needed */
}

table img {
  width: 30px;
  height: 30px;
}

table th {
  background-color: #444;
  color: #fff;
  font-weight: bold;
  padding: 10px;
}

table td {
  padding: 10px;
  border: 1px solid #ddd;
}

/* Overlay and Skills Container styles
.overlay-container {
  position: relative;
} */

.skills-container {
  background-color: #2c2c2c;
  padding: 30px;
  border-radius: 15px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
  z-index: 1;
  max-width: 90%;
  margin: 5% 0 5% 5%;
  overflow: auto;
}

/* Image Container styles */
.baba-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("../image/splash6.jpg");
  background-size: cover;
  background-position: center;
  z-index: -1;
}

/* Style for the back to top button */
#backToTopBtn {
  display: none;
  position: fixed;
  bottom: 20px;
  left: 50%; /* Center the button horizontally */
  transform: translateX(-50%); /* Center the button horizontally */
  font-size: 16px; /* Adjust the font size as needed */
  background-color: #444;
  color: #fff;
  border: none;
  border-radius: 5px;
  padding: 10px;
  cursor: pointer;
}

#backToTopBtn:hover {
  background-color: #0056b3;
}

#backToTopText {
  margin-right: 5px; /* Adjust the spacing between text and triangle */
}

/* Footer Styles */
footer {
  background-color: #2c2c2c;
  color: #ffffff;
  padding: 40px 0;
  text-align: center;
}

.footer-wrapper {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
  border-top: 1px solid #444;
}

.footer-section {
  flex: 1;
  margin: 20px;
  min-width: 250px;
}

.footer-section h2 {
  font-size: 18px;
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.footer-section p {
  font-size: 14px;
  line-height: 1.6;
  color: #ccc;
}

.footer-section ul {
  list-style-type: none;
  padding: 0;
}

.footer-section ul li {
  margin: 10px 0;
}

.footer-section ul li a {
  color: #ffffff;
  text-decoration: none;
  font-size: 14px;
  transition: color 0.3s ease;
}

.footer-section ul li a:hover {
  color: #ffd700;
}

.footer-section .social-icons a img {
  width: 24px;
  margin: 0 10px;
  filter: invert(100%);
  transition: filter 0.3s ease;
}

.footer-section .social-icons a:hover img {
  filter: invert(60%);
}

.footer-bottom {
  background-color: #1a1a1a;
  padding: 10px 0;
  border-top: 1px solid #444;
  font-size: 12px;
  color: #888;
}

