html {
    scroll-behavior: smooth;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(to bottom right, #f4fdf4, #e2f5e2);
    color: #333;
    padding: 20px;
    max-width: 1000px;
    margin: 0 auto;

    perspective: 1000px; 
}

.layout-container {
    display: flex;
    gap: 30px;
    align-items: flex-start;
}

main {
    flex: 2;
}

aside {
    flex: 1;
}

header {
    text-align: center;
    padding: 30px;
    background: #2e8b57;
    color: white;
    border-radius: 15px 15px 0 0;
}

header h1 {
    font-size: 2.5em;
    text-shadow: 2px 3px 5px rgba(0, 0, 0, 0.4);
}

nav {
    background: white;
    padding: 15px;
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 30px;
    outline: 2px dashed #2e8b57;
    outline-offset: -5px;
    border-radius: 0 0 15px 15px;
}

nav a {
    text-decoration: none;
    font-weight: bold;
    color: #2e8b57;
    cursor: pointer;

    transition-property: color, transform;
    transition-duration: 0.3s;
    transition-timing-function: ease;
    transition-delay: 0s;

    text-decoration-line: underline;
    text-decoration-style: wavy;
    text-decoration-color: orange;
}

nav a:hover {
    color: #1a5233;
    transform: scale(1.1);
}

.gradient-border-box {
    background: white;
    padding: 25px;
    border: 6px solid transparent;
    border-image: linear-gradient(45deg, #2e8b57, #9acd32) 1;
    margin-bottom: 20px;

    transition: transform 0.5s;
}

.gradient-border-box:hover {
    transform: matrix(1, 0, 0, 1, 15, 0);
}

.mushroom-card {
    background: radial-gradient(circle at top left, #ffffff, #f0fff0);
    border-radius: 15px;
    padding: 20px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);

    transition: all 0.4s ease;
    transform-origin: left;
}

.mushroom-card:hover {
    transform: translateY(-10px) scaleX(1.05) rotate3d(1,1,0,15deg);
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}

.mushroom-img {
    width: 100%;
    max-height: 300px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 15px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);

    transition: transform 0.5s ease-in-out;
}

.mushroom-img:hover {
    transform: scale(1.05);
}

aside.info-panel {
    background: #fff;
    padding: 20px;
    border: 15px solid transparent;
}

textarea {
    width: 100%;
    min-height: 120px;
    margin-top: 15px;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 8px;

    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

textarea:focus {
    border-color: #2e8b57;
    box-shadow: 0 0 8px rgba(46, 139, 87, 0.3);
}

footer {
    text-align: center;
    padding: 20px;
    margin-top: 40px;
}
