body {
    background-color: black;
    color: white;
    font-family: Georgia, serif;
    margin: 0;
    padding: 0;
}

.web-leader-container {
  overflow-x: hidden;
  width: 100%;
}

.web-Leader {
    width: 100%;
    height: auto;
    z-index: 2;
}

.menu-container {
    position: fixed;
    width: 10%;
    top: 45%; 
    right: 2%; 
    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);
}

.author-photo {
    display: block;
    margin: 0px auto;
    max-width: 50%;
    height: auto;
}

.author-bio-container {
    background-color: rgba(48, 48, 48, 0.8);
    border-radius: 10px;
    padding: 20px;
    margin: 40px auto;
    max-width: 60%;
}

.menu-container, .author-photo, .author-bio-container {
    opacity: 0;
    transition: opacity 2s;
}

#mc_embed_shell {
    position: relative;
    border: 2px solid white;
    border-radius: 25px;
    width: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-left: 25%;
    background-image: url('https://assets.codepen.io/9605634/Wings.png');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: 10% center;
    margin-top: 5%;
    opacity: 0;
    transition: opacity 2s;
    z-index: 1000;
}

#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;
}

.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);
}

.hamburger {
    display: none;
    position: fixed;
    top: 2%;
    right: 2%;
    z-index: 1001;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.hamburger-line {
    width: 30px;
    height: 5px;
    background-color: white;
    border-radius: 5px;
}

@media (max-width: 768px) {
    body {
        font-size: 16px;
    }

    .web-leader {
        overflow-x: hidden;
        width: 300%;
        margin-bottom: 20px;
    }

    .hamburger {
        display: flex;
        z-index: 4000; /* A higher value to ensure it's above other elements */
    }

    .menu-container {
        display: none;  /* By default, it's hidden */
        position: fixed;
        top: 10%;
        width: 70%;
        left: 15%;
        background-color: rgba(0, 0, 0, 0.9);
        border: 2px solid white;
        border-radius: 25px;
        padding: 20px 0;
        display: none;
         max-height: 90vh;  /* 90% of the viewport height */
    overflow-y: auto;  /* Allow vertical scrolling when content overflows */
        
    }
  
  .menu-container.active {
    display: block;
}
  
  /* This is the styling for the X when the menu is active */
.menu-container.active + .hamburger .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translateY(10px);
}

.menu-container.active + .hamburger .hamburger-line:nth-child(2) {
    opacity: 0;
}

.menu-container.active + .hamburger .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translateY(-10px);
}

  

    .menu-list li {
        text-align: center;
    }

    .menu-list.active {
        display: block;
    }

.author-photo {
    display: block;
    margin: 0px auto;
    max-width: 100%;
    height: auto;
    }
}

/* Mobile styling adjustments for the MailChimp embed */
@media (max-width: 768px) {
    #mc_embed_shell {
        width: 90%; /* Increased from 80% */
        margin: 20px auto; /* Adjusted for centering */
        background-size: 100% auto; /* Adjust the background size */
        background-position: center center; /* Ensure the background is centered */
}
    

    #newsletter-info {
    width: 90%; /* Increase from the previous value */
    font-size: 1.1em;
}
   
  #mc_embed_signup input[type="text"],
  #mc_embed_signup input[type="email"] {
    width: 90%; /* Increase the width */
}


    #mc_embed_signup .mc-field-group label, 
    #mc_embed_signup .mc-field-group input,
    #mc_embed_signup h2 {
        font-size: 0.9em; /* Slightly reduced font size */
    }


.checkbox-container input[type="checkbox"] {
    transform: scale(1.5); /* Scale the checkbox */
}

  #mc_embed_signup .button {
    padding: 15px 30px; /* Increase padding for a larger button */
    font-size: 1.2em; /* Slightly increase the font size */
}

}


@media (min-width: 769px) {
    .hamburger {
        display: none;
    }

    .menu-container {
        display: block;
    }
}
