* {
    font-family: sans-serif;
}
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background: #fbf1c7;
    color: #3c3836;
    font-weight: bold;
    height: 100%;
    margin: 0;
    padding-top: 70px;
    transition:
        background-color 0.3s ease,
        color 0.3s ease;
}

.navbar {
    display: flex;
    background-color: #282828;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    position: fixed;
    top: 0;
    left: 0;
    width: 97%;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    margin: 10px;
    border-radius: 20px;
}

.logo {
    color: #ebdbb2;
}
.nav-links {
    display: flex;
    justify-content: flex-end;
    margin-right: 1rem;
}

.nav-links a {
    padding: 0.5rem 1rem;
    margin-right: 1rem;
    border-radius: 5px;
    color: #ebdbb2;
    transition: background-color 0.3s ease;
}

.nav-links a:hover {
    background-color: #cc241d;
}

.nav-links a.active {
    color: #ebdbb2;
    background-color: #cc241d;
    border-radius: 5px;
    padding: 0.5rem 1rem;
}

.wrapper {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.content {
    flex: 1;
    padding: 20px;
    display: flex;
}

.content div {
    flex: 1;
    flex-direction: column;
    display: flex;
    align-items: end;

}
}
.text-body {
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    align-items: center;

    min-height: 100vh;
    padding: 20px;
}

.block-effect {
    font-size: calc(8px + 6vw);
}

.block-reveal {
    --t: calc(var(--td) + var(--d));

    color: transparent;
    padding: 4px;

    position: relative;
    overflow: hidden;

    animation: revealBlock 0s var(--t) forwards;
}

.block-reveal::after {
    content: "";

    width: 0%;
    height: 100%;
    padding-bottom: 4px;

    position: absolute;
    top: 0;
    left: 0;

    background: var(--bc);
    animation:
        revealingIn var(--td) var(--d) forwards,
        revealingOut var(--td) var(--t) forwards;
}

@keyframes revealBlock {
    100% {
        color: #282828;
    }
}

@keyframes revealingIn {
    0% {
        width: 0;
    }

    100% {
        width: 100%;
    }
}

@keyframes revealingOut {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(100%);
    }
}

.abs-site-link {
    position: fixed;
    bottom: 20px;
    left: 20px;
    color: hsla(0, 0%, 0%, 0.6);
    font-size: 16px;
}

footer {
    background-color: #282828;
    color: #ebdbb2;
    padding: 20px;
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    height: 150px;
    margin: 30px;
    border-radius: 30px;
}

.column {
    display: flex;
    flex-direction: column;
    padding-right: 50px;
}

.column a {
    color: #ebdbb2;
}

.dark-mode-toggle {
    position: fixed;
    bottom: 20px;
    right: 20px;
    padding: 10px 15px;
    background-color: #cc241d;
    color: #3c3836;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    z-index: 1000;
    font-size: 14px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
}

body.dark-mode {
    background-color: #282828;
    color: #ebdbb2;
}

body.dark-mode a {
    color: #ebdbb2;
}
