@import url("https://fonts.googleapis.com/css2?family=Pacifico&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900&family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900&display=swap");

* {
  margin: 0;
  padding: 0;
  font-family: poppins;
  color: white;
}

html, body {
  margin: 0;
  padding: 0;
  overflow-x: hidden;

}

body {
  background: linear-gradient(135deg, #1a1a2e, #16213e);
  background-image: url(img16.jpg);
  background-size: cover;
  background-attachment: fixed;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body::before {
  position: absolute;
  content: "";
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: rgba(0, 0, 0, 0.6);
  z-index: -1;
}

.Home {
  color: white;
  padding: 100px 0px 0px 150px;
  height: 70vh;
  /* height: 100vh; */
  margin: 0; /* Remove any margin on Home section */
}

.Home h1 {
  padding-bottom: 0px;
  font-size: 4rem;
  font-weight: 500;
}

.Home button {
  padding: 15px 30px;
  border-radius: 5px;
  font-size: 17px;
  font-weight: bolder;
  background: transparent;
  color: white;
  border: 2px solid rgb(45, 216, 255);
  cursor: pointer;
  margin-top: 60px;
  margin-bottom: 27.9vh;
}

.Home button:hover {
  transition: all ease-in-out 0.1s;
  background-color: #34b7ea;
  box-shadow: rgb(69, 186, 215) 0px 7px 29px 0px;
  transform: scale(1.05);
}

.title {
  color: white;
  font-size: 2rem;
  font-weight: bold;
  padding: 30px 30px;
}

.nav ul li {
  list-style: none;
}

a {
  text-decoration: none;
  color: white;
  font-size: 18px;
}

.nav ul {
  display: flex;
  justify-content: center;
  gap: 70px;
}

ul li {
  display: flex;
  justify-content: center;
}

ul li a:hover {
  color: rgb(0, 173, 192);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.box {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding-right: 100px;
}

#searchBx {
  padding: 10px 15px;
  border-radius: 5px;
  border: none;
  outline: none;
  background-color: white;
  color: black;
}

.main-content {
  position: relative;
  background-image: url(image13.jpg);
  background-size: cover;
  background-attachment: fixed;
  height: 100vh;
  overflow: hidden;
  margin: 0; /* Remove any margin on About Us section */
}

.main-content::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: rgba(0, 0, 0, 0.6);
  z-index: 1;
}

.contentBx {
  padding: 100px 150px;
  position: relative;
  z-index: 2;
  color: white;
}

.contentBx h2 {
  padding: 50px 0px 10px 0px;
  font-size: 3rem;
}

.contentBx p {
  width: 50%;
  text-align: justify;
  padding: 50px 0px;
  font-size: 19px;
}

.contentBx button {
  background-color: transparent;
  border: 2px solid rgb(21, 179, 214);
  border-radius: 5px;
  margin: 20px 5px;
  padding: 10px;
}

button a {
  color: rgb(255, 255, 255);
}

.contentBx button:hover {
  background-color: #34b7ea;
  box-shadow: rgb(69, 186, 215) 0px 7px 29px 0px;
  cursor: pointer;
}

.games {
  position: relative;
  background-image: url('image3.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 0 100px;
  width: 100%;
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  margin: 0;
  color: #fff;
  overflow: hidden;
  z-index: 1;
}

.games::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: -1;
}

.games h2 {
  color: white;
  margin: 10px 0;
  font-size: 3rem;
}

.games ul {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 20px;
  font-size: 18px;
}

.games ul li {
  list-style: none;
  padding: 10px 20px;
  border-radius: 5px;
  margin: 5px;
  letter-spacing: 1px;
  cursor: pointer;
  color: white;
}

.games .cardBx {
  width: 100%;
  min-height: 100%;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  margin-right: 120px;
}

.games .cardBx .card {
  width: 280px;
  border-radius: 10px;
  margin: 20px 40px;
  background: #1b2141;
  overflow: hidden;
  
}

.games .cardBx .card img {
  width: 100%;
  height: 250px;
  object-fit: cover;
}

.games .cardBx .card .content {
  padding: 10px;
}

.games .cardBx .card .content h4 {
  color: #fff;
  margin: 15px 0;
}

.games .cardBx .card .info {
  border-top: 2px solid #35407e;
  padding: 5px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.games .cardBx .card .info p {
  font-size: 1em;
  color: #fff;
}

.games .cardBx .card .info p span {
  color: #1aeeef;
}

.games .cardBx .card .info a {
  display: inline-block;
  padding: 10px 20px;
  margin: 10px 0;
  border: 1px solid #1aeeef;
  text-decoration: none;
  font-weight: 700;
  border-radius: 5px;
  color: #fff;
  letter-spacing: 1px;
}

.games .cardBx .card .info a:hover {
  background: #000000;
  border: none;
  color: #ffffff;
  box-shadow: 0 0 10px #1aeeef;
}

.games ul li:hover {
  color: #ffffff;
}

/* Hide cards based on filters */
.games .cardBx .card.hide {
  display: none;
}

/* Ensure overlay only applies to contact page */
.contact-page {
  position: relative;
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  background: url('image8.jpg') no-repeat center center;
  background-size: cover;
}

/* Contact Page Overlay */
.contact-page::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: rgba(0, 0, 0, 0.5); /* Dark overlay */
  z-index: 1; /* Ensures overlay is above background */
}

/* Form inside the contact page */
.form {
  position: relative;
  z-index: 2; /* Makes sure the form is above the overlay */
  padding: 20px;
  background-color: rgba(0, 0, 0, 0.502); 
  border-radius: 10px;
  width: 90%;
  max-width: 600px;
  text-align: center;
}

/* Ensure the form inputs have sufficient space */
.inputBx {
  position: relative;
  z-index: 3; /* Ensure inputs are clickable */
}

.contact-page .form{
  width: 50%;
  margin: 30px;
}
.contact-page .form h1{
  color: #fff;
}
.contact-page .form .inputBx{
  margin: 10px 20px;
  /* background: transparent; */
}
.contact-page .form .inputBx p{
  color: #fff;
}
.contact-page .form .inputBx input,
.contact-page .form .inputBx textarea{
  border: none;
  outline: none;
  padding: 10px;
  width: 100%;
  color: #fff;
  /* background: #1b2141; */
  background: rgba(19, 18, 18, 0.653);
  min-height: 15px;
  font-size: 1.1em;
}
.contact-page .form .inputBx textarea{
  height: 150px;
}
.contact-page .form .inputBx input[type="submit"]{
  display: inline-block;
  padding: 10px 20px;
  margin: 15px 0;
  outline: none;
  background: transparent;
  border: 1px solid #1aeeef;
  text-decoration: none;
  font-weight: 700;
  width: 150px;
  border-radius: 5px;
  color: #fff;
  letter-spacing: 1px;
}
.contact-page .form .inputBx input[type="submit"]:hover{
  background: #1aeeef;
  border: none;
  color: #050e2d;
  box-shadow: 0 0 10px #1aeeef;
  cursor: pointer;
}

/* Footer section */
.footer {
  background: #111;
  padding: 30px 0;
  color: white;
  text-align: center;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 20px;
  padding-bottom: 20px;
}

.footer-links a {
  color: #ffffff;
  text-decoration: none;
  font-weight: 500;
}

.footer-links a:hover {
  color: #00aaff;
}

.social-icons {
  display: flex;
  justify-content: center;
  gap: 25px;
  padding-bottom: 20px;
}

.social-icons a img {
  width: 30px;
  height: 30px;
  border-radius: 15px;
  /* filter: brightness(0) invert(1); Makes icons white */
  transition: transform 0.2s ease;
}

.social-icons a img:hover {
  transform: scale(1.1);
}

.footer-section ul {
  list-style: none;
  padding: 0;
}

.footer-section ul li {
  margin: 5px 0;
}

.footer-section ul li a img {
  width: 24px;
  transition: transform 0.2s ease;
}

.footer-section ul li a img:hover {
  transform: scale(1.1);
}

.footer-credit {
  margin-top: 20px;
  font-size: 0.8rem;
  color: #707070;
}
