body {
    font-family: Arial, sans-serif;
    background: linear-gradient(to right, #005eff, #d640b3);
    text-align: center;
    padding: 20px;
}

/* Adjusting the container to fit the layout */
.container {
    width: 60%; /* Keeps the container width */
    max-width: 850px; /* Maximum width */
    background: rgba(255, 255, 255, 0.7); /* Semi-transparent background */
    padding: 20px; /* Adjust padding */
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
    text-align: center;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    box-sizing: border-box;
    max-height: 90vh;  /* Limit the container height to 80% of the viewport */
    overflow-y: auto;  /* Adds a scrollbar inside the container if content exceeds height */
}



h1 {
    color: #333;
}

.categories {
    margin-top: 30px;
}

.category-btn {
    background-color: #4bbd50;
    color: white;
    border: none;
    padding: 10px 20px;
    margin: 10px;
    cursor: pointer;
    border-radius: 5px;
    font-size: 18px;
}

.category-btn:hover {
    background-color: #45a049;
}

.hidden {
    display: none;
}

.section {
    margin-top: 20px;
    padding: 15px;
    background: #e3f2fd;
    border-radius: 8px;
}

.emotions button {
    background-color: #268cde;
    color: white;
    border: none;
    padding: 8px 15px;
    margin: 5px;
    cursor: pointer;
    border-radius: 5px;
}

.emotions button:hover {
    background-color: #257acf;
}

.advice-list {
    list-style-type: none; /* Removes default bullet points */
    padding-left: 0; /* Aligns text to the left */
}

.advice-list li {
    text-align: left; /* Ensures text is aligned to the left */
    margin: 5px 0; /* Adds spacing between advice points */
}
.feeling-good-list {
    list-style-type: none; /* Removes bullet points */
    padding-left: 0; /* Removes extra spacing */
    text-align: left; /* Aligns only the advice list to the left */
}

.feeling-good-list li {
    margin: 5px 0; /* Adds spacing between items */
}


.category-btn, .emotions button {
    transition: all 0.3s ease-in-out;
}

.category-btn:hover, .emotions button:hover {
    background-color: #e03f5a; 
    color: white; 
    transform: scale(1.05); 
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2); 
}
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    text-align: center;
    background: url('nature.jpeg') no-repeat center center fixed;
    background-size: cover;
}

body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.2); 
    z-index: -1;
}


/* CSS to properly resize the image */
.logo {
    max-width: 40%;  /* Ensures the image doesn't exceed container width */
    max-height: 150px; /* Limit the height to avoid it being too large */
    height: auto;      /* Maintain aspect ratio */
    display: block;    /* Ensures it's a block element */
    margin: 0 auto;    /* Centers the image horizontally */
}




