
body{
    background-color: rgb(240 240 243 );
}   
#container{
    width: 80%;
    margin: 2em auto 0;
    font-size: 16px;
}

#container>ul{
    list-style: none;
    border-bottom: 1px solid lightgrey;
    padding-bottom: 1em;
}

#container>ul>p{
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.2em;
    font-weight: bold;
}


#container>ul>.item{
    display: flex;
    flex-wrap: wrap;

}
.item>ul{
    list-style: none;
    width: 40%;
    margin-bottom: 1em;

}
.item>ul>p{
    color: rgb(55 65 81);
    font-size: 1.1em;
    font-weight: bold;
    padding: 4px;
    margin: 0 4px;
}
.item>ul>div>li{
    display: inline-flex;

}
.item>ul>div>li>a{
    text-decoration: none;
    color: #412c0c;
    padding: 4px;
    margin: 10px 4px;
    background: #f0f0f3;
    box-shadow: 4px 4px 4px rgba(0, 0, 0, .2), -10px -10px 20px #fff;
    border-radius: 4px;
}
.item>ul>div>li>a:hover{
    box-shadow: inset 2px 2px 2px rgba(0, 0, 0, .2), inset -4px -4px 2px #fff;
}





@media (max-width: 960px) {
    #container{
        width: 100%;
    }
    #container>ul {
        margin: 0;
        list-style: none;
        border-bottom: 1px solid lightgrey;
        padding: 8px;
    }
    #container>ul>.item>ul{
        width: 100%;
        padding: 8px;
    }
}