.logo {
    font-weight: 700;
}

.post-a-job {
    background-color: var(--accent);
    color: var(--white);
}

.post-a-job:hover {
    background-color: var(--primary);
    color: var(--white);
}

.anywhere {
    color: var(--accent);
}

.remote-job {
    text-decoration: underline;
}

.hero {
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -10;
    overflow: hidden;
    opacity: 0.5;
    mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 1), rgba(0, 0, 0, 0));
}

.header {
    width: 100%;
    max-width: 650px;
    text-wrap: wrap;
}

.search {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: end;
    gap: 0.5rem;
}

.total-jobs {
    color: #EF4444;
}

.jobs {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.job {
    background-color: #202020;
    padding: 1rem;
    border-radius: 10px;

    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
}

.results {
    width: 100%;
    display: flex;
    justify-content: end;
    align-items: center;
    opacity: 80%;
}

.preview {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    gap: 1rem;
    width: 100%;
    align-items: center;
}

.details {
    width: 60%;
}

.actions {
    display: flex;
    flex-direction: row;
    justify-content: end;
    align-items: center;
    gap: 0.5rem;
    height: 100%;
    flex-wrap: wrap;
    width: fit-content;

    && div {
        display: flex;
        gap: 0.5rem;
    }
}

.apply {
    color: var(--white);
    background-color: var(--accent);

}

.apply:hover {
    background-color: var(--primary);
}

.postDate {
    opacity: 80%;
}

.perks {
    flex-direction: row;
    margin: 1rem 0;
}

.perk {
    background-color: #404040;
    color: #ffff;
    padding: 0.5rem 1rem;
    border-radius: 20px;
}

.description {
    color: #d1d5db;
    margin: 1rem 0;
}


.profile-container {
    margin: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.profile-container input {
    display: none;
}

.pfp {
    border: 2px solid #ffffff;
    border-radius: 50%;
    width: 100px;
    height: 100px;
    margin-bottom: 15px;
    cursor: pointer;
}

.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
}

.modal-content {
    background: #202020;
    margin: 15% auto;
    padding: 20px;
    width: 80%;
    max-width: 400px;
    border-radius: 8px;
}

.filters {
    display: flex;
    flex-direction: row;
    gap: 1rem;
    align-items: center;
}

.salary-filter {
    width: fit-content;
}

.clear-filters {
    display: none;
    background-color: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

.clear-filters:hover {
    background-color: transparent;
    color: var(--fail);
    border: 2px solid var(--fail);
}

label[for="filters"] {
    display: none;
}



.auth {
    width: 100%;
    max-width: 650px;
    text-align: center;
    text-wrap: wrap;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.auth-form {
    width: fit-content;
}

.auth-form div {
    margin-top: 1rem;
}

.auth-actions {
    display: flex;
    gap: 0.5rem;
    justify-content: center;
    align-items: center;
}

.btn-login {
    background-color: var(--accent);
    color: var(--white);
}

.btn-login:hover {
    background-color: var(--primary);
}

/* Error pages */
.not-found, .server-error {
    display: flex;
    flex-direction: column;

    && img {
        width: 250px;
        height: 250px;
        object-fit: cover;
        border-radius: 50%;
    }
}

/* Footer */
footer {
        padding-top: 1rem;
        margin-top: 2rem;
        border-top: 1px solid var(--placeholder);
    }

    .footer-content {
        display: flex;
        gap: 1rem;
        justify-content: space-between;
        flex-wrap: wrap;
    }

    .footer-logo {
        display: flex;
        align-items: center;
        gap: 0.5rem;
    }

    .copyright {
        color: var(--placeholder);
    }

    .leon {
        opacity: 0.1;
        transition: opacity 300ms ease-in-out;
    }

    .leon:hover {
        opacity: 1;
    }

    .footer-info {
        display: flex;
        flex-direction: column;
        gap: 0.5rem;
        width: fit-content;
        max-width: 350px;
        margin-bottom: 2rem;
    }

    .footer-links {
        display: flex;
        flex-wrap: wrap;
        gap: 1rem;
    }

    .footer-links div {
        width: 100%;
        max-width: 350px;
    }

    .socials {
        display: flex;
        flex-direction: column;
    }

    .socials .social-icons {
        display: flex;
        gap: 0.5rem;
        margin-top: 0.5rem;
    }

    .socials .email {
        text-decoration: underline;
    }