        html, body {
            height: 100%;
            margin: 0;
            font-family: 'Comic Sans MS', cursive;
        }

        body {
            position: relative; 
            display: flex;
            justify-content: center;
            align-items: flex-start;
            background-color: #f7f7f7;
        }

        .duck {
            width: 70px;
            height: 70px;
            margin-right: 600px;
        }
        
        h1 {
            font-size: 36px; 
            margin-top: -50px; 
            margin-right: 430px;
        }
        h2 {
            font-size: 24px; 
            margin-top: -12px;
            margin-right: 430px;
        }
        h6 {
            font-size: 15px; 
            margin-top: 45px; 
            text-align: left;
            margin-left: 45px;
            color: black;
            text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
        }
        
        .settings-bar {
            position: fixed;
            top: 0;
            right: 75px;
            width: 250px; 
            height: 100%;
            background-color: #f7f7f7;
            opacity: 0; 
            pointer-events: none; 
            transition: opacity 0.3s, transform 0.3s;
            transform: translateX(85%); 
            z-index: 2;
        }

        .show-settings-bar {
            opacity: 1; 
            pointer-events: auto; 
            transform: translateX(0); 
        }

        .settings-bar ul {
            list-style: none;
            padding: 0;
            margin: 20px;
        }

        .settings-bar li {
            margin: 10px 0;
            font-size: 18px;
            cursor: pointer;
            display: flex;
            align-items: center; /* Center the icon and text vertically */
        }

        .settings-bar i {
            margin-right: 10px; /* Add some spacing between the icon and text */
        }

        .burger-icon {
            font-size: 24px;
            position: absolute;
            top: 10px;
            right: 200px;
            cursor: pointer;
        }

        .close-settings {
            position: absolute;
            top: 10px;
            right: 10px;
            font-size: 24px;
            cursor: pointer;
        }
        .account-settings.with-profile-info {
        margin-top: 20px; /* Adjust the margin as needed */
        }
        .settings-bar .fab.fa-instagram {
        font-size: 26px; /* Increase the font size for the Instagram icon */
        margin-left: 35px; /* Add margin to move it to the right */
        margin-top: 10px;
    }

        .header-container {
            display: flex;
            flex-direction: column;
            align-items: center;
            text-align: center;
        }

        .highlight {
            color: lightgreen;
        }

        .tree-image-container {
            position: absolute;
            top: 46%; 
            left: 55%; 
            transform: translate(-50%, -50%); 
        }
        
        .letter-list {
        position: absolute;
        margin-top: 135px;
        margin-left: 100px;
        }

        #letter-list h5 {
        font-size: 23px;
        text-transform: uppercase;
        margin-top: -220px; 
        margin-left: -108px;
        }
        #letter-list p {
            font-size: 16px;
            margin-right: 50px;
            
        }

        .get-letter {
    position: absolute;
    top: 42%;
    left: 52%;
    transform: translate(-50%, -50%);
    white-space: nowrap;
    }

    .letter-entry {
        border: 2px dashed black;
        border-radius: 6px;
        padding: 10px;
        width: 235px;
        word-wrap: break-word;
        margin-left: 2px;
        margin-bottom: 20px;
        outline: lightgreen;
        transition: border-color 0.2s;
    }
    .letter-entry:hover {
        border-color: rgb(248, 103, 103); /* 호버 상태에서 테두리 색상을 초록색으로 변경 */
    }


    /* input:focus,
    textarea:focus {
    outline-color: pink;
    } */



        
        

        .socks-image {
            position: absolute;
            width: 7%; 
            top: 15%; 
        }

        .gift-image {
            position: absolute;
            width: 4%;
            top: 14%;
            left: 20.5%;
        }

        .socks-right {
            right: 25%; 
        }

        .messages-text {
            position: absolute;
            top: 20%; 
            left: 30%; 
            transform: translateX(-50%);
        }

        .copy-tree-button {
            background-color: lightgreen;
            color: white;
            font-size: 15px;
            padding: 10px 7px;
            border: none;
            border-radius: 11px;
            cursor: pointer;
            position: absolute;
            bottom: 20%; 
            left: 31%; 
            transform: translateX(-50%); 
            outline: none;
        }

        .copy-tree-button:hover {
            background-color: rgb(129, 224, 129);
            box-shadow: 0px, 0px, 7px;
        }
        .arrow-icon {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 24px; /* Adjust the font size as needed */
    cursor: pointer;
    z-index: 4; /* Ensure arrows are above the tree image */
    color: #333; /* Change the color to your preference */
}

