html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
    color: inherit;
    vertical-align: baseline;

    overflow-x: hidden;

    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;

}

::-webkit-scrollbar {
    display: none;
}

::selection {  
    color: rgb(225, 225, 220);  
    background-color: rgb(65, 65, 65);
}

#command-eng:hover {
    cursor: pointer;
}

img::selection {
    background-color: transparent;
    color: inherit;
}

button {
  all: unset;
  cursor: pointer;
}

a {
    text-decoration: none;
}

body {
    overflow-x: hidden;
    
    color: rgb(65, 65, 65);
    background-color: rgb(225, 225, 220);

    font-family: Gothic A1;
    font-size: 0.8rem;
    font-weight: 500;
    line-height: 1.125rem;

    letter-spacing: 0.02em;
    word-spacing: 0.0775em;

    word-break: keep-all;

    @media (min-width:0px) and (max-width:680px){
        font-size: 0.75rem;
        line-height: 1rem;

        letter-spacing: 0.0075em;
        word-spacing: 0.05em;

        font-weight: 600;
    }
}

#menu-fixed {
    color: rgb(165, 165, 160);
    position: fixed;
    top: 2.5rem;
    z-index: 1000;

    width: calc(100vw - 0rem);
    height: 2.5rem;

    display: flex;
    justify-content: center;
    align-items: center;

    overflow-y: hidden;

    mix-blend-mode: difference;

    @media (min-width:0px) and (max-width:680px){
        width: calc(100vw - 2rem);
        top: 1rem;
        height: 2rem;
        padding: 1rem;
    }

}

#to-index {
    overflow-y: hidden;
    height: 100%;
    padding: 1rem;

}

#logo {

    @media (min-width:0px) and (max-width:680px){
        height: 2rem;
    }
}

.visible-DT {
    letter-spacing: 0.05em;
    word-spacing: 0.5em;
    @media (min-width:0px) and (max-width:1400px){
        display: none;
    }
}

#to-info:hover {
    font-weight: 700;
}

.w-100 {
    width: 100%;
}

.h-100 {
    height: 100%;
}

#menu {
    border-bottom: solid 1px rgb(65, 65, 65);
    width: calc(100vw - 20vw);
    margin-top: 12.5rem;
    margin-left: 10vw;
    
    margin-bottom: 1rem;
    
    display: flex;
    flex-direction: column;

    @media (min-width:680px) and (max-width:1400px){
            border-bottom: inherit;
        width: calc(100vw - 10vw);
        margin-left: 5vw;
        margin-bottom: 3.5rem;
    }

    @media (min-width:0px) and (max-width:680px){
            border-bottom: inherit;
        width: calc(65vw - 2rem);
        margin-left: calc(17.5vw + 1rem);
        margin-bottom: 2.5rem;
    }
}

#menu-center {
    text-align: left;
    display: grid;
    grid-template-columns: 1fr 1.5fr 1fr;
    margin-bottom: 0.75rem;

    @media (min-width:0px) and (max-width:1400px){
        display: block;
        text-align: center;
        margin-bottom: 0rem;
    }
}

.slogan {
    text-transform: uppercase;
    letter-spacing: 0.1em;
    word-spacing: 0.5em;
    text-align: center;
    word-break: keep-all;
}

/* 따옴표 전용 글리프(직선) 강제 */
.sq {
  font-family: monospace !important;
  font-variant-ligatures: none;
  font-feature-settings: "liga" 0, "calt" 0, "ss01" 0, "ss02" 0;
}

/* 상위 컨테이너에서 브라우저 자동 인용부호 생성(quote/open-quote 등) 무력화 */
.force-straight, .force-straight * { quotes: none; }

.A-E:hover {
    font-weight: 700;
}

.text-center {
    text-align: center;
}

.text-right {
    text-align: right;
}





