body, html {
    margin: 0;
    padding: 0;
    width: 100%;
    font-family: "Rubik", sans-serif;
    font-optical-sizing: auto;
    background-color: #ffe525;
    scroll-behavior: smooth;
}

a {
    color: #f18917;
}

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

.copy-container {
    justify-content: space-between;
    align-items: center;
    background-image: linear-gradient(#00529f, #ffcc00, #e33c06);
    display: flex;
    flex-direction: column;
    color: white;
    height: 100vh;
    padding: 5px;
}


.container2 {
    display: flex;
    justify-content: flex-start;
    flex-direction: column;
    color: white;
    height: 100vh;
    padding: 5px;
}

.left, .right {
    width: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.flex-row {
    display: flex;
    flex-direction: row;
    justify-content: flex-start
}

.logo-top {
    align-self: start;
}

.copy-title {
    font-weight: 500;
}

.console-title {
    font-family: "Young Serif", sans-serif;
    font-weight: 500;
}

.title {
    font-size: 3.5rem;
    margin-bottom: 10px;
}

.subtitle {
    font-size: 1.3rem;
    margin-bottom: 10px;
}


.button-subscribe {
    background-color: rgb(0, 0, 0);
    color: #e4e4e4;
    border: none;
    padding: 20px 60px;
    cursor: pointer;
    margin-top: 20px;
    margin-bottom: 20px;
    border-radius: 50px;
    font-size: 1rem;
}

.main-image {
    width: 100%;
    height: auto;
    margin-bottom: 20px;
}

  

/* Responsive design for smaller screens */
@media (max-width: 768px) {

    .main-image {
        width: 80%;
    }

    .logo-top {
        margin-bottom: 30px;
    }

    .copy-container {
        flex-direction: column;
        height: 100%;
        background-image: linear-gradient(#00529f, #ffcc00, #e33c06);
    }

    .left, .right {
        width: 100%;
    }

    .title {
        font-size: 2.5rem;
        margin-bottom: 10px;
    }

    .subtitle {
        font-size: 0.8rem;
        margin-bottom: 10px;
    }

}


.how-it-works {
    color: white;
    display: flex;
    justify-content: flex-start;
    flex-direction: column;
    background-image: linear-gradient(#e33c06, #9c3411, #00529f);
    padding: 50px 10%;
    position: relative;
}



.page-title {
    text-align: center;
    margin-bottom: 50px;
    font-size: 4rem;
}

.content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

.content .left, .content .right {
    width: 48%; /* Slightly less than half to accommodate the gap */
}


.image-with-text {
    position: relative;
    text-align: center;
}

.overlay-text {
    color: black;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 70%;
    margin: 0;

    font-size: 2rem;
    background-color: #ffe925cc;
    padding: 15px;
    border: solid 1px #000;
    border-radius: 10px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.explainer-text-title {
    color: black;
    position: absolute;
    top: 45%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80%;
    margin-bottom: 10px;

    font-size: 2rem;
    background-color: #ffe925cc;
    padding: 15px;
    border: solid 1px #000;
    border-radius: 10px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.content .right {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.img-explainers {
    width: 100%; /* Make images responsive */
    height: auto;
    margin-bottom: 20px;
}

.ml {
    margin-left: 20px;
}

.mr {
    margin-right: 20px;
}

@media (max-width: 768px) {

    .page-title {
        font-size: 2.5rem;
        margin-bottom: 10px;
    }

    .content {
        flex-direction: column;
    }

    .content .left, .content .right {
        width: 100%;
    }

    .overlay-text {
        width: 80%;
        font-size: 1.5rem;
        top: 50%;
    }

    .explainer-text-title {
        font-size: 1.5rem;
        top: 45%;
        width: 80%;
    }

    .how-it-works {
        padding: 20px 3%;
    }
}

.subscribe-section {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: justify;
    padding: 5px;
    color: white;
    background-image: linear-gradient(#00529f, #e33c06, #ffe525);
}

.form-container {
    width: 100%;
    max-width: 800px;
}

@media (max-width: 768px) {
    .form-container {
        width: 99%;
        margin-top: 90px;
    }
}


footer {
    background-color: #000000;
    color: #fff;
    text-align: center;
    padding: 20px 10%;
    position: relative;
    bottom: 0;
}

.footer-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    color: #ada6a6;
}

footer a {
    color: #ada6a6;
    text-decoration: none;
}

footer a:hover {
    text-decoration: underline;
}

@media (max-width: 768px) {
    .footer-container {
        flex-direction: column;
    }

    .footer-container p {
        margin: 10px 0;
        font-size: 0.7rem;
    }
}

.faq-button {
    padding: 10px 30px;
    cursor: pointer;
}

/* Style for overlay */
.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); /* Semi-transparent black background */
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    backdrop-filter: blur(5px); /* Add blur effect */
}

/* Style for FAQ container */
.faq-container {
    margin: auto;
    margin-top: 10%;
    background-color: #eeeeeecc;
    padding: 20px;
    border-radius: 10px;
    max-width: 80%;
    max-height: 80%;
    overflow-y: auto; /* Add scrollbar if content overflows */
}

/* Style for FAQ questions */
.faq-question {
    margin-top: 5px;
    margin-bottom: 5px;
}

.faq-question-title {
    margin-bottom: 5px;
}

/* Style for FAQ answers */
.faq-answer {
    margin-top: 5px;
    margin-bottom: 20px;
}