@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+KR:wght@300;400;500&display=swap');

*, *::before, *::after {
    font-family: 'Noto Sans KR', sans-serif;
}

body {
    position: absolute;
    width: 100%;
    height: 100%;
    margin: 0;
    overflow: hidden;
}

button {
    cursor: pointer;
}

.header {
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1;
}

.header h2 {
    padding: 0.83em;
    margin: 0;
    background-color: white;
    font-size: 21px;
    line-height: 1.81;
    text-align: center;
    color: #222222;
    font-weight: 400;
}

.header .question {
    width: 100%;
    transform: translate(0, -0);
    background-color: #ffffff;
    border-top: 1px solid #ddd;
    border-bottom: 1px solid #ddd;
}

.header.open .question {
    border-bottom: none;
}

.header .question button {
    display: flex;
    position: relative;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    height: 47px;
    padding: 0 15px;
    border: none;
    background: none;
    font-size: 14px;
    letter-spacing: -1px;
    color: #05141f;
    font-weight: 500;
}

.header .question button img {
    width: 15px;
}

.header.open .question button img {
    rotate: 180deg;
}

.header .faq {
    display: none;
    padding: 10px;
    text-align: center;
}

.header.open .faq {
    display: block;
    position: absolute;
    width: 100%;
    top: 120px;
    height: auto;
    background-color: #fff;
    border-bottom: 1px solid #ddd;
    box-sizing: border-box;
    overflow: hidden;
}

.header .faq button {
    width: 70%;
    margin: 5px 5px;
    border-radius: 20px;
    border: 0px solid #9fa5a9;
    background: #05141f;
    padding: 7px 20px;
    font-size: 13px;
    color: #fff;
}

.body {
    width: 100%;
    height: 100%;
    margin-top: 122px;
    overflow: auto;
}

.body > div {
    padding-bottom: 215px;
}

.body .a {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    position: relative;
    padding-right: 15px;
    padding-left: 15px;
    margin-top: 15px;
}

.body .a > img {
    width: 50px;
    border: 1px solid #ddd;
    border-radius: 30px;
}

.body .a p {
    display: inline-block;
    width: 100%;
    height: auto;
    padding: 15px;
    background: #f4f4f4;
    border-radius: 5px;
    margin: 0;
    margin-left: 10px;
    font-size: 13px;
    color: #05141f;
}

.body .a p a {
    color: #00aeef;
}

.body .a p img {
    width: 200px;
}

.body .q {
    padding: 0 15px;
    margin-top: 15px;
    text-align: right;
}

.body .q p {
    display: inline-block;
    width: auto;
    height: auto;
    padding: 15px;
    background: #05141f;
    border-radius: 5px;
    margin: 0;
    color: #fff;
    font-size: 13px;
    text-align: left;
}

.input-div {
    position: fixed;
    width: 100%;
    bottom: 0px;
    left: 0;
    background-color: #ffffff;
    border-top: 1px solid #ddd;
    z-index: 1;
}

.input-div > div {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 40px;
    padding: 0 10px;
    margin: 20px 17px;
    border: none;
    border-radius: 20px;
    background-color: rgba(0, 0, 0, 0.05);
}

.input-div > div input {
    width: 100%;
    background-color: transparent;
    border: none;
    font-size: 13px;
}

.input-div > div input:focus {
    outline: none;
}

.input-div > div button {
    border: none;
    background-color: transparent;
}

.input-div > div button img {
    width: 20px;
}

.loading-div {
    display: flex;
    justify-content: center;
    align-items: center;
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background-color: rgba(0,0,0,.5);
    z-index: 2;
}

.bot-div {
    display: flex;
    justify-content: center;
    align-items: center;
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background-color: rgba(0,0,0,.5);
    z-index: 2;
}

.bot-div > img {
    width: 80%;
    max-height: 80%;
}