@import url('https://fonts.googleapis.com/css2?family=Quicksand:wght@300;500&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background: linear-gradient(to bottom right, #ffe6f0, #ffd6ec);
    font-family: 'Quicksand', sans-serif;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 30px;
}

.diary-container2 {

    border-radius: 25px;
    box-shadow: 0 8px 20px rgba(255, 182, 193, 0.4);
    width: 10%;
    max-width: 700px;
    text-align: center;
    margin-right: auto;
    margin-left: 70px;
}
.diary-container3 {

    border-radius: 25px;
    box-shadow: 0 8px 20px rgba(255, 182, 193, 0.4);
    width: 10%;
    max-width: 900px;
    text-align: center;
    margin-left: auto;  
    margin-right: 200px;
}
.diary-container {
    background-color: #fff0f5;
    padding: 30px;
    border-radius: 25px;
    box-shadow: 0 8px 20px rgba(255, 182, 193, 0.4);
    width: 90%;
    max-width: 600px;
    text-align: center;
}

.diary-container h1 {
    color: #ff69b4;
    font-size: 2.5rem;
    margin-bottom: 20px;
}
#entries {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    gap: 20px;
    margin-top: 30px;
    padding: 10px;
    max-width: 100%;
    scroll-behavior: smooth;
}


textarea {
    width: 100%;
    height: 150px;
    border: 2px solid #ffb6c1;
    border-radius: 15px;
    padding: 15px;
    font-size: 1.1rem;
    background-color: #fffafc;
    color: #333;
    resize: none;
    outline: none;
    margin-bottom: 15px;
}

textarea::placeholder {
    color: #d080a0;
}

button {
    background-color: #ffb6c1;
    color: white;
    border: none;
    padding: 12px 25px;
    border-radius: 20px;
    font-size: 1rem;
    cursor: pointer;
    transition: background 0.3s ease;
    margin-bottom: 20px;
}

button:hover {
    background-color: #ff69b4;
}

#entries {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    margin-top: 30px;
    padding: 10px;
    max-height: 300px;
    overflow-y: auto;
    border-top: 2px dashed #ffc1d9;
}


.entry {
    display: flex;
    align-items: center;
    background-color: #ffe6f8;
    border-radius: 15px;
    padding: 10px 15px;
    box-shadow: 0 2px 8px rgba(255, 182, 193, 0.2);
    width: 100%;
    max-width: 100%;
    font-size: 1rem;
    position: relative;
    gap: 15px;
}

#stickers{
    margin:10px 0;
    text-align:center;
}
.sticker{
    background: plum;
    border:2px solid purple;
    border-radius: 50%;
    font-size: 1.5rem;
    padding: 8px 12px ;
    margin:5px;
    cursor: pointer;
    transition: transform 0.2s ease;
}
.sticker:hover{
    transform:scale(1.2);

}



.delete-btn {
    position: absolute;
    top: 5px;
    right: 8px;
    background: none;
    border: none;
    font-size: 1rem;
    color: #ff69b4;
    cursor: pointer;
    font-weight: bold;
}
#entryDate {
    width: 100%;
    padding: 10px;
    margin-bottom: 10px;
    border: 2px solid #ffb6c1;
    border-radius: 15px;
    font-size: 1rem;
    background-color: #fffafc;
    color: #333;
    outline: none;
}

.entry .date {
    font-weight: bold;
    color: #c96d94;
    font-size: 0.85rem;
    min-width: 100px;
}

.entry .mood-select {
    margin-left: auto;
}

.entry .mood-select button {
    font-size: 1.1rem;
    background: none;
    border: none;
    margin-left: 5px;
    cursor: pointer;
    opacity: 0.6;
}

.entry .mood-select button.active {
    opacity: 1;
}
.diary-wrapper {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 30px;
    flex-wrap: wrap;
    padding: 20px;
    width: 100%;
    max-width: 100%;
}


.tip {
    border-radius: 25px;
    box-shadow: 0 8px 20px rgba(255, 182, 193, 0.4);
    width: 10%;
    max-width: 600px;
    text-align: right;
}
#saveGif {
  position: fixed;  
  top: 10px; 
  left:-2px 
}

