body {
    font-size: 18px;
    color: #1c1c1c;
    font-family: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, system-ui, Roboto, "Helvetica Neue", "Segoe UI", "Apple SD Gothic Neo", "Noto Sans KR", "Malgun Gothic", "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", sans-serif;
    line-height: 1.5;
}
h1, .h1, h2, .h2, h3, .h3, h4, .h4, h5, .h5, h6, .h6 {
    line-height: 1.5;
}
a {
    color: inherit;
}
a:hover {
    color: inherit;
}
.vertical-super {
    vertical-align: super;
}
.min-vh-85 {
    min-height: 85vh;
}
.min-vh-70 {
    min-height: 70vh;
}
.container-800 {
    max-width: 800px;
  }


/* color */
.color-green {
    color: #53b558 !important;
}
.bg-light2 {
    background-color: #cfcfcf !important;
}
.bg-green {
    background-color: #53b558 !important;
}
.bg-yellow {
    background-color: #ffe821 !important;
}
.bg-hover-green:hover {
    background-color: #53b558 !important;
    color: #fff !important;
}
.text-yellow-hover:hover {
    color: #ffe821 !important;
}
.text-green-hover:hover {
    color: #53b558 !important;
}
.text-green-hover:hover .text-muted {
    color: #53b558 !important;
}
.headroom--not-top .navbar-sticky.navbar-green {
    background-color: #53b558 !important;
}


/* font-size */
.fs-16 {
    font-size: 16px !important;
}
.fs-18 {
    font-size: 18px !important;
}
.fs-20 {
    font-size: 20px !important;
}

/* button */
.btn-login-bottom {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 1rem;
    text-align: center;
    background-color: transparent;
    color: inherit;
    border-top: 1px solid #fff;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease;
}
.btn-outline-light {
    color: #1c1c1c;
}


/* nav */
.navbar {
    display: block;
}
.nav-link {
    padding: 1rem;
    color: inherit;
}
.navbar-brand img {
    max-height: 3.4rem;
}
.nav-link.nav-icon {
    padding-right: 0!important;
}
.navbar-green .navbar-nav .nav-link:hover,
.navbar-green .navbar-nav .nav-link:focus {
    color: #fff;
}
.navbar-light .navbar-nav .nav-link {
    color: #1c1c1c;
}
.navbar-active .navbar {
    height: 100vh;
}
.navbar-nav .nav-link {
    font-weight: 600;
}
.navbar-brand svg {
    width: auto;
    height: 40px;
}
.dropdown-toggle::after {
    position: absolute;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    border-top: .4em solid ;
    border-right: .4em solid transparent;
    border-left: .4em solid transparent;
    border-bottom: 0;
    transition: transform 0.3s ease, border-top-color 0.5s ease;
}
.dropdown-toggle.show::after {
    transform: translateY(-50%) rotate(180deg);
    border-top-color: #53b558;
}
.dropdown-menu {
    background-color: #fff;
    padding: 1rem 1.5rem;
}
.navbar-green .dropdown-menu {
    border: none;
}
.navbar-light .dropdown-menu {
    border: 1px solid #eee;
    box-shadow: none;
}
.dropdown-menu .dropdown-item {
    font-size: 16px;;
    padding: 0.5rem;
    color: #9b9b9b;
}
.dropdown-menu .dropdown-item:hover {
    padding: 8px;
}
.dropdown-hover>.dropdown-menu {
    border-radius: 5px;
}
.navbar-collapse.show .btn-login-bottom {
    opacity: 1;
    pointer-events: auto;
}
.navbar-light .btn-login-bottom {
    border-color: #1c1c1c;
}


/* carousel */
.carousel.notice .notice-text {
    display: block; 
    max-width: 100%; 
    white-space: nowrap; 
    overflow: hidden;
    text-overflow: ellipsis;
    padding-right: 60px;
    box-sizing: border-box;
}
.carousel.notice > .tns-outer {
    flex: 1 1 auto;
    min-width: 0;
}
.carousel.notice .tns-ovh,
.carousel.notice .tns-inner,
.carousel.notice .tns-slider,
.carousel.notice .tns-item {
    min-width: 0;
}
.carousel.notice .tns-controls {
    position: absolute;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    gap: 8px;
    cursor: pointer;
    z-index: 3;
}
.carousel.notice .tns-controls button {
    all: unset;
    width: 25px;
    height: 25px;
    background: #fff;
    color: #fff;
    font-size: 30px;
    display: flex; 
    align-items: center;
    justify-content: center;
    cursor: pointer;
}
.carousel.notice .tns-item {
    font-size: 18px;
}
.carousel.notice .tns-controls [data-controls="next"] {
    border-radius: 0 50% 50% 0;
}
.carousel.notice .tns-controls [data-controls="prev"] {
    border-radius: 50% 0 0 50%;
}
.carousel.notice .tns-controls button .bi {
    position: relative;
    top: 0;
    left: 0;
    margin: 0;
    cursor: pointer;
    font-size: 14px;
    color: #555;
}
.carousel.notice .tns-controls [data-controls="next"] .bi::before {
    content: "\F285";
}
.carousel.notice .tns-controls [data-controls="prev"] .bi::before {
    content: "\F284";
}


