:root {
  --input-padding-x: .75rem;
  --input-padding-y: .75rem;
}

html, body {
  height: 100%;
  background-color: #ffffff !important;
  color: #fff !important;
}

.modal-content {
  background-color: #bbbbbb !important;
  background: #dcd9d9 !important;
}

.modal-content {
  padding: 84px 44px;
  height: 100vh;
}

.mt-6 {
  margin-top: 19.5rem !important;
}

.mb-5 {
  margin-bottom: 10.5rem !important;
}

body {
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 40px;
  padding-bottom: 40px;
  background-color: #f5f5f5;
}

.form-signin {
  width: 100%;
  max-width: 600px;
  padding: 15px;
}

.text-center.mb-4 {
  margin-top: 20px; /* Adjust this value to increase/decrease the margin */
}

.form-label-group {
  margin-bottom: 1rem;
}

.form-label-group > input,
.form-label-group > label {
  border-radius: 15px;
  padding: var(--input-padding-y) var(--input-padding-x);
}

.form-label-group > label {
  font-size: 25px;
  position: absolute;
  top: 4px;
  left: 6px;
}

.form-control {
  font-size: 25px;
  line-height: 2;
}

p {
  font-size: 25px;
  color: #065d6e;
  font-weight: 600;
}

.form-label-group input::-webkit-input-placeholder {
  color: transparent;
}

.form-label-group input:-ms-input-placeholder {
  color: transparent;
}

.form-label-group input::-ms-input-placeholder {
  color: transparent;
}

.form-label-group input::-moz-placeholder {
  color: transparent;
}

.form-label-group input::placeholder {
  color: transparent;
}

.form-label-group input:not(:placeholder-shown) {
  padding-top: calc(var(--input-padding-y) + var(--input-padding-y) * (2 / 3));
  padding-bottom: calc(var(--input-padding-y) / 3);
}

.form-label-group input:not(:placeholder-shown) ~ label {
  padding-top: calc(var(--input-padding-y) / 3);
  padding-bottom: calc(var(--input-padding-y) / 3);
  font-size: 12px;
  color: #777;
}

.btn-block {
  width: 100%;
}

.img-fluid-50 {
  width: 50%;
}

.h3 {
  font-size: 45px;
}

.modal {
  height: 100vh;
}

.setbox {
  border: 1px solid #227aa6;
  padding: 15px 8px;
  margin: 5px;
}

.z-index-111 {
  z-index: 111;
}

.btn-primary {
  font-size: 40px;
  background: #57bc53;
  border-color: #20811d;
  border-radius: 15px;
}

.modal {
  height: 100vh;
}

.hartmatchimg {
  position: absolute;
  width: 55%;
  left: 0;
  bottom: 0;
}

.hartmatchimgWin {
  position: absolute;
  width: 45%;
  left: 0;
  bottom: 0;
}

#marksCount {
  color: #930b28;
  position: relative;
  bottom: 320px;
  font-size: 50px;
  font-family: fantasy;
  left: 17px;
}

.thnks-btn {
  margin-top: 30px;
}

.mb-6 {
  margin-bottom: 29rem !important;
}

.no-side-padding {
  padding-left: 0px !important;
  padding-right: 0px !important;
}

.setbox {
  border: 1px solid #227aa6;
  padding: 15px 15px 8px 15px;
  margin: 5px;
}

#matchModel .modal-dialog {
  margin: 0;
}

@media (min-width: 992px) {
  #matchModel .modal-lg, .modal-xl {
    max-width: 100%;
  }
}

#playVideo {
  position: fixed;
  right: 0;
  bottom: 0;
  min-width: 100%;
  min-height: 100%;
}

.background-black {
  background: #000 !important;
  background-color: #000 !important;
}

#matchModel .modal-dialog {
  margin: 0;
  max-width: 100%;
}

button {
  padding: 15px 110px;
  margin: 27px;
  background: #24a724;
  color: #fff;
  border: none;
}

#ap {
  max-height: 1350px;
  overflow-y: scroll;
}

/* Add spacing for home.ctp for different screen sizes */
@media (min-width: 768px) {
  .col-md-4, .col-lg-3 {
    max-width: 25%;
  }

  .text-center.mb-4 {
    margin-top: 20px; /* Smaller margin for tablets */
  }
}

@media (max-width: 767px) {
  .col-sm-6 {
    max-width: 50%;
  }

  .text-center.mb-4 {
    margin-top: 20px; 
  }
}

/* For tablet screen size 1280x800 */
@media (max-width: 1280px) and (max-height: 800px) {
  .form-signin {
    padding: 10px; /* Adjust padding for form */
  }

  p {
    font-size: 20px; /* Adjust paragraph font size */
    text-align: center; /* Center text */
    margin-top: 15px; /* Add spacing above paragraph */
  }

  .modal-content {
    padding: 20px; /* Adjust padding for modal content */
  }

  /* Adjust logo sizes in modal */
  .img-fluid-30 {
    width: 30%; /* Smaller logo for modal */
  }
  
  /* Adjust the input field width */
  .form-control {
    width: 100%; /* Make input fields full width */
  }

  /* Button styles */
  button {
    width: auto; /* Ensure button sizes fit content */
    padding: 10px 20px; /* Padding for buttons */
    margin-top: 20px; /* Space between elements */
  }
}

/* Ensure images are responsive */
.img-fluid {
  max-width: 100%;
  height: auto; /* Maintain aspect ratio */
}

/* Additional styles for image grid */
.setbox {
  margin-bottom: 15px; /* Space between images */
}
/* Home.ctp Specific Styles */
.home-container {
  padding: 20px;
}

.allpic-container {
  padding: 10px;
  background-color: #fff;
}

/* Allpic-specific styles */
#ap {
  margin-top: 20px; /* Customize for different pages */
}
