/************************************************************/
/************************header***************************/
/************************************************************/
#header {
    position: fixed;
    z-index: 99;
    top: 0;
    left: 0;
    right: 0;
    background: var(--white);
    padding: .75rem 0;
    border-bottom: 1px solid var(--borderGray);
    transform: translateY(0);
    transition: transform .5s;
}

#header.folded {
    transform: translateY(-100%);
}

#header .inner {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.header-mainLogo a {
    display: flex;
    align-items: center;
}

.header-mainLogo img {
    max-height: 3.5rem;
}

.header-util {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    margin-left: auto;
}

.header-util i {
    color: var(--borderGray);
    font-style: normal;
}

.header-util a {
    font-weight: 600;
    color: var(--textGray);
}

.header-util a:hover {
    color: var(--black);
}

.sizeControl-wrap {
    display: flex;
    gap: .75rem;
    align-items: center;
}

.sizeControl-wrap span {
    color: var(--textGray);
    font-weight: 500;
}

.sizeControl {
    display: flex;
    gap: .5rem;
    align-items: center;
}

.sizeControl .fontSizeBtn {
    display: flex;
    align-items: center;
    border-radius: 50%;
}

.sizeControl .fontSizeBtn:hover {
    background-color: #f5f5f9;
}

.sizeControl .fontSizeBtn img {
    max-width: 1.5rem;
    filter: grayscale(1);
}

.sizeControl .fontSizeBtn:disabled {
    pointer-events: none;
    opacity: .5;
}

/************************************************************/
/************************footer***************************/
/************************************************************/
footer {
    text-align: center;
    padding: 1rem 2rem;
    color: var(--textGray);
}

main ~ footer {
    display: none;
}

.progress-wrap {
    position: fixed;
    z-index: 50;
    top: 50%;
    left: 50%;
    width: 100vw;
    height: 100vh;
    transform: translate(-50%, -50%);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: linear-gradient(#E3EFFD, #fff);
}

.progress-box {
    background-color: var(--white);
    border-radius: 1.5rem;
    box-shadow: 0 4px 32px #E4EBFA;
    padding: 1.5rem;
}

.progress-gif {
    overflow: hidden;
    border-radius: 50%;
    width: 4rem;
    aspect-ratio: 1;
    box-shadow: 0 2px 16px #ADC1EB;
}

.progress-gif img {
    width: 100%;
}

.progress-text {
    margin-top: 2rem;
    font-size: 1.25rem;
}

#resumeModal table{
    width: 100%;
}

#resumeModal table + table {
    margin-top: 1rem;
}

#resumeModal table th {
    background-color: #f4f6f9;
}

#resumeModal table th:first-child {
    width: 6rem;
}

#resumeModal table th,
#resumeModal table td {
    border: 1px solid var(--borderGray);
    padding: .75rem 1rem;
    text-align: center;
}

#openForm {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0 2px 2px 0;
    position: fixed;
    bottom: 3rem;
    right: 2rem;
    width: 4rem;
    aspect-ratio: 1;
    border-radius: 50%;
    box-shadow: var(--shadow-md);
    background-color: #fff;
}

main ~ #openForm {
    display: none;
}

#openForm:hover {
    background-color: #f4f6f9;
}

#openForm:not(.show) span,
#openForm.show img {
    display: none;
}

#openForm span {
    width: 1.5rem;
    height: 3px;
    background-color: var(--negative);
}