/* Main Container */

.image-div img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
}

.content-div {
    padding: 20px;
    flex: 1 1 50%;
}

.content-div h1 {
    font-size: 86px;
    color: #44ccff;
}

.open-form-btn {
    background-color: #44ccff;
    color: white;
    padding: 10px 30px;
    border: none;
    cursor: pointer;
    font-weight: bold;
    border-radius: 20px;
    transition: background-color 0.3s ease;
}

.open-form-btn:hover {
    background-color: #33bbdd;
}

/* Modal Styles */
.modal-cat {
    display: none; /* Hidden by default */
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4); /* Semi-transparent background */
    overflow: auto; /* Enable scrolling for long forms */
}

.modal-cat-content {
    background-color: #fff;
    margin: 10% auto;
    padding: 20px;
    border-radius: 10px;
    width: 90%;
    max-width: 500px; /* Center the modal */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    position: relative;
}
.modal-cat-content h2 {
    margin-bottom: 3%;
    font-size: 15px;
    font-weight: bold;
}

.close-btn {
    color: #aaa;
    font-size: 28px;
    font-weight: bold;
    position: absolute;
    right: 15px;
    top: 10px;
    cursor: pointer;
}

.close-btn:hover {
    color: black;
}

/* Form Styles */
form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

form input,
form textarea,
form button {
    padding: 10px;
    border-radius: 5px;
    border: 1px solid #ccc;
    font-size: 10px;
}

form textarea {
    resize: vertical;
}

form button {
    background-color: #44ccff;
    color: white;
    border: none;
    cursor: pointer;
    border-radius: 20px;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

form button:hover {
    background-color: #33bbdd;
}

/* Responsive Design */

/* Tablet Screens (768px and smaller) */
@media (max-width: 768px) {
    .modal-cat-content {
        width: 90%;
    }

    .content-div h1 {
        font-size: 28px;
    }
}

/* Mobile Screens (576px and smaller) */
@media (max-width: 576px) {
    .modal-cat-content {
        width: 95%;
    }

    .open-form-btn {
        width: 100%;
    }
}
