@import url('https://fonts.googleapis.com/css2?family=Muli&display=swap');
@import url('https://fonts.googleapis.com/css?family=Nanum+Gothic&display=swap');

*{
    box-sizing: border-box;
}

body{
    font-family: 'Nanum Gothic';
    background-color: #f0f0f0;
}

h1{
    margin: 50px 0 30px;
    text-align: center;
}

.faq-container{
    /* max-width: 100vw; */
    margin:  auto;
}

.faq{
    background-color: transparent;
    border: 1px solid #9fa4a8;
    border-radius: 10px;
    /* margin: 20px 20px; */
    padding: 30px;
    position: relative;
    overflow: hidden;
    transition: .3s ease;
}

.faq.active{
    background-color: #fff;
    box-shadow: 0 3px 5px rgba(0,0,0,.1), 0 3px 6px rgba(0,0,0,.1);
}

.faq.active::before,
.faq.active::after{
    content: '\f075';
    font-family: 'Font Awesome 5 Free';
    color: #2ecc71;
    font-size: 7rem;
    position: absolute;
    opacity: .2;
    top: 20px;
    left: 2px;
    z-index: 0;
}

.faq.active::before{
    color: #3498db;
    top: -10px;
    left: -30px;
    transform: rotateY(180deg);
}

.faq-title{
    margin: 0 35px 0 0;
}

.faq-text{
    display: none;
    margin: 30px 0 0;
}

.faq.active .faq-text{
    display: block;
}

.faq-toggle{
    background-color: transparent;
    border: 0;
    cursor: pointer;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    padding: 0;
    position: absolute;
    top: 30px;
    right: 30px;
    height: 30px;
    width: 30px;
}

.faq-toggle:focus{
    outline: 0;
}

.faq-toggle .fa-times{
    display: none;
}

.faq.active .faq-toggle .fa-times{
    color: white;
    display: block;
}

.faq.active .faq-toggle .fa-chevron-down{
    display: none;
}

.faq.active .faq-toggle{
    background-color: #9fa4a8;
}

header {
    position: relative;
    height: 600px; /* 높이 설정 */
    background-image: url('img/door.jpg'); 
    background-size: cover; 
    background-position: center;
    animation: backgroundZoom 5s infinite alternate; /* 애니메이션 추가 */
}

@keyframes backgroundZoom {
    0% {
        background-size: 100%;
    }
    100% {
        background-size: 110%;
    }
}

header .container {
    position: relative;
    z-index: 1;
}

header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5); /* 반투명 검정 오버레이 */
    z-index: 0;
}

.header-title {
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5); /* 텍스트 그림자 추가 */
}

.navbar-shadow {
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: box-shadow 0.3s ease-in-out;
}

.section-title {
    border-left: 4px solid #3498db; /* 왼쪽에만 테두리 추가 */
    padding-left: 15px; /* 왼쪽 패딩 추가 */
    margin-bottom: 20px; /* 아래쪽 마진 추가 */
    display: inline-block; /* 인라인 블록으로 설정 */
}

.nav-item a {
    transition: transform 0.3s ease;
}

.nav-item a:active {
    transform: scale(1.2);
}

.about-item {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

.about-item i {
    margin-right: 10px;
}

.counselor-photo {
    border: 5px solid #fff; /* 흰색 보더 */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* 그림자 추가 */
}