.meio {
    padding: 20px;
    height: 130vh;
    width: 100vw;
    background: url('/pic/fundo_meio_1980.png') no-repeat center center;
    background-size: cover;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    color: white;
    box-sizing: border-box;
}

.meio-top {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 50%;
}

.purple-rectangle {
    background: url('/pic/retangulo.png') no-repeat center center;
    background-size: cover;
    width: 90%;
    margin-bottom: 20px;
    padding: 20px;
    border-radius: 15px;
    text-align: center;
    color: white;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.2);
}

.purple-rectangle p {
    margin: 0;
    font-size: 24px;
    font-weight: bold;
}

.buttons {
    margin-top: 20px;
    display: flex;
    justify-content: space-around;
}

.client-area-button {
    background-color: #ff9000;
    border: none;
    border-radius: 25px;
    padding: 15px 25px;
    color: white;
    font-weight: bold;
    cursor: pointer;
    font-size: 18px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.meio-bottom {
    display: flex;
    height: 50%;
}

.left-bottom, .right-bottom {
    flex: 1;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    flex-direction: column;
    text-align: left;
    padding: 20px;
}

.new-left-bottom, .new-right-bottom {
    justify-content: center;
    align-items: flex-start;
    padding: 10px 0;
}

.new-left-bottom p, .new-right-bottom p {
    font-size: 16px;
    margin: 5px 0;
}

.left-bottom p:first-of-type {
    margin: 0;
    padding: 10px;
    font-size: 30px;
    text-transform: uppercase;
    color: white;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    line-height: 1.2;
}

.left-bottom p:nth-of-type(2) {
    font-size: 52px;
    font-weight: bold;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    margin: 0;
    line-height: 0.8;
    margin-left: 10px;
}

.right-bottom p:first-of-type {
    margin: 100px 0 0 0;
    padding: 5px;
    font-size: 24px;
    color: white;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.right-bottom p:nth-of-type(2) {
    margin: 0;
    padding: 5px;
    font-size: 24px;
    color: white;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

input[type="text"], input[type="tel"], input[type="email"], textarea {
    width: 80%;
    padding: 10px;
    margin: 10px 0;
    border: none;
    border-radius: 25px;
    box-sizing: border-box;
    font-size: 16px;
    background: white;
}

button.enviar {
    background: linear-gradient(to left, #000056, white);
    border: none;
    border-radius: 25px;
    padding: 15px 25px;
    color: #000056;
    font-weight: bold;
    cursor: pointer;
    font-size: 18px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
    margin-top: 10px;
    width: 50%;
    align-self: flex-start;
}

.client-area-button-mdue {
    background-color: #ff9000;
    border: none;
    border-radius: 25px;
    padding: 15px 25px;
    color: white;
    font-weight: bold;
    cursor: pointer;
    font-size: 18px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

@media (max-width: 1240px) {
    .meio {
        align-items: center;
        justify-content: center;
        background: url('/pic/fundo_meio_1240.png') no-repeat center center;
    }

    .meio-top {
        align-items: center;
        justify-content: center;
    }

    .purple-rectangle {
        width: 90%;
        margin-bottom: 20px;
    }

    .buttons {
        width: 50%;
        display: flex;
        justify-content: center;
        flex-direction: column;
        align-items: center;
        margin: 0 auto;
    }

    .client-area-button-mdue {
        padding: 10px 20px;
        margin-bottom: 10px;
    }

    .client-area-button {
        padding: 10px 20px;
        margin-bottom: 10px;
    }

    .meio-bottom {
        flex-direction: column;
        align-items: center;
    }

    .left-bottom, .right-bottom {
        align-items: flex-start;
        text-align: left;
        padding-left: 0;
    }

    .left-bottom {
        margin-top: 100px;
    }

    .left-bottom p:first-of-type {
        font-size: 24px;
        margin-right: 70px;
    }

    .left-bottom p:nth-of-type(2) {
        font-size: 30px;
        margin-left: 10px;
    }

    .right-bottom {
        margin-top: 40px;
    }

    .right-bottom p:first-of-type,
    .right-bottom p:nth-of-type(2) {
        text-align: left;
        margin: 0px 0;
        font-size: 16px;
    }

    input[type="text"], input[type="tel"], input[type="email"], textarea {
        width: 80%;
        font-size: 14px;
        padding: 8px;
    }

    button.enviar {
        background: linear-gradient(to left, #000056, white);
        border: none;
        border-radius: 25px;
        padding: 10px 20px;
        color: #000056;
        font-weight: bold;
        cursor: pointer;
        font-size: 16px;
        text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
        margin-top: 10px;
        width: 50%;
        align-self: stretch;
    }
}

@media (min-width: 1240px) {
    input[type="text"], input[type="tel"], input[type="email"], textarea {
        width: 50%;
    }

    button.enviar {
        width: 25%;
    }
}

@media (max-width: 500px) {
    .meio {
        align-items: center;
        justify-content: center;
        background: url('/pic/meio_fundo_3000.png') no-repeat center center;
        background-size: cover;
        height: auto;
    }

    .purple-rectangle {
        width: 90%;
    }

    .meio-top {
        display: flex;
        justify-content: center;
        align-items: center;
        height: auto;
        margin-bottom: 230px;
    }

    .right-bottom {
        margin-top: 60px;
    }
}
