* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Dosis", sans-serif;
  text-decoration: none;
}

::-webkit-scrollbar {
  display: none;
}

:root {
  --text_color: #888;
  --btn-rounded: 393px;
  --rounded: 15px;
  --border-color: #e5e7eb;
  --btn_bg: #3b82f6;
  --btn-text-color: #f4f4f8;
  --btn-boxShadow: 2px 2px 14px rgb(0 0 0 / 40%);
  --div-boxShadow: rgba(0, 0, 0, 0.25) 0px 12px 22px -12px;
}

.game_section1 {
  padding: 4px 0 4px 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
  justify-items: center;
}
main {
  height: 100%;
  width: 100%;
  display: flex;
  justify-content: center;
  position: relative;
  background-image: url(../assets/robux/back.jpg);
  /* background-color: black; */
  /* background-color: white; */
  /* background-color: #fe980018; */
  /* background-color: #000000d4; */
  background-position: center center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  background-size: cover;
  overflow-x: hidden;
}
.home-title {
  color: #7f56ff;
  font-weight: 600;
  font-size: 25px;
}

.card1 {
  margin: auto;
  border-radius: 15px;
  border: 1px solid #e6e7e8;
  text-align: center;
  box-shadow: rgb(167 166 166 / 19%) 0px 5px 20px;
}

.card-body {
  padding: 15px 10px !important;
}

.btn1 {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background-color: white;
  /* border: 1px solid #3C7AFF; */
  border: 2px solid #4867ff;
  padding: 6px 16px;
  border-radius: 50px;
  transition: all 0.3s ease-in-out;
  color: black;
  font-weight: 500;
  line-height: 21px;
  font-size: 17px;
  height: 45px;
  width: 150px;
}

.btn1 .icon {
  height: 23px;
  filter: brightness(0); /* black */
  transition: 0.3s;
}

/* Hover effect */
.btn1:hover {
  /* background-color: #3C7AFF; */
  background-color: #4867ff;
  color: white;
  border-color: #4867ff;
}

/* Icon color change on hover */
.btn1:hover .icon {
  filter: brightness(0) invert(1); /* white */
}

.btn-wrapper {
  margin-top: 20px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.main_div {
  max-width: 400px;
  /* margin: 3px; */
  width: 100%;
  height: 100%;
  /* border-left: 1px solid #e5e7eb;
    border-right: 1px solid #e5e7eb; */
  position: relative;
  /* background-color: white; */
  background-color: #ffffff;
  color: black;
  /* color: var(--text_color); */
  /* overflow-y: scroll; */
  /* padding: 12px 8px; */
  /* gap: 12px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column; */
}

.card-container {
  margin-top: 46px;
}

.custom-card {
  width: 100%;
  border-radius: 18px;
  border: 2px solid #ccc;
  background: white;
  /* box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px; */
  overflow: hidden;
  transition: 0.3s ease;
  padding-bottom: 10px;
  height: auto;
  cursor: pointer;
}

.custom-card:hover {
  transform: scale(1.03);
}

.custom-card-img {
  width: 100%;
  /* height: 220px ; */
  object-fit: cover;
  object-position: top;
  border-bottom: 1px solid #f0f0f0;
}

.custom-card-body {
  padding: 10px 10px 1px 10px;
}

.custom-card-body b {
  font-size: 15px;
  display: block;
  margin-top: 5px;
}

.custom-card-body p {
  font-size: 13px;
  color: #7d7d7d;
  margin-top: 5px;
  margin-bottom: 15px;
}

.card-btn {
  border-radius: 10px;
  /* border: 1px solid #3C7AFF;
  background-color: #3C7AFF; */
  border: 1px solid #4867ff;
  background-color: #4867ff;
  display: flex;
  justify-content: center;
  align-items: center;
  color: white;
  padding: 7px 20px;
  font-size: 16px;
  font-weight: 600;
  transition: 0.2s;
  height: 36px;
  width: 150px;
  margin: auto;
}

.card-btn:hover {
  background-color: white;
  color: #4867ff;
}
.title {
  font-weight: 500;
  color: black;
}
.title:hover {
  color: black !important;
}
a:hover {
  text-decoration: none;
  color: black;
}
a {
  color: unset !important;
  text-decoration: none !important;
  font-size: unset;
  color: unset;
}
.img-wrapper {
  position: relative;
  width: 400px;
}

.img-wrapper img {
  width: 100%;
  display: block;
}

/* black shadow layer */
.img-wrapper::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1;
}

/* center button */
.card-btn1 {
  position: absolute;
  top: 50%;
  left: 50%;
   color: white;
  transform: translate(-50%, -50%);
  z-index: 2; /* 👈 overlay ni upar */

  padding: 10px 20px;
  background: #4867FF;
  border: none;
  border-radius: 7px;
  cursor: pointer;
  font-weight: bold;
}
.card-btn1:hover {
  background-color: white;
  color: #4867ff;
}

.social-div a {
  color: white !important;
  border-radius: 50%;
  height: 30px;
  width: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #7d7d7da8;
}
.banner{
  height: 200px;
}
@media (max-width: 500px) {
  .main_div {
    min-width: 100%;
    width: 100%;
    padding: 0px;
  }
  .img-wrapper {
    width: 100%;
  }
}

@media only screen and (max-width: 375px) {
  .card {
    height: auto;
  }
}
