/* the under construction for the search input */
.search_under_construction {
    height: 15vh;
    width: 100%;
    background: #f7f7f7;
    display: flex;
    justify-content: center;
    align-items: center;
}

.search_under_construction p {
    font-size: 14px;
    width: 70%;
}

.page_heading {
    padding: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.page_heading h1 {
    color: var(--primary-text-color);
    font-size: 15px;
    font-weight: 500;
    text-transform: capitalize;
}

.page_heading a {
    font-size: 14px;
    padding: 5px 8px;
    text-align: center;
    text-transform: capitalize;
    color: #fff;
    background: var(--active1);
    transition: .2s ease;
    border-radius: 5px;
}

section form {
    display: flex;
    margin: 5px 10px;
    border-radius: 6px;
    border: 1px solid #ccc;
}

section form input {
    padding: 8px;
    border-radius: 6px;
    width: 80%;
    border: none;
    font-size: 14px;
    outline: none;
    background-color: transparent;
}

section form button {
    padding: 8px;
    border-radius: 0 6px 6px 0;
    width: 20%;
    border: none;
    font-size: 14px;
    text-transform: capitalize;
    background: transparent;
    cursor: pointer;
    font-weight: 500;
    color: var(--active1);
    transition: .2s ease;
    position: relative;
}

section form button::before {
    content: "";
    background: #ccc;
    width: 2px;
    height: 16px;
    position: absolute;
    left: 0;
    top: 10px;
}

section form button:hover {
    background: #f7f7f7;
}

.business_ideas_container {
    display: flex;
    flex-direction: column;
    gap: 20px;
    min-width: 100%;
    transition: .2s ease;    
    padding: 10px;
}

.job_seekers_number {
    border: 2px solid #d8d8d8;
    display: grid;
    place-content: center;
    padding: 3px;
    height: 15px;
    width: 15px;
    min-height: 15px;
    min-width: 15px;
    border-radius: 50%;
    font-size: 10px;
    position: absolute;
    top: 2px;
    left: 2px;
    background-color: transparent;
}

.business_ideas_container> :nth-child(1) .job_seekers_number {
    border-color: #9fffff;
}

.business_ideas_container> :nth-child(2) .job_seekers_number {
    border-color: #a984ff;
}

.business_ideas_container> :nth-child(3) .job_seekers_number {
    border-color: #ff819f;
}

.business_idea {
    display: flex;
    flex-direction: column;
    gap: 10px;
    height: fit-content;
    width: 100%;
    border-radius: 10px;
    padding: 10px 22px;
    position: relative;
    background: linear-gradient(to top, #f5f5f5, #efefef);
    border: 1px solid #eee;
    transition: .2s ease;
}

.business_idea:hover {
    background: linear-gradient(to top left, #f6fffb, #e0fff2);
}

.business_idea h1 {
    font-size: 17px;
    text-transform: capitalize;
    font-weight: 600;
    color: var(--primary-text-color);
    min-width: 100%;
    overflow: hidden;
    text-wrap: nowrap;
    text-overflow: ellipsis;
}

.business_idea p {
    font-size: 13px;
    color: var(--secondary-text-color);
    text-transform: capitalize;
}

.business_idea p span {
    font-weight: 500;
    color: var(--primary-text-color);
}

.business_idea_date {
    width: fit-content;
    font-size: 10px;
    position: absolute;
    right: 10px;
    bottom: 10px;
    padding-left: 6px;
    background: #f5f5f5;
    color: var(--secondary-text-color);
    text-transform: capitalize;
}

.add_business_idea {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: inherit;
}

.add_business_idea p {
    font-weight: 400;
    color: var(--secondary-text-color);
    text-align: center;
    padding: 14px;
}

.add_business_idea a {
    background-color: var(--active1);
    padding: 10px;
    border-radius: 8px;
    color: #fff;
    font-weight: 400;
    font-size: 13px;
    width: fit-content;
    text-align: center;
    transition: .2s ease;
}

.add_business_idea a:hover {
    background: var(--hover);
}

.no-business-idea {
    background: #f4f4f4;
    height: 50vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 20px;
}

.no-business-idea p {
    width: 90%;
    font-size: 15px;
    color: var(--secondary-text-color);
}

.no-business-idea a {
    background: var(--active1);
    color: #fff;
    padding: 5px 15px;
    text-transform: capitalize;
    border-radius: 6px;
    transition: .2s ease;
}

.no-business-idea a:hover {
    background: var(--hover);
}

@media (min-width: 680px) and (max-width: 1199px) { 
    .page_heading h1 {
        font-size: 17px;
    }
    
    .page_heading a {
        font-size: 16px;
    }
    
    section form {
        width: 70%;
    }
    
    section form input {
        font-size: 16px;
    }
    
    section form button {
        font-size: 16px;
    }
    
    .job_seekers_number {
        height: 20px;
        width: 20px;
        min-height: 20px;
        min-width: 20px;
        font-size: 13px;
    }

    .business_idea {
        border-radius: 15px;
    }
    
    .business_idea h1 {
        font-size: 17px;
    }
    
    .add_business_idea {
        width: 100%;
    }
    
    .add_business_idea p {
        font-size: 15px;
    }
    
    .add_business_idea a {
        font-size: 15px;
    }
}

@media (min-width: 800px) { 
    .business_ideas_container {
        display: grid;
        grid-template-columns: 2fr 2fr;
    }

    section form {
        width: 50%;
    }
}

@media (min-width: 1200px) {
    .page_heading h1 {
        font-size: 19px;
    }
    
    .page_heading a {
        font-size: 18px;
    }
    
    section form {
        width: 50%;
    }
    
    section form input {
        font-size: 18px;
    }
    
    section form button {
        font-size: 18px;
    }
    
    .job_seekers_number {
        height: 20px;
        width: 20px;
        min-height: 20px;
        min-width: 20px;
        font-size: 15px;
    }

    .business_idea {
        border-radius: 15px;
    }
    
    .business_idea h1 {
        font-size: 17px;
    }

    .add_business_idea p {
        font-size: 17px;
    }
    
    .add_business_idea a {
        font-size: 17px;
    }
}