:root {
    --bg-color: #F5EFE6;
    --container-bg: #FFFFFF;
    --text-color: #4A3728;
    --accent: #8D7B68;
}

body.dark-mode {
    --bg-color: #1a1a1a;
    --container-bg: #2d2d2d;
    --text-color: #e0e0e0;
    --accent: #b8a696;
}

body {
    background-color: var(--bg-color);
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--text-color);
    margin: 0;
    padding: 60px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    line-height: 1.6;
    transition: background 0.3s;
}




#loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--bg-color);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    transition: opacity 0.5s ease;
}

.walking-capy {
    font-size: 3rem;
    animation: walk 2s linear infinite;
    position: relative;
    margin-bottom: 10px;
}

@keyframes walk {
    0% {
        left: -100px;
    }

    100% {
        left: 100px;
    }
}

.loader-bar {
    width: 200px;
    height: 10px;
    background: #ddd;
    border-radius: 5px;
    overflow: hidden;
}

.progress {
    width: 100%;
    height: 100%;
    background: var(--accent);
    animation: load 2s linear infinite;
}

@keyframes load {
    from {
        width: 0%;
    }

    to {
        width: 100%;
    }
}

.nav-bar {
    margin-bottom: 50px;
}

    .nav-bar a {
        margin: 0 15px;
        cursor: pointer;
        color: var(--accent);
        font-weight: bold;
        text-transform: uppercase;
        letter-spacing: 1px;
        transition: color 0.3s;
    }

.main-card {
    background-color: var(--container-bg);
    width: 100%;
    max-width: 900px;
    padding: 60px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    animation: fadeIn 0.6s ease;
    transition: background 0.3s;
}

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

    to {
        opacity: 1;
    }
}

.profile-img {
    width: 200px;
    height: 200px;
    object-fit: cover;
    border-radius: 10px;
    border: 4px solid var(--accent);
}

.animated-name span {
    display: inline-block;
    animation: reveal 0.5s forwards;
    opacity: 0;
}

@keyframes reveal {
    to {
        opacity: 1;
    }
}


label {
    display: block;
    margin-top: 20px;
    margin-bottom: 5px;
    font-weight: bold;
    font-size: 0.9rem;
    color: var(--text-color);
}

input, textarea {
    display: block;
    width: 100%;
    box-sizing: border-box;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    background: var(--container-bg);
    color: var(--text-color);
    font-family: inherit;
}

button {
    background-color: var(--accent);
    color: white;
    border: none;
    padding: 12px 25px;
    cursor: pointer;
    border-radius: 5px;
    margin-top: 25px;
    display: block;
    width: 100%;
    font-size: 1rem;
    font-weight: bold;
}
