
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #f9f9f9;
    color: #333;
    line-height: 1.6;
    padding: 0 1rem;
}

html {
    scroll-behavior: smooth;
}


header {
    background-color: #222;
    color: white;
    padding: 1.5rem 0;
    text-align: center;
}

header h1 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

nav ul {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 1.5rem;
}

nav ul li a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

nav ul li a:hover {
    color: #ffcc00;
}


main {
    max-width: 900px;
    margin: 2rem auto;
    padding: 1rem;
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

#content h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

#content p {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
}

.portratt {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 1rem 0;
}


form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

input, textarea {
    padding: 0.75rem;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 1rem;
    width: 100%;
}

button {
    padding: 0.75rem;
    background-color: #222;
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

button:hover {
    background-color: #444;
}


footer {
    text-align: center;
    padding: 1rem 0;
    background-color: #222;
    color: white;
    margin-top: 2rem;
}

/* ==== AOS-Style Animations ==== */
[data-aos] {
    opacity: 0;
    transition-property: opacity, transform;
    transition-timing-function: ease-out;
    transition-duration: 0.8s;
    will-change: opacity, transform;
}

[data-aos].aos-animate {
    opacity: 1;
    transform: none;
}

[data-aos="fade-up"] {
    transform: translateY(40px);
}

[data-aos="fade-down"] {
    transform: translateY(-40px);
}

[data-aos="fade-left"] {
    transform: translateX(-40px);
}

[data-aos="fade-right"] {
    transform: translateX(40px);
}

[data-aos="zoom-in"] {
    transform: scale(0.8);
}

[data-aos="zoom-out"] {
    transform: scale(1.2);
}

/* Optional delay support via inline style */
[data-aos][data-aos-delay="100"] {
    transition-delay: 0.1s;
}
[data-aos][data-aos-delay="200"] {
    transition-delay: 0.2s;
}
[data-aos][data-aos-delay="300"] {
    transition-delay: 0.3s;
}
[data-aos][data-aos-delay="400"] {
    transition-delay: 0.4s;
}
[data-aos][data-aos-delay="500"] {
    transition-delay: 0.5s;
}
