@font-face {
  font-family: "Raleway";
  src: url(../fonts/Raleway-Regular.ttf) format("truetype");
}

html {
  scroll-behavior: smooth;
}

* {
  box-sizing: border-box;
}

:root {
  color-scheme: light !important;
}

html,
body,
head,
ul,
li,
a,
h1,
h2,
h3,
h4,
h5,
h6,
span,
label,
strong {
  margin: 0;
  padding: 0;
}

body {
  font-family: "Raleway", sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 1.42857143;
  color: #333;
  font-variant-numeric: lining-nums;
  overflow: hidden;
}

.main-section {
  display: block;
  margin: 15px auto;
  width: 100%;
  max-width: 360px;
  background: #414d64;
  overflow: hidden;
  overflow-y: auto;
  height: 600px;
  -ms-overflow-style: none;  /* IE and Edge */
  scrollbar-width: none;  /* Firefox */
}

/* Hide scrollbar for Chrome, Safari and Opera */
.main-section::-webkit-scrollbar {
    display: none;
  }

a,
a:hover {
  text-decoration: none;
}

.container {
  max-width: 1170px;
  width: 100%;
  margin: 0 auto;
  padding: 0 16px;
}

img {
  max-width: 100%;
}

/* Spot the ball section CSS starts here */
.header {
  display: block;
  width: 100%;
  text-align: center;
  padding: 10px 0 8px;
}

.header a {
  display: inline-block;
}

.header a img {
  display: inline-block;
  width: 151px;
}

.body-content {
  display: block;
  width: 100%;
}

.body-content h1 {
  display: block;
  width: 100%;
  text-align: center;
  font-size: 20px;
  font-weight: 600;
  color: #f3f4f5;
  margin-bottom: 24px;
  line-height: 30px;
  padding: 0 35px;
  position: relative;
}

.body-content h1::after {
  content: url(../../images/spotGames/heading-footer.svg);
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translate(-50%, 50%);
}

.body-content h1 i {
  font-size: 24px;
  font-style: normal;
  font-weight: 600;
  color: #fff;
}

.body-content h1 span {
  color: #fff;
  font-size: 24px;
}

.guess-cricketer-form {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0;
  margin-bottom: 24px;
}

.guess-cricketer-form .guess-cricketer-question-img {
  display: inline-block;
  width: 100%;
}

.guess-cricketer-form .guess-cricketer-question-img img {
  display: block;
  width: 100%;
}

.guess-cricketer-form form {
  display: inline-block;
  width: 100%;
  background: #3b475f;
  padding: 16px;
  color: #fff;
  border-radius: 8px;
}

.guess-cricketer-form form .checkboxes {
  display: block;
  width: 100%;
}

.guess-cricketer-form form .checkboxes span {
  display: block;
  width: 100%;
  margin-bottom: 16px;
  font-size: 16px;
}

.custom-checkbox {
  display: flex;
  width: 100%;
  position: relative;
  height: 22px;
  align-items: center;
  margin-bottom: 16px;
}

.custom-checkbox input[type="radio"] {
  position: absolute;
  top: 0;
  left: 0;
  width: 24px;
  height: 24px;
  margin: 0;
  z-index: 3;
  opacity: 0;
  cursor: pointer;
}

.custom-checkbox input[type="radio"] ~ i {
  position: absolute;
  top: 0;
  left: 0;
  width: 24px;
  height: 24px;
  background: #fff;
  border-radius: 4px;
  cursor: pointer;
}

.custom-checkbox label {
  display: inline-block;
  margin: 0;
  padding-left: 36px;
  font-size: 16px;
}

.custom-checkbox input[type="radio"]:checked ~ i {
  background: #fff;
}

.custom-checkbox input[type="radio"]:checked ~ i::after {
  content: "";
  position: absolute;
  top: 5px;
  left: 4px;
  width: 13px;
  height: 6px;
  border-left: 2px solid #414d64;
  border-bottom: 2px solid #414d64;
  transform: rotate(-45deg);
}

.custom-checkbox b {
  position: absolute;
  bottom: -13px;
  left: 36px;
  font-size: 13px;
  line-height: 13px;
  font-weight: 600;
  color: #46cd80;
}

.guess-cricketer-form form .submit-btn {
  display: block;
  width: 100%;
  padding-top: 8px;
}

.guess-cricketer-form form .submit-btn button,
.guess-cricketer-form form .submit-btn button:disabled {
  display: inline-block;
  padding: 12px 64px;
  border-radius: 40px;
  border: none;
  color: #414d64;
  font-size: 16px;
  line-height: 16px;
  cursor: pointer;
  background: #fbe8b3;
}

.guess-cricketer-form form .submit-btn button.active {
  background: #f2b200;
}

.guess-cricketer-form form .submit-btn .response-text {
  color: #46cd80;
}

.example-section {
  display: block;
  width: 100%;
  padding: 0;
  border-radius: 8px;
}

.example-section h3 {
  display: block;
  width: 100%;
  text-align: center;
  color: #fff;
  font-size: 20px;
  line-height: 20px;
  font-weight: 600;
  margin-bottom: 24px;
}

.example-section .sample-img-section {
  display: flex;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 8px;
}

.example-section .sample-img-section .question,
.example-section .sample-img-section .answer {
  display: inline-block;
  background: #49546a;
  width: 48%;
  text-align: center;
  border-radius: 4px;
  padding: 8px;
}

.example-section .sample-img-section .question img,
.example-section .sample-img-section .answer img {
  display: block;
  width: 100%;
}

.example-section .sample-img-section .question label,
.example-section .sample-img-section .answer label {
  display: block;
  width: 100%;
  text-align: left;
  margin-top: 8px;
  color: #fff;
  font-size: 14px;
  font-weight: 500;
  line-height: 14px;
}

.example-section .rules {
  display: block;
  width: 100%;
  margin-bottom: 24px;
  color: #fff;
}

.example-section .rules strong {
  display: block;
  width: 100%;
  font-size: 20px;
  line-height: 36px;
}

.example-section .rules ul {
  display: block;
  width: 100%;
  padding-left: 15px;
}

.example-section .rules ul li {
  font-size: 16px;
  line-height: 28.8px;
  list-style: decimal;
}

/* Spot the ball section CSS Ends here */

/* Responsive CSS starts Here */

@media only screen and (max-width: 575px) {
  body {
    background: #414d64;
    overflow: visible;
  }
  .main-section{
    max-width: 100%;
    height: auto;
  }
}