#menu-button-mobile {
    display: none;

    letter-spacing: 0.1em;
    word-spacing: 0.5em;

    @media (min-width:680px) and (max-width:1400px){
        display: block;
        position: absolute;
        padding: 1.75rem;
        left: calc(5vw + 0.75rem - 1.75rem);
    }

    @media (min-width:0px) and (max-width:680px){
        display: block;
        position: absolute;
        padding: 1.75rem;
        left: calc(1rem + 0.75rem - 1.75rem);

        font-weight: 600;
    }
}

#lang-button {
    display: none;

    letter-spacing: 0.05em;
    word-spacing: 0.5em;

    @media (min-width:680px) and (max-width:1400px){
        display: block;
        position: absolute;
        padding: 1.75rem;
        right: calc(5vw + 0.75rem - 1.75rem);
    }

    @media (min-width:0px) and (max-width:680px){
        display: block;
        position: absolute;
        padding: 1.75rem;
        right: calc(1rem + 0.75rem - 1.75rem);

        font-weight: 600;

        font-size: 0.735rem;
    }
}

#popup-menu {
  display: none;
}

/* media query (바깥에 선언) */
@media (min-width: 1000px) and (max-width: 1400px) {
  #popup-menu.open {
    display: grid;
    grid-template-columns: 1fr 1fr;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1001;

    padding: 1rem;
    padding-left: 2rem;

    background-color: rgb(250, 245, 240);
    box-shadow: 0 0.25rem 0.25rem rgba(0, 0, 0, 0.1);
    width: calc(50vw - 5rem);

    text-align: left;
    letter-spacing: 0.1em;
    word-spacing: 0.5em;

    word-break: keep-all;
    font-kerning: normal;
    text-transform: uppercase;
  }
}

@media (min-width: 680px) and (max-width: 1000px) {
  #popup-menu.open {
    display: block;
    position: fixed;
    z-index: 1001;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);

    padding-top: 0.25rem;
    padding-bottom: 1.5rem;

    background-color: rgb(250, 245, 240);
    box-shadow: 0 0.25rem 0.25rem rgba(0, 0, 0, 0.1);
    width: calc(50vw - 2rem);

    text-align: left;
    letter-spacing: 0.1em;
    word-spacing: 0.5em;

    word-break: keep-all;
    font-kerning: normal;
    text-transform: uppercase;
  }
}

@media (min-width: 0px) and (max-width: 680px) {
  #popup-menu.open {
    display: block;
    position: fixed;
    z-index: 999;
    top: 0;
    left: 0;
    width: calc(100vw - 2 * 1.75rem);
    background-color: rgb(225, 225, 220);
    box-shadow: 0 0.25rem 0.5rem rgba(0, 0, 0, 0.15);

    padding: 1.75rem;
    padding-top: 7.5rem;

    text-align: left;
    letter-spacing: 0.1em;
    word-spacing: 0.5em;

    word-break: keep-all;
    font-kerning: normal;
    text-transform: uppercase;
  }
}

.img-shell.blurred {
  filter: blur(10px) contrast(0.5);
  transition: filter 0.5s ease;
}

.text.blurred {
  filter: blur(5px);
  color: rgb(250, 245, 240);
  transition: filter 0.5s ease, color 0.5s ease;
}

#popup-top {
    width: 100%;
    display: flex;
    flex-direction: column;

    @media (min-width: 680px) and (max-width: 1000px) {
        padding-top: 1rem;
        padding-bottom: 1rem;
    }

    @media (min-width: 0px) and (max-width: 680px) {
        padding-top: 1rem;
        padding-bottom: 1rem;
    }
}

#popup-catg {
    display: none;

    @media (min-width: 680px) and (max-width: 1000px) {
        display: flex;
        flex-direction: column;

        padding-top: 0.55rem;
        padding-bottom: 0.75rem;

        display: grid;
        grid-template-columns: 1fr 1fr;
        width: calc(100% - 4rem);
        margin-left: 2rem;
        column-gap: 2rem;
    }

    @media (min-width: 0px) and (max-width: 680px) {
        display: flex;
        flex-direction: column;

        padding-top: 0.5rem;
        padding-bottom: 0.25rem;

        width: 100%;

        display: grid;
        grid-template-columns: 1fr 1fr;
        column-gap: 1.5rem;
    }
}

