﻿* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Dm Sans', sans-serif;
}

body {
    background: #d3d3d3;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 20px;
}

.card {
    background: white;
    width: 100%;
    max-width: 450px;
    padding: 30px;
    border-radius: 24px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    position: relative;
    z-index: 2;
}

.avatar {
    width: 40%;
    max-width: 140px;
    height: auto;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 20px;
}

.description {
    margin: 10px 0 20px;
    line-height: 1.4;
}

.button {
    display: block;
    background: white;
    padding: 14px;
    border-radius: 14px;
    margin: 10px 0;
    text-decoration: none;
    color: black;
    border: 1.5px solid #e3e3e3;
    font-weight: 500;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

    .button:hover {
        background: #f3f3f3;
        transform: scale(1.02);
        box-shadow: 0 0 15px rgba(201, 206, 164, 0.6);
    }

.images {
    position: sticky;
    top: 0;
    z-index: 1;
    padding-bottom: 20px;
    
}

.images-img {
    width: 60%;
    max-width: 200px;
    display: block;
    margin: 30px auto 10px;
    transition: opacity 0.3s ease, filter 0.3s ease;
}

.hero {
    position: sticky;
    top: 0;
    z-index: 1;
    background: white;
    padding-top: 20px;
    padding-bottom: 0;
    overflow: hidden;
    position: relative;
}

.hero-img {
    width: 100%;
    max-width: 450px;
    height: auto;
    display: block;
    margin: 0 auto;
    padding-bottom: 20px;
    transition: filter 0.1s ease, opacity 0.1s ease;
}

    
    .hero-overlay {
        position: absolute;
        inset: 0;
        background: white;
        opacity: 0;
        pointer-events: none;
        transition: opacity 0.3s ease;
    }

    
    .hero-fade {
        position: absolute;
        bottom: 0;
        left: 0;
        width: 100%;
        height: 120px;
        background: linear-gradient(to bottom, rgba(255,255,255,0) 0%, #ffffff 80%, #ffffff 100%);
        z-index: 10;
        pointer-events: none;
    }

.content {
    position: relative;
    z-index: 2;
    background: white;
    padding-top: 10px;
}

@media (max-width: 360px) {
    .card {
        padding: 20px;
    }

    .button {
        padding: 12px;
        font-size: 15px;
    }

    .hero-fade {
        height: 80px;
    }
}