* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Inter', sans-serif;
}

body {
  background-color: #ffffff;
  color: #2d3a4a;
}

/* NAVBAR */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: nowrap;
  padding: 40px 5%;
  background-color: #f4f8fd;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10;
}

ul.navbar {
  list-style: none;
  display: flex;
  gap: 20px;
  padding: 10px 5%;
  z-index: 10;
  font-family: Arial, sans-serif;
  align-items: center;
  margin: 0;
  flex-wrap: nowrap;
  background-color: #f4f8fd;
}
.navbar-logo {
 
    z-index: 10;
}

ul.navbar li a {
  flex-wrap: nowrap;
  text-decoration: none;
  color: #2c3e50;
  font-weight: bold;
  font-size: 16px;
  padding: 8px 12px;
  transition: background-color 0.3s, color 0.3s;
  border-radius: 8px;
  z-index: 10;
}

ul.navbar li a:hover {
  background-color: #eef3ff;
  color: #1e90ff;
}

ul.navbar li a.login-button, input.login-button {
  background-color: #ff9333;
  color: white;
  padding: 10px 20px;
  border-radius: 10px;
  border: 1px solid #ff9333;
  font-weight: 600;
  transition: background-color 0.3s ease;
}

ul.navbar li a.login-button:hover, input.login-button:hover {
  background-color: #e67e22;
  cursor: pointer;
}
.navbar a.active {
    background-color: #eef3ff;
  color: #1e90ff;
    font-weight: bold;
    pointer-events: none; 
}

.navbar a.active:hover {
   background-color: #eef3ff;
  color: #1e90ff;
}


/* HERO SECTION */
.hero {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  padding: 120px 5% 40px;
  background-color: #F4FCFF;
}

.hero-text {
  max-width: 600px;
  flex: 1;
}

.hero-text h1 {
  font-size: 36px;
  margin-bottom: 20px;
}

.hero-buttons {
  display: flex;
  gap: 15px;
  margin-top: 20px;
  flex-wrap: wrap;
}

.hero-buttons button {
  padding: 12px 20px;
  font-size: 16px;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  font-weight: 600;
}

.begin-btn {
  background-color: #ff9333;
  color: white;
}

.free-btn {
  background-color: #d8f1df;
  color: #2d3a4a;
}

.hero img {
  max-width: 350px;
  width: 100%;
  margin-top: 20px;
}

/* FEATURES */
.features {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 60px;
  margin: 50px 5%;
  text-align: center;
}

.feature, .feature2, .feature3 {
  background-color: #F3FBFE;
  max-width: 450vh;
  border-radius: 10px;
  height: 220px;
  padding: 30px;
  flex: 1;
  min-width: 280px;
}

.feature2 { background-color: #FFFCED; }
.feature3 { background-color: #E7F7EA; }

.feature-icon {
  width: 60px;
  height: 60px;
  margin-bottom: 15px;
}

.feature h3 {
  font-size: 18px;
  margin-bottom: 10px;
}

.feature p {
  font-size: 14px;
  color: #5f6b7a;
}

/* CONTAINER GENERAL */


/* HEADERS & TEXTS */
h1 {
  margin-top: 150px;
  font-size: 28px;
  color: #1e3d59;
  text-align: center;
  margin-bottom: 10px;
}



/* VIDEO */
video {
  width: 100%;
  border-radius: 12px;
  margin-bottom: 30px;
}

/* QUESTION CARD */

.container-training {
  margin: 80px auto;
  flex-direction: column;
   display: flex;
   align-items: center;;
}
.question {
  min-height: 200px; 
  width: 400px;
  background-color: #f9fcfe;
  border-left: 5px solid #f2994a;
  padding: 20px;
  border-radius: 16px;
  margin-bottom: 25px;
  box-sizing: border-box;
  transition: transform 0.2s ease;
}

.question:hover {
  transform: scale(1.01);
}

.question p {
  font-weight: 600;
  margin-bottom: 10px;
  color: #34495e;
}

.question label {
  display: block;
  margin: 8px 0;
  cursor: pointer;
  padding: 6px 10px;
  border-radius: 8px;
  transition: background-color 0.2s ease;
}

.question label:hover {
  background-color: #eef5f9;
}

.video {
  width: 600px;
}

/* BUTTONS */
.button {
  background-color: #f2994a;
  color: #fff;
  padding: 12px 24px;
  font-size: 16px;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  margin-top: 10px;
  margin-right: 10px;
  transition: background-color 0.3s ease;
}

.button:hover {
  background-color: #e57c1e;
}
.button-container {
   display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 20px; 
  } 

.button2 {
 background-color: #f2994a;
 border: #f2994a;
 padding: 10px;
 color: #fcfcfc;
 border-radius: 5px;
 display: flex;
 align-items: center;;

}

.button2:hover {
  background-color: #bd7637;
}
/* RESULT BOX */
#result {
  margin-top: 30px;
  padding: 20px;
  background-color: #d1e7d3;
  border-left: 6px solid #66bb6a;
  border-radius: 14px;
  font-size: 16px;
}

#result ul {
  list-style: none;
  padding-left: 0;
}

