/* Reset some default styles */
body, h1, h2, h3, p {
  margin: 0;
  padding: 0;
}

/* Set a background color for the entire page */
body {
  background-color: #f5f5f5;
  font-family: Arial, sans-serif;
  color: #333;
}

/* Style the navigation menu */

/* Style the marquee */
.marquee {
  background-color: #e74c3c;
  color: #fff;
  text-align: center;
  padding: 10px 0;
}

/* Style the addb section */
.addb {
  background-color: #2ecc71;
  text-align: center;
  padding: 20px;
}

.addbname {
  font-weight: bold;
  font-size: 18px;
}

.addbcontent {
  font-size: 16px;
  margin-top: 10px;
}

.addbname.red {
  color: #e74c3c;
}

.addbcontact.green {
  color: #2ecc71;
  font-size: 18px;
  margin-top: 10px;
}

.buttonb {
  border: none;
  padding: 10px 20px;
  margin-top: 10px;
  cursor: pointer;
  border-radius: 5px;
}

.buttonb.bgred {
  background-color: #e74c3c;
  color: #fff;
}

.buttonb.bggreen {
  background-color: #2ecc71;
  color: #fff;
}

/* Style the table and content sections */
.table, .content {
  background-color: #fff;
  padding: 20px;
  margin: 20px;
  border-radius: 5px;
  box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
  text-align: center;
}

.table h3 {
  color: #333;
  font-size: 24px;
}

.content h2 {
  color: #333;
  font-size: 24px;
}

.content p {
  font-size: 16px;
  line-height: 1.5;
  margin-top: 10px;
}

/* Style the footer */
.footer {
  background-color: #333;
  color: #fff;
  text-align: center;
  padding: 10px 0;
}

.footer a {
  color: #fff;
  text-decoration: none;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
  .nav ul li {
    display: block;
    margin: 10px 0;
  }
}

/* Center align the contents of the .row */
.row {
  text-align: center;
}

/* Style the card container */
.card {
  border: 1px solid #ccc;
  border-radius: 5px;
  padding: 20px;
  margin: 10px;
  background-color: #fff; /* Card background color */
}

/* Style the card titles */
.card-title a {
  font-size: 24px;
  text-decoration: none;
  color: #333;
  transition: color 0.3s; /* Smooth color transition on hover */
}

.card-title a:hover {
  color: #ff6600; /* Hover color */
}

/* Style the time and card text */
.time {
  font-size: 18px;
  color: #888;
}

.card-text {
  font-size: 24px;
  font-weight: bold;
  margin: 10px 0;
}

/* Style the font elements inside the card text */
.card-text font {
  color: #f00; /* Text color */
}

/* Style the image inside the card text */
.card-text img {
  width: 25px;
  height: 10px;
  margin-left: 5px;
}

/* Media query for responsiveness */
@media screen and (max-width: 768px) {
  .card {
    width: 90%; /* Adjust card width for smaller screens */
    margin: 10px auto; /* Center align cards */
  }

  .card-title a {
    font-size: 20px; /* Reduce font size on smaller screens */
  }

  .card-text {
    font-size: 20px; /* Reduce font size on smaller screens */
  }

  .card-text img {
    width: 20px; /* Reduce image size on smaller screens */
    height: 8px;
    margin-left: 5px;
  }
}

/* Style for the game-wala section */
.game-wala {
    padding: 20px; /* Add padding as needed */
    background-color: #f0f0f0; /* Add a background color if desired */
}

/* Style for each portfolio item */
.game-wala .portfolio-item {
    margin-bottom: 20px; /* Add margin between each portfolio item */
    display: flex; /* Display the portfolio items in a flex container */
}

/* Style for the card container */
.card1 {
    border: 1px solid #ccc; /* Add border style */
    border-radius: 5px; /* Add border radius if desired */
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.2); /* Add shadow effect if desired */
    flex-grow: 1; /* Allow the card to grow and occupy available space */
    margin-right: 10px; /* Add margin between the two boxes */
}

/* Style for the card title */
.card-title a {
    color: #333; /* Text color for the card title */
    text-decoration: none; /* Remove underline from links */
}

/* Style for other elements within the card (main-time, two-result, etc.) */
.card-text {
    color: #666; /* Text color for card text */
}

/* Style for the oldr and font spans within the two-result paragraph */
.two-result .oldr {
    font-weight: bold; /* Add font weight if desired */
    color: #ff5722; /* Color for the oldr span */
}

.two-result font {
    color: #009688; /* Color for the font span */
}

/* Customize styles as needed for your specific design */

/* Base table styles */
table {
    width: 100%;
    border-collapse: collapse;
    border-spacing: 0;
}

th, td {
    padding: 10px;
    text-align: center;
    border: 1px solid #ccc;
}

th {
    background-color: #3498db; /* Header background color */
    color: #fff; /* Header text color */
    font-weight: bold;
}

/* Alternate row colors */
tr:nth-child(even) {
    background-color: #f2f2f2; /* Even row background color */
}

/* Hover effect */
tr:hover {
    background-color: #e0e0e0; /* Hovered row background color */
}

/* Mobile styles */
@media (max-width: 768px) {
    th, td {
        padding: 8px;
    }
    
    th, td::before {
        content: attr(data-label);
        display: inline-block;
        font-weight: bold;
        margin-right: 5px;
    }

    td::before {
        content: attr(data-label) ": ";
        font-weight: normal;
    }

    td {
        display: block;
        text-align: left;
    }

    tr {
        border-bottom: 1px solid #ccc;
        margin-bottom: 10px;
    }
    
    tbody:before {
        content: "Scroll horizontally to see more";
        display: block;
        white-space: nowrap;
        text-align: center;
        background-color: #f2f2f2; /* Scroll hint background color */
        color: #333; /* Scroll hint text color */
        font-weight: bold;
        padding: 5px;
    }
}

.nav ul {
    list-style-type: none;
    display: flex;
    justify-content: space-between;
    padding: 0;
}

.nav li {
    flex: 1;
    text-align: center;
    padding: 4px 0px;
}

.nav li a {
    display: block;
    color: #fff;
    text-decoration: none;
    padding: 10px 10px;
    transition: background-color 0.3s ease;
    font-size: 14px;
    font-weight: bold;
    text-transform: uppercase;
    background-color: #0089a2;
    border: 1px solid black;
}

.logo {
    text-align: center;
}


/* Reset some default browser styles for better consistency */
body, html {
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
}

/* Style the page header */
h1 {
    background-color: #333;
    color: #fff;
    padding: 20px;
    text-align: center;
}

/* Style the form container */
form {
    width: 80%;
    max-width: 500px;
    margin: 0 auto;
    padding: 20px;
    border: 1px solid #ccc;
    background-color: #f9f9f9;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

/* Style form labels and input fields */
label {
    display: block;
    margin-bottom: 10px;
}

input[type="text"],
input[type="email"],
textarea {
    width: 100%;
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 3px;
    font-size: 16px;
}

textarea {
    height: 150px;
}

/* Style the submit button */
input[type="submit"] {
    background-color: #333;
    color: #fff;
    border: none;
    padding: 10px 20px;
    font-size: 18px;
    cursor: pointer;
}

/* Style the submit button on hover */
input[type="submit"]:hover {
    background-color: #555;
}
