/*
Theme name: WP Emerge Starter Theme
Description:
Version:
*/

/*
Source SASS styles are located in resources/styles/.
The compiled bundles are in dist/styles/{xyz}-bundle.css.
The README.md file contains instructions on
how to get the build process up & running.

If you need to make a quick fix, feel free to add CSS
below this comment - it will override the bundled styles.
*/

/* Blog Styles */
.blogHero {
	height: 300px;
	min-height: 250px;
}

/* Seção da newsletter */
.newsletter-section {
    background-color: #191919;
    color: #fff;
    padding: 24px 0px 0px 0px;
    position: relative;
    border-radius: 58px 58px 0px 0px;
    overflow: hidden;
    max-width: 100vw;
}

.newsletter-section .title {
    font-family: 'Inter', sans-serif;
    font-size: 35px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 1rem;
    text-align: center;
}

.newsletter-section p {
    font-family: 'Inter', sans-serif;
    font-size: 18px;
    font-weight: 300;
    color: #ffffff;
    margin-bottom: 2rem;
    text-align: center;
}

.newsletter-section form {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.newsletter-section input[type="text"],
.newsletter-section input[type="email"] {
    padding: 0.5rem;
    width: 100%;
    max-width: 300px;
    border-radius: 0.5rem;
    border: none;
    box-sizing: border-box;
}

.newsletter-section button {
    background-color: #4a5cc4;
    color: white;
    padding: 0.5rem 2rem;
    border-radius: 0.5rem;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s ease;
    width: 100%;
    max-width: 200px;
}

.newsletter-section button:hover {
    background-color: #3a4ab8;
}

.newsletter-section::before {
	content: url("/wp-content/uploads/2024/10/Group-6613-1.png");
    position: absolute;
    top: 0;
    right: 0;
    object-fit: cover;
    display: block;
}
@media (max-width: 768px) {
    .newsletter-section {
        padding: 2rem 1rem;
    }

    .newsletter-section .title {
        font-size: 28px;
    }

    .newsletter-section p {
        font-size: 16px;
    }

    .newsletter-section input[type="text"],
    .newsletter-section input[type="email"] {
        width: 100%;
    }

    .newsletter-section button {
        width: 100%;
    }

    .newsletter-section::before {
        width: 100px;
    }
}


/* Estilização Pop-up */
.popup-overlay {
    display: flex;
    justify-content: center;
    align-items: center;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1000;
}

.popup-content {
    background-color: #000000;
    background-image: url("/wp-content/uploads/2024/10/Group-6614.png");
    background-size: auto;
    background-position: left;
    background-repeat: no-repeat;
    color: white;
    border-radius: 10px;
    width: 600px;
    max-width: 90%;
    height: 400px;
    padding: 20px;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
}

.popup-content .title-popup {
    font-family: Helvetica, sans-serif;
    font-weight: 700;
    font-size: 61px;
    margin-bottom: 20px;
    color: white;
}

.popup-content p {
    font-family: Helvetica, sans-serif;
    font-weight: 400;
    font-size: 28px;
    margin-bottom: 20px;
    color: white;
}

.popup-arrow {
    display: flex;
    justify-content: center;
}

.popup-arrow img {
    width: 40px;
    content: url("/wp-content/uploads/2024/10/arrow-sndl.png");
}

.popup-close {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 24px;
    cursor: pointer;
    color: white;
    z-index: 1010;
}

.popup-close:hover {
    color: #ddd;
}

@media (max-width: 768px) {
    .popup-content {
        width: 100%;
        height: auto;
        padding: 15px;
    }

    .popup-content .title-popup {
        font-size: 40px;
    }

    .popup-content p {
        font-size: 18px;
    }
}