.left-arrow {
    left: 445px; /* Adjust the left position as needed */
}

.right-arrow {
    right: 410px; /* Adjust the right position as needed */
}

.letteropen-image {
    display: none;
    width: 15%; /* Adjust the width as needed */
}

.write-letter-button {
    position: absolute;
    top: 85%; /* Adjust the vertical position as needed */
    left: 28%; /* Adjust the horizontal position as needed */
    transform: translate(-50%, -50%);
    background-color: lightblue; /* Change the button background color as needed */
    color: white; /* Change the text color as needed */
    font-size: 16px; /* Adjust the font size as needed */
    padding: 10px 10px; /* Adjust padding as needed */
    border: none;
    border-radius: 7px;
    cursor: pointer;
    z-index: 1; /* Ensure the button is in front of the background image */
}
/* Letter Writing Box Styles */
.letter-writing-box {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: #fff;
    color: #333;
    padding: 20px;
    width: 37%;
    max-width: 600px;
    height: auto;
    max-height: 70vh;
    display: none; /* Initially hidden */
    z-index: 4;
    border-radius: 10px;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.5);
    overflow-y: auto;
}

.letter-text {
    width: 95%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    margin-bottom: 10px;
    resize: none;
}

.submit-letter-button {
    background-color: lightgreen;
    color: white;
    font-size: 18px;
    padding: 10px 20px;
    border: none;
    border-radius: 7px;
    cursor: pointer;
    float: right;
}

/* Style to hide the scrollbar in the textarea */
.letter-text::-webkit-scrollbar {
    width: 0.5em;
}

.letter-text::-webkit-scrollbar-thumb {
    background-color: lightgray;
}


.close-letter-button {
    position: absolute;
    top: 2px;
    right: 2px;
    display: block;
    margin-top: 10px; /* Reduced margin top */
    margin-left: 3px;
    background-color: transparent;
    border: none;
    padding: 5px;
    cursor: pointer;
    border-radius: 50%;
    font-size: 20px; /* Adjusted font size */
    color: #ff0000;
    transition: background-color 0.3s, color 0.3s;
}

.close-letter-button:hover {
    background-color: none;
    color: #000000;
}

.tree-counter {
    position: absolute;
    top: 450px;
    left: 52%;
    transform: translateX(-50%);
    font-size: 20px;
    color: white;
    background-color: rgba(0, 0, 0, 0.5);
    padding: 5px 10px;
    border-radius: 5px;
}
.modal {
            display: none;
            position: fixed;
            top: 50%;
            left: 43%;
            transform: translate(-50%, -50%);
            background-color: rgba(0, 0, 0, 0.8);
            color: white;
            padding: 20px;
            border-radius: 5px;
            text-align: center;
            z-index: 1000;
        }
        .closed-gift {
            display: block;
        }
        .opened-gift {
            display: none;
        }

#from-container {
    
    position: fixed;
    top: 10px; /* Adjust the top position as needed */
    left: 10px; /* Adjust the left position as needed */
    background-color: white;
    padding: 5px;
    border-radius: 5px;
    z-index: 5; /* Ensure it's above other elements */
}

.write-letter-fontsize {
    font-family: 'Comic Sans MS', cursive;
    font-weight: bold;
    font-size: 16px;
}

.letter-content-container {
    position: absolute;
    width: 220px;
    bottom: 330px; /* 조절하십시오. 원하는 위치로 설정합니다. */
    left: 45%; /* 조절하십시오. 원하는 위치로 설정합니다. */
    padding: 10px;
    overflow-y: auto;
}
.close-icon {
    position: absolute;
    top: 5px;
    right: 5px;
    cursor: pointer;
}

/* Font Awesome 아이콘 스타일을 추가 */
.close-icon i {
    font-size: 20px;
    color: #555; /* 아이콘 색상 지정 */
}

input:focus,
textarea:focus {
    outline-color: rgb(108, 193, 108);
}

.howUse {
    font-size: 15px;
    margin-top: 20px;
}