#result li {
  margin-bottom: 10px;
}

/* LOGIN FORM */
.login-body {
    
    background-repeat: no-repeat;
     background-size:100%;
     background-position-x: 40%;
     background-position-y: 70%;
}

.notification.success {
  background-color: #d4edda;
  color: #155724;
  padding: 15px;
  border-radius: 5px;
  margin-bottom: 20px;
  border: 1px solid #c3e6cb;
  text-align: center;
}

@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@200;300;400;500;600;700;800&display=swap");





.container {
  position: relative;
  width: 100%;
  background-color: #fff;
  min-height: 100vh;
  overflow: hidden;
}

.forms-container {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
}

.signin-signup {
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
  left: 75%;
  width: 50%;
  transition: 1s 0.7s ease-in-out;
  display: grid;
  grid-template-columns: 1fr;
  z-index: 5;
}

form {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  padding: 0rem 5rem;
  transition: all 0.2s 0.7s;
  overflow: hidden;
  grid-column: 1 / 2;
  grid-row: 1 / 2;
}

form.sign-up-form {
  opacity: 0;
  z-index: 1;
}

form.sign-in-form {
  z-index: 2;
}

.title {
  font-size: 2.2rem;
  color: #444;
  margin-bottom: 10px;
}

.input-field {
  max-width: 380px;
  width: 100%;
  background-color: #f0f0f0;
  margin: 10px 0;
  height: 55px;
  border-radius: 55px;
  display: grid;
  grid-template-columns: 15% 85%;
  padding: 0 0.4rem;
  position: relative;
}

.input-field i {
  text-align: center;
  line-height: 55px;
  color: #acacac;
  transition: 0.5s;
  font-size: 1.1rem;
}

.input-field input {
  background: none;
  outline: none;
  border: none;
  line-height: 1;
  font-weight: 600;
  font-size: 1.1rem;
  color: #333;
}

.input-field input::placeholder {
  color: #aaa;
  font-weight: 500;
}




.btn {
  width: 150px;
  background-color: #f2994a;
  border: none;
  outline: none;
  height: 49px;
  border-radius: 49px;
  color: #fff;
  text-transform: uppercase;
  font-weight: 600;
  margin: 10px 0;
  cursor: pointer;
  transition: 0.5s;
}

.btn:hover {
  background-color: #cf823f;
}
.panels-container {
  position: absolute;
  height: 100%;
  width: 100%;
  top: 0;
  left: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
}

