@import url("https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.9/dist/web/static/pretendard.min.css");

html {
    font-size: 14px;
}


@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
    box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
    position: relative;
    min-height: 100%;
}

body {
    font-family: pretendard;
}


.nav_bar {
    background-color: black;
    padding: 20px;
    border-bottom: 1px solid #ccc;
    padding-left: 50px;
}

.navbar_container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 992px;
    margin: 0 auto;
}

.navbar_brand {
    text-decoration: none !important;
    color: white !important;
    font-weight: bold;
    font-size: 1.2rem;
}

.navbar_toggler {
    color: white;
    font-size: 24px;
    background: none;
    border: none;
    cursor: pointer;
    display: none;
}

.navbar_collapse {
    display: flex;
    justify-content: flex-start;
}

.navbar_nav {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    padding-right: 120px;
}

.nav_item {
    margin-left: 20px;
}

.nav_link {
    text-decoration: none !important;
    color: white !important;
}

.icon-cart {
    margin-left: 10px;
}

/* Responsive styles */
@media (max-width: 768px) {
    .navbar_toggler {
        display: block;
    }

    .navbar_collapse {
        display: none;
        flex-direction: column;
        background-color: black;
    }

        .navbar_collapse.open {
            
            position:absolute;
            display:flex;
            
        }

    .nav_item {
        margin: 10px;
        font-size:1.1rem;
        font-weight:bold;
    }
}

footer {
    padding-top: 60px;
    font-family: pretendard;
    height: 350px !important;
    position: initial !important;
    line-height: 30px !important;
}

h7 {
    font-size: 0.8rem;
    line-height: 1.8;
    display: block;
}



.card-container {
    background-color: white;
    border-radius: 2rem;
    box-shadow: 0 .2rem 1.4rem .2rem rgb(0,0,0,.102);
    padding: 1.4rem;
    margin-bottom: 1.6rem;
}

.name-card {
    color: white;
    border-radius: 0.4rem;
    box-shadow: 0 .2rem 1.4rem .2rem rgb(0,0,0,.102);
    padding: 0.6rem;
}


.img-btn:hover {
    filter: hue-rotate(180deg) saturate(2) contrast(1); /* ¿øÇÏ´Â ÇÊÅÍ È¿°ú¸¦ Àû¿ëÇÏ¼¼¿ä */
}



.bar-chart {
    width: 80%;
    max-width: 800px;
}

.bar {
    display: flex;
    align-items: flex-end;
    margin-bottom: 20px;
}

    .bar div {
        height: 0;
        width: 100%;
        text-align: center;
        margin: 0 5px;
        background-color: #b7b7b7;
        border-radius: 5px;
        transition: height 0.3s;
    }

        .bar div:hover {
            background-color: #333;
        }

.label {
    text-align: center;
    margin-top: 5px;
    color: #333;
}

.value {
    position: relative;
    top: 35%;
    transform: translateY(-50%);
    color: white;
    font-weight: bold;
}

.bar div:hover .value {
    display: block;
}



.calendar {
    width: auto;
    max-width: 600px;
    border: 1px solid #ddd;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    background-color: #fff;
    overflow: hidden;
}

.calendar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #4f50e0;
    color: white;
    padding: 10px;
    font-size: 0.9em;
}

.calendar-body {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    padding: 10px;
    font-family: pretendard;
    font-size: 0.8em;
}

    .calendar-body div {
        text-align: center;
        padding: 10px;
        border-bottom: 1px solid #ddd;
        border-right: 1px solid #ddd;
    }

        .calendar-body div:last-child {
            border-right: none;
        }

.day {
    background-color: #f9f9f9;
    font-weight: bold;
}

.date {
    cursor: pointer;
}

    .date:hover {
        background-color: #f1f1f1;
    }

.highlight {
    background-color: #c5e1a5;
    position: relative;
}

    .highlight::before,
    .highlight::after {
        content: '';
        position: absolute;
        width: 0;
        height: 0;
    }

    .highlight:first-child::before {
        border-top: 10px solid transparent;
        border-bottom: 10px solid transparent;
        border-right: 10px solid #c5e1a5;
        left: -10px;
        top: 50%;
        transform: translateY(-50%);
    }

    .highlight:last-child::after {
        border-top: 10px solid transparent;
        border-bottom: 10px solid transparent;
        border-left: 10px solid #c5e1a5;
        right: -10px;
        top: 50%;
        transform: translateY(-50%);
    }



/* ¸ð´Þ ±âº» ½ºÅ¸ÀÏ */
.modal {
    display: none; /* º¸ÀÌÁö ¾Êµµ·Ï ¼³Á¤ */
    position: fixed; /* °íÁ¤ À§Ä¡ */
    z-index: 1; /* ´Ù¸¥ ÄÜÅÙÃ÷ À§¿¡ Ç¥½Ã */
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto; /* ÇÊ¿ä½Ã ½ºÅ©·Ñ */
    background-color: rgb(0,0,0); /* °ËÀº»ö ¹è°æ */
    background-color: rgba(0,0,0,0.4); /* Åõ¸íµµ Àû¿ë */
}

/* ¸ð´Þ ÄÜÅÙÃ÷ ½ºÅ¸ÀÏ */
.modal-content {
    font-size: 0.7rem;
    background-color: #fefefe;
    margin: 15% auto; /* ÆäÀÌÁöÀÇ °¡¿îµ¥ ¹èÄ¡ */
    padding: 20px;
    border: 1px solid #888;
    width: 80%; /* ³Êºñ ¼³Á¤ */
    box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2), 0 6px 20px 0 rgba(0,0,0,0.19);
    animation-name: animatetop;
    animation-duration: 0.4s;
}

/* ´Ý±â ¹öÆ° ½ºÅ¸ÀÏ */
.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

    .close:hover,
    .close:focus {
        color: black;
        text-decoration: none;
        cursor: pointer;
    }

/* ¾Ö´Ï¸ÞÀÌ¼Ç È¿°ú */
@keyframes animatetop {
    from {
        top: -300px;
        opacity: 0
    }

    to {
        top: 0;
        opacity: 1
    }
}

.text-sm-table {
    font-size: 0.7rem;
}
