.property-box {
    max-width: 600px;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    border: 2px solid #3c3633;
    border-radius: 10px;
    box-shadow: 3px 4px 1px 1px rgba(0, 0, 0, 0.25);
}

.property-header {
    font-size: 1.5em;
    margin-bottom: 8px;
    color: #3c3633;
}

.property-content {
    display: flex;
    flex-wrap: wrap;
}

.image-container {
    width: 50%;
}

.property-image {
    width: 100%;
    height: 100%;
    border-radius: 8px;
}

.text-container {
    padding: 16px;
    flex: 1;
    color: #fff;
    width: 100px;
    height: auto;
}

.property-details {
    flex: 1;
    color: #3c3633;
}

.property-title {
    font-size: 1.2em;
    margin-bottom: 8px;
}

.property-rent-price {
    font-size: 1.1em;
    color: var(--color4);
    margin-bottom: 8px;
}

.property-description {
    margin-bottom: 12px;
    color: var(--color4);
}

.property-actions {
    display: flex;
    width: 100%;
}

.action-container {
    width: 100%;
    display: flex;
    justify-content: space-between;
}

.like-button,
.message-button {
    flex: 1;
    background-color: #3c3633;
    color: #fff;
    border: none;
    padding: 8px 12px;
    cursor: pointer;
    font-size: 0.9em;
    transition: background-color 0.3s ease;
}

.like-button:hover {
    background-color: #e0ccbe;
    color: #3c3633;
}

.message-button:hover {
    background-color: #e0ccbe;
    color: #3c3633;
}

@media only screen and (max-width: 1200px) {
    .property-content {
        flex-direction: column;
    }

    .property-image {
        height: auto;
    }

    .text-container {
        width: auto;
    }

    .image-container {
        width: 100%;
    }
}