
body {
  font-family: 'Arial', sans-serif;
  background-color: #D6EFFA;;
  color: white;
  margin: 0;
  padding: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
}

#start-page {
  text-align: center;
  width: 60%; 
  max-width: 900px; 
  min-width: 450px; 
  padding: 40px; 
  background-color: white;
  border-radius: 15px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
  margin: 20px;
  transition: all 0.3s ease; 
}

/* not is use */
.header {
  display: flex;
  justify-content: space-between; 
  align-items: center;
  margin-bottom: 30px;
}

h1 {
  font-size: 2.5em; 
  font-weight: bold;
  color: #002864;
  margin: 0 20px;
}

.main-logo {
  width: 30%;
  max-width: 100%;
}

.logo {
  /* height: 90px; */
  width: 20%;
  max-width: 100%;  
}

.instructions {
  margin-bottom: 40px;
  margin-right: 100px;
  margin-left: 100px;
}

.instructions-inner {
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: left;
}

.instructions h2 {
  font-size: 1.8em;
  color: #002864;
  margin-bottom: 15px;
}

.instructions p {
  font-size: 1.2em;
  color: #002864;
  line-height: 1.6;
  margin-bottom: 20px;
}

.color-guide {
  display: flex;
  align-items: center;
  max-width: 600px;
}

.color-box {
  width: 40px;
  height: 40px;
  margin-right: 15px;
  border-radius: 5px;
  border-style: solid;
  border-width: 3px;
  border-color: #002864;
  display: flex;
  justify-content: center;
  align-items: center;
}

.color-box h2{
  margin: 0;
}

.green {
  background-color: #008040;
}

.yellow {
  background-color: #ffc600;
}

.gray {
  background-color: #8acae5eb;
}

.level-selection {
  margin-top: 40px;
}

.level-selection h2 {
  font-size: 1.6em;
  margin-bottom: 20px;
  color: #002864;
}

.level-button {
  font-size: 1.3em;
  padding: 15px 35px; 
  margin: 15px;
  border: none;
  border-radius: 8px; 
  cursor: pointer;
  background-color: #002864;
  color: white;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.level-button:hover {
  background-color: #66C4DC;
  transform: translateY(-3px);
}

.level-button:active {
  transform: translateY(1px);
}

#game-board-container {
  text-align: center;
  margin-top: 20px;
}

/* Media Queries for Large Monitors */
@media (min-width: 1400px) {
  #start-page {
    width: 50%; 
    max-width: 1100px; 
    padding: 50px;
  }

  h1 {
    font-size: 3em; 
  }

  .instructions p {
    font-size: 1.4em; 
  }

  .level-button {
    font-size: 1.5em;
    padding: 18px 45px; 
  }
}

@media (max-width: 600px) {
  #start-page {
    width: 90vw; 
    padding: 20px;
  }

  h1 {
    font-size: 1.8em;
  }

  .logo {
    height: 70px; 
  }

  .instructions h2, .level-selection h2 {
    font-size: 1.5em;
  }

  .level-button {
    font-size: 1.1em;
    padding: 12px 20px;
  }
}

.switch {
  position: relative;
  display: inline-block;
  margin-top: 20px;
  margin-right: 10px;
}

.switch > span {
  position: absolute;
  top: 14px;
  pointer-events: none;
  font-family: 'Helvetica', Arial, sans-serif;
  font-weight: bold;
  font-size: 12px;
  text-transform: uppercase;
  text-shadow: 0 1px 0 rgba(0, 0, 0, .06);
  width: 50%;
  text-align: center;
}

input.check-toggle-round-flat:checked ~ .off {
  color: #F36F25;
}

input.check-toggle-round-flat:checked ~ .on {
  color: #fff;
}

.switch > span.on {
  left: 0;
  padding-left: 2px;
  color: #F36F25;
}

.switch > span.off {
  right: 0;
  padding-right: 4px;
  color: #fff;
}

