   

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

body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    padding: 20px;
    background-color: linear-gradient(120deg, #FFFDF6, #E9E5D3);
    max-width: 100%;
    overflow-x: hidden;
    text-align: center;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    align-items: center;
}

/* Welcome Screen Styles */
.fullscreen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: linear-gradient(120deg, #FFFDF6, #E9E5D3);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

#welcome-screen h1 {
    margin-bottom: 20px;
}

#user-name {
    padding: 10px;
    font-size: 18px;
    margin-bottom: 20px;
    width: 200px;
}

#start-app {
    font-size: 18px;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
}

#welcome-screen > * {
    animation: fadeIn 0.8s ease-out forwards;
}

/* App Content Styles */
#app-content.hidden {
    display: none;
}

.icon-container {
    margin-bottom: 20px;
    padding: 10px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
}

.app-icon {
    width: 60px;
    height: 60px;
    display: block;
    animation: spin 5s linear infinite;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}


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

.profile-picture {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    background-color: #ddd;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    position: relative;
    cursor: pointer;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: box-shadow 0.3s ease;
}

.profile-picture:hover {
    box-shadow: 0 8px 12px rgba(0, 0, 0, 0.2);
}

.profile-picture img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    display: block;
}

@media (max-width: 600px) {
    .profile-picture {
        width: 120px;
        height: 120px;
    }
}


header {
    margin-bottom: 20px;
    width: 100%;
}

nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-bottom: 20px;
    width: 100%;
}

nav button {
    padding: 10px 15px;
    background-color: #B6C764;
    color: black;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s;
    border-radius: 20px;
    font-size: 14px;
}

nav button:hover {
    background-color: #ffffff;
}

main {
    max-width: 600px;
    margin: 0 auto;
    flex-grow: 1;
    width: 100%;
}

section {
    background-color: white;
    padding: 20px;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
}

h2 {
    margin-bottom: 10px;
}

p {
    margin-bottom: 10px;
}

textarea {
    width: 100%;
    padding: 10px;
    margin-bottom: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    resize: vertical;
}

button {
    padding: 10px 15px;
    background-color: #B6C764;
    box-shadow: 5px 5px 10px #d5c7ae, -5px -5px 10px #CBC7AF;
    color: black;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 5px;
    display: inline-block;
    margin: 0 auto;
}

button:hover {
    box-shadow: inset 5px 5px 10px #d5c7ae, inset -5px -5px 10px #fffdea;
}

.hidden {
    display: none;
}

#moodSelector {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(40px, 1fr)); /* Adjust size as needed */
    justify-content: center;
    gap: 10px;
    margin-bottom: 20px;
    padding: 10px;
    background: linear-gradient(90deg, 
        #D1DF8D 0%, 
        #99AC3D 25%, 
        #8DBD9C 50%, 
        #CEB968 75%, 
        #99AC3D 100%
    );
    border-radius: 10px;

}

.mood {
    font-size: 38px; /* Increased size for mood emojis */
    background: none;
    border: none;
    cursor: pointer;
    margin: 0; /* Increased margin for better spacing */
    transition: all 0.3s ease;
    justify-content: center;
    display: flex;
    align-items: center;
}

.mood:hover {
    transform: scale(1.5);
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.8);
}

#selectedMood {
    margin-bottom: 10px;
}

#weeklySummary {
    margin-top: 20px;
}

.summary-entry {
    margin-bottom: 15px;
    padding: 10px;
    background-color: #f9f9f9;
    border-radius: 5px;
}

.summary-entry h3 {
    margin-bottom: 5px;
}

footer {
    margin-top: 40px;
    padding: 10px;
    border-top: 1px solid #000;
    width: 100%;
    font-size: 10px;
}

@media (max-width: 400px) {
    body {
        padding: 10px;
    }

    nav button {
        flex: 1 1 calc(50% - 10px);
        font-size: 12px;
    }

    .icon-container {
        width: 80px;
        height: 80px;
    }

    .app-icon {
        width: 60px;
        height: 60px;
    }

    .mood {
        font-size: 20px; /* Slightly smaller on mobile, but still larger than before */
    }
}

.top-right {
            position: absolute;
            top: 38px; /* Adjust the top position as needed */
            right: 10px; /* Adjust the right position as needed */
            padding: 2px; /* Optional: Padding around the text */
        }

.slogan {
            padding: 2px; /* Optional: Padding around the text */
	    font-size: 14px;
	    justify-content: center;
            top: 14px; /* Adjust the top position as needed */
	    margin-bottom: 20px;
        }

.breackdown {
            top: 80px; /* Adjust the top position as needed */
            padding: 2px; /* Optional: Padding around the text */
	    font-size: 12px;
	    justify-content: center;
	    border: #000;
        }

.icon-fullsc {
    display: flex;
    justify-content: center;
    align-items: center;
    width: auto;
    position: absolute;
    top: 25px;
    height: 45px; /* Adjust height as needed */
}

.centered-icon {
    max-width: 40px; /* Adjust size as needed */
    max-height: 40px; /* Adjust size as needed */
}

.floating-refresh-button {
    position: fixed;
    bottom: 20px;
    transform: translateX(-50%);
    background-color: linear-gradient(145deg, #B6C764, #CBC7AF);
    color: white;
    border: none;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    font-size: 24px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    animation: spin 5s linear infinite;
}

.floating-refresh-button:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
}

.section {
    transition: all 0.5s ease-in-out;
    opacity: 0;
    transform: translateY(20px);
}

.section.visible {
    opacity: 1;
    transform: translateY(0);
}

::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #B6C764;
}

::-webkit-scrollbar-thumb {
    background: #9dc99f;
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: #45a049;
}
