body,
html {
    margin: 0;
    padding: 0;
    height: auto;
    font-family: Arial, sans-serif;
    display: flex;
    flex-direction: column;
    /* Stack children vertically */
    min-height: 100vh;
    /* Ensure minimum height is full viewport */
}

.container {
    display: flex;
    flex: 2 ;
    min-height: calc(100vh - 40px);
}

.left-section {
    background-color: #6750a4;
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px;
    position: relative;
}

.logo {
    position: absolute;
    top: 20px;
    left: 20px;
    width: 100px;
    /* You can adjust based on the logo's size */
}

.text-content {
    text-align: center;
}

.headline {
    font-size: 1.5em;
    margin-bottom: 15px;
    color: white;
}

.typing-text {
    border-right: .2em solid white;
    wwhite-space: nowrap;
    overflow: hidden;
    font-size: 1em;
    color: white;
}

.right-section {
    flex-direction: column;
    /* Ensure the children are stacked vertically */
    align-items: center;
    /* Center the children horizontally */
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.faq-section {
    display: flex;
    flex-direction: column;
    align-items: center; /* Center the content horizontally */
    width: 100%; /* Ensure it spans the entire width of its container */
    max-width: 800px; /* Limit the maximum width for better readability */
    margin: 0 auto; /* Center the block in case the viewport is wider than max-width */
    padding: 20px 0; /* Add vertical padding for spacing */
    box-sizing: border-box; /* Include padding in width calculations */
}

.faq-item {
    margin-bottom: 10px;
    /* Adding space between each FAQ item */
}

.faq-question {
    width: 300px;
    text-align: left;
    color: white;
    border: none;
    padding: 10px;
    cursor: pointer;
    transition: background-color 0.3s;
    border-radius: 5px;
    border-radius: 50px;
    /* Rounding the corners */
    padding: 10px 20px;
    background-color: #53438c;

    /* Adjusting padding to match the button */
}

.faq-question:hover {
    background-color: #4d3e75;
    /* Slightly darker shade for hover effect */
}

.faq-answer {
    display: none;
    /* Hidden by default */
    padding: 10px;
    border: 1px solid #6750a4;
    border-top: none;
    /* Remove the top border to blend with the question button */
    border-radius: 0 0 50px 50px;
    color: yellow;
    max-height: auto;
    overflow: hidden;
    transition: max-height 0.3s ease, opacity 0.3s ease;
}

.faq-answer.visible {
    max-height: 500px;  /* Increase this if needed */
    opacity: 1;
}

.access-button {
    padding: 10px 20px;
    font-size: 1.2em;
    cursor: pointer;
    background-color: #6750a4;
    transition: box-shadow 0.3s ease;
    /* for smooth hover effect */
    border-radius: 50px;
    color: white;
    margin-bottom: 15px;
    /* Add some space between the button and the Available Podcasts section */
}

.available-podcasts {
    font-size: 0.9em;
    color: black;
    text-align: center;
}


.app-name {
    position: absolute;
    top: 20px;
    left: 20px;
    font-size: 1.5em;
    /* Adjust based on your preference */
    font-weight: bold;
    /* Making it stand out */
    color: white;
    /* Making the text white for contrast */
}


footer {
    background-color: #6750a4;
    /* Making the footer match the site's primary color */
    padding: 10px 0;
    /* Adding some vertical spacing */
    text-align: center;
    /* Centering the text */
    color: white;
    /* Making the text white for contrast */
    font-size: 0.9em;
    /* Adjusting the font size */
    bottom: 0;
    position: static;
    flex-direction: column;
    align-items: center;
    /* Center content horizontally */
    padding: 20px;
    text-align: center;
    /* Center text */

}

footer a {
    color: yellow;
    /* Changing link color to yellow */
    text-decoration: none;
    margin: 0 5px;
    transition: color 0.3s ease;
    /* For a smooth color transition on hover */
}

footer a:hover {
    text-decoration: underline;
    color: #ffcc00;
    /* Slightly different shade of yellow on hover for distinction */
}

.demo-gif {
    margin-top: 15px;
    max-width: 100%;
    border-radius: 10px;
    /* Giving it rounded corners */
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.2);
    /* Adding a sweet shadow */
    border: 1px solid #ddd;
    /* Adding a thin border */
    transition: box-shadow 0.3s ease;
    /* For a smooth hover effect */
}

.demo-gif:hover {
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.3);
    /* Enhancing the shadow when hovered */
}

.access-button:hover {
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.3);
}

.available-podcasts {
    font-size: 0.9em;
    color: black;
    text-align: center;
    margin-top: 15px;
}

.podcast-img {
    margin-top: 10px;
    width: 70%;
    /* adjust based on your needs */
    border-radius: 10px;
    /* optional: to give rounded corners to the image */
}

/* Responsive styles for mobile */
@media (max-width: 768px) {
    .container {
        flex-direction: column;
        margin-bottom: 0;
        /* Reset the margin bottom for mobile */
        min-height: auto;
        
    }

    .logo {
        position: initial;
        margin-bottom: 20px;
    }

    .right-section {
        padding-top: 20px;
        /* Existing style */
        padding-bottom: 20px;
        /* Adding some space between the button and the footer */
    }

    footer {
        position: static;
        /* Resetting the position for mobile so it naturally appears at the bottom */
    }

    .app-name {
        position: initial;
        margin-bottom: 20px;
    }

}