:root {
    --color-text-light: #f5f5f5;
    --color-text-lighter: #f5fafb;
    --color-primary-bg: #08370b;
    --color-surface: #f8fcfd;
    --color-input: #d4d4d4;
    --color-input-focus: #d1d1d1;
    --color-accent: #f97f2c;
    --color-action-hover: #df6f25;
}

main {
    display: flex;
    flex-direction: row;
    background-color: var(--color-surface);
    border-radius: 20px;
    overflow: hidden;
    max-width: 1000px;
    margin: 20px auto;
    border: 2px solid var(--color-surface);
    min-height: 670px;
}

figure {
    flex: 1;
    margin: 0;
    padding: 0;
    height: 100%;
}

figure img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

form {
    flex: 1;
    padding: 30px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 10px;
}

label {
    color: #000;
    font-weight: bold;
    font-size: 14px;
}

input, select, textarea {
    background-color: #e0e0e0;
    border: 1px solid #ccc;
    border-radius: 10px;
    padding: 8px;
    color: #000 !important;
}

#botao {
    background-color: var(--color-action);
    color: #000000;
    font-weight: bold;
    border: none;
    padding: 15px;
    margin-top: 10px;
    cursor: pointer;
    border-radius: 10px;
}

@media (max-width: 768px) {
    main {
        flex-direction: column;
        max-height: none;
    }

    figure {
        height: 450px;
        flex: none;
    }
    
    form {
        padding: 20px;
    }
}