.container {
  margin-left: 10%;
  margin-right: 10%;
  font-family: "Montserrat", sans-serif;
  font-size: 14px;
  line-height: 2;
  font-weight: lighter;
  margin-top: 94px;
}

.mainContainer{
  font-family: "Montserrat", sans-serif;
  font-size: 14px;
  line-height: 2;
  font-weight: lighter;
  padding: 20px 15px;
  margin-top: 94px;
}

.heading {
  width: 100%;
  text-transform: "uppercase";
}

.headings{
  width: 100%;
  text-transform: "uppercase";
  padding: 0 66px;
}

.heagingSpan {
  font-size: 32px;
  margin-bottom: 1%;
  color: #be9700;
  text-transform: "uppercase";
}

.heagingSpan b{
    text-transform: "uppercase";

}
.heading h1 {
  text-align: center;
}

.horizontalLine {
  width: 100%;
  border-top: 1px solid #be9700;
  margin-top: 10px;
  position: relative;
}

.paragraph p {
  text-align: left;
  font-size: 18px;
  color: #1961acb8;
  letter-spacing: 0.7px;
  margin-top: 20px;
  line-height: 28px;
}

.centeredHeading {
  text-align: center;
  font-size: 24px;
  color: #1961acb8;
  margin-top: 20px;
}

.leftAlignedHeading {
  text-align: left;
  font-size: 22px;
  color: #1961acb8;
  margin-top: 20px;
}

.paragraph b {
  color: #1961acb8;
}

.romanList {
  list-style-type: upper-roman;
  padding-left: 60px;
  margin-top: 10px;
  font-size: 16px;
  line-height: 1.5;
}

.romanList li {
  margin-bottom: 5px;
  color: #1961acb8;
}

.centeredButton {
  text-align: center;
  margin: 20px 0;
}

.linkButton {
  background-color: #1961acb8;
  color: white;
  padding: 10px 20px;
  text-decoration: none;
  font-size: 16px;
  border-radius: 4px;
  transition: background-color 0.3s ease;
}

.linkButton:hover {
  background-color: #164a87;
}

.styledList {
  margin-top: 10px;
  padding-left: 20px;
  font-size: 16px;
  line-height: 1.5;
}

.styledList li {
  margin-bottom: 5px;
}

@media (min-width: 319px) and (max-width: 480px) {
  .heagingSpan {
    font-size: 24px;
    margin-bottom: 1%;
    color: #be9700;
  }
  .container {
    margin-left: 0%;
    margin-right: 0%;
    line-height: 1.2;
  }
  .centeredHeading {
    font-size: 20px;
  }
  .leftAlignedHeading {
    font-size: 18px;
  }
  .paragraph p {
    font-size: 14px;
    font-weight: 400;
  }
  .styledList {
    font-weight: 400;
  }
  .romanList {
    font-weight: 400;
  }
}

@media (max-width: 768px) {
  .headings {
    padding: 0;
  }
  .mainContainer{
    padding: 8px;
    margin-top: "78px",
  }
}

/* HallFameStallions-style */

.thumbnail {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(274px, 1fr));
  gap: 20px;
  padding: 20px;
}

.card {
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 10px;
  cursor: pointer;
  transition: transform 0.3s;
  text-align: center;
}

.card:hover {
  transform: scale(1.05);
}

.cardImage {
  width: 100%;
  height: auto;
  border-radius: 4px;
}

.cardTitle {
  text-decoration: underline;
  text-underline-offset: 5px;
  font-weight: bold;
  font-size: 1.1em;
  margin-top: 10px;
}

.cardYear {
  color: #666;
  font-weight: 600;
  font-size: 0.9em;
}

.modalOverlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
}

.modalContent {
  background: white;
  padding: 20px;
  border-radius: 8px;
  width: 80%;
  max-width: 500px;
  position: relative;
  text-align: center;
}

.modalImage {
  width: 100%;
  height: auto;
  border-radius: 4px;
  margin-top: 30px;
}

.closeButton {
  position: absolute;
  top: 2px;
  right: 10px;
  font-size: 1.5em;
  cursor: pointer;
  color: white;
  padding: 4px 10px;
  margin-top: 10px;
  border-radius: 5px;
  background-color: #336cabf0;
}

.modalContent p {
  color: black;
  font-weight: 500;
}

.modalContent h2{
  color: black;
  font-weight: 500;
}

/* Stallions of Kuwait styles */

.searchField {
  width: 250px;
  height: 40px;
  border-radius: 8px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  position: relative;
}

.searchField .MuiInputBase-root {
  height: 40px;
}

.clearIcon {
  position: absolute;
  right: -38px;
  top: 58%;
  transform: translateY(-50%);
  cursor: pointer;
}

.searchContainer {
  margin-top: 30px;
  display: flex;
  gap: 10px;
  justify-content: center;
  margin-bottom: 40px;
  align-items: center;
}

.tableContainers {
  margin-top: 20px;
}

.tableContainers th,
.tableContainers td {
  color: #333;
}

.tableContainers th {
  background-color: #1961acb8;
  color: white;
}

.tableContainers tr:hover {
  background-color: #f0f0f0;
}

.paginationContainer {
  display: flex;
  justify-content: center;
  margin-top: 20px;
}