body {
  background-color: black;
}

.web-Leader {
    width: 100%;
    height: auto;
    z-index: 2; /* Ensure it's above the video */
}

.menu-container {
    position: fixed;
    width: 10%;
    top: 45%; 
    right: 2%; 
    opacity: 0;
    transition: opacity 2s;
    z-index: 1000; 
}

.menu-list {
    list-style-type: none;
    padding: 0;
    margin: 0;
}

.menu-list li {
    margin-bottom: 20px;
}

.menu-list a {
    display: block;
    background-color: rgba(255, 0, 0, 0.6);
    color: white;
    text-align: center;
    padding: 10px 15px;
    border: 2px solid white;
    border-radius: 25px;
    text-decoration: none;
    transition: background-color 0.3s;
    font-family: Garamond;
    font-size: 1em;
}

.menu-list a:hover {
    background-color: rgba(130,203,243,1);
}


.book-announcement-header {
  position: absolute;
  top: calc(5% + 30%);
  left: 66.5%;
  opacity: 0;
  filter: blur(8px);
  transition: opacity 1s, filter 2s;
  color: white;
  text-align: center;
  font-family: garamond;
  font-size: 2rem;
}

.book-cover {
  width: 23%;
  margin-top: 3%;
  margin-bottom: 1%;
  margin-left: 3%;
  opacity: 95%;
}

.free-chapters-box {
  background-color: rgba(255, 0, 0, 0.6);
  border-radius: 10px;
  padding: 20px;
  text-align: center;
  width: 25%;
  margin-right: auto;
  color: white;
  position: absolute;
}

#face-your-fears{
  font-family: garamond;
  margin-top: -2%;
  
}


.video-background {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  overflow: hidden;
  margin-top: 5%;
  padding-top: 150px;
}

video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.content-to-fade, .content-to-fade-faster {
  opacity: 0;
  transition: opacity 2s;
}

.author-welcome-box {
  color: white;
  position: relative;
  display: inline-block;
  top: 73%;
  left: 60%;
  text-align: left;
  font-size: 1.2em;
  font-family: georgia;
  transform: translate(-50%, -50%) scale(0);
  background-color: rgba(0, 0, 0, 0.6);
  width: 60%;
  height: auto;
  border-radius: 10px;
  opacity: 0;
  transition: transform 2s, opacity 2s;
}

p.indent {
  text-indent: 6%;
  margin-left: 4%;
  margin-right: 4%;
}

/* New button styles */
#chapter-download-button {
  display: block;
  width: 70%;
  padding: 10px 20px;
  text-align: center;
  background-color: black;
  color: white;
  border: 2px solid white;
  border-radius: 25px;
  margin: 20px auto;
  cursor: pointer;
  transition: background-color 0.3s;
  text-decoration: none;
}

#chapter-download-button:hover {
  background-color: rgba(130,203,243,1);
}

a #chapter-download-button, a:hover #chapter-download-button {
    text-decoration: none !important;
}

#mc_embed_shell {
    position: relative; /* Ensure it's positioned */
   border: 2px solid white;
  border-radius: 25px;
    width: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-left: 35%;
    background-image: url('https://assets.codepen.io/9605634/Wings.png');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: 10% center;
    margin-top: 15%;
     opacity: 0;
    transition: opacity 2s; /* smooth transition for the fade-in effect */
    z-index: 1000; /* Increased z-index */
}



#mc_embed_signup h2 {
    color: #FFFFFF;
    margin-bottom: -5%;
    text-align: center;
    border: solid red;
    background-color: gray
}

#newsletter-info {
  width: 80%;
  color: white;
  font-family: Garamond;
  padding: 5%;
  font-size: 1.3em;
  margin-bottom: -3%;
  font-weight: bold;
  text-align: center;
}

#mc_embed_signup .mc-field-group {
    margin-bottom: 2%;
    margin-left: 20%;
}

#mc_embed_signup .mc-field-group label {
    display: block;
    margin-bottom: 1%;
    color: white;
}

#mc_embed_signup input[type="text"],
#mc_embed_signup input[type="email"] {
    width: 50%;
    padding: 1%;
    border: 1px solid #aaa;
    border-radius: 5px;
    
}

#mc_embed_signup .button {
    background-color: rgba(255, 0, 0, 1);
    border: none;
    color: #FFFFFF;
    padding: 1% 2%;
    text-transform: uppercase;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s;
    margin-bottom: 3%;
    margin-left: 40%;
    font-weight: bold;
    margin-top: 3%;
}

#mc_embed_signup .button:hover {
    background-color: rgba(100,173,213,255);
}

.mc-field-group {
  color: white;
}

.indicates-required{
  color: white;
  margin-left: 60%;
  margin-bottom: 3%
}

.checkbox-container {
    display: flex;
    align-items: center;
    margin-top: 5%;
}

.checkbox-container input[type="checkbox"] {
    margin-right: 10px;
}

.thank-you-container {
    text-align: center;
    position: absolute;
    top: 75%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    background-color: rgba(0, 0, 0, 0.6);
    padding: 20px;
    border-radius: 10px;
    width: 50%;
    margin-top: 16%;
}

.thank-you-logo {
    max-width: 60%;
    height: auto;
    display: block;
    margin: 0 auto 20px; /* Adjusts spacing below the logo */
}


.thank-you-container h2 {
    font-family: garamond;
    font-size: 2.5rem;
    margin: 20px 0;
}

.thank-you-container p {
    font-family: georgia;
    font-size: 1.2rem;
}

.return-button {
    display: inline-block;
    padding: 10px 20px;
    background-color: rgba(255, 0, 0, 1);
    color: white;
    border: none;
    border-radius: 5px;
    text-decoration: none;
    margin-top: 20px;
    transition: background-color 0.3s;
}

.return-button:hover {
    background-color: rgba(100,173,213,255);
}

 /* THE FOLLOWING IS FOR THE BLOG PAGE */

 .blog-author-name, .blog-title {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    opacity: 0;
    color: white;
    text-align: center;
    font-family: garamond;
}

.blog-author-name {
    top: 5%;
    font-size: 3rem;
    transition: opacity 1s, filter 2s;
   
  
}

.blog-title {
    top: 6%;
    font-size: 3rem;
     transition: opacity 1s, filter 2s;
     font-family: 'Rock Salt', cursive;
    margin-left: 8%;
  text-shadow: 3px 3px black;
}

.blog-post {
    color: white;
    position: absolute;
    display: inline-block;
    margin-top: -10%;
    left: 40%;
    transform: translate(-50%, -50%);
    text-align: left;
    font-size: 1.1em;
    font-family: georgia;
    background-color: rgba(48, 48, 48, 0.8);  // Dark gray
    width: 80%;
    height: auto;
    border-radius: 10px;
    opacity: 0;
    padding: 20px;
    margin-left: 15%;
  
}

.content-to-fade-extra {
    opacity: 0;
    transition: opacity 2s;
}


@media (max-width: 768px) {
  .video-background {
    display: none;
  }

  body {
    background-image: url("https://assets.codepen.io/9605634/birdie+mobile+background1.png");
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
  }

  .book-title {
    width: 70%;
    top: 1%;
    left: 40%;
  }

  .book-announcement-header {
    top: calc(12% + 2%);
    font-size: 5vw;
    width: 78%;
  }

  .book-cover {
    width: 50%;
    margin: 20px 0;
  }

  .progress-bar {
    width: 70%;
  }
}
