* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
    background-color: #fff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.logo {
    height: 50px;
}

nav a {
    margin-right: 20px;
    text-decoration: none;
    color: #333;
    font-weight: bold;
}

.login-btn {
    padding: 10px 20px;
    background-color: #6c757d;
    border: none;
    color: white;
    cursor: pointer;
    border-radius: 5px;
}

.hero {
    background-color: #FFD700;
    padding: 50px 20px;
    text-align: center;
}

.hero-text h1 {
    font-size: 2em;
    color: #fff;
    margin-bottom: 10px;
}

.hero-text h2 {
    font-size: 1.5em;
    color: #fff;
}

.search-section {
    padding: 20px;
    background-color: #f9f9f9;
    text-align: center;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.search-container {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
}

.location-input, .job-input {
    padding: 10px;
    width: 200px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

.search-btn {
    padding: 10px 20px;
    background-color: #6c757d;
    border: none;
    color: white;
    cursor: pointer;
    border-radius: 5px;
}

.jobs-section {
    padding: 20px;
    background-color: #fff;
}

.jobs-section h2 {
    margin-bottom: 10px;
    color: #333;
}

.jobs-section p {
    margin-bottom: 20px;
    color: #666;
}

.job-list {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.job-card {
    background-color: #f9f9f9;
    padding: 20px;
    width: calc(50% - 20px);
    border: 1px solid #ccc;
    border-radius: 5px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.job-card h3 {
    margin-bottom: 10px;
    color: #333;
}

.job-card .tags span {
    background-color: #e1e1e1;
    padding: 5px;
    margin-right: 5px;
    border-radius: 5px;
}

.job-card .posted, .job-card .description {
    margin: 10px 0;
    color: #666;
}

.view-btn {
    padding: 10px 20px;
    background-color: #6c757d;
    border: none;
    color: white;
    cursor: pointer;
    border-radius: 5px;
}

@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        align-items: flex-start;
        
        
    }

    .header-content nav {
        margin-top: 10px;
        width: 100%;
        display: flex;
        justify-content: space-between;
        
    }

    .header-content nav a {
        margin-right: 0;
        margin-left: 10px;
    }
    .hero {
        background-color: #FFD700;
        padding: 50px 20px;
        text-align: center;
        
    }
    .hero-text {
        margin-left:-50px;
        width: 250px;
        height: 300px;
        
    }

    .hero-text h1 {
        font-size: 1.5em;
    }

    .hero-text h2 {
        font-size: 1.2em;
    }

    .search-container {
        flex-direction: column;
        gap: 10px;
    }

    .location-input, .job-input {
        width: 100%;
    }

    .job-card {
        width: 100%;
    }
    .login-btn{
        margin-left: 280px;
        margin-top: -20px;
    }
    
}
