* {
    box-sizing: border-box;
}

@font-face {
    font-family: notoSansMedium;
    src: url('../fonts/NotoSans-Medium.ttf');
}

@font-face {
    font-family: robotoRegular;
    src: url('../fonts/Roboto-Regular.ttf');
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 1.5rem;
    background-color: rgba(22, 22, 176, 0.9);
    border-bottom: 1px solid #000;
    color: #fff;
    position: sticky;
    top: 0;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

header a {
    color: #ffffff;
    text-decoration: none;
    font-size: 1rem;
}

header img {
    width: 200px;
}

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

header li {
    list-style-type: none;
    display: inline;
    margin-right: 1rem;
}

body {
    font-family: robotoRegular;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    background-color: #f0f0f0;
    min-height: 100vh;
}

ul {
    padding: 0px;
}

li {
    list-style-type: none;
}

h1, h2, h3, h4, h5, h6 {
    font-family: notoSansMedium;
}

h1 {
    font-size: 2rem;
}

h2 {
    font-size: 1.5rem;
}

h3 {
    font-size: 1.25rem;
}

h4 {
    font-size: 1rem;
}

h5 {
    font-size: 0.875rem;
}

h6 {
    font-size: 0.75rem;
}

img {
    max-width: 100%;
    height: auto;
}

p {
    font-size: 1rem;
}

a {
    text-decoration: underline;
    color: #000000;
}

a:hover {
    color: #1616b0;
}

footer {
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    padding: 1rem 2rem;
    background-color: #1616b0;
    border-top: 1px solid #000;
    color: #fff;
    min-height: 75px;
}

footer a {
    color: #fff;
    text-decoration: underline;
}

footer a:hover {
    color: #dddddd;
}

footer li {
    list-style-type: none;
}

footer .getApp img {
    display: inline;
    width: auto;
    height: 40px;
}

.getApp img {
    display: inline;
    width: auto;
    height: 40px;
}

.card {
    width: 30%;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    background-color: #fff;
    text-align: center;
    flex: 1 1 calc(33.333% - 16px); /* Tre kort per rad, med hänsyn till gap */
    max-width: calc(33.333% - 16px); /* Samma som flex-basis */
    padding-bottom: 16px;
}

.card img {
    width: 100%; /* Använd hela kortets bredd */
    height: auto; /* Bevara proportionerna */
    display: block;
}

.card h3 {
    margin: 16px 0 8px;
    font-size: 1.2rem;
    color: #333;
}

.card p {
    margin: 0 16px 16px;
    font-size: 1rem;
    color: #555;
    line-height: 1.5;
}

.cardContainer {
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    gap: 16px; /* Avstånd mellan korten */
}

.container {
    width: 100%;
    max-width: 1200px;
    height: auto;
    min-height: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    padding-top: 1rem;
    flex: 1;
    background-color: #ffffff;
}

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

.flex-between {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.flex-bottom {
    display: flex;
    align-items: flex-end;
}

.flex-around {
    display: flex;
    justify-content: space-around;
    align-items: flex-start;
}

.mb0 {
    margin-bottom: 0;
}

.hero {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: #1616b0;
    /*background-image: linear-gradient(rgba(22, 22, 176, 0.5), rgba(22, 22, 176, 1));*/
    color: #fff;
    padding: 2rem 0;
    height: 50vh;
    min-height: 400px;
}

.hero form {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
    gap: 1rem;
}
/*
.hero input[type="search"] {
    padding: 1rem;
    border: 1px solid #000;
    border-radius: 10px;
    width: 60%;
    min-width: 270px;
    display: flex;
    flex: 1;
}



.hero input[type="submit"] {
    padding: 1rem;
    border: 1px solid #000;
    border-radius: 10px;
    background-color: #fff;
    color: #000;
    cursor: pointer;
    display: flex;
}*/

.hero .flex-row {
    width: 100%;
    justify-content: center;
    gap: 1rem;
    margin-top: 1rem;
}

.hero select {
    display: flex;
    padding: 1rem;
    border: 1px solid #000;
    border-radius: 10px;
    min-width: 270px;
    flex: 1;
}

.jobAdList {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.jobAdCard {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 1rem;
    background-color: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.seventy {
    width: 70% !important;
}


.shareButtons {
    display: flex;
    gap: 0.5rem;
    justify-content: center;
    align-content: center;
}

.shareButtons a {
    display: flex;
    gap: 4px;
    margin-right: 1rem;
    justify-content: center;
    text-decoration: none;
}

.shareButtonContainer {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 16px;
}

.space-between {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.twoColumns {
    display: grid;
    grid-template-columns: 3fr 9fr;
}

.logo {
    display: flex;
    flex-direction: row;
    align-items: center;
}

.mobileOnly {
    display: none;
}

.action {
    background-color: #71c174;
}

.paginator {
    display: flex;
    flex-wrap: wrap;
    justify-content: left;
    gap: 1rem;
    margin-top: 1rem;
}

.paginator li {
    list-style-type: none;
}

.paginator .active a {
    background-color: #ccc;
    font-weight: bold;
}

.jobAdLogo {
    width: 100px;
    height: 100px;
    object-fit: contain;
}

section select {
    padding: 1rem;
    border: 1px solid #1616b0; /* Använd en färg från din palett för bättre integration */
    border-radius: 8px; /* Lite mindre rundade hörn för en modern känsla */
    width: 100%;
    background-color: #f8f8f8; /* En ljus bakgrund för kontrast */
    color: #000; /* Svart text för tydlighet */
    font-size: 1rem; /* Behåll en läsbar textstorlek */
    font-family: Arial, sans-serif; /* En modern sans-serif för bättre utseende */
    outline: none; /* Ta bort standardfokusringen */
    transition: border-color 0.3s ease, box-shadow 0.3s ease; /* Lägg till en smidig animation vid interaktion */
}

section select:focus {
    border-color: #ff5722; /* Action-färg för interaktion */
    box-shadow: 0 0 5px rgba(255, 87, 34, 0.5); /* Lätt glödande effekt vid fokus */
}

section select:hover {
    border-color: #1616b0; /* Mörkare färg vid hover för en subtil effekt */
    background-color: #ebefff; /* Lätt blå bakgrund för bättre hover-feedback */
}

input[type="submit"] {
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 8px;
    background-color: #8ab0f5; /* En färg från din palett för en enhetlig design */
    color: #ffffff;
    font-size: 1rem;
    font-family: Arial, sans-serif;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

input[type="submit"]:hover {
    background-color: #a3c1f0; /* Ljusare färg vid hover för en subtil effekt */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

input[type="submit"]:active {
    background-color: #8ab0f5; /* Återgå till standardfärg vid klick */
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.2);
}

input[type="submit"]:focus {
    outline: none;
    box-shadow: 0 0 5px rgba(212, 163, 115, 0.5); /* Fokusglöd med nedtonad färg */
}

input[type="search"] {
    padding: 1rem;
    border: 1px solid #1616b0; /* Använd en färg från din palett för bättre integration */
    border-radius: 8px; /* Lite mindre rundade hörn för en modern känsla */
    width: 100%;
    background-color: #f8f8f8; /* En ljus bakgrund för kontrast */
    color: #000; /* Svart text för tydlighet */
    font-size: 1rem; /* Behåll en läsbar textstorlek */
    font-family: Arial, sans-serif; /* En modern sans-serif för bättre utseende */
    outline: none; /* Ta bort standardfokusringen */
    transition: border-color 0.3s ease, box-shadow 0.3s ease; /* Lägg till en smidig animation vid interaktion */
}

input[type="search"]:focus {
    border-color: #ff5722; /* Action-färg för interaktion */
    box-shadow: 0 0 5px rgba(255, 87, 34, 0.5); /* Lätt glödande effekt vid fokus */
}

input[type="search"]:hover {
    border-color: #1616b0; /* Mörkare färg vid hover för en subtil effekt */
    background-color: #ebefff; /* Lätt blå bakgrund för bättre hover-feedback */
}

input[type="text"] {
    padding: 1rem;
    border: 1px solid #1616b0; /* Använd en färg från din palett för bättre integration */
    border-radius: 8px; /* Lite mindre rundade hörn för en modern känsla */
    width: 100%;
    background-color: #f8f8f8; /* En ljus bakgrund för kontrast */
    color: #000; /* Svart text för tydlighet */
    font-size: 1rem; /* Behåll en läsbar textstorlek */
    font-family: Arial, sans-serif; /* En modern sans-serif för bättre utseende */
    outline: none; /* Ta bort standardfokusringen */
    transition: border-color 0.3s ease, box-shadow 0.3s ease; /* Lägg till en smidig animation vid interaktion */
}

input[type="text"]:hover {
    border-color: #1616b0; /* Mörkare färg vid hover för en subtil effekt */
    background-color: #ebefff; /* Lätt blå bakgrund för bättre hover-feedback */
}

.filter {
    display: flex;
    flex-direction: column;
    padding-right: 1rem;
}

.mt1 {
    margin-top: 1rem;
}

.formContainer {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    border: 1px solid #ddd;
    max-width: 400px;
    padding: 16px;
}

.formElement {
    padding: 0.75rem;
    width: 100%;
    max-width: 400px;
}

.article {
    width: 75%;
    max-width: 860px;
}

.mainAside {
    width: 25%;
    max-width: 300px;
    background-color: orange;
}

.center {
    text-align: center;
}


@media screen and (max-width: 500px) {
    header {
        gap: 1rem;
    }

    header nav {
        gap: 1.25rem;
    }

    .flex-row {
        flex-direction: column;
    }

    .container {
        padding: 0 0.5rem;
    }

    .hero {
        padding-left: 16px;
        padding-right: 16px;
    }

    .hero input[type="search"] {
        width: 100%;
    }

    .hero input[type="submit"] {
        width: 100%;
    }

    .hero select {
        width: 100%;
    }

    .hiddenMobile {
        display: none;
    }

    .seventy {
        width: 100% !important;
    }

    .shareButtons {
        flex-direction: column;
    }

    footer {
        flex-direction: column;
        gap: 1rem;
    }

    .mobileOnly {
        display: block;
    }

    .twoColumns {
        grid-template-columns: 1fr;
    }

    .mainAside {
        max-width: 100%;
    }

    .articleContent {
        max-width: 100%;
    }

    .cardContainer {
        flex-direction: column;
    }

    .card {
        width: 100%;
        max-width: 100%;
        flex: 1 1 100%;
    }
    
    
}