.container:before {
  content: "";
  position: absolute;
  height: 2000px;
  width: 2000px;
  top: -10%;
  right: 48%;
  transform: translateY(-50%);
  background-image: linear-gradient(-45deg, #eb8f44 0%, #f0a248 100%);
  transition: 1.8s ease-in-out;
  border-radius: 50%;
  z-index: 6;
}

.image {
  width: 100%;
  transition: transform 1.1s ease-in-out;
  transition-delay: 0.4s;
}

.panel {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: space-around;
  text-align: center;
  z-index: 6;
}

.left-panel {
  pointer-events: all;
  padding: 3rem 17% 2rem 12%;
}

.right-panel {
  pointer-events: none;
  padding: 3rem 12% 2rem 17%;
}

.panel .content {
  color: #fff;
  transition: transform 0.9s ease-in-out;
  transition-delay: 0.6s;
}

.panel h3 {
  font-weight: 600;
  line-height: 1;
  font-size: 1.5rem;
}

.panel p {
  font-size: 0.95rem;
  padding: 0.7rem 0;
}

.btn.transparent {
  margin: 0;
  background: none;
  border: 2px solid #fff;
  width: 130px;
  height: 41px;
  font-weight: 600;
  font-size: 0.8rem;
}

.right-panel .image,
.right-panel .content {
  transform: translateX(800px);
}

/* ANIMATION */

.container.sign-up-mode:before {
  transform: translate(100%, -50%);
  right: 52%;
}

.container.sign-up-mode .left-panel .image,
.container.sign-up-mode .left-panel .content {
  transform: translateX(-800px);
}

.container.sign-up-mode .signin-signup {
  left: 25%;
}

.container.sign-up-mode form.sign-up-form {
  opacity: 1;
  z-index: 2;
}

.container.sign-up-mode form.sign-in-form {
  opacity: 0;
  z-index: 1;
}

.container.sign-up-mode .right-panel .image,
.container.sign-up-mode .right-panel .content {
  transform: translateX(0%);
}

.container.sign-up-mode .left-panel {
  pointer-events: none;
}

.container.sign-up-mode .right-panel {
  pointer-events: all;
}
.container.sign-up-mode .signin-signup {
  left: 25%;
}


.container.sign-up-mode form.sign-up-form {
  opacity: 1;
  z-index: 2;
}


.container.sign-up-mode form.sign-in-form {
  opacity: 0;
  z-index: 1;
}

@media (max-width: 870px) {
  .container {
    min-height: 800px;
    height: 100vh;
  }
  .signin-signup {
    width: 100%;
    top: 95%;
    transform: translate(-50%, -100%);
    transition: 1s 0.8s ease-in-out;
  }

  .signin-signup,
  .container.sign-up-mode .signin-signup {
    left: 50%;
  }

  .panels-container {
    grid-template-columns: 1fr;
    grid-template-rows: 1fr 2fr 1fr;
  }

  .panel {
    flex-direction: row;
    justify-content: space-around;
    align-items: center;
    padding: 2.5rem 8%;
    grid-column: 1 / 2;
  }

  .right-panel {
    grid-row: 3 / 4;
  }

  .left-panel {
    grid-row: 1 / 2;
  }

  .image {
    width: 200px;
    transition: transform 0.9s ease-in-out;
    transition-delay: 0.6s;
  }

  .panel .content {
    padding-right: 15%;
    transition: transform 0.9s ease-in-out;
    transition-delay: 0.8s;
  }

  .panel h3 {
    font-size: 1.2rem;
  }

  .panel p {
    font-size: 0.7rem;
    padding: 0.5rem 0;
  }

  .btn.transparent {
    width: 110px;
    height: 35px;
    font-size: 0.7rem;
  }

  .container:before {
    width: 1500px;
    height: 1500px;
    transform: translateX(-50%);
    left: 30%;
    bottom: 68%;
    right: initial;
    top: initial;
    transition: 2s ease-in-out;
  }

  .container.sign-up-mode:before {
    transform: translate(-50%, 100%);
    bottom: 32%;
    right: initial;
  }

  .container.sign-up-mode .left-panel .image,
  .container.sign-up-mode .left-panel .content {
    transform: translateY(-300px);
  }

  .container.sign-up-mode .right-panel .image,
  .container.sign-up-mode .right-panel .content {
    transform: translateY(0px);
  }

  .right-panel .image,
  .right-panel .content {
    transform: translateY(300px);
  }

  .container.sign-up-mode .signin-signup {
    top: 5%;
    transform: translate(-50%, 0);
  }
}

@media (max-width: 570px) {
  form {
    padding: 0 1.5rem;
  }

  .image {
    display: none;
  }
  .panel .content {
    padding: 0.5rem 1rem;
  }
  .container {
    padding: 1.5rem;
  }

  .container:before {
    bottom: 72%;
    left: 50%;
  }

  .container.sign-up-mode:before {
    bottom: 28%;
    left: 50%;
  }
}


form {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 10px;
}

.form-group {
  text-align: left;
}

.form-group label {
  display: block;
  font-weight: 600;
  margin-bottom: 6px;
  color: #2d3a4a;
}

.form-group input {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid #ccc;
  border-radius: 10px;
  font-size: 14px;
  transition: border-color 0.3s ease;
}

.form-group input:focus {
  border-color: #f2994a;
  outline: none;
}

.btn-primary {
  background-color: #f2994a;
  border: none;
  padding: 12px;
  font-size: 16px;
  color: white;
  border-radius: 10px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.btn-primary:hover {
  background-color: #e67e22;
}

.login-footer {
  margin-top: 15px;
  font-size: 14px;
}

.login-footer a {
  color: #f2994a;
  text-decoration: none;
}

.login-footer a:hover {
  text-decoration: underline;
  
}


a {
  color: #f2994a;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
  color: #c0793a;
}

.error {
  color: #d9534f;
  background-color: #fcebea;
  padding: 10px;
  border-radius: 10px;
  margin-bottom: 15px;
}


/*  categories */
.category-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  padding: 60px;
  background-color: #f9f9f9;
  margin: 70px 5%;
}

.category-link {
  flex: 1 1 calc(33.333% - 20px); 
  max-width: calc(33.333% - 20px);
  text-align: center;
  transition: transform 0.3s ease;
  box-sizing: border-box;
}

.category-link:hover {
  transform: scale(1.05);
}

.category-image {
  width: 70%;
  height: 270px;
  border-radius: 12px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}


.container-training
{

display: flex;
  flex-wrap: nowrap;
  justify-content: center;
  gap: 10px;
  padding: 30px;
  background-color: #f9f9f9;
  margin: 90px 5%;

}
/* reading */
.language-list {
    position: relative;
    list-style: none;
    padding: 0;
    margin: 150px 0;
    display: flex;
    gap: 20px;
    justify-content: center;
    align-items: center;
}



/* feedback */
.feedback-container {
  max-width: 600px;
  margin: 100px auto;
  padding: 30px;
  background-color: #f7fbff;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.feedback-title {
  font-size: 24px;
  font-weight: bold;
  margin-bottom: 20px;
  color: #2d3a4a;
  text-align: center;
}

.feedback-form {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.feedback-label {
  font-weight: 500;
  color: #2d3a4a;
}

.feedback-input,
.feedback-select,
.feedback-textarea {
  padding: 10px;
  border: 1px solid #d0dce5;
  border-radius: 8px;
  font-size: 14px;
}

.feedback-button {
  padding: 12px;
  background-color: #ff9333;
  color: white;
  font-weight: bold;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background-color 0.3s;
}

.feedback-button:hover {
  background-color: #e67e22;
}

.feedback-error {
  color: #e74c3c;
  font-weight: 500;
  text-align: center;
}

.feedback-success {
  color: #27ae60;
  font-weight: 500;
  text-align: center;
}



/* Messages */
.success {
    color: green;
    margin-bottom: 15px;
}

.error {
    color: red;
    margin-bottom: 15px;
}

/* reading.php*/
    .reading-title {
        color: #2a3855;
        text-align: center;
        margin-bottom: 40px;
    }

    .reading-filter {
        display: flex;
        justify-content: center;
        margin-bottom: 30px;
    }

    .reading-filter select {
        padding: 8px 12px;
        border: 1px solid #ccc;
        border-radius: 10px;
        background-color: #fff;
        font-size: 16px;
    }

    .book-grid {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
    }

    .book {
        background-color: #ffffff;
        border-radius: 15px;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
        width: 220px;
        padding: 16px;
        margin: 16px;
        text-align: center;
        transition: transform 0.2s ease;
    }

    .book:hover {
        transform: translateY(-5px);
    }

    .book img {
        width: 120px;
        height: auto;
        margin-bottom: 12px;
        border-radius: 10px;
    }

    .book a {
        text-decoration: none;
        color: #2a3855;
        font-weight: 600;
        font-size: 16px;
    }

    .book a:hover {
        color: #ff914d;
    }

      /* book details */
      .book-detail {
  max-width: 800px;
  margin: 120px auto;
  padding: 40px;
  background-color: #f7fbff;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
  font-family: 'Inter', sans-serif;
  color: #2d3a4a;
  line-height: 1.8;
}

.book-detail h1 {
  font-size: 28px;
  color: #f2994a;
  margin-bottom: 20px;
  text-align: center;
}

.book-detail p {
  font-size: 16px;
  color: #34495e;
  margin-bottom: 15px;
  text-align: center;
}

.book-detail span {
  cursor: pointer;
  transition: background-color 0.2s ease;
  padding: 2px 4px;
  border-radius: 4px;
}

.book-detail span:hover {
  background-color: #fff2e6;
  color: #e67e22;
}

@media (max-width: 768px) {
  .book-detail {
    padding: 20px;
    margin: 100px 10px;
  }

  .book-detail h1 {
    font-size: 22px;
  }
}

.word {
  position: relative;
  cursor: pointer;
  color: #242424;
  font-weight: bold;
}

.word:hover::after {
  content: attr(data-translation);
  position: absolute;
  bottom: 120%;
  left: 50%;
  transform: translateX(-50%);
  background-color: #b5d0ba;
  color:#ffffff;
  padding: 6px 10px;
  border-radius: 4px;
  white-space: nowrap;
  z-index: 10;
}

.word-container {
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-width: 600px;
    margin: 0 auto;
}
/*words.php */
.word-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 24px;
    justify-items: center;
    padding: 40px 20px;
    max-width: 1100px;
    margin: 0 auto;
}


.page-content {
    max-width: 960px;
    margin: 120px auto 60px;
    padding: 0 16px;
}

.page-title {
    text-align: center;
    font-size: 32px;
    color: #1f2e50;
    margin-bottom: 30px;
}

.add-word-form {
    display: flex;
    justify-content: center;
    margin-bottom: 40px;
}

.error-message {
    color: #d33;
    text-align: center;
    font-weight: 500;
    margin-bottom: 16px;
}
/* flip card */
.word-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 24px;
    justify-items: center;
    padding: 40px 20px;
}

