/* styles.css */

.logo{
  width: 120px;
  max-width: 120px;
  
  
}
.user-pic{
  width: 40px;
  border-radius: 50%;
  cursor: pointer;
  margin-left: 30px;
  transition: transform 0.3s ease-in-out;
}


.user-pic:hover {
    transform: scale(1.1); /* Increase size on hover */
}
.sub-menu-wrap{
  position: absolute;
  top: 100%;
  right: 2%;
  width: 320px;
  max-height: 0px;
  overflow: hidden;
  transition: max-height 0.5s;
}
.sub-menu-wrap.open-menu{
    max-height: 500px;
    border: #000000;
}
.sub-menu{
  background: #fff;
  padding: 20px;
  margin: 10%;
  
}
.user-info{
  display: flex;
  align-items: center;
}
.user-info h2{
    margin: 1%;
    font-size: medium;
}
.user-info h3{
  font-weight: 500;

}
.user-info img{
  width: 50px;
  border-radius: 50%;
  margin-right: 15px;
  
}
.sub-menu hr{
  border: 0;
  height: 1px;
  background: #ccc;
  margin: 15px 0 10px;
  
}
.sub-menu-link{
    display: flex;
    align-items: center;
    text-decoration: none;
    color:  #525252;
    margin: 12px 0;

}
.sub-menu-link p{
    width: 100%;
    color: #000000;

}
.sub-menu-link img{
    width: 40px;
    background: #efefef;
    border-radius: 50%;
    padding: 1px;
    margin-right: 15px;
}
.sub-menu-link span{
    font-size: 22px;
    transition: transfrom 0.5s;
}
.sub-menu-link:hover span{
    transform: translateX(5px);
}
.sub-menu-link:hover p{
    font-weight: 600;
}


header {
    background-color: transparent;
    color: #000000;
    padding: 10px;
    text-align: center;
}

nav ul {
    list-style: none;
    padding: 0;
}

nav ul li {
    display: inline;
    margin-right: 20px;
}

main {
    padding: 40px;
}

h1 {
    font-size: 26px;
    text-align: center;
    margin-bottom: 20px;
}

p {
    font-size: 8px;
    text-align: center;
}

h2 {
    font-size: 24px;
    text-align: center;
    margin-top: 30px;
}

form {
    text-align: center;
}

label {
    display: block;
    font-weight: bold;
    margin-top: 10px;
}


/* styles.css (continued) */


/* Additional styles for links (optional) */
a {
    color: #333;
    text-decoration: none;
}

a:hover {
    color: #555;
    text-decoration: underline;
}


/* styles.css */

/* Style for the job listings container */
#jobListContainer {
    background-color: #f5f5f5;
    padding: 40px;
    margin: 20px auto; /* Center the container horizontally */
    max-width: 1300px; /* Limit the width for readability */
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    /* Add fixed height and scrolling */
    height: 1000px; /* Set the desired height for the container */
    overflow-y: scroll; /* Enable vertical scrolling */
    display: grid;
    grid-template-columns: repeat(5, 1fr); /* Display 5 columns per row */
    gap: 20px; /* Add spacing between job listings */
}

/* Rest of your existing CSS styles */

/* Style for individual job listings */
.job-listing {
    background-color: #ffffff;
    border: 1px solid #ddd;
    padding: 100px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    /* Increase the size of the job listing boxes */
    width: 200%; /* Full width within the grid cell */
    max-width: 300px; /* Adjust the max width as needed */
}

.job-listing h3 {
    font-size: 24px;
    margin-bottom: 10px;
    text-align: center; /* Center the job title */
}

.job-listing p {
    font-size: 16px;
    line-height: 1.4;
    margin-bottom: 10px;
}

.job-listing .budget {
    font-weight: bold;
    color: #333;
}


/* Add CSS styles for the filter input field and button */


        /* Mobile-specific Styles */
        @media screen and (max-width: 500px) {
            h1{
                font-size: 36px;
                line-height: 50px;

            }
            #navbar {
                background-color: transparent;
                padding: 1px;
                width: 40%;
                display: flex;
                border: 1px solid #ccc;
                border-radius: 5px;
                position: relative;
            }
            nav ul {
                list-style: none;
                padding: 0;
            }
            
            nav ul li {
                width: auto;
                display: inline;
                margin-right: 20px;
            }
            .nav-link {
            font-size: 12px;
            }

            .user-pic {
                width: 24px;
                height: 24px;
            }

            .job-listing {
                font-size: 4px;
                padding: 10px;
            }
            .job-listings{
                width: auto;
                font-size: 4px;
                padding: 10px;
            }

            #jobFilter {
                width: 100%;
                padding: 8px;
            }

            .filter-button {
                width: 100%;
                padding: 10px;
                font-size: 14px;
            }
        #jobListContainer {
            background-color: #f5f5f5;
            padding: 5px;
            margin: 5px auto; /* Center the container horizontally */
            max-width: 300px; /* Limit the width for readability */
            box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
            /* Add fixed height and scrolling */
            height: 500px; /* Set the desired height for the container */
            overflow-y: scroll; /* Enable vertical scrolling */
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 1px; /* Add spacing between job listings */ 
        }
    }
        /* Centering the DimVoices button */
        .DimVoices-button {
            display: flex;
            justify-content: center;
            align-items: center;
        }
        /* Updated CSS for the categories dropdown menu */
.categories-dropdown {
    display: none;
    position: absolute;
    background-color: #fff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    z-index: 1;
}

.nav-item:hover .categories-dropdown {
    display: block;
}

/* Style the categories dropdown links */
.categories-dropdown a {
    color: #000;
    padding: 10px 20px;
    text-decoration: none;
    display: block;
    font-size: 16px;
}

.categories-dropdown a:hover {
    background-color: #f0f0f0;
}

/* Style for the "Categories" section */
.categories-section {
    background-color: #f9f9f9;
    padding: 40px 0;
    text-align: center;
    margin: 20px 0;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.categories-section h2 {
    font-size: 24px;
    margin-bottom: 20px;
}

.categories-section hr {
    margin: 10px 0;
}

.category-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.category-box {
    flex: 1;
    max-width: 300px;
    background-color: #fff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    text-align: center;
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out, background-color 0.3s ease-in-out;
}

.category-box:hover {
    transform: scale(1.05); /* Enlarge the item slightly on hover */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* Apply a larger box shadow on hover */
    background-color: #f0f0f0; /* Change background color on hover */
}

.category-box img {
    max-width: 100px; /* Adjust the size of the category images */
    height: auto;
}

.category-box a {
    font-size: 18px;
}
.arrow-down {
    margin-left: 5px; /* Adjust this value to control the spacing between "Categories" and the arrow */
}
