#mob_act_grid,
label {
  position: absolute;
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  overflow: hidden;
  cursor: pointer;
}

/* #main_mob_act_grid */
#main_mob_act_grid #mob_act_grid {
  font-size: 1vmin;
  font-family: "Open Sans", sans-serif;
  color: white;
  background: #333;
  position: relative;
}

#main_mob_act_grid .message {
  top: 1vw;
  width: 100vw;
  text-align: center;
  font-size: 1.5em;
  line-height: 2em;
}

#main_mob_act_grid .message a {
  color: inherit;
  text-decoration: none;
  border-bottom: 1px solid #444;
}

#main_mob_act_grid .message a:hover {
  border-width: 3px;
}


/* #main_mob_act_grid */
#main_mob_act_grid #mob_act_grid {
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 90em;
  height: 85em;
  background-color: #ffd701;
  font-family: "Barlow Condensed", sans-serif;
  border-radius: 20px;
  padding: 20px;
}

/* #main_mob_act_grid */
#main_mob_act_grid #mob_act_grid [class*=item] {
  border: 1px solid black;
  background: url() center center/cover no-repeat;
  transition: all 0.5s ease-in-out;
  z-index: 0;
  border-radius: 100px;
  width: 26%;
  height: 26%;
  border: 5px solid white;
  cursor: pointer !important;
  margin: 10px; 
  display: flex;
  padding: 20px;
}


/* Icons  */
/* #main_mob_act_grid */
#main_mob_act_grid #mob_act_grid [class*=item]:hover {
  border: 1px solid white;
  z-index: 1;
}

#main_mob_act_grid #mob_act_grid [class*=item]:nth-of-type(1) {
  top: 0;
  left: 0;
  margin: 5px 12px;
}

#main_mob_act_grid #mob_act_grid [class*=item]:nth-of-type(2) {
  top: 0px;
  left: 33%;
  margin: 5px 12px
}

#main_mob_act_grid #mob_act_grid [class*=item]:nth-of-type(3) {
  top: 0px;
  left: 66%;
  margin: 5px 12px
}

#main_mob_act_grid #mob_act_grid [class*=item]:nth-of-type(4) {
  top: 32.5%;
  left: 0;
  margin: 7px 12px
}

#main_mob_act_grid #mob_act_grid [class*=item]:nth-of-type(5) {
  top: 32.5%;
  left: 33%;
  margin: 7px 12px
}

#main_mob_act_grid #mob_act_grid [class*=item]:nth-of-type(6) {
  top: 32.5%;
  left: 66%;
  margin: 7px 12px
}

#main_mob_act_grid #mob_act_grid [class*=item]:nth-of-type(7) {
  top: 65.5%;
  left: 0;
  margin: 7px 12px
}

#main_mob_act_grid #mob_act_grid [class*=item]:nth-of-type(8) {
  top: 65.5%;
  left: 33%;
  margin: 7px 12px
}

#main_mob_act_grid #mob_act_grid [class*=item]:nth-of-type(9) {
  top: 65.5%;
  left: 66%;
  margin: 7px 12px
}

/* #main_mob_act_grid */
#main_mob_act_grid #mob_act_grid input {
  display: none;
}

/* #main_mob_act_grid */
#main_mob_act_grid #mob_act_grid input:checked+[class*=item] {
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
}


/* For hover effect */
#mob_act_grid a:hover label {
  opacity: 0.7;
}


#mob_act_grid label {
  display: inline-block;
  width: 100px;
  height: 100px;
  background-size: cover;
  cursor: pointer;
  transition: opacity 0.3s ease;
}


/* Text Instruction */
.instructions {
  text-align: center;
  margin-bottom: 10px;
  font-size: 16px;
  text-shadow: 1px 1px 2px black, 0 0 25px blue, 0 0 5px darkblue;
}



.overlay-text {
  position: absolute;
  transform: translate(-50%, -50%);
  color: black;
  font-size: 13px;
  z-index: 2;
  text-shadow: 0px 0px 0px black, 0 0 1px blue, 0 0 30px darkblue;
  text-transform: uppercase;
  letter-spacing: 1px;
  text-align: center;
  width: 100%; 
  left: 50%;
  top: 50%; 
}


.overlay-text1,
.overlay-text2,
.overlay-text3 {
  top: 31%;
}

.overlay-text1 {
  left: 17%;
}

.overlay-text2 {
  left: 50%;
}

.overlay-text3 {
  left: 83%;
  width: 25%
}

.overlay-text4,
.overlay-text5,
.overlay-text6 {
  top: 64%
}

.overlay-text4 {
  left: 17%;
}

.overlay-text5 {
  left: 50%;
}

.overlay-text6 {
  left: 83%;
  width: 25%
}


.overlay-text7,
.overlay-text8,
.overlay-text9 {
  top: 96.5%
}

.overlay-text7 {
  left: 17%;
}

.overlay-text8 {
  left: 50%;
}

.overlay-text9 {
  left: 83%;
  width: 25%
}


@media (min-width: 320px) and (max-width: 390px) {
  .overlay-text3 {
    left: 83%;
    width: 30%;
  }
}


/* Add Owl Carousel styling */
.owl-carousel {
  display: flex;
  flex-wrap: wrap;
}


/* Adjust styling for 2x2 grid */
#mob_act_grid [class*=item] {
  width: 48%; /* Adjust width for a 2x2 grid */
  height: 48%;
}


/* NEW  */
/* .center {
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.row {
  display: flex;
  flex-wrap: wrap;
  padding: 0 4px;
}

.column {
  flex: 50%;
  max-width: 50%;
}

.column img {
  margin-top: 8px;
  vertical-align: middle;
  width: 100%;
} */