/* ================= BEGINNER PAGE MODERN UI ================= */
body{
  /* min-height: 400vw; */
  background: #272a35;
}
  

/* Space below fixed navbar */
body h1 {
  /* border: 1px solid red; */
  /* margin-top: 85px; */
  text-align: center;
  font-size: 2.8rem;
  letter-spacing: 1px;
  background: linear-gradient(to right, rgb(255, 0, 89), #06b6d4);
  background: linear-gradient(to right, #07d6f1fe, rgb(255, 0, 89), rgb(255, 242, 0));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}


.beginner , .page1{
  background-color: rgb(255 255 255 / 72%);
  background-color: rgba(63, 61, 61, 0.72);
  /* border: 1px solid blue; */
  /* width: 68vw; */
  border-radius: 0.5vw;
  text-align: center;
   max-width: 71vw;
   /* min-height: 70%; */
   min-height: 20vw;
  margin: 70px auto;
  color: black;
  color: white;
}

/* Lesson Container (auto layout) */
.lesson-container{
  /* border: 1px solid aqua; */
  display: flex;
  flex-wrap: wrap;
  
  /* display: flex; */

}
.set{
  /* border: 2px solid blue; */
  /* border: 2px solid rgb(138, 138, 145); */
  width: 100%;
  display: flex;
  flex-wrap: wrap;
}
.set h2{
  width: 100%;
  /* border: 1px solid rgb(154, 155, 155); */
  border-radius: 5px;
}
.set h3{
  background: 1px solid rgb(92, 172, 172);
  /* border: 1px solid red; */
  color: aqua;
  /* display:block; */
  width: 100%;
  margin-left: 12%;
  text-align: left;
}

.lesson {
  /* border: 1px solid blue; */
  /* border: 1px solid rgb(255, 0, 204); */
  width: 260px;
  width: 464px;
  margin: 20px auto;
  margin: 9px auto;
  padding: 18px;
  text-align: center;
  font-size: 1.4rem;
  border-radius: 16px;
  cursor: pointer;
  transition: all 0.35s ease;

  /* Glass effect */
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
  /* border: 1px solid rgba(255, 255, 255, 0.15); */

  /* Shadow */
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

/* Hover animation */
.lesson:hover {
  transform: translateY(-8px) scale(1.04);
  background: rgba(255, 255, 255, 0.18);
  /* background: rgba(246, 4, 246, 0.795); */
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
}

/* Click effect */
.lesson:active {
  transform: scale(0.95);
}

/* Different gradient for each lesson start here*/
.lesson:nth-child(1) {
  background: linear-gradient(135deg,#ff416c, #ff952b);
}
.lesson:nth-child(2) {
  background: linear-gradient(135deg, #00c6ff, #0072ff);
}

.lesson:nth-child(3) {
  background: linear-gradient(135deg, #f7971e, #ffd200);
  color: #000;
}

.lesson:nth-child(4) {
  background: linear-gradient(135deg, #43e97b, #38f9d7);
  color: #000;
}

.lesson:nth-child(5) {
  background: linear-gradient(135deg, #ff416c, #ff4b2b);
}

.lesson:nth-child(6) {
  background: linear-gradient(135deg, #8e2de2, #4a00e0);
}
.lesson:nth-child(7) {
  background: linear-gradient(135deg, #f4ede4, #00c8ff);
  color: #000;
}

.lesson:nth-child(8) {
  background: linear-gradient(135deg, #d9f49f, #f4056c);
  color: #000;
}

.lesson:nth-child(9) {
  background: linear-gradient(135deg, #ff416c, #ffc62b);
}



.lesson:nth-child(10) {
  background: linear-gradient(135deg, #43e97b, #38f9d7);
  color: #000;
}

.lesson:nth-child(11) {
  background: linear-gradient(135deg, #ff416c, #ff4b2b);
}

.lesson:nth-child(12) {
  background: linear-gradient(135deg, #8e2de2, #4a00e0);
}
.lesson:nth-child(13) {
  background: linear-gradient(135deg, #f4ede4, #ffea00);
  color: #000;
}

.lesson:nth-child(14) {
  background: linear-gradient(135deg, #d9f49f, #f4056c);
  color: #000;
}

.lesson:nth-child(15) {
  background: linear-gradient(135deg, #ff416c, #ffc62b);
}


.lesson:nth-child(16) {
  background: linear-gradient(135deg, #43e97b, #38f9d7);
  color: #000;
}

.lesson:nth-child(17) {
  background: linear-gradient(135deg, #ff416c, #ff4b2b);
}
.lesson:nth-child(18) {
  background: linear-gradient(135deg, #ff416c, #ff4b2b);
}

.lesson:nth-child(19) {
  background: linear-gradient(135deg, #8e2de2, #4a00e0);
}
.lesson:nth-child(20) {
  background: linear-gradient(135deg, #f4ede4, #ffea00);
  color: #000;
}

.lesson:nth-child(21) {
  background: linear-gradient(135deg, #d9f49f, #f4056c);
  color: #000;
}

/* Gradient colour section ends here */
















/* Responsive */
@media (max-width: 768px) {
  body h1 {
    font-size: 2rem;
    margin-top: 100px;
  }

  .lesson {
    width: 200px;
    font-size: 1.2rem;
    padding: 14px;
  }
}