body{
    background-color: #1b1b2e;
    padding: 0;
    margin: 0;
    width: 100%;
    height: 100%;
    overflow-y: hidden;
    display: flex;
    justify-content: center;
}
nav{
    width:98%;
    height: 18vh;
    position: absolute;
    top: 1vh;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    align-items: end;
    background-color: #8F87F1;
}
.side-bar{
    background-color: #213b5f;
    height:75vh ;
    width: 25%;
    position: absolute;
    top: 20vh;
    place-self: end;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    left: 0.9vw;
}
.filter-container{
    width: 80%;
    height: 70%;
    background-color: #8F87F1;
    box-shadow:2px 4px 4px black;
    display: grid;
    justify-content: center;
    align-items: center;
    justify-items: center;

}
main{
    width:72%;
    overflow-y: auto;
    color: white;
    height: 80%;
    position: absolute;
    top:20vh;
    right: 1vw;
    text-align: center;
    background-color: #1b1b2e;
    display: flex;
    flex-direction: row;
}

#display {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.job-card {
    background-color: #213b5f;
    padding: 1.2rem;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
    transition: transform 0.2s ease;
    font-family: sans-serif;
}

.job-card:hover {
    transform: translateY(-5px);
}

.job-card img {
    max-width: 100px;
    height: auto;
    margin-bottom: 1rem;
}
a{
    text-decoration: none;
    color: white;
    background-color: #1b1b2e;
    padding: 5px;
}

input{
    height: 4vh;
    width: 30%;
}
.search{
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2px;
    flex-direction: row;
    width: 50%;
    height: 100vh;
}
.search button{
    border: none;
    color: white;
    background-color: #213b5f;
    width: auto;
    height: 4vh;
    width: 5vw;
    font-size: 0.9em;
    border-radius: 5px;
    transition: 0.2s ease;
}
.search button:hover{
    transform: scale(1.1);
}
.logo{
    position: absolute;
    left: 2vh;
    font-size: 3em;
    border: 2px solid;
    padding: 10px;
    font-family: sans-serif;
}
select{
    height: 4vh;
    width: 80%;
    border: none;
    background-color: #1b1b2e;
    color: white;
}
footer{
    height: 4vh;
    text-align: center;
    width:100%;
    background-color: #8F87F1;
    color: black;
    position: fixed;
    font-size: 1em;
    bottom: 0;
    display: flex;
    justify-content: center;
    align-items: center;
}
footer p{
    font-family: sans-serif;
    font-size: 0.8em;
}
@media screen and (max-width:900px){
    .side-bar{
        width: 35%;
        height: 70vh;
        top: 15vh;
    }
    main{
        width: 60%;
        background-color: #1b1b2e;
        top: 15vh;
    }
    #display {
        display: grid;
        grid-template-columns: repeat(1, 1fr);
        gap: 0.5rem;
        justify-content: start;
    }
    nav{
        justify-content: space-between;
        align-items: center;
        height: 13vh;
    }
    .sort select{
        width: 16vw;
    }
    .search{
        width: 95%;
        justify-content: space-around;
    }
    input{
        width: 30%;
    }
    .search button{
        width: 16vw;
        text-align: center;
    }
    .logo{
        position: relative;
        top: 5px;
        font-size: 1.9em;
        padding: 2px;
    }
    select{
        width: 100%;
    }
    footer{
        width: 100%;
        height:4vh ;
    }
    .filter-container{
        width:90%;
    }
}