/* General styles */
body, h1, h2, h3, h4, h5, h6, p, ul, ol, a, button, input, textarea, th, td {
  font-family: Roboto, sans-serif;
}

.checkbox-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); /* Adjust the minmax value to suit your needs */
  gap: 10px;
}



h1, h2, h3, h4, h5, h6 {
  font-weight: bold;
}

body {
  background-color: #ffffff;
  margin: 0;
  padding: 0;
}

/* Typography */
h1, h2, h3 {
  color: #000000;
  font-weight: normal;
  padding: 10px;
}

h4, h5, h6 {
  color: #000000;
  font-weight: normal;
  margin: 0;
  padding: 0;
}


p, li {
  color: #505f4f;
  font-size: 16px;
}

p {
  line-height: 1.5;
  margin: 0;
  padding: 2px;
  margin-left: 10px; /* Add margin-left property */
}

ul, ol {
  list-style: none;
  margin: 0;
  padding: 0;
  margin-left: 10px; /* Add margin-left property */
}


a {
  color: #505f4f;
  text-decoration: none;
}

/* Dark mode styles */
body.dark-mode {
  background-color: black;
  color: white;
}

/* Subscription form */
.subscription-form {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.input-row,
.button-row {
  width: 60%;
  display: flex;
  justify-content: center;
}

.subscription-form input[type="email"] {
  width: 100%;
  box-sizing: border-box;
  text-align: center;
}

.subscription-form button {
  width: 100%;
}


/* Buttons */
button {
  background-color: #027bfb;
  color: #fff;
  padding: 6px 12px;
  border: none;
  cursor: pointer;
  border-radius: 5px;
}

button, input[type="submit"], input[type="button"], .button {
  background-color: #027bfb;
  color: #fff;
  padding: 6px 12px;
  border: none;
  cursor: pointer;
  border-radius: 5px;
}

button:active,
button:hover {
  background-color: #ed452f;
}

.pagination {
  text-align: center;
}

.pagination .button {
  display: inline-block;
  margin: 0 5px; /* adjust as needed */
}

.pagination .disabled {
  opacity: 0.5;
}


.pagination .disabled {
  color: #ccc;
  pointer-events: none;
}

.pagination .current {
  background-color: #ed452f;
  color: #fff;
}



button a {
  text-decoration: none;
  color: white;
}

button a:hover {
  text-decoration: none;
  background-color: #ed452f;
}

/* Placeholder */
::placeholder {
  color: gray;
}

::-webkit-input-placeholder {
  color: gray;
}

:-moz-placeholder {
  color: gray;
  opacity: 1;
}

::-moz-placeholder {
  color: gray;
  opacity: 1;
}

:-ms-input-placeholder {
  color: gray;
}

/* Inputs */
input[type="text"],
input[type="email"],
input[type="password"],
textarea {
  width: 100%;
  padding: 8px;
  margin: 8px 0;
  box-sizing: border-box;
  border: 1px solid #027bfb;
  border-radius: 4px;
}

/* Tables */
table {
  border-collapse: collapse;
  width: 99%%;
  background-color: #ffffff;
}

table tr:hover {
  background-color: rgba(253, 245, 51, 0.5);
}

th, td {
  border: 0px solid #ffffff;
  text-align: center;
  padding: 1px;
}

th {
  background-color: #ffffff;
  color: #505f4f;
  padding: 1px;
}

/* Grid container */
.grid-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  padding-left: 20px;
  padding-right: 20px;
  gap: 10px;
}

.grid-item {
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  position: relative;
  width: 100%;
  height: 100%;
}

.grid-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  max-width: 100%;
  max-height: 100%;
}

.overlay {
  position: absolute;
  display: flex;
  justify-content: center;
  align-items: center;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  color: #fff;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease-in-out;
}

.grid-item:hover .overlay {
  opacity: 1;
  visibility: visible;
}

.overlay p {
  margin: 0;
  text-align: center;
  font-size: 20px;
  color: #fff;
  font-weight: bold;
}

/* Responsive styles */
@media screen and (max-width: 767px) {
  .containerw {
    display: block;
    padding-left: 0;
    padding-right: 0px;
  }

  .columnw {
    width: 100%;
  }

  .flex-containerw {
    grid-template-columns: repeat(2, 1fr);
  }

  h2 {
    font-size: 24px;
  }

  p {
    font-size: 14px;
  }
}

@media screen and (max-width: 480px) {
  .flex-containerw {
    grid-template-columns: 1fr;
  }

  h2 {
    font-size: 20px;
  }

  p {
    font-size: 12px;
  }
}