/* table */
.sjf_table table {
    text-align: center;
    margin-bottom: 0;
}
.sjf_table thead th {
    font-size: inherit;
    color: #1c1c1c;
    font-weight: 600;
}
.sjf_table tbody tr:last-child {
    border-bottom: 1px solid #ddd;
}
.sjf_table tbody tr:hover {
    border-top: 1px solid #53b558;
    border-bottom: 1px solid #53b558;
}
.sjf_table .table th,
.sjf_table .table td {
    padding: 1.6rem 1.5rem;
}
.pagination .page-item .page-link {
    color: #1c1c1c;
    border-radius: 0;
    padding: 0;
    min-width: 40px;
    height: 40px;
    line-height: 40px;
}
.pagination .page-item.active .page-link {
    background-color: #53b558;
    color: #fff;
    border-radius: 100px;
}
.pagination .page-item:not(.active) .page-link:hover {
    background-color: transparent;
    color: #1c1c1c;
}
.page-link:focus {
    box-shadow: none;
    background-color: transparent;
}


/* card */
.recipe_best-card .card-title {
    font-size: 20px;
}
.recipe_best-card .card-header,
.recipe_best-card .card-footer {
    padding: 1.5rem;
}
.recipe_card .card-body {
    padding: 1rem 1.5rem;
}
.recipe_card.card-arrow::after {
    right: 2rem;
    bottom: 2rem;
    font-size: 1.3rem;
}
.recipe_card.card-arrow:not(.card-hover-arrow):hover::after {
    right: 1.5rem;
    bottom: 1.5rem;
    font-size: 1.2rem;
}
.recipe_info ul {
    display: flex;
    flex-direction: row;
    padding-left: 0;
    list-style: none;
    justify-content: space-evenly;
}
.recipe_info ol {
    padding-left: 30px;
}
.recipe_info ol li:not(:last-child) {
    margin-bottom: 10px;
}
.recipe_info ol li::marker {
    font-weight: 700;
    font-size: 20px;
    content: counter(list-item) "   ";
}



/* etc */
.board .name::after {
    content: "|";
    margin: 0 8px;
}
.card-hover-gradient:hover {
    background-color: #ffe821;
}
hr {
    opacity: 1;
}
.list-group-separated .list-group-item {
    padding: 1rem 0;
}
.list-group-separated .list-group-item .label {
    font-weight: 600;
    padding-right: 20px;;
}
.form-control:focus {
    border-color: none;
    box-shadow: none;
    border-color: #53b558;
}
.terms {
    padding: 10rem 0;
}
.terms h1 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 2rem;
}
.terms h2 {
    font-size: 24px;
    font-weight: 700;
    margin: 1.2rem 0;
}
.terms p {
    margin-bottom: 10px;
}
.terms ol {
    line-height: 180%;
}


/* footer */
footer {
    font-size: 14px;
}
.sns-icon a .bi:hover {
    color: #53b558;
}

/* media */
@media (max-width: 992px) {
    body {
        font-size: 16px;
    }
    .carousel.notice .tns-item {
        font-size: 16px;
    }
    .dropdown-menu {
        background-color: transparent;
        padding: 0;
    }
    .dropdown-menu[data-bs-popper] {
        margin-top: 0;
    }
    .navbar-light .dropdown-menu {
        border: none;;
    }
    .dropdown-menu .dropdown-item {
        font-size: 14px;
    }
    .transform-custom {
        transform: translateX(-75%) !important;
    }
    .sjf_table .table th,
    .sjf_table .table td {
        padding: 1.2rem .3rem;
    } 
    .sjf_table tbody tr td:first-child {
        width: 10%; 
    }
    .sjf_table tbody tr td:last-child {
        width: 20%;  
    }
    .recipe_best-card .card-header,
    .recipe_best-card .card-footer {
        padding: 1rem;
    }
}

@media (max-width: 768px) {
    .sjf_table tbody tr td:first-child {
        width: 18%; 
    }
    .sjf_table td:nth-child(3),
    .sjf_table th:nth-child(3),
    .sjf_table td:nth-child(4),
    .sjf_table th:nth-child(4){
        display: none;
    }
    .recipe_best-card .card-title {
        font-size: 18px;
    }
    .recipe_card .card-body {
        padding: 1rem;
    }
    .recipe_card.card-arrow::after {
        right: .9rem;
        bottom: 1.5rem;
        font-size: 1rem;
    }
    .recipe_card.card-arrow:not(.card-hover-arrow):hover::after {
        right: .8rem;
        bottom: .8rem;
        font-size: .9rem;
    }
}