.check-toggle {
  position: absolute;
  margin-left: -9999px;
  visibility: hidden;
}
.check-toggle + label {
  display: block;
  position: relative;
  cursor: pointer;
  outline: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

input.check-toggle-round-flat + label {
  padding: 2px;
  width: 97px;
  height: 35px;
  background-color: #002864;
  -webkit-border-radius: 60px;
  -moz-border-radius: 60px;
  -ms-border-radius: 60px;
  -o-border-radius: 60px;
  border-radius: 60px;
}
input.check-toggle-round-flat + label:before, input.check-toggle-round-flat + label:after {
  display: block;
  position: absolute;
  content: "";
}

input.check-toggle-round-flat + label:before {
  top: 2px;
  left: 2px;
  bottom: 2px;
  right: 2px;
  background-color: #002864;
  -webkit--moz-border-radius: 60px;
  -ms-border-radius: 60px;
  -o-border-radius: 60px;
  border-radius: 60px;
}
input.check-toggle-round-flat + label:after {
  top: 4px;
  left: 4px;
  bottom: 4px;
  width: 48px;
  background-color: #fff;
  -webkit-border-radius: 52px;
  -moz-border-radius: 52px;
  -ms-border-radius: 52px;
  -o-border-radius: 52px;
  border-radius: 52px;
  -webkit-transition: margin 0.2s;
  -moz-transition: margin 0.2s;
  -o-transition: margin 0.2s;
  transition: margin 0.2s;
}

input.check-toggle-round-flat:checked + label:after {
  margin-left: 44px;
}

/* Bottom Logos */
.bottom-logo {
  position: fixed;
  bottom: 40px;
}

.bottom-logo.left {
  width: 10%;
  left: 40px;
}

.bottom-logo.right {
  width: 10%;
  right: 40px;
}


/* style.css */

body {
  font-family: 'Arial', sans-serif;
  background-color: #D6EFFA;
  color: white;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
}

.main-logo1 {
  width: 10%;
  max-width: 100%;
  margin-bottom: 30px;
}

h1 {
  text-align: center;
  font-size: 3rem;
  font-weight: bold;
  color: #002864;
  margin: 1rem 0;
}

/* Game Board Styling */
#game-board {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 20px;
}

/* Letter Box Styling */
.letter-box {
  border: 2px solid gray;
  border-radius: 6px; 
  margin: 5px;
  font-size: 3rem; 
  font-weight: 700;
  height: 4rem;
  width: 4rem;
  display: flex;
  justify-content: center;
  align-items: center;
  text-transform: uppercase;
  background-color: white; 
  box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1); 
  transition: all 0.2s ease;
  color:#002864;
}

.filled-box {
  border: 2px solid #66C4DC;
}

.letter-row {
  display: flex;
  justify-content: center;
}

/* Keyboard Container Styling */
#keyboard-cont {
  margin: 1.5rem 0;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Keyboard Button Styling */
.keyboard-button {
  font-size: 1.2rem;
  font-weight: 700;
  padding: 0.75rem 1rem;
  margin: 0.3rem;
  cursor: pointer;
  border-radius: 8px;
  border: none;
  background-color: #002864;
  color: white;
  text-transform: uppercase;
  box-shadow: 0px 3px 6px rgba(0, 0, 0, 0.1);
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.keyboard-button:hover {
  background-color: #66C4DC;
  transform: translateY(-2px);
}

.keyboard-button:active {
  transform: translateY(2px);
}

.second-row {
  margin: 0.5rem 0;
}

#keyboard-cont div {
  display: flex;
  justify-content: center;
}

/* Reset Link Styling */
a {
  font-size: 1.1rem;
  text-decoration: none;
  padding: 0.6rem 1.2rem;
  color: white;
  background-color: #002864;
  border-radius: 8px;
  transition: background-color 0.3s ease, transform 0.2s ease;
  box-shadow: 0px 3px 6px rgba(0, 0, 0, 0.1);
}

a:hover {
  background-color: #66C4DC;
  transform: translateY(-2px);
}

a:active {
  transform: translateY(2px);
}

/* Responsive Media Queries for Smaller Screens */
@media (max-width: 768px) {
  h1 {
    font-size: 2.5rem;
  }

  .letter-box {
    font-size: 2.5rem;
    height: 3.5rem;
    width: 3.5rem;
  }

  .keyboard-button {
    font-size: 1rem;
    padding: 0.5rem;
  }

  a {
    font-size: 1rem;
  }
}

@media (max-width: 480px) {
  h1 {
    font-size: 2rem;
  }

  .letter-box {
    font-size: 2rem;
    height: 3rem;
    width: 3rem;
  }

  .keyboard-button {
    font-size: 0.9rem;
    padding: 0.4rem;
  }

  a {
    font-size: 0.9rem;
  }
}
/* Button container for horizontal alignment */
.button-container {
  display: flex;
  justify-content: center; 
  gap: 20px; 
  margin-top: 20px;
}

/* Button styling */
.btn {
  display: inline-block;
  padding: 10px 20px;
  font-size: 1.2rem;
  text-decoration: none;
  color: white;
  background-color: #002864;
  border-radius: 5px;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

/* Button hover effect */
.btn:hover {
  background-color: #66C4DC;
  transform: translateY(-2px);
}

.btn:active {
  transform: translateY(2px);
}

/* Swal text font size */
.swal2-html-container {
  font-size : x-large;
}

.swal2-container {
  z-index: 999999999;
}

/* Toastr custom positioning */
.toast-custom-position {
  position: absolute;
  top: 40%;
  left: calc(60% + 20px);
  transform: translateY(-50%);
}

#game-board {
  position: relative;
}

.toast {
  background-color: #002864;
  color: white;
  border-radius: 10px;
  font-size: 16px;
  padding: 10px 15px;
}
