html,
body {
    height: 100%;
    margin: 0;
    padding: 0;
    overflow: hidden;
}


#main-container {
    display: flex;
    flex-direction: row;
    width: 100%;
    height: calc(100vh - 75px);
    overflow: hidden;
}

.main-section {
    position: relative;
    width: 50%;
    height: auto;
    min-height: 100vh;
    overflow: hidden;
}

.main-section:hover .bg-container img {
    transform: scale(1.1);
    transition: transform 0.5s ease;
}

.bg-container img {
    width: 100%;
    min-height: 100vh;
    object-fit: cover;
    transition: transform 0.5s ease;
    height: auto;
}

.main-section>.content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}



.main-section button {
    margin-top: 40px;
    background: none;
    border: none;
    cursor: pointer;
}

.main-section button:hover img {
    filter: brightness(0.8);
}


.nav1 {
    position: absolute;
    top: 36%;
    left: 0;
    writing-mode: vertical-rl;
    color: #FFFFFF;
    font-size: 16px;
    font-family: 'Pretendard', sans-serif;
    padding-left: 20px;
    opacity: 0.7;
    font-weight: medium;
}

.nav2 {
    position: absolute;
    top: 20%;
    right: 20px;
    writing-mode: vertical-rl;
    color: #FFFFFF;
    font-size: 16px;
    font-family: 'Pretendard', sans-serif;
    opacity: 0.7;
    font-weight: medium;
    transform: rotate(180deg);
}





@media (max-width: 1100px) {

    html,
    body {
        overflow-x: hidden;
    }


    #main-container {
        flex-direction: column;
    }

    .main-section {
        width: 100%;
        height: 50vh;
        min-height: auto;
    }

    .nav1, .nav2 {
        display: none;
    }


}


@media (max-width: 705px) {


    .main-section button {
        margin-top: 20px;
    }

    .main-section button img {
        width: clamp(20px, 10vw, 24px);
        height: auto;
    }

    .sub img {
        width: clamp(150px, 100vw, 400px);
    }
}