/* Flip card */
.flip-card {
    background-color: transparent;
    width: 220px;
    height: 150px;
    perspective: 1000px;
}

.flip-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    text-align: center;
    transition: transform 0.6s;
    transform-style: preserve-3d;
}

.flip-card:hover .flip-card-inner {
    transform: rotateY(180deg);
}

.flip-card-front, .flip-card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    border-radius: 16px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.05);
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 16px;
}

/* Front */
.flip-card-front {
    background-color: #f9fbfd;
    color: #1f2e50;
    font-size: 20px;
    font-weight: 600;
}

/* Back */
.flip-card-back {
  transform: rotateY(180deg);
  flex-direction: column;
  justify-content: flex-start;
  gap: 10px;
  padding: 12px;
  height: 100%;
  box-sizing: border-box;
  background: #fff9f0;
}



.input-container {
    display: flex;
    background-color: #ffffff;
    border: 1px solid #dce3ec;
    border-radius: 12px;
    box-shadow: 0 3px 8px rgba(0,0,0,0.04);
    overflow: hidden;
    max-width: 400px;
    width: 100%;
}

.input-container input[type="text"] {
    border: none;
    padding: 12px 16px;
    font-size: 16px;
    flex: 1;
    outline: none;
    background-color: #f9fbfd;
    color: #1f2e50;
}

