@charset "utf-8";
@import url('https://fonts.googleapis.com/css?family=Orbitron&display=swap');

/* reset */
* {
    margin: 0px;
    padding: 0px;
}

/*ul, ol, li {*/
/*    list-style: none;*/
/*}*/

a {
    text-decoration: none;
}

body {
    background: #fafafa;
}

button {
    border: none;
    outline: none;
    background-color: rgba(0, 0, 0, 0);
    padding: 0;
}

.btn {
    border: none;
}

/* Remove default click styles for ion-icon */
ion-icon {
    --ionicon-stroke-width: 32px; /* 임의의 값 설정 */
    --ionicon-stroke-color: transparent; /* 클릭 시 테두리 색상을 투명하게 설정하여 테두리가 나타나지 않도록 함 */
}


main div.watched_list {
    font: bold 18px/1 'orbitron';
    color: #fff;
    /* display:inline-block; */
    position: relative;
    /*left: 50px;*/
    /*top: 25%;*/
    /* transform:translateY(300%); */
    /*overflow:scroll;*/
    /*margin: 20px auto;*/
    overflow-y: scroll;
    height: 50%;

}

main div.watched_list p.star {
    color: #ffc107;
}


.listing-star {
    color: #ffc107;
}

main {
    width: 100%;
    box-sizing: border-box;
    padding: 0 40px;
    /*border: 3px solid #0095f6;*/
    background: #ffffff;
}

main::after {
    content: '';
    display: block;
    clear: both;
}

main .left-float-field {
    /* position: fixed; */
    left: 0;
    top: 0;
    width: 300px;
    height: 100vh;
    /* background-color: #f8f9fa; */
    /* box-shadow: 2px 0 5px rgba(0, 0, 0, 0.2); */

    transition: transform 0.3s ease; /* 애니메이션 추가 */
    z-index: 1000;
}

main .left-float-field img {
    width: 100%;
    padding: 2em 2em 0;
}

main .left-float-field p.pseudorec {
    font-size: 25px;
    color: black;
    text-align: center;
    letter-spacing: 0.05em;
}

/* 사이드 바가 활성화된 경우 */
.left-float-field.open {
    transform: translateX(0); /* 화면 안으로 이동 */
}

.hamburger-menu {
    display: none;
}

.hamburger-menu div {
    width: 25px;
    height: 3px;
    background-color: #333;
    transition: all 0.3s ease;
}

.hamburger-menu.open div:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.hamburger-menu.open div:nth-child(2) {
    opacity: 0;
}

.hamburger-menu.open div:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

main .center-main-field .paper-review-main {
    /*position: absolute;*/
    /*width: 800px;*/
    margin-bottom: 10px;
    margin-right: 20px;


}

main .center-main-field .paper-review-main::after {
    content: '';
    display: block;
    clear: both;
}


main .center-main-field .paper-review-main h2 a {
    width: 100%;
    color: black;
    text-decoration: none;

}

main .center-main-field .paper-review-main .custom-class {
    background-color: #f0f0f0; /* 배경색 설정 */
    padding: 10px 20px 20px 20px; /* 패딩 설정 */
    border-radius: 20px; /* 테두리 둥글기 설정 */
    border: 1px solid #ccc;
    margin: 10px 0;
}

main .center-main-field .paper-review-main .custom-class p {
    line-height: 1.5;
    letter-spacing: normal;
}

main .center-main-field .paper-review-main p {
    color: black;
    margin-bottom: 0px;
    /*margin-top: 20px;*/
    /*letter-spacing: 1px;*/
    line-height: 2;
}

main .center-main-field .paper-review-main img {
    /*width: 100%;*/
    max-width: 800px;
    max-height: 500px;
    height: auto;
    border: 1px solid #ddd;
    display: block; /* 블록 요소로 변경 */
    margin: 0 auto; /* 중앙 정렬 */
    cursor: pointer;
}

main .center-main-field .paper-review-main code {
    background-color: beige;
    border-radius: 5px; /* 테두리 모서리를 둥글게 만듦 */
    font-size: 16px;
    padding: 3px;
    font-weight: bold;
}

main .model-rec .description {
    background: #fff;
    padding: 32px 40px;
    margin-bottom: 20px;
    border-radius: 12px;
}

