* {
    box-sizing: border-box;
}

body {
    min-height: 100vh;
    margin: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #e9e9e9;
    font-family: Arial, sans-serif;
}

.sida {
    width: min(90vw, 80%);
    min-height: 540px;
    display: flex;
    flex-direction: column;
}

header {
    min-height: 175px;
    display: flex;
    align-items: center;
    gap: 25px;
    padding: 8px;
    border-radius: 7px;

    background-color: #9eeaf2cc;
    background-image: url("../flex_teknik/images/student_1200.png");
    background-repeat: no-repeat;
    background-position: right center;
    background-size: auto 100%;

    box-shadow: 0 2px 4px #777;
}

header h1 {
    width: 33%;
    align-self: flex-start;
    margin: 0;
    font-size: 20px;
}

.innehåll {
    font-size: 20px;
}

.innehåll p {
    margin: 10px 0;
}

main {
    flex-grow: 1;
    display: flex;
    gap: 28px;
    padding: 10px 0;
    flex-wrap: wrap;
}

article {
    flex: 1 1 160px;
    display: flex;
    flex-direction: column;
    min-width: 0;
    padding: 10px;
    background: white;
    box-shadow: 0 2px 4px #999;
}

article img {
    width: 100%;
    height: 63px;
    object-fit: cover;
}

article h2 {
    font-size: 14px;
    margin: 12px 0;
}

article p {
    font-size: 11px;
}

article a {
    display: inline-block;
    margin-top: auto;
    padding: 4px 8px;
    color: white;
    background: #626ac0;
    font-size: 11px;
    text-decoration: none;
}

footer {
    flex-grow: 0;
    display: flex;
    justify-content: space-between;
    padding: 10px;
    background: white;
    border-radius: 7px;
    font-size: 11px;
}