@font-face {
    font-family: 'MaruBuri';
    src: url(https://hangeul.pstatic.net/hangeul_static/webfont/MaruBuri/MaruBuri-Regular.eot);
    src: url(https://hangeul.pstatic.net/hangeul_static/webfont/MaruBuri/MaruBuri-Regular.eot?#iefix) format("embedded-opentype"), url(https://hangeul.pstatic.net/hangeul_static/webfont/MaruBuri/MaruBuri-Regular.woff2) format("woff2"), url(https://hangeul.pstatic.net/hangeul_static/webfont/MaruBuri/MaruBuri-Regular.woff) format("woff"), url(https://hangeul.pstatic.net/hangeul_static/webfont/MaruBuri/MaruBuri-Regular.ttf) format("truetype");
}

body {
    font-family: "MaruBuri", serif;
    font-weight: 400;
    font-size: 16px;
    word-break: keep-all;
    margin: 0;
    padding: 0;
    text-align: center;
    background-color: #f8f8f8;
}

.notoserif {
    font-family: "Noto Serif KR";
}

.mb1 {
    margin-bottom: 1rem;
}

.mb2 {
    margin-bottom: 2rem;
}

.mb3 {
    margin-bottom: 3rem;
}

.w100 {
    width: 100%;
}

.w90 {
    width: 90%;
}

.w80 {
    width: 80%;
}

.text-left {
    text-align: left;
}

.container {
    margin: 10px;
}

.invitation {
    margin: 20px auto;
    max-width: 400px;
    padding: 20px;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}

.flex-center {
    display: flex;
    justify-content: center;
    align-items: center;
}

.names {
    letter-spacing: 0.4rem;
    font-weight: 600;
    margin: 10px 0;
}

.section {
    margin: 3rem 0;
}

.calendar {
    margin-bottom: 2rem;
}

.calendar table {
    margin: 0 auto;
    border-collapse: collapse;
}

.calendar th {
    font-size: 10px;
    font-style: italic;
    padding-bottom: 0.6rem;
}

.calendar td {
    padding: 8px 0.6rem;
}

.calendar .heart {
    background: url("data:image/svg+xml,%3C%3Fxml version='1.0' encoding='iso-8859-1'%3F%3E%3Csvg fill='%23000000' height='30px' width='30px' version='1.1' id='Capa_1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' viewBox='0 0 471.701 471.701' xml:space='preserve'%3E%3Cg%3E%3Cpath d='M433.601,67.001c-24.7-24.7-57.4-38.2-92.3-38.2s-67.7,13.6-92.4,38.3l-12.9,12.9l-13.1-13.1 c-24.7-24.7-57.6-38.4-92.5-38.4c-34.8,0-67.6,13.6-92.2,38.2c-24.7,24.7-38.3,57.5-38.2,92.4c0,34.9,13.7,67.6,38.4,92.3 l187.8,187.8c2.6,2.6,6.1,4,9.5,4c3.4,0,6.9-1.3,9.5-3.9l188.2-187.5c24.7-24.7,38.3-57.5,38.3-92.4 C471.801,124.501,458.301,91.701,433.601,67.001z M414.401,232.701l-178.7,178l-178.3-178.3c-19.6-19.6-30.4-45.6-30.4-73.3 s10.7-53.7,30.3-73.2c19.5-19.5,45.5-30.3,73.1-30.3c27.7,0,53.8,10.8,73.4,30.4l22.6,22.6c5.3,5.3,13.8,5.3,19.1,0l22.4-22.4 c19.6-19.6,45.7-30.4,73.3-30.4c27.6,0,53.6,10.8,73.2,30.3c19.6,19.6,30.3,45.6,30.3,73.3 C444.801,187.101,434.001,213.101,414.401,232.701z'/%3E%3C/g%3E%3C/svg%3E") center no-repeat;
    background-size: auto;
    background-position: 50% 60%;
}

.title {
    margin-top: 2rem;
    font-family: "Parisienne";
}

.title h1 {
    font-size: 2.5rem;
    margin: 0;
}

.title p {
    font-size: 20px;
    line-height: 50%;
    margin: 0;
}

.letter {
    margin-top: 2em;
    font-size: 90%;
    line-height: 200%;
}

.letter p {
    margin-bottom: 2em;
}

.flexbox {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.parents {
    margin: 1rem 0;
    border-top: black 1px solid;
    border-bottom: black 1px solid;
}

.parents p {
    margin: 1rem 0;
    display: flex;
    column-gap: 0.5rem;
    align-items: center;
}

.parents p b {
    font-size: 110%;
}

.parents p span {
    width: 2rem;
}

.location {
    margin: 2rem 0;
    font-size: 110%;
    letter-spacing: 0.05rem;
}

.buttons {
    flex-direction: row;
    width: 90%;
    display: grid;
    grid-auto-flow: column;
    gap: 10px;
    margin: 1rem auto;
}

.map-button {
    font-family: "Noto Sans KR";
    font-size: 80%;
    display: block;
    text-align: center;
    padding: 5px;
    min-width: 5rem;
    color: white;
    border: none;
    border-radius: 5px;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

#navermap {
    background-color: #82b970;
}

#kakaomap {
    background-color: #fff383;
    color: #000;
}

#tmap {
    background-color: #6e67f6;
}

.map-button:hover {
    opacity: 0.85;
}

.postscript {
    margin-bottom: 2rem;
    font-size: 80%;
}

.postscript div {
    margin: 1rem 0;
}

details {
    border: 1px solid #ccc;
    border-radius: 8px;
    max-width: 400px;
    margin: 1rem auto;
    background-color: #fdfdfd;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

summary {
    text-align: left;
    font-weight: bold;
    font-size: 1.1rem;
    cursor: pointer;
    padding: 0.8rem 1rem;
    list-style: none;
}

summary::-webkit-details-marker { /* Safari 브라우저용 사용자 정의 스타일 */
    display: none;
}

summary {
    list-style-type: none; /* 그 외의 브라우저용 사용자 정의 스타일 */
}

summary::after {
    content: url('chevron.svg');
    float: right;
    transition: transform 0.3s ease;
}

details[open] summary::after {
    transform: rotate(180deg); /* 펼쳤을 때 화살표 회전 */
}

/* details[open] summary {
    border-bottom: 1px solid #ddd;
} */

.account {
    text-align: left;
    padding: 1rem;
    border-top: 1px solid #ddd;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

details b {
    display: inline-block;
    width: 60px;
    color: #333;
}

.account-details {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.5rem;
    -webkit-user-select: text;
    user-select: text;
}
  
.account-number {
    font-size: 0.95rem;
    color: #333;
    word-break: break-all;
}
  
.copy-btn {
    -webkit-appearance: none;
    appearance: none;
    text-decoration: none;
    color: black;
    background-color: #f7efe7;
    border: none;
    padding: 0.3rem 0.6rem;
    border-radius: 4px;
    font-size: 0.85rem;
    cursor: pointer;
    white-space: nowrap;
    transition: background-color 0.2s ease;
}

.rsvp-button {
    background-color: #f7efe7;
    color: #333;
    padding: 0.5rem 1rem;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.3s ease;   
}

.rsvp-button:hover {
    background-color: #f1dfcb;
}

.share {
    display: flex;
    flex-direction: row;
    gap: 1em;
}

.share-button img {
    width: 3rem;
    height: 3rem;
    cursor: pointer;
}

.separator {
    width: 50%;
    height: 1px;
    border-top: 1px solid #888888;
}