main .model-rec .model-rec-header .listing-group {
    display: flex;
}


main .model-rec .description h1 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #1a1a1a;
    margin: 0 0 8px 0;
}

main .model-rec .description p {
    font-size: 0.95rem;
    color: #666;
    line-height: 1.6;
    margin: 0;
}

main .model-rec .model-rec-header {
    background: #fff;
    padding: 20px 40px;
    margin-bottom: 20px;
    border-radius: 12px;
    position: relative;
}


main .model-rec .model-rec-header .listing-group ul {
    /*width: 100%;*/
    position: relative;
    display: flex;
    gap: 1em;
    margin-bottom: 10px;
    margin-right: 20px;
    padding-left: 0;
}

main .model-rec .model-rec-header .listing-group ul::after {
    content: '';
    display: flex;
    clear: both;
}

main .model-rec .model-rec-header .listing-group ul li {
    padding: 0 10px;
}

main .model-rec .model-rec-header .listing-group ul li a {
    display: inline-block;
    padding: 8px 20px;
    border-radius: 8px;
    font-size: 0.875rem;
    font-weight: 500;
    color: #666;
    background: #f5f5f5;
    border: none;
    transition: all 0.2s ease;
    text-decoration: none;
    box-shadow: none;
    letter-spacing: normal;
    font-family: inherit;
    line-height: normal;
}

main .model-rec .model-rec-header .listing-group ul li.on a {
    background: #1a1a1a;
    color: #fff;
}

main .model-rec .model-rec-header .listing-group ul li:not(.on):not(.disabled) a:hover {
    background: #e5e5e5;
    color: #333;
}

main .model-rec .model-rec-header .listing-group ul li.disabled a {
    background: #f5f5f5;
    color: #999;
    cursor: not-allowed;
    opacity: 0.35;
    pointer-events: none;
}

main .model-rec .model-rec-header .listing-group ul li.disabled.on a {
    background: #f5f5f5;
    color: #999;
    cursor: not-allowed;
    opacity: 0.35;
    pointer-events: none;
}

main .model-rec .model-rec-header .listing-group .search-icon {
    position: absolute;
    right: 0;
    z-index: 10;
    display: flex;
    gap: 8px;
    align-items: center;
}

main .model-rec .model-rec-header .listing-group .search-icon .icon {
    display: flex;
    gap: 8px;
    align-items: center;
}

main .model-rec .model-rec-header .listing-group .search-icon .btn,
main .model-rec .model-rec-header .listing-group .search-icon .close {
    width: 36px;
    height: 36px;
    padding: 0 !important;
    margin: 0 !important;
    border-radius: 8px;
    background: #fff !important;
    border: none !important;
    color: #666;
    cursor: pointer;
    transition: all 0.2s ease;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    box-shadow: none !important;
}

main .model-rec .model-rec-header .listing-group .search-icon .btn:hover,
main .model-rec .model-rec-header .listing-group .search-icon .close:hover {
    background: #fafafa !important;
}

main .model-rec .model-rec-header .listing-group .search-icon ion-icon {
    font-size: 1.2rem !important;
    color: #666 !important;
    --ionicon-stroke-width: 48px;
    display: block;
}

main .model-rec .model-rec-header .listing-group .search-icon .btn:hover ion-icon,
main .model-rec .model-rec-header .listing-group .search-icon .close:hover ion-icon {
    color: #333 !important;
}

main .model-rec .model-rec-header .listing-group .search-icon .close {
    display: none !important;
}

main .model-rec .model-rec-header .listing-group .search-icon .closeBtn.active {
    display: inline-flex !important;
}


.searchGroup {
    display: flex;
    position: relative;
    right: 10px;
}

.search {
    font-size: 1.5em;
    cursor: pointer;
    background: #efefef;
}

.searchBox {
    width: 100%;
    height: 0;
    overflow: hidden;
    background: #fff;
    transition: all 0.3s ease-in-out;
    opacity: 0;
}

.searchBox.active {
    height: auto;
    padding: 16px 0 0 0;
    opacity: 1;
}

