/* style.css */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Open Sans', sans-serif;
  line-height: 1.6;
  background-image: url('../images/bg1.jpg');
  background-size: cover;
  background-attachment: fixed;
  background-position: center;
  opacity: 1;
}



/* Style for download links */
.downloads a {
  color: #99ff66;
  text-decoration: none;
  transition: color 0.3s ease;
  display: inline-block;
  padding: 5px 10px;
}

/* Hover effect for download links */
.downloads a:hover {
  color: #c0392b;
  text-decoration: underline;
}

/* Style for the contact email link */
.contact-email {
  color: #660000;
  text-decoration: none;
}

/* Hover effect for email link */
.contact-email:hover {
  color: #2980b9;
  text-decoration: underline;
}

/* Header & Navigation */
header {
  background-image: radial-gradient(circle,  #cca300 10%,  #4d0000 80%);
  color: yellow;
  padding: 10px 0;
  text-align: center;
}

header h1 {
  #26734d
  font-size: 1.8rem;
  margin-bottom: 10px;
  color: yellow;
}

nav ul {
  list-style: none;
  display: flex;
  justify-content: center;
  gap: 80px;
  margin-top: 10px;
}

nav a {
  color: #ff66cc;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.1rem;
  transition: color 0.3s;
}

nav a:hover {
  color: #ff0099;
}



.hero h1 {
  font-size: 3rem;
  margin-bottom: 20px;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.7);
}

.hero p {
  font-size: 1.2rem;
  max-width: 800px;
  margin: 0 auto;
  
}

.content {
  margin: 40px 0;
}

.book-cover {
  max-width: 300px;
  height: auto;
  border-radius: 10px;
  margin: 20px auto;
  box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

.author-img {
  #4d0000
max-width: 200px;
  height: auto;
  border-radius: 50%;
  margin: 20px auto;
  border: 5px solid #476b6b;
  box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

.poem {
  margin: 40px 0;

  padding: 20px;
  background-image: radial-gradient(#9fbfdf 0%,  #94b8b8 95%);
  border-radius: 10px;
}

.poem h2 {
  color: Yellow;
  text-align: center;
  margin-bottom: 15px;
}

pre {
  text-align: center;
  line-height: 2;
	font-size: 1rem;
  font-style: normal;
  color: black;
  margin: 20px 0;
}

pre2 {
  text-align: center;
  line-height: 2;
  font-style: normal;
  color: #333;
  margin: 20px 0;
}
.downloads {
  list-style: none;
  text-align: center;
  margin: 20px 0;
  padding: 0;
}

.downloads li {
  display: inline-block;
  margin: 0 10px;
  background-image: radial-gradient(circle,  #999900 10%,  #4d0000 80%);
  border-radius: 25px;
  margin-bottom: 10px;
}

footer {
background-image: radial-gradient(circle,  #cca300 0%,  #4d0000 90%);
  color: white;
  text-align: center;
  padding: 20px 0;
  margin-top: 80px;
}

footer p {

  color: white;
  opacity: 0.8;
}

/* Responsive Design */
@media (max-width: 768px) {
  .container {
    width: 90%;
    padding: 15px;
  }
  
  nav ul {
    flex-direction: column;
    gap: 15px;
    align-items: center;
  }
  
  .hero h1 {
    font-size: 2.2rem;
  }
  
  .hero p {
    font-size: 1rem;
  }
  
  .book-cover, .author-img {
    max-width: 100%;
    width: 300px;
  }
}   /* Share Button Styles */
    .share-container {
      
text-align: center;
      margin: 20px 0;
    }
    .share-btn {
      background-color: #26734d;
      font-family: 'Open Sans', sans-serif;
      color: lightblue;
      border: none;
      padding: 10px 20px;
      font-size: 14px;
      border-radius: 5px;
      cursor: pointer;
      display: inline-block;
      box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    }
    .share-btn:hover {
      background-color: #3367d6;
    }

    /* Share Options Dropdown */
    .share-options {
      display: none;
      flex-wrap: wrap;
      justify-content: center;
      gap: 12px;
      margin-top: 12px;
      padding: 15px;
      background: #f9f9f9;
      border-radius: 8px;
      box-shadow: 0 4px 12px rgba(0,0,0,0.1);
      animation: fadeIn 0.3s ease-in-out;
    }
    @keyframes fadeIn {
      from { opacity: 0; transform: translateY(-5px); }
      to { opacity: 1; transform: translateY(0); }
    }
    .share-option {
      display: flex;
      align-items: center;
      gap: 6px;
      text-decoration: none;
      color: #333;
      font-size: 14px;
      padding: 8px 12px;
      border-radius: 6px;
      background: white;
      border: 1px solid #ddd;
      min-width: 90px;
    }
    .share-option:hover {
      background: #f0f0f0;
      transform: translateY(-2px);
      transition: all 0.2s;
    }
    .share-option img {
      width: 18px;
      height: 18px;
      vertical-align: middle;
    }
  /* Additional styles for responsiveness and new features */
    .responsive-container {
      width: 95%;
      max-width: 1000px;
      margin: 0 auto;
      padding: 20px;
color: lightblue;
      background-image: radial-gradient(circle,  #26734d 0%,  #476b6b 80%);
      border-radius: 12px;
      box-shadow: 0 14px 22px rgba(0,0,0,.8);
      margin-top: 80px;
      min-height: 20vh;
      overflow-x: hidden;
    }
    
    /* Responsive adjustments */
    @media (max-width: 768px) {
      .container {
        width: 95%;
        padding: 15px;
        margin-top: 60px;
      }
      
      header h1 {
        font-size: 1.5rem;
      }
      
      .book-cover {
        width: 100%;
        height: auto;
      }
      
      .poem pre {
        white-space: pre-wrap;
        word-wrap: break-word;
        font-size: 1rem;
      }
      
      .downloads ul, .music-controls ul {
        display: flex;
        flex-direction: column;
        gap: 10px;
      }
      
      .music-controls li {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 5px 0;
      }
      
      .vote-count {
        font-weight: bold;
        color: #e74c3c;
      }
    }
    
    /* Music controls styling */
    .music-controls {
      margin-bottom: 15px;
    }
    
    .music-controls a {
      color: #004d00;
      text-decoration: none;
      transition: color 0.3s ease;
      display: inline-block;
      padding: 5px 10px;
      border-radius: 5px;
      background-color: #94b8b8;
      border: none;
      cursor: pointer;
      font-size: 0.9rem;
    }
    
    .music-controls a:hover {
      color: #2196f3;
      background-color: #2196f3;
    }
    
    /* Voting buttons */
    .vote-btn {
      color: #004d00;
      text-decoration: none;
      transition: color 0.3s ease;
      display: inline-block;
      padding: 5px 10px;
      border-radius: 5px;
      background-color: #e74c3c;
      border: none;
      cursor: pointer;
      font-size: 0.9rem;
      margin-left: 10px;
    }
    
    .vote-btn:hover {
      background-color: #c0392b;
    }
    
    /* Disabled vote button */
    .vote-btn.disabled {
      opacity: 0.5;
      cursor: not-allowed;
    }
    
    /* Identification labels */
    .button-label {
      font-size: 0.8rem;
      color: #666;
      margin-bottom: 5px;
      font-style: italic;
    }
    
    /* Clearer section separation */
    .section-divider {
      margin: 30px 0;
      border-bottom: 1px solid #ddd;
    }
    
    /* Adjusting the container width */
    .content {
      margin-bottom: 30px;
    }
  </style>