/* 오산원일중학교 게임 개발 동아리 웹사이트의 CSS 파일입니다 (메인 페이지) 
JavaSrcipt 코드는 어딨냐구요! 없어요! 이게 바로 No JS 클럽 사이트!!
...라고 하려고 했는데.
구글의 사이트 이름 시스템 때문에 어쩔 수 없이 JS코드를 넣어야 해요. 이게 뭐냐고!!!*/

.banner {           /* 전체 */
    height: 500px;
    background-size: cover;
    background-position: center;
    margin: 20px 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    color: white;
    text-align: left;   /* 왼쪽 정렬 */
    padding: 20px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); /* 그림자 */
    border-radius: 10px;    /* 가장자리 둥글게 */
    overflow: hidden;       /* 배경이 둥근 모양을 유지하도록 설정 */

    
}
.banner h1 {        /* 제목(배너1) */
    font-size: 56px;
    margin-bottom: 5px;
    margin-left: 50px;
    color: lightgray;
}
.banner h2 {        /* 제목 */
    font-size: 56px;
    margin-bottom: 5px;
    margin-left: 50px;
}
.banner h3 {        /* 부제목 */
    font-size: 40px;
    margin-bottom: 10px;
    margin-left: 50px;
}
.banner h4 {        /* 부제목(배너3) */
    font-size: 48px;
    margin-bottom: 10px;
    margin-left: 50px;
}
.banner button {    /* 버튼 */
    background: #00000022;
    color: white;
    border: solid white;
    padding: 10px 20px;
    border-radius: 10px;
    font-size: 20px;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.25s;
    margin-left: 50px;
    margin-top: 10px;
}
.banner button:hover {  /* 버튼 마우스 호버 */
    background: #00000044;
}
hr {
    margin: -10px;
    border: 1px solid #ccc;
}

@media (max-width: 768px) { /* 기기 화면에 따른 차이 */
    .banner {
        height: 200px;
        padding: 15px;
        /* text-align: center;     가운데 정렬 */
        margin: 10px 10px;
    }
    .banner h1 {
        font-size: 24px;
        margin-left: 0px;
    }
    .banner h2 {
        font-size: 24px;
        margin-left: 0px;
    }
    .banner h3 {
        font-size: 22px;
        margin-left: 0px;
    }
    .banner h4 {
        font-size: 23px;
        margin-left: 0px;
    }
    .banner .button-container {
        flex-direction: column;
    }
    .banner button {
        width: 100%;
    }
    hr {
        margin: -5px;
    }
}