:root {
    --forest-primary: #166534;
    --forest-accent: #4ade80;
    --forest-light: #dcfce7;
    --forest-dark: #14532d;
    --forest-brown: #854d0e;
    --leaf-shadow: 0 8px 32px rgba(74, 222, 128, 0.15); 
    --bg: rgba(34, 49, 34, 0.85);
    --main-text:#b8f1b0;
    --small-text:#c3dac3;
}

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

a{
    cursor: url(../img/wood.svg), auto;
}
button{
    cursor: url(../img/wood.svg), auto;
}
input{
    cursor: url(../img/feather.svg), auto;
}
textarea{
    cursor: url(../img/feather.svg), auto;
}

body {
    min-height: 100vh;
    font-family: system-ui, -apple-system, sans-serif;
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
                url('https://images.unsplash.com/photo-1448375240586-882707db888b?auto=format&fit=crop&q=80');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: #333;
    cursor: url(../img/leaf.svg), auto;
}

.container {
    max-width: 800px;
    margin: 0 auto;
    padding: 3rem 1rem;
    min-height: 100vh;
}

.header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.header h1 {
    color: white;
    font-size: 2.5rem;
    text-align: center;
}

.icon {
    width: 2.5rem;
    height: 2.5rem;
    color: #4ade80;
}

.quotes {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.quote-card {
    border-radius: 0.5rem;
    overflow: hidden;
    background: rgba(34, 49, 34, 0.85);
    backdrop-filter: blur(5px);
    padding: 1.5rem 2rem;
    border-radius: 12px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.quote-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.quote-toggle {
    display: none;
}

.quote-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.5rem;
    cursor: url(../img/wood.svg), auto;
    font-size: 1.25rem;
    font-weight: 600;
    color: #b8f1b0;
}

.arrow {
    width: 1.5rem;
    height: 1.5rem;
    position: relative;
    transition: transform 0.3s ease;
}

.arrow::before,
.arrow::after {
    content: '';
    position: absolute;
    background: #166534;
    width: 12px;
    height: 2px;
    top: 50%;
    left: 50%;
}

.arrow::before {
    transform: translate(-50%, -50%) rotate(45deg);
}

.arrow::after {
    transform: translate(-50%, -50%) rotate(-45deg);
}

.quote-toggle:checked + .quote-header .arrow {
    transform: rotate(180deg);
}

.quote-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
}

.quote-toggle:checked ~ .quote-content {
    max-height: 500px;
    overflow-y: scroll;
}

.quote-content p {
    padding: 0.75rem 1.5rem;
    margin: 0.5rem 1.5rem;
    border-left: 4px solid #4ade80;
    color: #c3dac3;
    line-height: 1.5;
}

@media (max-width: 640px) {
    .header h1 {
        font-size: 1.75rem;
    }
    
    .icon {
        width: 2rem;
        height: 2rem;
    }
    
    .quote-header {
        font-size: 1.125rem;
        padding: 0.875rem 1.25rem;
    }
    
    .quote-content p {
        padding: 0.625rem 1.25rem;
        margin: 0.375rem 1.25rem;
    }
}


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

::-webkit-scrollbar-track {
    background: var(--bg);
}

::-webkit-scrollbar-thumb {
    background: var(--forest-dark);
    backdrop-filter: blur(5px);
    border-radius: 6px;
    border: 2px solid rgba(34, 49, 34, 0.85);
}

::-webkit-scrollbar-thumb:hover {
    background: #34d06e;
}

body {
    scrollbar-width: thin;
    scrollbar-color: #4ade80 rgba(34, 49, 34, 0.85);
}

button[type="submit"] {
    background: linear-gradient(135deg, var(--forest-primary), var(--forest-dark));
    color: white;
    border: none;
    padding: 0.875rem 2rem;
    border-radius: 0.75rem;
    font-weight: 600;
    font-size: 1rem;
    letter-spacing: 0.5px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    transform: translateY(-15px);
}

button[type="submit"]::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        rgba(255, 255, 255, 0.1),
        transparent
    );
    transform: translateY(-100%);
    transition: transform 0.3s ease;
}

button[type="submit"]:hover {
    transform: translateY(-20px);
    box-shadow: 
        0 4px 12px rgba(22, 101, 52, 0.2),
        0 0 0 2px rgba(74, 222, 128, 0.1);
}

button[type="submit"]:hover::before {
    transform: translateY(0);
}

button[type="submit"]:active {
    transform: translateY(0);
}