.searchBox input {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e5e5e5;
    border-radius: 8px;
    font-size: 0.95rem;
    transition: all 0.2s ease;
    outline: none;
    background-color: #fff;
    color: #000;
    height: auto;
}

.searchBox input:focus {
    border-color: #1a1a1a;
}

.searchBtn {
    position: relative;
    top: 10px;
    left: 20px;
    transition: 0.5s;
}

.searchBtn.active {
    left: 0;
    border: none;
}

.closeBtn {
    position: relative;
    top: 14px;
    opacity: 0;
    visibility: hidden;
    transition: 0.5s;
    scale: 0;

}

.closeBtn.active {
    opacity: 1;
    visibility: visible;
    transition: 0.5s;
    scale: 1;
    position: relative;
    top: 14px;
}

main .model-rec section {
    width: 100%;
}

main .model-rec section::after {
    content: '';
    display: block;
    clear: both;
}

main .model-rec section article {
    width: 16%;
    max-width: 300px;
    float: left;
    box-sizing: border-box;
    padding: 10px;
    margin-bottom: 20px;
}

main .model-rec section article > div {
    width: 100%;
    height: 100%;
    background: #fff;
    border-radius: 12px;
    box-sizing: border-box;
    padding: 0;
    padding-bottom: 16px;
    transition: all 0.3s ease;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

main .model-rec section article > div:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}


main .model-rec section article > div:hover p {
    color: #888;
}

main .model-rec section article div a {
    display: block;
    overflow: hidden;
}

main .model-rec section article div img {
    width: 100%;
    height: 320px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

main .model-rec section article div img:hover {
    cursor: pointer;
    transform: scale(1.05);
}

main .model-rec section article div h2 {
    font-size: 1rem;
    font-weight: 600;
    color: #1a1a1a;
    padding: 16px 16px 8px;
    line-height: 1.4;
    margin: 0;
    font-family: inherit;
    letter-spacing: normal;
}

main .model-rec section article div p {
    font-size: 0.85rem;
    color: #888;
    padding: 0 16px;
    line-height: 1.5;
    margin: 0;
    overflow: hidden;
    font-family: inherit;
    flex-grow: 1;
}

main .model-rec section article > div:hover h2 {
    color: #1a1a1a;
}

.rating_box {
    padding: 12px 16px 16px;
}

.rating {
    position: relative;
    font-size: 1.4rem;
    color: #e5e5e5;
    letter-spacing: 2px;
    margin-bottom: 8px;
    text-align: center;
    width: max-content;
    margin-left: auto;
    margin-right: auto;
}

.rating .rating_star {
    position: absolute;
    width: 0;
    left: 0;
    top: 0;
    color: #fbbf24;
    overflow: hidden;
    margin: 0;
    padding: 0;
}

.rating input {
    position: absolute;
    width: 100%;
    height: 4px;
    opacity: 0;
    left: 0;
    top: 100%;
    cursor: pointer;
    accent-color: #1a1a1a;
}

@media screen and (max-width: 1500px) {
    main .model-rec section article {
        width: 25%;
    }
}

@media screen and (max-width: 1100px) {
    main .model-rec section article {
        width: 33%;
    }
}

@media (max-width: 1500px) {
    .center-main-field {
        width: 100%;
    }

    div.left-float-field {
        /* transform: translateX(-100%); 기본적으로 숨김 상태 */
        transform: translateX(-100%); /* 기본적으로 화면 밖으로 밀어냄 */
        position: fixed; /* 고정 위치 설정 */
        height: 100vh; /* 화면 높이로 확장 */
        box-shadow: 2px 0 5px rgba(0, 0, 0, 0.2);
        background: white;
    }

    .hamburger-menu {
        position: absolute;
        top: 20px;
        right: -55px;
        z-index: 1100;
        background: none;
        border: none;
        cursor: pointer;
        padding: 5px;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        height: 30px;
    }

}

@media screen and (max-width: 679px) {
    main .model-rec section article {
        width: 50%;
    }
}

@media screen and (max-width: 539px) {
    main .model-rec section article {
        width: 20%;
    }

    body > main > div.inside > div.center-main-field > div > div.posters > section > article > div > p {
        display: none;
    }

    .rating {
        font-size: 1.1em;
    }

    div.right-field {
        display: none;
    }

}
