@import url("https://fonts.googleapis.com/css2?family=Tiro+Bangla:ital@0;1&display=swap");

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  margin: 0;
  padding: 0;
  background-image: url("../images/bd_01.jpg");
  background-position: top;
  background-repeat: no-repeat;
  background-size: cover;
  width: 100%;
  background-color: #f5f5f5;
  font-family: "Tiro Bangla", serif;
  text-align: center;
}
.overlay {
  width: 100%;
  height: 100%;
  background-color: rgba(255, 255, 255, 0.95);
}

/* Navigation Start */
nav {
  background-color: #1e293b;
  color: white;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  position: relative;
}

.logo {
  font-size: 1.5rem;
  font-weight: bold;
}

.nav-links {
  display: flex;
  gap: 1.5rem;
}

.nav-links a {
  color: white;
  text-decoration: none;
  transition: color 0.3s;
}

.nav-links a:hover {
  color: #38bdf8;
}

.menu-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
}

.menu-toggle div {
  width: 25px;
  height: 3px;
  background-color: white;
  margin: 4px 0;
  transition: 0.4s;
}


/* Navigation End */

main {
  width: 80%;
  margin: auto;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  height: 100vh;
  gap: 2rem;
}

#toggle-btn,
.toggle-btn {
  padding: 12px 24px;
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
  border: none;
  border-radius: 4px;
  background-color: #007bff;
  color: #fff;
  transition: background-color 0.3s ease;
}
#toggle-btn:hover,
.toggle-btn:hover {
  background-color: #0056b3;
}
#progress-container {
  display: none;
  width: 100%;
  height: 2px;
  background: #ddd;
  overflow: hidden;
  position: absolute;
  top: 0px;
  left: 0px;
}
#progress {
  width: 0%;
  height: 100%;
  background: #22bc6a;
  transition: width 0.1s linear;
}
audio {
  display: none;
}


@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 64px;
    right: 0;
    background-color: #1e293b;
    flex-direction: column;
    width: 200px;
    padding: 1rem;
    border-radius: 0 0 0 10px;
    box-shadow: -2px 2px 10px rgba(0, 0, 0, 0.3);
  }

  .nav-links.active {
    display: flex;
  }

  .menu-toggle {
    display: flex;
  }
  
  main {
      width: 80%;
      margin: auto;
      display: flex;
      flex-direction: column;
      justify-content: center;
      align-items: center;
      padding-top:220px;
      padding-bottom: 40px;
    }
}
