/*
Media Query Size
----------------------------------
Small display scales - @media (min-width: 576px) and @media (max-width: 575px)
Medium screen scale - (min-width: 768px) and (max-width: 767px)
Large size display dimension - (min-width: 992px) and (max-width: 991px)
And Additional big display sizes - (min-width: 1200px) and (max-width: 1199px)
*/

@charset "utf-8";
@import url('https://fonts.googleapis.com/css2?family=Lato:ital,wght@0,100;0,300;0,400;0,700;0,900;1,100;1,300;1,400;1,700;1,900&family=Playfair+Display:ital,wght@0,400;0,500;0,600;0,700;0,800;0,900;1,400;1,500;1,600;1,700;1,800;1,900&family=Noto+Sans+KR:wght@100;300;400;500;700;900&family=Noto+Serif+KR:wght@200;300;400;500;600;700;900&family=Song+Myung&display=swap');

:root {
    --font-gothic:      'Lato', 'Noto Sans KR', sans-serif;
    --font-serif:       'Playfair Display', 'Noto Serif KR', serif;
    --font-title:       'Playfair Display', 'Song Myung', serif;

    --red-dark:     #cb000e;
    --red-dark-transparent: rgba(203, 0, 14, 0.7);
    --red-light:    #ea4836;
    --red-light-transparent: rgba(234, 72, 54, 0.7);
    --blue-dark:    #0063d0; /* rgb(0, 99, 208) */
    --blue-light:   #d1effe; /* rgb(209, 239, 254) */
    --green-dark:   #144520;
    --green-light:  #ebffe7;
    --yellow-dark:  #B9A644;
    --yellow-light: #FFFEBD;
}

html {
    font-family: var(--font-gothic);
    -webkit-text-size-adjust: 100%;
    position: relative;
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--font-gothic);
    font-weight: 400;
    -webkit-tap-highlight-color: #ced4da;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    position: relative;
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
}

article {
    font-family: var(--font-serif);
}

a:link, a:visited {
    text-decoration: none;
    color: var(--red-dark);
    transition: color .5s linear;
}

a:hover {
    color: #000;
    transition: color .5s linear;
}

h1, h2, h3, h4, h5, h6, input, select, button {
    font-family: var(--font-gothic)
}

b,strong {
    font-weight: 700
}

code {
	font-family: var(--bs-font-monospace);
}

/*--------------------------------------------------------------------------
    popWin
--------------------------------------------------------------------------*/
.overlay {
    position: fixed;
    z-index: 9;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: rgba(0,0,0,0.7);
    animation: fadeIn .2s
}

.popWin {
    z-index: 9995 !important;
    display: flex;
    justify-content: center;
    align-items: flex-end;
}

.popWin.warning {
    align-items: center;
}

.popWin.off {
    display: none;
}

.popWin-content {
    width: 100%;
    height: auto;
    max-height: 90%;
    background-color: rgba(255, 255, 255, 0.9);
    padding: 0;
    border-radius: .5rem .5rem 0 0;
    animation: slideInUp;
    animation-duration: .5s;
    overflow: auto;
}

.popWin.warning .popWin-content {
    margin: 1rem;
    border-radius: .5rem;
}

.popWin.off .popWin-content {
    animation: slideOutDown .3s;
}

.popWin-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: .5rem 1rem;
    background-color: rgba(0, 0, 0, 0.1);
    border-radius: .5rem .5rem 0 0;
}

.popWin-body {
    line-height: 1.2;
    background-color: #fff;
}

.popWin-footer {
    display: flex;
    align-items: center;
    justify-content: center;
}

.popWin-content button.close {
    border: none;
    width: 25px;
    height: 25px;
    border-radius: 50%;
    background-color: var(--bs-gray-100);
    color: var(--bs-gray-700);
    font-weight: 900;
    padding: 0;
    transition: all 1s ease;
    position: relative;
}

.popWin-content button.close:hover {
    background-color: var(--red-dark);
    color: #fff;
}

.popWin-content h5 {
    margin: 0;
    font-size: 1.25rem;
    color: var(--bs-black);
    font-weight: 700;
}

.popWin-footer {
    padding: .5rem;
}

/* image-window */
.popWin.image-window .popWin-content {
    border-radius: 0;
    position: relative;
    box-shadow: 1px 1px 5px rgba(0, 0, 0, 0.7);
    background-color: transparent;
}

.popWin.image-window img {
    max-width: 100%;
    max-height: 90vh;
}

.popWin.image-window .popWin-header {
    position: absolute;
    right: 0;
    top: -1.5rem;
}

.popWin.image-window .popWin-header,
.popWin.image-window .popWin-body {
    padding: 0;
}

.popWin.image-window .popWin-content button.close {
    color: #fff;
    background-color: rgba(0, 0, 0, 0.9);
    border-color: #fff;
}

@media (min-width: 576px) {
    .popWin {
        align-items: center;
    }

    .popWin .popWin-content {
        max-width: 520px;
        width: auto;
        border-radius: .5rem;
        animation: zoomIn;
        animation-duration: .3s;
    }

    .popWin.image-window .popWin-content {
        max-width: 100%;
    }

    .popWin .popWin-body {
        border-radius: .5rem;
    }
}

@media (min-width: 768px) {
    .popWin .popWin-content {
        max-width: 720px;
    }
}

@media (min-width: 992px) {
    .popWin .popWin-content {
        max-width: 920px;
    }
}

@media (min-width: 1200px) {
    .popWin .popWin-content {
        max-width: 1020px;
    }
}