* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    height: 100%;
    font-size: 16px;
}

.container-fluid {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    margin: 0;
    padding: 0;
}

.header {
    background-color: #FF6600;
    border: 5px solid black;
    padding: 20px;
    text-align: center;
    font-size: 40px;
    font-weight: bold;
    font-family: 'Headland One', serif; /* Headland One 폰트 적용 */
    color: black;
}

.content {
    flex: 1;
    display: flex;
}

.icon-section {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    border-right: 5px solid black;
    border-bottom: 2px solid black;
}

.icon-section img {
    width: 100%;
    aspect-ratio: 1 / 1;
}

.icon-section img:hover {
    transform: scale(1.01);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.form-section {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    height: 100%;
    padding: 20px 0;
    border-bottom: 2px solid black;
}

.form-section input,
.form-section button {
    width: 30vw;
    padding: 0.5rem;
    margin-bottom: 1rem;
    border: 2px solid #000000;
    border-radius: 4px;
}

.form-section button {
    background-color: gold;
    font-weight: bold;
    border: none;
    cursor: pointer;
}

.form-section button:hover {
    background-color: goldenrod;
}

.login-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

label {
    text-align: left; /* 텍스트 왼쪽 정렬 */
    display: block; /* label 요소가 블록 레벨로 처리되도록 */
    margin-bottom: 0.5rem; /* 간격 조정 (필요시) */
}

.oauth-img-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    margin: 20px 0;
    gap: 10px;
}

.oauth-img-container .oauth-img {
    width: 100%;
    height: auto;
    border-radius: 6px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    display: block;
}

.oauth-img:hover {
    transform: scale(1.01);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.footer-links {
    text-align: center;
}

.footer-links a {
    margin: 0 10px;
    text-decoration: none;
    color: blue;
}

.footer-links a:hover {
    text-decoration: underline;
}

.text-danger {
    color: red;
}

/* 모바일 반응형 디자인 */
@media (max-width: 768px) {
    .container-fluid {
        flex-direction: column;
        align-items: stretch;
    }

    .content {
        flex-direction: column;
    }

    .icon-section {
        border-right: none;
    }

    .icon-section a {
        width: 50%;
    }

    .form-section {
        flex: 1;
        padding: 20px 10px;
        border-bottom: none;
    }

    .form-section input,
    .form-section button {
        width: 90vw;
    }

    .oauth-img-container {
        flex-direction: column;
        align-items: center;
        width: 100%;
        gap: 15px;
    }

    .oauth-img-container .oauth-img {
        width: 90vw;
        height: auto;
    }

    .header {
        font-size: 1.5em; /* 모바일에서는 헤더 폰트 크기 축소 */
        padding: 1vw;
    }
}