/* === Container 1 === */
.container-style-1 {
  max-width: 1140px;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  box-sizing: border-box;
  padding: 10px;
  align-items: center;
  display: flex;
  flex-direction: row;
  justify-content: center;
  gap: 20px;
}

@media (max-width: 1024px) {
  .container-style-1 {
    flex-direction: row;
    /* Stack items vertically on smaller screens */
    padding: 15px;
    /* Slightly more padding on smaller screens */
  }
}

/* === Container 2 === */
.container-style-2 {
  max-width: 1140px;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 50px;
  box-sizing: border-box;
  padding: 10px;
  align-items: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 20px;
}

@media (max-width: 1024px) {
  .container-style-2 {
    padding: 15px;
  }
}

/* === Button Style === */
.btn-style-1 {
  background-color: red;
  color: white;
  border: none;
  padding: 10px;
  border-radius: 5px;
  cursor: pointer;
  font-size: 16px;
  font-weight: bold;
  text-transform: uppercase;
  transition: all 0.3s ease-in-out;
}

@media (max-width: 768px) {
  .btn-style-1 {
    font-size: 14px;
    /* Slightly smaller font size on smaller screens */
    padding: 8px 12px;
    /* Reduce padding */
  }
}

/* === Popup Style === */
.popup-style-1 {
  background-color: black;
  border: 1px solid red;
  padding: 50px;
  border-radius: 5px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 1000;
}

@media (max-width: 768px) {
  .popup-style-1 {
    padding: 30px;
    /* Reduce padding for smaller screens */
  }
}

/* === Image Style === */
.img-style-1 {
  width: 300px;
}

@media (max-width: 768px) {
  .img-style-1 {
    width: 100%;
    /* Make images responsive */
  }
}

/* === Child Style === */
.child-style-1 {
  align-items: flex-end;
}

@media (max-width: 768px) {
  .child-style-1 {
    align-items: center;
    /* Align children to the center for smaller screens */
  }
}

/* === Heading Style === */
.heading-style-1 {
  font-family: "poppins", sans-serif;
  color: black;
  font-size: 25px;
}

@media (max-width: 768px) {
  .heading-style-1 {
    font-size: 20px;
    /* Adjust heading size for mobile */
  }
}

/* === Paragraph Style === */
.p-style-1-minimalistic {
  font-family: "montserrat", sans-serif;
  font-size: 16px;
}

@media (max-width: 1024px) {
  .p-style-1-minimalistic {
    font-size: 14px;
    /* Smaller font for medium screens */
  }
}

@media (max-width: 768px) {
  .p-style-1-minimalistic {
    font-size: 12px;
    /* Even smaller font for mobile */
  }
}

.heading-style-2 {
  font-family: "Boldonse", sans-serif;
  font-size: 25px;
  color: black;
}

.fixed-button {
  position: fixed;
  top: 30px;
  left: 30px;
  background-color: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(10px);
  border: 1px solid black;
  border-radius: 15px;
  font-family: "poppins", sans-serif;
  font-size: 12px;
  box-shadow: 2px 4px 6px rgba(0, 0, 0, 0.3);
}

.dark-mode,
.dark-mode div {
  background-color: black;
  color: white;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.dark-mode h1,
.dark-mode h2,
.dark-mode h3,
.dark-mode h4,
.dark-mode h5,
.dark-mode h6,
.dark-mode div div .tic-tac-toe-child {
  color: white;
  border-color: white;
}

.grid-container-3x3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(3, auto);
}

.tic-tac-toe-child {
  height: 150px;
  width: 150px;
  margin-left: auto;
  margin-right: auto;
  display: flex;
  border: 1px solid black;
  justify-content: center;
  align-items: center;
  margin: none;
  padding: none;
  cursor: pointer;
  font-family: "poppins", sans-serif;
  font-size: 50px;
  font-weight: 400;
}

#tic-tac-toe-child-0 {
  border-top: none;
  border-left: none;
}

#tic-tac-toe-child-1 {
  border-top: none;
}

#tic-tac-toe-child-2 {
  border-top: none;
  border-right: none;
}

#tic-tac-toe-child-3 {
  border-left: none;
}

#tic-tac-toe-child-5 {
  border-right: none;
}

#tic-tac-toe-child-6 {
  border-left: none;
  border-bottom: none;
}

#tic-tac-toe-child-7 {
  border-bottom: none;
}

#tic-tac-toe-child-8 {
  border-right: none;
  border-bottom: none;
}

.tic-tac-toe-cell.disabled {
  pointer-events: none;
  opacity: 0.6;
  /* optional: to show it's inactive */
}

#TTT-result {
  font-family: "poppins", sans-serif;
  color: white;
  text-overflow: hidden;
  font-size: 20px;
  font-weight: 400;
  text-align: center;
  margin-top: 20px;
  margin-bottom: 20px;
  height: 100px;
  width: 300px;
  background-color: red;
  border-radius: 20px;
}

/* === Rock Paper Scissors Game === */
.btn-rpc-child {
  padding: 20px;
  border: 1px solid black;
  border-radius: 50%;
  background-color: white;
  cursor: pointer;
  transition: all 0.1s ease-in-out;
}

.btn-rpc-child:hover {
  background-color: #f7f7f7;
}

.btn-rpc-child:active {
  background-color: #e7e7e7;
}

.heading-style-3 {
  font-family: "poppins", sans-serif;
  color: black;
  font-size: 20px;
  font-weight: 600;
  text-align: center;
}

.rpc-button-reset {
  width: 100%;
  height: 50px;
  border: none;
  background-color: transparent;
  cursor: pointer;
  color: white;
  background-color: red;
  font-family: "poppins", sans-serif;
  font-size: 20px;
}