#popup-thumb {
    height: 100%;
    width: 100%;
    object-fit: cover;
    
    @media (min-width: 680px) and (max-width: 1000px) {
        aspect-ratio: 4/3;
    }

    @media (min-width: 0px) and (max-width: 680px) {
        aspect-ratio: 2/1;
    }
}

.popup-buttons-center {
    line-height: 2.25rem;
    display: flex;
    flex-direction: row;
    justify-content: left;

    padding-top: 1rem;
    transform: rotate(-5deg);

    @media (min-width: 680px) and (max-width: 1000px) {
        padding-top: 0rem;
        line-height: 2.25rem;
        justify-content: center;
        transform: rotate(0deg);
    }

    @media (min-width: 0px) and (max-width: 680px) {
        padding-top: 0rem;
        line-height: 2rem;
        justify-content: center;
        transform: rotate(0deg);
    }
}

.popup-buttons {
    line-height: 2.25rem;
    padding-top: 0.25rem;
    border-bottom: solid 1px rgb(65, 65, 65);

    @media (min-width: 680px) and (max-width: 1000px) {
        line-height: 0.85rem;
        padding-top: 0.85rem;
        padding-bottom: 0.75rem;
    }

    @media (min-width: 0px) and (max-width: 680px) {
        line-height: 2rem;
        padding-top: 0.25rem;
    }
}

.popup-buttons:hover {
    font-weight: 700;

    @media (min-width: 0px) and (max-width: 1000px) {
        text-align: center;
    }
}

.popup-buttons-center:hover {
    font-weight: 700;
}

#popup-catg-DT {
    margin-top: 10vh;
    display: flex;
    flex-direction: column;
    padding-right: 2.5rem;
    margin-bottom: calc(1.75rem + 1px);
    transform: rotate(3deg);
    padding-left: 0.5rem;

    @media (min-width: 0px) and (max-width: 1000px) {
        display: none;
    }
}












#Catg {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr 1fr 1fr 1fr;
    text-align: center;

    margin-top: 2.5rem;

    border-left: solid 1px rgb(65, 65, 65);

    @media (min-width:0px) and (max-width:1400px){
        display: none;
    }

    @media (min-width:0px) and (max-width:680px){
        border-left: solid 1px rgb(65, 65, 65);
        border-top: solid 1px rgb(65, 65, 65);
        grid-template-columns: 1fr 1fr 1fr 1fr;
    }
}

.Catg-element {
    border-right: solid 1px rgb(65, 65, 65);
    padding-bottom: 0.5rem;

    @media (min-width:0px) and (max-width:680px){
        border-right: solid 1px rgb(65, 65, 65);
        border-bottom: solid 1px rgb(65, 65, 65);
        padding-bottom: 0.3rem;
        padding-top: 0.3rem;
    }
}

.Catg-element:hover {
    font-weight: 700;
}










#main-grid {
    width: calc(100vw - 20vw);
    margin-left: 10vw;

    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    column-gap: 1.5rem;

    overflow: visible;

    @media (min-width:680px) and (max-width:1400px){
        grid-template-columns: 1fr 1fr;

        width: calc(100vw - 10vw);
        margin-left: 5vw;
        column-gap: 1rem;
    }

    @media (min-width:0px) and (max-width:680px){
        grid-template-columns: 1fr;
        width: calc(100vw - 2rem);
        margin-left: 1rem;
    }
}

.element-none {
    display: none;
}

.element {
    display: flex;
    flex-direction: column;
    margin-bottom: 1rem;
    overflow: visible;
    
    @media (min-width:0px) and (max-width:680px){
            margin-bottom:1rem;
    }
}

.element.disabled {
  pointer-events: none;
  cursor: default; /* 원하면 추가 */
}


