#ibook_app{
    border: #333 solid 1px;
}

img{
    width: 60%;
}


.home_screen{
    display: flex;
    justify-content: center;
    align-items: center;
    margin: auto;
    padding: 30px 0px;
}

#bookCover{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 25px 0px;
}

.main-title{
    font-size: 5rem;
}

.subtitle{
    color: #ff7105;

}

.subtitle span{
    font-style: italic;
    font-weight: 300;
    color: #333;

}

#bookCover img{
    width: 60%;
}

#bookCover button{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: rgb(0, 34, 255);
    color: white;
    font-size: 2.5rem;
    border: none;
    padding: 10px 20px;
    border-radius: 8px;
    margin-top: 10px;
    cursor: pointer;
}

#bookCover button:hover{
    background-color: rgb(3, 25, 169);
}

#bookScreen{
}

.book{
    color: #333;
    padding: 50px 0;
    width: 95%;
    flex-direction: column;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: auto;
}

.left-page{
    font-size: 2.8rem;
    text-align: center;
}

.story-image{
    margin-top: 10px;
}

.right-page{
    text-align: center;
}

.question-text{
    font-weight: 700;
    font-size: 2.5rem;
}

.choices-container{
    font-size: 2rem;
    display: flex;
    flex-direction: column;
}

.choices-container button{
    font-size: 2rem;
    padding: 10px 10px;
    margin-bottom: 20px;
    cursor: pointer;
    background-color: #0059ff;
    color: azure;
    border: 1px solid #333;
}

.choices-container button:hover{
    background-color: #02379a;
}


/* End Screen */
#endScreen {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    padding: 20px;
    background: linear-gradient(135deg, #8254EA 0%, #E86DEC 100%);
    border-radius: 15px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.25);
    text-align: center;
  }
  
  #endScreen h1 {
    font-size: 3.5rem;
    color: rgb(255, 255, 255);
    font-weight: 900;
  }
  
  #endScreen h2 {
    font-size: 2rem;
    color: #ffd900;
    font-weight: 700;
  }
  
  .end-gif {
    width: 80%;
    max-width: 400px;
    border-radius: 10px;
    margin: 20px 0;
  }
  
 .restart-button{
background-color: #009df7;
color: white;
padding: 10px 10px;
font-weight: 700;
font-size: 2rem;
 }

  /* Explore Resources Button */
  .explore-button {
    display: inline-block;
    padding: 12px 24px;
    font-size: 1.5rem;
    background: #ba0089; 
    color: white;
    text-decoration: none;
    border-radius: 8px;
    transition: background-color 0.3s, transform 0.3s;
  }
  
  .explore-button:hover {
    background:  #820460; 
    transform: translateY(-2px);
  }

  .enjoyed_a_sample_text{
    color: white;
    font-size: 3rem !important;
    font-weight: 500;
    margin-bottom: 15px;
  }

  .freemium-option-card_subscribe{
    margin: auto;
  }

  /* Media Queries */
@media (max-width: 1024px) {
    .main-title {
      font-size: 4rem;
    }
  
    #bookCover img {
      width: 70%;
    }
  
    .choices-container button {
      font-size: 1.8rem;
      padding: 10px 15px;
    }
  
    .question-text {
      font-size: 2.2rem;
    }
  }
  
  @media (max-width: 768px) {
    .main-title {
      font-size: 3.5rem;
    }
  
    #bookCover img {
      width: 80%;
    }
  
    .left-page {
      font-size: 2.4rem;
    }
  
    .choices-container button {
      font-size: 1.6rem;
      padding: 8px 12px;
    }
  
    .question-text {
      font-size: 2rem;
    }
  
    #endScreen h1 {
      font-size: 3rem;
    }
  
    #endScreen h2 {
      font-size: 1.8rem;
    }
  }
  
  @media (max-width: 480px) {
    .main-title {
      font-size: 2.5rem;
      text-align: center;
    }
  
    .subtitle {
      font-size: 1.5rem;
    }
  
    #bookCover img {
      width: 90%;
    }
  
    #bookCover button {
      font-size: 2rem;
      padding: 8px 16px;
    }
  
    .left-page {
      font-size: 2rem;
    }
  
    .choices-container button {
      font-size: 1.4rem;
      padding: 6px 10px;
    }
  
    .question-text {
      font-size: 1.8rem;
    }
  
    #endScreen h1 {
      font-size: 2.5rem;
    }
  
    #endScreen h2 {
      font-size: 1.5rem;
    }
  }