/*** Font ***/

/* Google Font - DM Serif Display, DM Sans*/
@import url('https://fonts.googleapis.com/css2?family=DM+Sans:opsz,wght@9..40,1000&family=DM+Serif+Display:ital@0;1&display=swap');
/* Pretendard */
@import url("https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.9/dist/web/static/pretendard.min.css");
/* NanumSquare_Neo */
@import url('https://hangeul.pstatic.net/hangeul_static/css/nanum-square-neo.css');

.text-kword,
.text-serif {
    font-family: 'DM Serif Display', serif;
}

.text-sanserif {
    font-family: 'DM Sans', sans-serif;
}

.text-NanumSN {
    font-family: 'NanumSquareNeo';
}

.text-NanumSN-heavy {
    font-family: 'NanumSquareNeoHeavy';
}

.b1r {
    border:1px solid red;
}
.b1b {
    border:1px solid black;
}

/*** bootstrap-edit S ***/

:root {
    --bs-primary: #b01117;
    --bs-primary-rgb: 176, 17, 23;
    --bs-highlight-color: #b01117;
    --bs-highlight-bg: #fff;
    --bs-font-serif: "DM Serif Display";
    --bs-font-sans-serif: "Pretendard", "DM Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
    --bs-body-font-family: Pretendard, -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Helvetica Neue, Arial, sans-serif, Apple Color Emoji, Segoe UI Emoji, Segoe UI Symbol, Noto Color Emoji;
}

.btn-primary {
    --bs-btn-color: #fff;
    --bs-btn-bg: #b01117;
    --bs-btn-border-color: #b01117;
    --bs-btn-hover-color: #fff;
    --bs-btn-hover-bg: #ff6666;
    --bs-btn-hover-border-color: #f26667;
    --bs-btn-focus-shadow-rgb: 246, 122, 88;
    --bs-btn-active-color: #fff;
    --bs-btn-active-bg: #f26667;
    --bs-btn-active-border-color: #e86161;
    --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
    --bs-btn-disabled-color: #fff;
    --bs-btn-disabled-bg: #b01117;
    --bs-btn-disabled-border-color: #b01117;
}

.btn-outline-primary {
    --bs-btn-color: #b01117;
    --bs-btn-border-color: #b01117;
    --bs-btn-hover-color: #fff;
    --bs-btn-hover-bg: #b01117;
    --bs-btn-hover-border-color: #b01117;
    --bs-btn-focus-shadow-rgb: 41, 55, 240;
    --bs-btn-active-color: #fff;
    --bs-btn-active-bg: #b01117;
    --bs-btn-active-border-color: #b01117;
    --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
    --bs-btn-disabled-color: #b01117;
    --bs-btn-disabled-bg: transparent;
    --bs-btn-disabled-border-color: #b01117;
    --bs-gradient: none;
}

/*** bootstrap-edit E ***/


/*** bootstrap-add S ***/

:root {
    --bs-kword: #b01117;
    --bs-kword-rgb: 176, 17, 23;
    --bs-font-serif: "DM Serif Display", serif;
}

/* font */
.display-0 {
    font-size: calc(1.675rem + 5.1vw);
    line-height: 1.2 !important;
}

.text-kword {
    --bs-text-opacity: 1;
    color: rgba(var(--bs-kword-rgb), var(--bs-text-opacity)) !important;
}

.text-bg-kword {
    color: #fff !important;
    background-color: RGBA(176, 17, 23, var(--bs-bg-opacity, 1)) !important;
}

.fw-thin {
    font-weight: 100 !important;
}

.fw-extralight {
    font-weight: 200 !important;
}

.fw-extrabold {
    font-weight: 800 !important;
}

.fw-black {
    font-weight: 900 !important;
}

/*** bootstrap-add E ***/


* {
    word-break: keep-all;
    overflow-wrap: break-word;
}

/* button */
.btn {
    border-radius: var(--bs-border-radius-pill);
}


/* white-space */
.text-pre-wrap {
    white-space: pre-wrap;
}


/*** NAVIGATION ***/
:root,
.navbar {
    --bs-navbar-brand-font-size: 1.75rem;
}