.element:hover .element-bg{
    display: none;
}

.img-shell {
    background-color: rgb(255, 253, 250);
    /*background-color: white;*/
    width: 100%;
    transition: transform 0.5s ease;
}

.element-img {
    width: calc(100% - 5%);
    margin: 2.5%;
    margin-bottom: 2.5%;
    aspect-ratio: 4/3;
    object-fit: contain;
    display: flex;

    mix-blend-mode: multiply;

    @media (min-width:0px) and (max-width:1400px){
        width: calc(100% - 1.5rem);
        margin: 0.75rem;
        margin-bottom: 0.85rem;
    }
}

.element:hover .element-img {
    mix-blend-mode: inherit;
    filter: inherit;
}

.element:hover .element-img-personal {
    mix-blend-mode: inherit;
    filter: inherit;
}

.element:hover .element-img-informations {
    mix-blend-mode: inherit;
    filter: inherit;
}

.element:hover .img-shell {
    background-color: rgba(0, 0, 0, 0);
    transform: rotate(0deg) translate(0, 0) !important;
    
}

.text {
    display: grid;
    grid-template-columns: 1fr;
    padding: 0.75rem;
    padding-bottom: 2rem;

    @media (min-width:0px) and (max-width:680px){
            grid-template-columns: 2fr 1fr;
            padding-top: 0.5rem;
    }
}

.element:hover .title {
    font-weight: 700;

    @media (min-width:0px) and (max-width:680px){
        font-weight: 600;
    }
}

.year {
    letter-spacing: 0.1em;
    word-spacing: 0.5em;

    @media (min-width:0px) and (max-width:680px){
            text-align: right;
    }
}

/*
.personal {
    background-color: rgb(255, 250, 245);
}
*/

.informations {
    background-color: rgba(150, 150, 140, 0.5);
}

.element-img-informations {
    width: calc(100% - 5%);
    padding: 2.5%;
    padding-bottom: 2.5%;
    aspect-ratio: 4/3;
    object-fit: contain;
    display: flex;

    @media (min-width:0px) and (max-width:1400px){
        width: calc(100% - 1.5rem);
        padding: 0.75rem;
        padding-bottom: 0.85rem;
    }

}

.element-bg {
    top: 0;
    left: 0%;
    position: absolute;
    z-index: -100;
    width: 100%;
    height: 100%;
    object-fit: cover;

}

.element-img-personal {
    width: calc(100% - 5%);
    margin: 2.5%;
    margin-bottom: 2.5%;
    aspect-ratio: 4/3;
    object-fit: contain;
    display: flex;

    @media (min-width:0px) and (max-width:1400px){
        width: calc(100% - 1.5rem);
        margin: 0.75rem;
        margin-bottom: 0.85rem;
    }
}










.visible-MoTb {
    display: none;

    @media (min-width:0px) and (max-width:1400px){
        display: block;
    }
}

.blank-solid {
    width: 100%;
    height: 2.5rem;
}

.blank-bold {
    width: 100%;
    height: 7.5rem;
}

#blank-bottom {
    height: 25vh;
}

#bg-img {
    position: fixed;
    z-index: -1000;
    bottom: 0;
    width: 100vw;
    height: 100vh;
    object-fit: cover;

    display: flex;
    justify-self: center;
    align-self: center;
}

#to-top {
    position: fixed;
    left: 50%;
    transform: translateX(-50%);
    bottom: 3rem;
    width: 5rem;

    mix-blend-mode: difference;

    @media (min-width:0px) and (max-width:1400px){
        bottom: 2.25rem;
    }
}

#copyright {
    z-index: 10000;
    letter-spacing: 0.1em;
    word-spacing: 0.5em;
    width: 100vw;
    position: fixed;
    bottom: 0;

    text-transform: uppercase;

    color: rgb(190, 190, 190);
    mix-blend-mode: difference;
    text-align: center;
    margin-bottom: 1rem;
}