/* 오산원일중학교 게임 개발 동아리 웹사이트의 CSS 파일입니다 (정보 페이지)*/

.banner {               /* 전체 */
    height: 400px;
    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);
}
.banner h1 {            /* 첫 번째 배너 제목 */
    font-size: 64px;
    margin-bottom: 10px;
    margin-left: 50px;
}
.banner h2 {            /* 마지막 배너 제목 (같음) */
    font-size: 64px;
    margin-bottom: 10px;
    margin-left: 50px;
}
.banner .button-container { /* 첫 번째/마지막 버튼 전체 */
    display: flex;
    gap: 0; /* 버튼 간격 */
}
.banner button {        /* 첫 번째/마지막 버튼 각각 */
    background: #00000022;
    color: white;
    border: solid white;
    padding: 10px 20px;
    border-radius: 10px;
    font-size: 24px;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.25s;
    margin-left: 50px;
    margin-top: 10px;
}
.banner button:hover {  /* 첫 번째/마지막 버튼 호버 */
    background: #00000044;
}
.bannerx {              /* 일반 배너 (세부 항목) */
    height: auto;
    background-size: cover;
    background-position: center;
    padding: 30px;
    color: white;
    text-align: left;
    position: relative; /* 버튼 위치 */
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}
.bannerx h2 {           /* 일반 배너 제목 */
    font-size: 64px;
    margin-bottom: 15px;
    margin-left: 40px;
}
.bannerx ul {           /* 일반 배너 세부 항목 */
    list-style: none;
    padding-left: 100px;
}
.bannerx ul li {        /* 일반 배너 세부 항목 */
    font-size: 32px;
    margin-bottom: 20px;
    margin-left: 35px;
    position: relative;
    font-weight: bold;  /* 볼드체 */
}
.bannerx ul li::before {    /* 일반 배너 세부 항목 */
    content: "-";
    position: absolute;
    left: -40px;
}
.bannerx ul li span {   /* 일반 배너 세부 세부 항목 */
    display: block;
    font-size: 24px; /* 글꼴 크기 */
    margin-bottom: 10px;
    color: white;
    margin-left: 30px;
    font-family: Arial, sans-serif; /* →가 없음 (와 sans!) */
    font-weight: normal; /* 볼드X */
    margin-right: 5%;
}
.bannerx ul li span s {   /* 취소선 */
    color: lightgray;
}
.bannerx ul li span span {   /* 일반 배너 세부 세부 세부 항목 */
    margin-left: 50px;
}
.bannerx ul li span a {
    color: lightcyan;
}
.bannerx button {           /* 일반 배너 버튼 */
    position: absolute;
    right: 20px;
    bottom: 10px;
    background: #00000022;
    color: white;
    border: solid white;
    padding: 10px 20px;
    border-radius: 10px;
    font-size: 24px;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.25s;
}
.bannerx button:hover {     /* 일반 배너 버튼 호버 */
    background: #00000044;
}

@media (max-width: 768px) { /* 기기 화면에 따른 차이 */
    .banner {
        height: auto;
        padding: 15px;
        /* text-align: center;     가운데 정렬 */
        margin: 10px 10px;
    }
    .banner h1 {
        /* margin-bottom: 0; */
        margin-left: 80px;
    }
    .banner .button-container {
        flex-direction: column;
    }
    .banner button {
        width: 100%;    /* 얜 왜 중간에 안 됨? 되는데? */
    }
    .bannerx button {
        position: static;
        width: 100%;
        margin-top: 10px;
    }
    .bannerx h2 {
        margin-left: 5px;
        font-size: 54px;
    }
    .bannerx ul li::before {
        left: -30px;
    }
    .bannerx ul li {
        margin-left: -80px;
        font-size: 30px;
    }
    .bannerx ul li span {
        margin-left: 5px;
        font-size: 20px;
        margin-right: 3%;
    }
    .bannerx ul li span span {
        margin-left: 20px;
        font-size: 20px;
    }
    .banner h2 {
        font-size: 32px;
        margin-left: 30px;
    }
}