@font-face {
    font-family: 'DK Snemand';
    src: url('/fonts/DKSnemand.woff2') format('woff2'), url('/fonts/DKSnemand.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

/* icon library: https://tabler.io/icons */

* {
    margin: 0;
}

body {
    color: #14171c;
    font-family: 'Poppins', sans-serif;
}

a {
    color: #14171c;
    font-weight: 600;
    text-decoration-thickness: 1px;
    text-underline-offset: 2px;
}

img, picture, video, canvas, svg {
    display: block;
    max-width: 100%;
}

h1, h2 {
    font-family: 'DK Snemand';
    text-transform: uppercase;
}

h1 {
    font-size: 50px;
}

@media (min-width:768px) {
    h1 {
        font-size: 70px;
    }
}

h2 {
    margin-bottom: 20px;
    font-size: 40px;
    font-weight: 600;
}


h3 {
    margin-bottom: 10px;
    font-size: 1.17em;
    font-weight: 600;
}

.main-columns {
    display: grid;
}

@media (min-width: 1200px) {
    .main-columns {
        grid-template-columns: 25% 75%;
    }
}

aside {
    padding: 50px 65px;
    background: #77b978;
    background: url("/images/bg2.png"), #f5f5f5;
    background-size: cover;
    background-position: right top;
    background-repeat: no-repeat;
}

@media (max-width: 1199px) {
    aside {
        display: none;
    }
}

.logo {
    max-width: 200px;
    margin-inline: auto;
}

main {
    padding: 30px 25px;
}

@media (min-width: 768px) {
    main {
        padding: 50px 70px;
    }
}

header {
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    margin-bottom: 30px;
}

@media (min-width: 500px) {
    header {
        display: flex;
    }
}

section {
    margin-bottom: 40px;
}

@media (min-width:992px){
    section{
        margin-bottom:60px;
    }
}

.messages {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr));
    gap: 20px;
}

.message {
    position: relative;
    padding: 15px 25px 20px;
    border: 1px solid #dedede;
    border-radius: 10px;
    box-shadow: 0 1px 0px 0 rgba(0,0,0,.1);
    border-top: 6px solid #dbd150;
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
}

.message h3 {
    margin-bottom: 0;
}

.message img {
    margin-bottom: 4px;
}

.message p {
    font-size: 14px;
}

.message .admin-actions{
    position:absolute;
    top: 10px;
    right: 10px;
}

.items {
    display: grid;
    gap: 15px;
}

@media (min-width:500px) {
    .items {
        grid-template-columns: repeat(2, 400px);
    }
}

@media (min-width:992px) {
    .items {
        grid-template-columns: repeat(2, 500px);
    }
}

.item {
    position: relative;
    display: flex;
    align-items: center;
    gap: 16px;
}

.item a{
    display: flex;
    align-items: center;
    gap: 20px;
}

.item a[href='#'] {
    opacity: .3;
    pointer-events: none;
}

.items + h3 {
    margin-top: 20px;
    height: 24px;
}

.blob {
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    width: 50px;
    height: 50px;
    background: #77b978;
    mask-image: url('/images/blob.svg');
    mask-repeat: no-repeat;
    mask-size: contain;
}

    .blob img {
        filter: invert();
    }

#algemeen .blob {
    background: #77b978;
}

.nesten .blob {
    background: #f37262;
}

#schoolwerking .blob {
    background: #ff9f6c;
}

#documenten .blob {
    background: #dbd150;
}

.credits {
    border-top: 1px solid #f5f5f5;
    padding-block: 50px 0;
    margin-top:25px;
}

/* admin action */
.admin-action,
.admin-icon{
    color: #4a4a4a;
}

.message .admin-actions{
    display:none;
}

.message:hover .admin-actions {
    display: block;
}

.message .admin-icon--isvisible {
    position: absolute;
    bottom: 10px;
    right: 10px;
}

.item .admin-actions {
    display:none;
}

.item:hover .admin-actions {
    display: block;
}

.item .admin-action {
    display: flex;
    align-items: center;
    justify-content: center;
}

section h2,
section h3 {
    display: flex;
    gap: 16px;
    align-items: center;
}

section > h3 {
    height: 24px;
}

section h2 .admin-actions,
section h3 .admin-actions {
    display: none;
    align-items: center;
}

section h2 .admin-icon,
section h3 .admin-icon {
    display: flex;
    align-items: center;
}

section h2:hover .admin-actions,
section h3:hover .admin-actions {
    display: flex;
}

.btn-check:checked + .btn {
    outline: 1px solid #14171c;
}

.navbar-identity{
    flex-direction: row;
    align-items: center;
    gap:12px;
}

.navbar-identity .nav-link {
    display: flex;
    gap: 6px;
}