/* 하위 페이지 공통 스타일 (상단 사진, 페이지 제목 배너, 헤더 배경 등)
   여러 페이지 CSS에 똑같이 반복되던 규칙을 한 곳으로 모은 파일.
   각 페이지 CSS보다 먼저 불러와야 함. */

@media (min-width: 1024px) {
    .header-container {
        background: black;
    }
    .photo-container {
        position: relative;
        width: 100%;
        height: 200px;
        overflow:hidden;
        margin:0 auto;
        z-index: -1;
        display: flex;
        justify-content: center;
    }
    .photo-main {
        width:100%;
        height:100%;
        object-fit:cover;
    }
    .aboutUs-box1 {
        width: 100%;
        height: 100px;
        color: white;
        position: absolute;
        top: 50px;
        display: flex;
        justify-content: center;
        align-items: center;
    }
    .aboutUs-box1-content {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        width: 900px;
        height: 100%;
    }
    .aboutUs-box1-content-h1 {
        font-size: 40px;
    }
    .aboutUs-box1-content-div {
        font-size: 20px;
    }
    .aboutUs-container {
        display: flex;
        justify-content: center;
        align-items: center;
        width: 100%;
        height: 100px;
        border-bottom: 1px solid #ddd;
        font-size: 30px;
        font-weight: 800;
    }
    .aboutUs-box2 {
        height: 100px;
        width: 800px;
        display: flex;
        align-items: center;
    }
}

@media (max-width: 1023px) {
    .photo-container {
        position: relative;
        width: 100%;
        height: 200px;
        overflow:hidden;
        margin:0 auto;
        z-index: -1;
        display: flex;
        justify-content: center;
    }
    .photo-main {
        width:100%;
        height:100%;
        object-fit:cover;
    }
    .aboutUs-box1 {
        width: 100%;
        height: 100px;
        color: white;
        position: absolute;
        top: 50px;
        display: flex;
        justify-content: center;
        align-items: center;
    }
    .aboutUs-box1-content {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        width: 900px;
        height: 100%;
    }
    .aboutUs-box1-content-h1 {
        font-size: 40px;
    }
    .aboutUs-box1-content-div {
        font-size: 20px;
    }
    .aboutUs-container {
        display: flex;
        justify-content: center;
        align-items: center;
        width: 100%;
        height: 100px;
        border-bottom: 1px solid #ddd;
        font-size: 30px;
        font-weight: 800;
    }
    .aboutUs-box2 {
        height: 100px;
        width: 800px;
        display: flex;
        align-items: center;
    }
}

@media (max-width: 540px) {
    .photo-container {
        position: relative;
        width: 100%;
        height: 100px;
        overflow:hidden;
        margin:0 auto;
        z-index: -1;
        display: flex;
        justify-content: center;
    }
    .photo-main {
        width:100%;
        height:100%;
        object-fit:cover;
    }
    .aboutUs-box1 {
        width: 100%;
        height: 50px;
        color: white;
        position: absolute;
        top: 25%;
        display: flex;
        justify-content: center;
        align-items: center;
    }
    .aboutUs-box1-content {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        width: 75%;
        height: 50px;
    }
    .aboutUs-box1-content-h1 {
        font-size: 40px;
    }
    .aboutUs-box1-content-div {
        font-size: 14px;
    }
    .aboutUs-container {
        display: flex;
        justify-content: center;
        align-items: center;
        width: 100%;
        height: 100px;
        border-bottom: 1px solid #ddd;
        font-size: 20px;
        font-weight: 800;
    }
    .aboutUs-box2 {
        height: 50px;
        width: 100%;
        display: flex;
        align-items: center;
    }
    .aboutUs-content {
        height: 50px;
        width: 150px;
        display: flex;
        justify-content: center;
        align-items: center;
    }
}
