body {
    font-family: 'KBO Dia Gothic', sans-serif;
    background-color: #002561;
    color: white;
    margin: 0;
}

h1 {
    text-align: center;
    color: #ffffff;
    font-size: 36px;
    margin-top: 120px;  /* 이 값을 늘리면 nav에 안 가려짐 */
    margin-bottom: 40px;
}

form {
    overflow: auto;
    max-width: 600px;
    margin: 60px auto 60px;
    background: #ffffff;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    font-family: 'KBO Dia Gothic', sans-serif;
    color: #002561;
}

label {
    float: left;
    width: 160px;
    margin-right: 10px;
    font-weight: bold;
}

input,
select,
textarea {
    margin-bottom: 12px;
    padding: 8px;
    width: calc(100% - 180px);
    border-radius: 6px;
    border: 1px solid #ccc;
    font-family: 'KBO Dia Gothic', sans-serif;
}

textarea {
    height: 80px;
    resize: vertical;
}

button {
    clear: both;
    display: block;
    margin: 30px auto 0;
    padding: 10px 20px;
    background-color: #002561;
    color: white;
    font-family: 'KBO Dia Gothic', sans-serif;
    font-size: 16px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: background-color 0.3s;
}

button:hover {
    background-color: #001a40;
}

fieldset {
    border: none;
    margin-bottom: 20px;
    padding: 0;
}

legend {
    font-size: 16px;
    margin-bottom: 6px;
    color: #002561;
}

.form-title {
    text-align: center;
    color: #002561;
    margin-bottom: 30px;
    font-size: 24px;
}

@media (max-width: 768px) {
    .form {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
}