body {
    background-color: #212121;
    color: #fff;
    margin: 0;
    padding: 0;
}

header {
    /*background-color: #333;*/
    color: white;
    padding: 10px 0;
}

h1 {
    font-size: 2.5rem;
    margin: 0;
}

img {
    width: 100%;
    height: auto; /* ← 비율 유지 핵심 */
    object-fit: contain; /* 또는 cover, 필요에 따라 선택 */
}

h2 {
    margin-top: 20px;
}

.content-section {
    padding: 50px 20px;
    background-color: #fff;
    margin: 20px auto;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    max-width: 1200px;
}

    .content-section div.sec1 {
        height: 400px;
    }

    .content-section div.sec2 {
        position: absolute;
        top: 0;
        left: 0px;
        width: 100%;
    }

    .content-section div.sec3 {
        display: flex;
    }


    .content-section div.sec5 {
        top: 0px;
        left: 0px;
        position: relative;
        width: 100%;
        height: 100%;
        -webkit-box-align: center;
        align-items: center;
        -webkit-box-pack: center;
        justify-content: center;
        color: blue;
    }


    .content-section div.wall {
        position: absolute;
        inset: 0px;
        border-radius: inherit;
        transition-property: backdrop-filter, background;
        transition-duration: 200ms;
        background-color: #000000cc
    }

    .content-section div.img1 {
        position: absolute;
        inset: 0px;
        overflow: hidden;
        border-radius: 8px;
        background-image: url('/res/걸스티비-2025-03-11.webp');
        background-position: center center;
        background-size: cover;
        background-repeat: no-repeat;
    }

    .content-section div.sec3 div.part1 {
        width: 50%;
    }

    .content-section h2 {
        font-size: 2.5rem;
        font-weight: bold;
        /*color: #333;*/
        text-align: center;
        margin-bottom: 30px;
    }

.card-content p {
    color: #757575;
}

.card-panel {
    /* 부드러운 파란색 배경 */
    /*background-color: #e3f2fd;*/
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    /* background-color: #e3f2fd; */
    margin: 20px 20px;
    /* box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); */
}

.card-title {
    color: #333;
    font-size: 1.5rem;
    font-weight: bold;
    font-size: 1.5rem;
    color: #0277bd; /* Materialize 블루 */
    font-weight: bold;
}

    .card-title + p {
        font-size: 1.1rem;
        color: #555;
        line-height: 1.6;
    }


/* 반응형 스타일: 모바일에서 카드 패널이 가로 폭을 맞추도록 */
@media only screen and (max-width: 1000px) {
    .content-section div.sec3 div.part1 {
        width: 60%;
    }
}

@media only screen and (max-width: 900px) {
    .content-section div.sec3 div.part1 {
        width: 65%;
    }
}

@media only screen and (max-width: 800px) {
    .content-section div.sec3 div.part1 {
        width: 70%;
    }
}

@media only screen and (max-width: 800px) {
    .content-section div.sec3 {
        display: block;
    }

        .content-section div.sec3 div.part1 {
            width: 100%;
        }
}

@media only screen and (max-width: 600px) {
    .content-section {
        padding: 20px;
    }

        .content-section div.sec1 {
            height: 430px;
        }


        .content-section h2 {
            font-size: 2rem;
        }

        .content-section h3 {
            font-size: 1.5rem;
        }

    .card-panel {
        padding: 15px;
    }

    .card-title {
        font-size: 1.2rem;
    }

        .card-title + p {
            font-size: 1rem;
        }
}

@media (max-width: 390px) {
    .content-section div.sec1 {
        height: 480px;
    }
}

@media (max-width: 330px) {
    .content-section div.sec1 {
        height: 540px;
    }
}

@media (max-width: 600px) {
    h1 {
        font-size: 1.8rem;
    }

    article h2 {
        font-size: 1.5rem;
    }

    article p {
        font-size: 1rem;
    }
}

.brand-logo {
    display: flex !important;
    justify-content: center; /* 가로 가운데 정렬 */
    align-items: center; /* 세로 가운데 정렬 */
    height: 100%; /* div 높이를 설정하거나 부모 요소에 맞게 */
}


.menu-button {
    position: fixed;
    right: 20px;
    bottom: 20px;
    background-color: #333;
    color: white;
    border: none;
    padding: 15px;
    font-size: 20px;
    border-radius: 50%;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    cursor: pointer;
}

    .menu-button:hover {
        background-color: #555;
    }

.sidenav {
    padding-top: 20px;
    background-color: #444;
}

    .sidenav li > a {
        color: #fff;
        display: block;
        font-size: 16px;
        font-weight: 500;
        height: 48px;
        line-height: 48px;
        padding: 0 32px;
    }

nav .sidenav-trigger {
    float: right !important;
}

.center {
    text-align: center;
}

.right {
    text-align: right;
}

@media (orientation: portrait) {
    .parallax-container {
        height: 300px !important;
    }
}


footer {
    background-color: #333;
    color: white;
    padding: 20px 0;
}

    footer a {
        color: #fff;
    }

        footer a:hover {
            color: #ddd;
        }

.footer-text {
    text-align: center;
    font-size: 14px;
}

    .footer-text p {
        margin: 5px 0;
    }


/* 헤더 스타일 */
#home {
    /*background: linear-gradient(135deg, #ff6f61, #de4d86);*/
    padding: 3rem 0;
    color: white;
    position: relative;
    overflow: hidden;
}

    #home::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.2); /* 살짝 어두운 오버레이 */
        z-index: 1;
    }

    #home .container {
        position: relative;
        z-index: 2;
    }

    #home h1 {
        font-size: 3.5rem;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: 2px;
        text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    }

    #home h4 {
        font-size: 1.5rem;
        font-weight: 300;
        margin-top: 1rem;
        text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.2);
    }

/* 반응형 조정 */
@media (max-width: 600px) {
    #home {
        padding: 3rem 0;
    }

        #home h1 {
            font-size: 2.5rem;
        }

        #home h4 {
            font-size: 1.2rem;
        }
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

#home h1, #home h4 {
    animation: fadeIn 1s ease-out;
}



/* 높이 증가 버튼 스타일 */
.tall-btn {
    width: 100%;
    height: 100px !important; /* 원하는 높이로 조정 */
    line-height: 100px !important;
    padding: 0 20px !important;
    font-size: 1.5rem;
}
/* 반응형 조정 */
@media (max-width: 600px) {
    .tall-btn {
        height: 60px !important; /* 원하는 높이로 조정 */
        line-height: 60px !important;
        padding: 0 10px !important;
        font-size: 1rem;
    }
}

/* 버튼 내용 중앙 정렬 */
.btn-content {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    vertical-align: middle !important;
    width: 100%;
}

/* 아이콘과 텍스트 간격 조정 */
.material-icons {
    margin-right: 8px !important;
    font-size: 24px !important;
}

/* 버튼 텍스트 스타일 */
.btn-text {
    display: inline-block;
    vertical-align: middle;
    line-height: normal !important; /* 기본 라인 높이 재설정 */
}


.page-footer {
    margin-top: 100px;
}

.btn_gotop {
    display: none;
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 999;
    /*border: 1px solid #ccc;*/
    outline: none;
    background-color: #e3f2fd;
    color: #333;
    cursor: pointer;
    padding: 15px 20px;
    border-radius: 100%;
}