.navbar .btn-outline-dark {
    --bs-btn-color: #6c757d;
    --bs-btn-border-color: #adb5bd;
}

.navbar-brand,
.modal-title {
    font-size: var(--bs-navbar-brand-font-size);
}

nav .btn,
.modal-header .btn {
    font-size: 1rem;
}

.modal-header .btn-outline-light {
    --bs-btn-hover-color: var(--bs-primary);
}

.modal-header {
    border-bottom: 0;
}

.modal-content,
.modal-content a.nav-link {
    color: var(--bs-white) !important;
}

.modal-body .navbar-nav:hover li:not(li:hover) {
    opacity: 0.5;
}


.modal-body li.nav-item {
    margin-bottom: 2rem;
}

.modal-body a.nav-link {
    padding: 0 1rem;
}


/*** SECTOION - MAIN ***/

/* MAIN > bg-azword */
svg.bg-azword, svg.bg-azword text {
    font-size: 37.8350vw;
    font-family: 'DM Sans', sans-serif !important;
    fill: rgba(233, 236, 239, 0.5);
}

@media(min-width: 1400px) {
    #main .display-0 {
        font-size: 9rem !important;
    }
}

#main a.btn-outline-dark {
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
    font-size: 0.8rem;
}

@media(min-width: 576px) {
    #main a.btn-outline-dark {
        font-size: var(--bs-btn-font-size);
    }
}

@media(min-width: 1200px) {
    #main a.btn-outline-dark {
        padding: 0.75rem 0 !important;
        font-size: 1.125rem;
        font-weight: 300;
    }
}

/* MAIN > animation progressbar */
.progress-active .rounded-circle {
    width: 0.4rem;
    height: 0.4rem;
    aspect-ratio: auto 1 / 1;
}


/*** SECTOION - BUSINESS ***/

#business,
#business text {
    color: var(--bs-white);
}

#business .bg-white {
    color: var(--bs-primary);
}

#business h2.bg-white {
    width: fit-content;
}

.business-top .txt {
    opacity: 0.4;
}

@media (max-width: 576px){
    .business-top .txt {
        font-size: 0.625rem !important;
    }    
    .business-top .txt:nth-child(1) {
        scale: 2;
        opacity: 1;
    }
}

@media (min-width: 577px) and (max-width: 1024px){
    .business-top .txt {
        font-size: calc(0.7125rem + 2.1vw) !important;
    }    
    .business-top .txt:nth-child(1) {
        scale: 2;
        opacity: 1;
    }
}

@media (min-width: 1201px) and (max-width: 1399px){
    .business-top .txt {
        font-size: calc(0.7375rem + 2.7vw) !important;
    }
    .business-top .txt:nth-child(1) {
        scale: 2;
        opacity: 1;
    }
}

@media (min-width: 1400px){
    .business-top .txt {
        font-size: 2.25rem !important;
    }
    
    .business-top .txt:nth-child(1) {
        scale: 2;
        opacity: 1;
    }
}









.business-top2 .txt {
    margin-bottom: 5rem;
}

@media (max-width: 576px){
    .business-top2 .txt {
        font-size: 1.25rem !important; /* .fs-5 */
    }
}

@media (min-width: 576px){
    .business-top2 .txt {
        font-size: calc(1.425rem + 2.1vw) !important;
    }
}

@media (min-width: 1200px){
    .business-top2 .txt {
        font-size: calc(1.475rem + 2.7vw) !important;
    }
}

@media (min-width: 1400px){
    .business-top2 .txt {
        font-size: 3.75rem !important;     
    }
}


/* BUSINESS > svg */
#business  dl,
#business .item:not(.bg-white) dd {
    margin-bottom: 0;
}

#business .item:not(.bg-white) dd {
    font-size: 0.75rem;
    line-height: 1.25;
}

@media (min-width: 576px){
    #business .item.bg-white dt {
        font-size: calc(1.3rem + .6vw) !important; /* .fs-3 */
    }
    #business .item.bg-white dd {
        font-size: calc(1.275rem + .3vw) !important; /* .fs-4 */
    }
}

