/************************************************************/
/************************header***************************/
/************************************************************/
#header {
    position: fixed;
    z-index: 99;
    top: 0;
    left: 0;
    right: 0;
    background: var(--white);
    padding: .75rem 0;
    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: 1rem;
    margin-left: auto;
}

.header-util-btn {
    font-size: 0;
    border-radius: 50%;
}

.header-util-btn:hover {
    background-color: #f5f5f9;
}

.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: 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;
    color: var(--point);
    font-size: 1.25rem;
}

.main-form {
    margin: 2rem auto 0;
    background: #e0e6f9;
    border-radius: 1.5rem;
    padding: .25rem;
    width: 100%;
    max-width: 67.5rem;
    transition: box-shadow .2s;
}

.main-form:not(main ~ *) {
    position: fixed;
    z-index: 99;
    bottom: 4rem;
    left: 50%;
    transform: translate(-50%, calc(100% + 5rem));
    box-shadow: var(--shadow-md);
    transition: transform .5s;
}

.main-form.show {
    transform: translate(-50%, 0);
}

.main-form:has(textarea:focus){
    background: var(--gradient);
    box-shadow: var(--shadow-md);
}

.main-container {
    background-color: var(--white);
    border-radius: 1.25rem;
    padding: 1rem 1.5rem;
}

.main-container textarea {
    width: 100%;
    max-height: 20rem;
    border: none;
    resize: none;
    min-height: 4rem;
    font-size: 1.25rem;
}

.main-container textarea:focus {
    outline: none;
}

.main-util {
    display: flex;
    align-items: flex-end;
    gap: 1rem;
}

.main-util .btn {
    border-radius: 10rem;
}

.main-util .btn-point {
    min-width: 11rem;
    margin-left: auto;
    font-size: 1.25rem;
    background: var(--gradient);
    transition: box-shadow .2s;
}

.main-util .btn-point:hover {
    background: var(--gradient-hover);
}

.main-util .btn-point:hover,
textarea:focus + .main-util .btn-point {
    box-shadow: var(--shadow-md);
}

.main-util .contextMenu {
    bottom: 0;
    left: 100%;
}

#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);
}