*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

body{
    font-family:Arial, Helvetica, sans-serif;
    background:#f3f3f3;
    color:#222;
    padding:30px;
}

h1{
    text-align:center;
    font-size:32px;
    margin-bottom:35px;
}

.lists{
    display:flex;
    gap:40px;
    max-width:1400px;
    margin:auto;
    align-items:flex-start;
}

.column{
    flex:1;
    background:#fff;
    border-radius:16px;
    padding:25px;
    box-shadow:0 8px 20px rgba(0,0,0,.08);
}

.column h2{
    font-size:22px;
    margin-bottom:20px;
    border-bottom:2px solid #ddd;
    padding-bottom:8px;
}

.entry:last-child{
    margin-bottom:0;
}

.acronym{
    font-size:26px;
    font-weight:700;
    letter-spacing:2px;
    margin-bottom:6px;
}

.fullname{
    font-size:16px;
    line-height:1.6;
}

.letter{
    font-size:1.15em;
    font-weight:700;
}

@media (max-width:1000px){

    .lists{
        flex-direction:column;
    }

    .column{
        width:100%;
    }

}

.searchBox{
    display:flex;
    align-items:stretch;
    justify-content:center;
    gap:10px;

    max-width:560px;
    margin:25px auto;
}

#searchInput{
    width:100%;
    padding:12px 45px 12px 16px;
    font-size:18px;
    border:2px solid #ccc;
    border-radius:10px;
    box-sizing:border-box;
}

#searchInput:focus{
    outline:none;
    border-color:#4285f4;
}

#clearSearch{
    position:absolute;
    right:8px;
    top:50%;
    transform:translateY(-50%);
    width:30px;
    height:30px;
    border:none;
    border-radius:50%;
    background:transparent;
    font-size:18px;
    cursor:pointer;
    display:none;
}

#clearSearch:hover{
    background:#e5e5e5;
}

.entry{
    padding:5px 10px;
}

.entry.alternate{
    background:#f3f3f3;
}

/* ---------- ACCORDION ---------- */

#accordion{
    max-width:900px;
    margin:30px auto;
}

.accordion-section{
    margin-bottom:10px;
}

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

    padding:14px 18px;

    background:#ffffff;
    border:1px solid #ddd;
    border-radius:8px;

    cursor:pointer;
    user-select:none;

    font-size:20px;
    font-weight:bold;

    transition:.2s;
}

.accordion-header:hover{
    background:#f5f5f5;
}

.accordion-content{

    max-height:0;
    overflow:hidden;

    transition:max-height .25s ease;

    background:#fff;

    border-left:1px solid #ddd;
    border-right:1px solid #ddd;
    border-bottom:1px solid #ddd;

    border-radius:0 0 8px 8px;
}

.entry{

    padding:12px 18px;

    border-bottom:1px solid #eee;

    line-height:1.45;
}

.entry:last-child{
    border-bottom:none;
}

.entry strong{

    font-size:17px;
}

/* ---------- SØGNING ---------- */

.searchBox{
    display:flex;
    justify-content:center;
    align-items:center;
    gap:10px;

    margin:25px auto;
}

.searchInputWrapper{
    position:relative;
    width:500px;
    max-width:90%;
}

.searchInputWrapper input{
    width:100%;
}

#randomBtn,
#dkBtn {

    flex:0 0 50px;

    align-self:stretch;

    display:flex;
    justify-content:center;
    align-items:center;

    border:2px solid #ccc;
    border-radius:10px;

    background:#fff;
    color:#333;

    font-size:28px;
    line-height:1;

    cursor:pointer;

    transition:.2s;
}

#randomBtn:hover,
#dkBtn:hover{
    background:#f5f5f5;
}

#randomBtn:active,
#dkBtn:active{
    transform:scale(.97);
}

#randomBtn:focus,
#dkBtn:focus{
    outline:none;
    border-color:#4285f4;
}

#dkBtn.active{
    background:#2e7d32;
    color:#fff;
    border-color:#2e7d32;
}

#dkBtn.active:hover{
    background:#256528;
    border-color:#256528;
}

.highlight{

    background:#c8f7c5 !important;

    transition:background .3s;
}

.accordion-left{
    display:flex;
    align-items:center;
    gap:10px;
}

.arrow{
    display:inline-block;
    width:18px;
    text-align:center;
    transition:transform .2s ease;
}

.arrow.open{
    transform:rotate(90deg);
}

.count{
    opacity:.7;
}