* {
  margin: 0;
  padding: 0;
  scroll-behavior: smooth;
  font-family: "Poppins", sans-serif;
}

body {
  background-color: antiquewhite;
  display: flex;
  flex-direction: column;
}

header {
  background-color: #2c3846;
  width: 100%;
  min-height: 70px;
  position: fixed;
  z-index: 3;
}
#navbar {
  padding: 0 5%;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  color: #ffffff;
}

#navBarList a,
a:hover,
a:visited {
  text-decoration: none;
  color: #ffffff;
}

#carousel {
  color: white;
  position: relative;
}

.carouselImage {
  display: none;
}

img {
  width: 100%;
  height: auto;
}

#gameInfo {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

#carouselDots {
  position: absolute;
  bottom: 5%;
  left: 50%;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 10px;
  /* justify-content: center; */
}
.carouselDot {
  border-radius: 50%;
  width: 10px;
  height: 10px;
  background-color: white;
  text-align: center;
}

#logo {
  width: 30px;
  height: 30px;
  margin-top: 10px;
}

#navBarList {
  list-style: none;
  display: flex;
  flex-direction: row;
}

.navItem {
  font-size: 18px;
  line-height: 27px;
  margin-top: 25px;
  margin-right: 55px;
}

#categoriesList {
  list-style: none;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 20px 20px;
}

.categoriesItem {
  background-color: #f2f6ff;
  color: black;
  margin-right: 20px;
  border-radius: 10px;
  padding: 5px 20px;
  cursor: pointer;
}

.categoriesItem:hover {
  background-color: #4986ff;
  color: #ffffff;
}

.gameCategoryItemActive {
  background-color: #3366cc;
  color: #ffffff;
}

#games {
  background-color: #ffffff;
  display: flex;
  flex-direction: column;
  gap: 30px;
  padding: 5%;
}

.gameItems {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 10px 30px;
}

.gameItem img {
  width: 265px;
  height: 200px;
  border-radius: 10px;
}
.gameItem p {
  text-align: center;
}

.gameItem {
  position: relative;
}

.playText {
  color: white;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 1.5em;
  font-weight: 700;
  opacity: 0;
  text-align: center;
}

.gameItemImage:hover {
  opacity: 0.6;
  transition: 0.5s ease;
}

.gameItemImage:hover + .playText {
  opacity: 1;
  transition: 0.5s ease;
}

#gameOverlay {
  position: fixed;
  display: none;
  overflow: auto;
  width: 100vw;
  height: 100vh;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.5);
  cursor: pointer;
}

#gamePopUp {
  background-color: #ffffff;
  padding: 2%;
  border-radius: 10px;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  flex-direction: row;
  gap: 30px;
}

#gamePopUpContent {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

#gamePopUpTitle {
  display: flex;
  flex-direction: column;
}

#gamePopUpInformation {
  display: flex;
  flex-direction: column;
}

.gameInformationAttribute {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 5px;
}

.gameInformationAttributeKey {
  font-weight: 900;
}

.gamePopUpType {
  color: #3366cc;
  font-size: 0.8em;
  font-weight: 700;
}

.playGameButton {
  background-color: #3366cc;
  width: 149px;
  height: 43px;
  line-height: 43px;
  text-align: center;
  padding: 5%;
  color: #ffffff;
  border-radius: 10px;
}

.playGameButton:hover {
  background-color: #4986ff;
}

#canceloverlayimage {
  height: 32px;
  width: 32px;
}

#box {
  position: relative;
  background-color: #2c3846;
  display: flex;
  flex-direction: column;
  gap: 30px;
  padding: 5%;
  justify-content: space-between;
  height: 250px;
}
/* content about us */
#headings2 {
  font-family: "Segoe UI";
  color: #ffffff;
  font-style: normal;
  font-weight: bold;
  display: flex;
  flex-wrap: wrap;
}

#para1 {
  font-family: "Segoe UI";
  color: #ffffff;
  line-height: 150%;
  padding-top: 10px;
  display: flex;
  flex-wrap: wrap;
}

#textbox {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.about-img {
  position: absolute;
  right: 200px;
  width: 200px;
  height: 200px;
  top: -8em;
}

#testimonials {
  background-color: #ffffff;
  padding: 5%;
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.testimonialCarousel {
  display: none;
}

#testimonialCard {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  text-align: center;
}

.ratingImage {
  height: 32.43px;
  width: 32px;
}

#testimonialCardImage {
  height: auto;
  width: 80px;
  border-radius: 50%;
}

#testimonialCarouselDots {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.testimoniaCarouselDot {
  border-radius: 50%;
  width: 10px;
  height: 10px;
  background-color: #f2f6ff;
  text-align: center;
}

#newsletterpart {
  background-color: #2c3846;
  padding: 5%;
}

#newsletterBlockInside {
  display: block;
}

#newsletterBlock {
  color: #ffffff;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

#newsletterForm {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: center;
}

.input {
  /* border-radius: 10px; */
  background-color: #f2f6ff;
  width: 250px;
  height: 50px;
  border: none;
  font-size: 18px;
  font-weight: 800;
  line-height: 50px;
  text-align: left;
}

input:focus {
  outline: none;
}

.inputicon {
  border-radius: 10px;
  background-color: #f2f6ff;
  width: 400px;
  height: 60px;
  border: none;
  display: flex;
  flex-direction: row;
  gap: 10px;
}

.iconInput {
  width: 20.25px;
  height: 23.75px;
  text-align: center;
  margin-top: 15px;
  margin-left: 15px;
  /* padding: 10px; */
}

.buttonNewsletterSubscribe {
  color: white;
  background-color: #3366cc;
  width: 400px;
  height: 60px;
  border-radius: 10px;
  text-decoration: none;
  text-align: center;
  line-height: 60px;
}

.buttonNewsletterSubscribe:hover {
  background-color: #4986ff;
}

#thankyouBlock {
  display: none;
}

#thankyouBlockInside {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

#img {
  height: 32px;
  width: 32px;
}
#footer {
  background-color: #2c3846;
  color: #ffffff;
  display: flex;
  flex-direction: row;
  padding: 5%;
  justify-content: space-between;
  border-top: 1px solid white;
}

#socials {
  display: flex;
  flex-direction: row;
  gap: 10px;
}

.iconsSocial {
  height: 24px;
  width: 24px;
  margin-right: 15px;
  border-radius: 5px;
}
