main { 
    padding: .5rem ; 
    display: flex; 
    align-items: center; 
    flex-wrap: wrap; 
    min-height:100vh; 
    align-items: flex-start;
}
main section { 
    width: 50%; 
    padding: 1rem ; 
    margin-bottom: 3rem; 
    display: flex; /* Flexbox 추가 */ 
    flex-direction: column; /* 요소들을 세로로 정렬 */
} 
main section:nth-child(1) { 
    width: 100%; 
    text-align: center; 
}
main section:nth-child(4) { 
    width: 100%; 
    text-align: center; 
}

main section h2 { 
    display: flex; 
    justify-content: space-between; 
    align-items: flex-end; 
    font-size: 1.4rem; 
    font-weight: 700; 
    color: #1070e1;
    border-bottom: 2px solid #dfdfdf; 
    padding: 1rem;
}
main section h2 a { 
    color: #565656;
}
main section ul li { 
    border-bottom: 1px solid #dfdfdf;
}

main section ul li a { 
    display: block; 
    padding: 1rem; 
    font-size: 1.2rem; 
    font-weight: 500;
} 
main section ul li a:hover {
     background: #efefef;
    }

@media screen and (max-width: 767px) {
main { 
    flex-wrap: wrap;
}
main section { 
    width: 100%; 
    margin-bottom: 1.5rem;
}
}