@charset "utf-8";

:root {
    --blue: #005aab;
    --skyblue: #f2f8ff;
    --indigo: #6610f2;
    --purple: #6f42c1;
    --pink: #e83e8c;
    --red: #dc3545;
    --orange: #fd7e14;
    --yellow: #ffc107;
    --green: #28a745;
    --teal: #20c997;
    --cyan: #17a2b8;
    --white: #fff;
    --gray: #6c757d;
    --gray-dark: #343a40;
    --primary: #007bff;
    --primary-lignt: #b7daff;
    --secondary: #6c757d;
    --success: #28a745;
    --info: #17a2b8;
    --main: #388d6e;
    --warning: #ffc107;
    --danger: #dc3545;
    --light: #f8f9fa;
    --dark: #343a40;
    --light: #eeeeee;
}

/* box-sizing 규칙을 명시합니다. */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

/* 폰트 크기의 팽창을 방지합니다. */
html {
    -moz-text-size-adjust: none;
    -webkit-text-size-adjust: none;
    text-size-adjust: none;
    font-size: 10px;
}

/* 기본 여백을 제거하여 작성된 CSS를 더 잘 제어할 수 있습니다. */
body,
h1,
h2,
h3,
h4,
p,
figure,
blockquote,
dl,
dd {
    margin-block-end: 0;
}

/* list를 role값으로 갖는 ul, ol 요소의 기본 목록 스타일을 제거합니다. */
ul,
ol,
li {
    list-style: none;
}

/* 핵심 body의 기본값을 설정합니다. */
body,
#root,
#App {
    width: 100%;
    height: 100vh;
    font-family: 'Pretendard';
    /* background-color: #f9f9f9; */
}

/* 제목 요소와 상호작용하는 요소에 대해 line-height를 더 짧게 설정합니다. */
h1,
h2,
h3,
h4,
button,
input,
label {
    line-height: 1.1;
}

/* 제목에 대한 text-wrap을 balance로 설정합니다. */
h1,
h2,
h3,
h4 {
    text-wrap: balance;
}

/* 클래스가 없는 기본 a 태그 요소는 기본 스타일을 가져옵니다. */
a:not([class]) {
    text-decoration-skip-ink: auto;
    color: currentColor;
}

/* 이미지 관련 작업을 더 쉽게 합니다. */
img,
picture {
    max-width: 100%;
    display: block;
}

svg {
    vertical-align: bottom;
}

/* input 및 button 항목들이 글꼴을 상속하도록 합니다. */
input,
button,
textarea,
select {
    font: inherit;
}

button {
    background: inherit;
    border: none;
    box-shadow: none;
    border-radius: 0;
    padding: 0;
    overflow: visible;
    cursor: pointer
}

/* 행 속성이 없는 textarea가 너무 작지 않도록 합니다. */
textarea:not([rows]) {
    min-height: 10em;
}

/* 고정된 모든 항목에는 여분의 스크롤 여백이 있어야 합니다. */
:target {
    scroll-margin-block: 5ex;
}

table {
    min-width: 100%;
    border-collapse: collapse;
    table-layout: fixed;
}

table th,
table td {
    font-size: 1.3rem;
}

select,
input{
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1.3rem;
}

input:focus{
    outline: none;
}

input[type="file"] {
    width: 100%;
    border: 0;
}

summary {
    position: relative;
}

summary::marker {
    content: none;
}

summary::after {
    background: url(../img/comment_arrow.png) no-repeat 0px 0px;  
    content: '';
    width: 11px;
    height: 11px;
    font-size: 1.6rem;
    font-weight: bold;
    color: #eee;
    position: absolute;
    top: calc(50%);
    right: 0;
    transform: translateY(-50%);
}


[open] summary::after {
    top: 50%;
    transform: translateY(-50%) rotate(180deg);
    color: var(--blue);
}

textarea{
    width: 100%;
    border: 0;
    border-radius: 5px;
    min-height: 250px;
    outline: 0;
    font-size: 1.3rem;
}

/* 스크롤바 디자인 */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-thumb {
    background-color: #ededed;
    border-radius: 10px;
}

::-webkit-scrollbar-track {
    background-color: #fff;
    border-radius: 10px;
}