/* envelopeField.css */

.envelope-field {
    font-family: 'Urbanist', sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 370px;
    width: 100%;
    max-width: 1400px;
    margin: 70px auto 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 0 20px;
    box-sizing: border-box;
    border-radius: 10px;
    overflow: hidden;
}

.envelope-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #FFFFFF;
    max-width: 800px;
    width: 100%;
}

.envelope-title {
    font-size: 2.3em;
    margin: 0;
}

.envelope-subtitle {
    padding-left: 3%;
    padding-right: 3%;
    font-size: 1.6em;
    margin-top: 10px;
}

.envelope-content a {
    font-family: 'Urbanist', sans-serif;
    display: inline-block;
    margin-top: 20px;
    padding: 10px 20px;
    background-color: #FFF; /* Default background color */
    color: #389EBC; /* Default button text color */
    text-decoration: none;
    border-radius: 5px;
    font-size: 1em;
    transition: background-color 0.3s ease;
}

.envelope-content a:hover {
    background-color: rgb(182, 182, 182);
}

.envelope-button {
    width: 150px;
}

/* Responsive Design */

@media (max-width: 768px) {
    .envelope-field {
        height: auto;
        padding-top: 70px;
    }

    .envelope-title {
        font-size: 1.8em;
    }

    .envelope-subtitle {
        font-size: 1.3em;
        padding-left: 5%;
        padding-right: 5%;
    }

    .envelope-content a {
        font-size: 0.9em;
        padding: 8px 16px;
    }

    .envelope-button {
        margin-bottom: 55px;
        padding-bottom: 55px;
        width: 120px;
    }
}

@media (max-width: 480px) {
    .envelope-field {
        padding-top: 60px;
    }

    .envelope-title {
        font-size: 1.5em;
    }

    .envelope-subtitle {
        font-size: 1.1em;
        padding-left: 10%;
        padding-right: 10%;
    }

    .envelope-content a {
        font-size: 0.8em;
        padding: 6px 12px;
    }

    .envelope-button {
        margin-top: -60px;
        padding-bottom: 40px;
        width: 100px;
    }
}
