section {
    min-height: 550px;
}


.sections {
    max-width: 1000px;        
    margin: 30px auto;
    padding: 20px;
    height: 1000px;
    background-color: #464646;
    border: 1px solid #ddd;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

section.features {
    display: grid;
    grid-template-columns: repeat(3, 330px);
    gap: 20px;
    max-width: 1200px;
    margin: 20px auto;
    padding: 20px;
    justify-content: center; /* 가로축 가운데 정렬 */
}

div.feature {
    background-color: #dee0e7;
    border: 2px solid #525252;
    padding: 20px;
    height: 330px;
    text-align: center;
    border-radius: 5px;
    box-shadow: 0 10px 10px rgba(158, 158, 158, 0.1);
}

.feature h3 {
    color: #797979;
    font-size: 1.5em;
    font-weight: bold;
    margin-bottom: 10px;
    text-align: center;
    padding: 10px;
    border-radius: 5px;
}

.feature p {
    text-align: left;
    font-size: 0.9em;
    font-family: 'Noto Sans KR', sans-serif;
}

@media (max-width: 1200px) {
    section.features {
        grid-template-columns: repeat(2, 250px); /* 고정된 너비로 변경 */
        gap: 20px;
        width: fit-content; /* 컨텐츠 크기에 맞게 조절 */
        margin: 0 auto; /* 가운데 정렬 */
    }

    div.feature {
        width: 100%; /* feature의 너비를 grid column에 맞춤 */
        margin: 0; /* 마진 제거 */
        height: 200px;
    }
}
@media (max-width: 900px) {
    section.features {
        grid-template-columns: repeat(1, 350px);
        justify-content: center;
        width: 80%;
    }
    
    div.feature {
        width: 100%; /* feature의 너비를 grid column에 맞춤 */
        height: 330px;
        margin: 0; /* 마진 제거 */
    }
}