.input-container button {
    background-color: #f7901e;
    color: white;
    border: none;
    padding: 0 20px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.input-container button:hover {
    background-color: #e67e10;
}

.word-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 24px;
    justify-items: center;
}



.word-text {
    font-size: 20px;
    font-weight: 600;
    color: #1f2e50;
    margin-bottom: 12px;
}

.delete-button {
    background-color: #eee8df;
    color: #ddd8d0;
    border: none;
    padding: 6px 12px;
    border-radius: 12px;
    font-size: 18px;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.delete-button:hover {
    background-color: #cbc6bf;
}
.edit-button {
  margin-right: 0;
   background-color: #eee8df;
    color: #ddd8d0;
    border: none;
    padding: 6px 12px;
    border-radius: 12px;
    font-size: 18px;
}
.edit-button:hover {
  background-color: #cbc6bf;
}

/* notes */
.note-form {
  display: flex;
  margin-top: 12px;
  justify-content: center;
}

.note-input-container {
  display: flex;
  border: 1px solid #ddd;
  border-radius: 12px;
  overflow: hidden;
  background-color: #fefefe;
  box-shadow: 0 1px 4px rgba(0,0,0,0.05);
  width: 100%;
}

.note-input-container input[type="text"] {
  border: none;
  padding: 10px 14px;
  font-size: 14px;
  outline: none;
  flex: 1;
  background-color: transparent;
}

.note-input-container button {
  background-color: #e18b32;
  color: white;
  border: none;
  padding: 0 18px;
  font-size: 14px;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.note-input-container button:hover {
  background-color: #c97426;
}



/* scores */

    .myscores-container {
    max-width: 800px;
    margin: 90px auto;
    padding: 20px;
    background-color: #f9f9fc;
    border: 1px solid #ccc;
    border-radius: 8px;
}

.myscores-title {
    color: #333;
    text-align: center;
    margin-bottom: 15px;
}

.myscores-welcome {
    text-align: center;
    font-size: 1.1em;
    margin-bottom: 20px;
}

.myscores-table {
    width: 100%;
    border-collapse: collapse;
    background-color: #fff;
}

.myscores-table th,
.myscores-table td {
    border: 1px solid #aaa;
    padding: 10px;
    text-align: left;
}

.myscores-table th {
    background-color: #e0e0e0;
}

.myscores-delete-button {
    display: block;
    margin: 20px auto;
    padding: 10px 20px;
    background-color: #d9534f;
    color: white;
    border: none;
    border-radius: 5px;
    font-weight: bold;
    cursor: pointer;
}

.myscores-delete-button:hover {
    background-color: #c9302c;
}

/* footer queen etc */
.queen-wrapper {
  position: fixed;            
  bottom: 120px;              
  right: 20px;              
  z-index: 1000;
  cursor: pointer;
}

.queen {
    position: sticky;
    transform: translateY(-15%);
    height: 170px;
    cursor: pointer;
}

.queen-speech {
  position: fixed;
  bottom: 140px;
  right: 100px;
  background-color: #EFF3FE; 
  color: #333;
  padding: 12px 16px;
  border-radius: 16px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  max-width: 220px;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.4;
  z-index: 1000;
  display: none;
  transition: opacity 0.3s ease;
}

.queen-speech.visible {
  display: block;
  opacity: 1;
}
.queen-speech.visible {
  display: block;
}



@media (max-width: 768px) {
    .queen {
        display: none;
    }
}

.footerp {

 text-align: center;
  margin: 170px auto 0 auto; 
  width: fit-content; 
  display: block;
}