body {
  background-color: #f0f0f0;
  margin-left: 1in;
  margin-right: 1in;
  text-align: center;
  font-family: SolaimanLipi, sans-serif !important;
  font-size: 1.2rem;
}
html {
  background-color: #d0e6ff; /* বাহিরের রঙ - যেটা স্ক্রিনে body-এর বাইরের জায়গায় দেখাবে */
}

h1 {
  background-color:#4387a2;
  color: white;
  padding: 15px;
  
  margin-bottom: 20px;
  border-bottom-left-radius: 10px;
  border-bottom-right-radius: 10px;
}

#org-name {
  font-family: 'Hind Siliguri', sans-serif;
  font-weight: 700;
  font-size: 50px;
}



.btn\.bg {
  background-color: #48c4d4; /* হালকা সায়ান কালার */
  border-radius: 10px;
  display: inline-block;
  margin-top: 20px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  width: 100%;
  font-family: SolaimanLipi, sans-serif !important;
}

.hidden {
  display: none;
}

select, button {
  padding: 10px;
  font-size: 1.2rem;
  margin: 10px;
  border-radius: 8px;
  background-color: #ea8700f0;
  color: white;
  border: none;
  font-family: SolaimanLipi, sans-serif !important;
}

select:focus, button:focus {
  outline: none;
  background-color: #e08b0c;
}

#text-to-type {
  font-family: SolaimanLipi, sans-serif !important;
  font-size: 1.2rem;
  line-height: 1.5;
  background: white;
  padding: 12px;
  border-radius: 10px;
  width: 80%;
  margin: 0 auto 20px;
  box-shadow: 0 0 10px rgba(0,0,0,0.1);
  user-select: none;
  max-height: 300px;
  overflow-y: auto;
  overflow-x: hidden; 
  text-align: justify; 
  border: 2px solid #4CAF50;
word-spacing: -5px;  
}
textarea {
  padding: 12px;
  width: 80%;
  border-radius: 10px;
  border: 1px solid #ccc;
  outline: none;
  resize: vertical;
  overflow-y: auto;
  word-wrap: break-word;
  min-height: 100px;
  max-height: 400px;
  font-family: SolaimanLipi, sans-serif !important;
  font-size: 1.2rem;
  line-height: 1.5;
  border: 2px solid #4CAF50;  
  
}



.word {
  padding: 2px 4px;
  margin-right: 5px;
  border-radius: 4px;
  display: inline-block;
}

.correct {
  background-color: #c8f7c5;
  color: green;
}

.incorrect {
  background-color: #f9c0c0;
  color: red;
}



#timer {
  font-size: 20px;
  font-weight: bold;
  margin-bottom: 15px;
  display: inline-block;
}

#result {
  font-size: 18px;
  margin-top: 30px;
  padding: 20px;
  border-radius: 10px;
  width: 80%;
  margin-left: auto;
  margin-right: auto;
  display: block;
}

.timer-warning {
  animation: bounce 1s ease infinite;
  color: red;
}

@keyframes bounce {
  0% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
  100% { transform: translateY(0); }
}








/* বই সেকশন */
#book-section {
  padding: 15px 20px;
  background-color: #f9f9f9;
  text-align: center;
}

/* শিরোনাম */
.book-section-title {
  font-size: 1.5rem;
  margin-bottom: 30px;
  color: #333;
}

/* বই গ্যালারি র‍্যাপার */
.book-gallery-wrapper {
  display: flex;
  justify-content: center;
}

/* গ্যালারি */
.book-gallery {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
  max-width: 1200px;
  width: 100%;
  justify-content: center;
  padding: 0 10px;
}

/* একেকটি বই */
.book {
  background: white;
  border-radius: 10px;
  padding: 10px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* বইয়ের ছবি */
.book img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 8px;
}

/* Buy Now বাটন */
.book button {
  margin-top: 10px;
  padding: 10px 20px;
  background-color: #4CAF50;
  color: white;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-size: 16px;
  transition: background-color 0.3s ease;
}

.book button:hover {
  background-color: #388e3c;
}

/* বড় স্ক্রিন: ৫টি বই */
@media (min-width: 1100px) {
  .book-gallery {
    grid-template-columns: repeat(5, 1fr);
  }
}

/* মাঝারি স্ক্রিন: ৩ উপরে, ২ নিচে */
@media (max-width: 1099px) and (min-width: 700px) {
  .book-gallery {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* ট্যাবলেট বা ছোট স্ক্রিন: ২টি সারি */
@media (max-width: 699px) and (min-width: 480px) {
  .book-gallery {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* মোবাইল: একটির পর একটি */
@media (max-width: 479px) {
  .book-gallery {
    grid-template-columns: 1fr;
  }
}



















footer {
  background-color: #0e94ca;
  color: white;
  padding: 0px 20px;
  position: fixed;
  left: 1in;
  right: 1in;
  bottom: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
}




footer .developer-info,
footer .time-info {
  font-family: SolaimanLipi, sans-serif !important;
  font-size: 1.2rem;
}
