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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background: linear-gradient(135deg, #f5f7fa 0%, #e8f5f2 100%);
    min-height: 100vh;
    display: flex;
    flex-direction: column; /*sets the body to be a column*/
    align-items: center;
    justify-content: center;
    padding: 20px;
    color: #2c3e50;
}

.container {
    width: 100%;
    max-width: 500px;
    display: flex;
    flex-direction: column;
    gap: 30px;
    animation: fadeIn 0.6s ease-in;
}

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

header h1 {
    text-align: center;
    color: #33ae9a;
    font-size: 1.8rem;
    font-weight: 600;
    letter-spacing: -0.5px;
    display: flex;
    align-items: center;
    justify-content: center;
}


.menu-btn {
    position: fixed;
    left: 20px;
    top: 20px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.menu-btn span {
    display: block;
    width: 25px;
    height: 3px;
    background: #33ae9a;
    border-radius: 3px;
    transition: all 0.3s ease;
}

.menu-btn:hover span {
    background: #2d9a85;
}

.menu {
    position: fixed;
    top: 0;
    left: -100%;
    width: 100%;
    max-width: 400px;
    height: 100vh;
    background: white;
    box-shadow: 2px 0 20px rgba(0, 0, 0, 0.1);
    z-index: 2000;
    transition: left 0.3s ease;
    overflow-y: auto;
}

.menu.active {
    left: 0;
}

.menu-content {
    padding: 30px 25px;
}

.close-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    font-size: 2.5rem;
    color: #7f8c8d;
    cursor: pointer;
    line-height: 1;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.3s ease;
}

.close-btn:hover {
    color: #33ae9a;
}

.menu-content h2 {
    color: #33ae9a;
    font-size: 1.5rem;
    margin-bottom: 25px;
    font-weight: 600;
}

.menu-list {
    list-style: none;
}

.menu-list > li {
    margin-bottom: 30px;
}

.menu-list h3 {
    color: #2c3e50;
    font-size: 1.1rem;
    margin-bottom: 15px;
    font-weight: 600;
}

.support-links {
    list-style: none;
}

.support-links li {
    margin-bottom: 12px;
}

.support-links a,
.contact-info a {
    color: #33ae9a;
    text-decoration: none;
    font-size: 1rem;
    transition: color 0.3s ease;
    display: inline-block;
}

.support-links a:hover,
.contact-info a:hover {
    color: #2d9a85;
    text-decoration: underline;
}

.contact-info {
    color: #2c3e50;
    line-height: 1.6;
    font-size: 1rem;
}

.affirmation-card {
    background: white;
    padding: 50px 30px;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(51, 174, 154, 0.1);
    min-height: 250px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.affirmation-card:active {
    transform: scale(0.98);
}

.affirmation-text {
    font-size: 1.4rem;
    line-height: 1.8;
    text-align: center;
    color: #2c3e50;
    font-weight: 400;
    animation: slideIn 0.5s ease-out;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.refresh-btn {
    background: #33ae9a;
    color: white;
    border: none;
    padding: 16px 32px;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(51, 174, 154, 0.3);
    width: 100%;
    max-width: 250px;
    margin: 0 auto;
}

.refresh-btn:hover {
    background: #2d9a85;
    box-shadow: 0 6px 20px rgba(51, 174, 154, 0.4);
    transform: translateY(-2px);
}

.refresh-btn:active {
    transform: translateY(0);
    box-shadow: 0 2px 10px rgba(51, 174, 154, 0.3);
}

.refresh-btn svg {
    transition: transform 0.5s ease;
}

.refresh-btn:active svg {
    transform: rotate(180deg);
}

footer {
    text-align: center;
    padding: 20px;
}

.date {
    color: #7f8c8d;
    font-size: 0.9rem;
    font-weight: 400;
}

@media (max-width: 480px) {
    header h1 {
        font-size: 1.5rem;
    }

    .affirmation-card {
        padding: 40px 25px;
        min-height: 220px;
    }

    .affirmation-text {
        font-size: 1.2rem;
    }
}

/*sets the mood tracker to the bottom of the page*/
#mood-tracker {
  clear: both;
  margin-top: 20px;
  padding: 20px;
  text-align: center;
  font-size: 1.1rem;
}

/* Apply Noto animated emoji font */
.mood {
    font-family: 'Noto Color Emoji', 'Segoe UI Emoji', 'Apple Color Emoji', sans-serif;
    font-size: 4rem;
    background: none;
    border: none;
    cursor: pointer;
    margin: 0 10px;
    transition: transform 0.3s ease;
}

/* Hover triggers animation */
.mood.wave:hover {
    animation: wave 1s infinite;
}

.mood.bounce:hover {
    animation: bounce 0.6s ease;
}

.mood.spin:hover {
    animation: spin 0.8s ease;
}

.mood.shake:hover {
    animation: shake 0.6s ease;
}

.mood.float:hover {
    animation: float 1s ease-in-out infinite;
}

/* Keyframes */
@keyframes wave {
    0%, 100% { transform: rotate(0deg); }
    25% { transform: rotate(15deg); }
    50% { transform: rotate(-15deg); }
    75% { transform: rotate(10deg); }
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    25% { transform: translateY(-10px); }
    50% { transform: translateY(-20px); }
    75% { transform: translateY(-10px); }
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    50% { transform: rotate(360deg); }
    100% { transform: rotate(0deg); }
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-5px); }
    50% { transform: translateX(5px); }
    75% { transform: translateX(-5px); }
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}



