I'm trying to create a nice box around my 2 lists that are nested inside the container called schedule. I would like to accomplish this by using flexbox, but I cant seem to get them look how I want. I'm trying have the boxes next to each other while being the same size and distance apart. I tried using margin on the boxes but this makes the boxes move outside of my container even though I used border box. Can anyone help me figure this out with flexbox?
margin: 4em 4em 3em 4em;
grid-area: section2;
background-color:rgb(47, 47, 47);
display:flex;
flex-direction: column;
flex-wrap: wrap;
justify-content:space-between;
box-sizing: border-box;
}
.schedule ul{
margin: 1em;
width: 30%;
height: 100%;
}
.schedule li{
list-style-type: none;
color: white;
text-align: center;
background-color: rgb(116, 116, 116);
}```