* {
	padding: 0;
	margin: 0;
    box-sizing: border-box;
	font-family: Helvetica, "Noto Sans KR", sans-serif;
}

.noto-sans-kr-regular {
    font-family: "Noto Sans KR", sans-serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
}

::selection {
    background-color: #FF00EA;
    color: #fff;
}

body {
    --columns: 4;

    display: grid;
    grid-template-columns: repeat(var(--columns), minmax(0, 1fr));
    column-gap: 16px;
    min-height: calc(100vh - 32px);
    background-color: #fff;
    font-size: 16px;
    color: #FF00EA;
    margin: 16px;
    -ms-overflow-style: none; 
	overflow: hidden;
}

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

header {
    grid-column: 1 / 4;
    grid-row: 1;
    align-self: start;
    justify-self: start;
    width: max-content;
    color: #000;
    text-align: left;
    line-height: 140%;
    white-space: nowrap;
    z-index: 1;
}

header span,
.sorry span,
address span,
address a {
    display: block;
}

.container {
    grid-column: 1 / -1;
    grid-row: 1;
    display: flex;
    flex-direction: column;
    gap: 24px;
    justify-content: center;
    align-items: center;
    min-height: calc(100vh - 32px);
    text-align: center;
}

.error {
    font-size: 80px;
    line-height: 1;
}

.sorry {
    display: flex;
    flex-direction: column;
    gap: 2px;
    font-size: 16px;
    line-height: 140%;
}

address {
    grid-column: 4 / 5;
    grid-row: 1;
    align-self: start;
    justify-self: center;
    width: max-content;
    color: #000;
    text-align: center;
    font-style: normal;
    text-decoration-color: #FF00EA;
    line-height: 140%;
}

a {
    color: inherit;
    text-decoration-color: #FF00EA;
    text-underline-offset: 2px;
}

@media (min-width: 768px) {
    body {
        --columns: 12;
    }

    header {
        grid-column: 1 / 4;
    }

    address {
        grid-column: 12 / 13;
    }
}