@media (min-width: 992px){
    #business .item.bg-white dt {
        font-size: calc(1.375rem + 1.5vw) !important; /* .fs-1 */
    }
    #business .item.bg-white dd {
        font-size: calc(1.325rem + .9vw) !important; /* .fs-2 */
    }
}

@media (min-width: 1200px){
    #business .item:not(.bg-white) dt {
        font-size: 1.25rem;
    }
    #business .item:not(.bg-white) dd {
        font-size: 0.875rem;
    }
    #business .item.bg-white dt {
        font-size: 2.5rem; /* .fs-1 */
    }
    #business .item.bg-white dd {
        font-size: 2rem; /* .fs-2 */
    }
}

    /* svg > OS, DB, Web+WAS, App */
#business .d-grid .item:first-child {
    color: #660003;
}

#business .border {
    border-color: var(--bs-white) !important;
    border-style: dotted !important;
    border-width: 1px !important;
}

    /* svg > AZEN Service */
#business .bg-white dl dd {
    margin-bottom: 0.25rem;
}

@media(max-width: 360px) {
    #business .bg-white dl dd {
        margin-bottom: 0;
    }
}

#business .bg-white .border {
    border-color: var(--bs-primary) !important;
}

@media(min-width: 1200px) {
    #business .svg_rotate {
        border-width: 2px !important;
    }
}


/*** SECTOION - SERVICE ***/
#service h2.fs-6 {
    color: var(--bs-gray-400)
}

#service h2.fs-6,
#service p {
    line-height: 1.5;
    font-weight: 800;
}

#service mark {
    position: relative;
}
#service mark::before {
    position: absolute;
    z-index: 0;
    content: '';
    background-color: rgba(var(--bs-primary-rgb), 0.15);
    width: 100%;
    left: 0;
    bottom: 0.5rem;
    height: 1rem;
}

@media(min-width: 992px) {
    #service h2.fs-6 {
        font-size: 1.25rem !important; /* .fs-5 */
    }

    #service p {
        font-size: calc(1.325rem + .9vw) !important; /* .fs-2 */
    }

    #service .display-1 {
        font-size: calc(1.825rem + 6.9vw) !important; /* .display-0 */
    }
}

@media(min-width: 1200px) {
    #service p {
        font-size: 2.5rem !important; /* .display-5 */
        font-weight: 900;
    }
    #service .display-1 {
        font-size: 10rem !important;
    }
}

@media(min-width: 1400px) {
    #service .display-1 {
        font-size: 12rem !important;
    }
}

#service a {
    color: var(--bs-tertiary-color);
}

#service .bg-light {
    background-color: #f2f4f7 !important;
    font-size: 0.875rem;
    font-weight: 200;
    padding: 0.375rem 1rem;
}


/*** SECTOION - PROJECT ***/
@media(min-width: 1400px) {
    #project .display-0 {
        font-size: 8rem !important;
    }
}

#project .box a dl {
    color: var(--bs-white);
    text-align: center;
    /* font-weight: 600; */
}

#project .box a dl dd {
    line-height: 1.25;
}

#project .box a dl dd.p-name {
    font-weight: 200;
}

@media(max-width: 576px) {
    #project .box a dl dt {
        font-size: 0.75rem !important;
        font-weight: 300;
    }
    #project .box a dl dd.fs-2 {
        font-size: 1rem !important; /* .fs-6 */
        font-weight: 700;
    }
}

#project .box div {
    background-color: rgba(0, 0, 0, 0.4);
}

#project button.rounded-circle {
    aspect-ratio: auto 1 / 1;
}

#project button.rounded-circle::after {
    content: 'more';
}

#project button.rounded-circle:not(.collapsed)::after {
    content: 'close';
}


/*** SECTOION - CONTACT ***/
@media(min-width: 1400px) {
    #contact .display-1 {
        font-size: 6rem !important;
    }
}

@media(max-width: 992px) {
    #contact .fs-5 {
        font-size: 1rem !important;
    }
}

@media(min-width: 992px) {
    #contact .btn {
        padding: 0.75rem 1.5rem !important;
    }
}

#contact .con01 {
    letter-spacing: -0.67rem;
}


/*** footer ***/
footer {
    color: var(--bs-gray);
    font-size: 0.75rem;
}

footer p {
    margin-bottom: 0;
}



