@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400..900;1,400..900&display=swap');

:root {
    --bg-color: #f5f5f5;
    --text-color: #222;
    --card-bg: #ffffff;
    --footer-bg: #b0afaf;
    --footer-text: #292929;
    --shadow-color: rgba(0, 0, 0, 0.1);
    --link-hover: #2b2b2b;
    --accent-color: #0077ff;
}

body.dark-theme {
    --bg-color: #0e0e0e;
    --text-color: #f1f1f1;
    --card-bg: #1b1b1b;
    --footer-bg: #474747;
    --footer-text: #c6c6c6;
    --shadow-color: rgba(255, 255, 255, 0.08);
    --link-hover: #b3b3b3;
    --accent-color: #3399ff;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

html,
body {
    width: 100%;
    height: 100%;
    /* overflow: hidden; */
    background: var(--bg-color);
    color: var(--text-color);
    transition: background 0.3s ease, color 0.3s ease;
}

/* Theme Toggle Button */
#theme-toggle {
    position: fixed;
    width: 40px;
    height: 40px;
    cursor: pointer;
    top: 0;
    right: 0;
    margin: 20px 30px;
    color: var(--text-color);
    background: var(--card-bg);
    border: 2px solid var(--text-color);
    border-radius: 50%;
    box-shadow: 0 2px 8px var(--shadow-color);
    z-index: 1000;
    transition: background 0.3s, color 0.3s, box-shadow 0.3s;
}

#theme-toggle:hover {
    background: var(--text-color);
    color: var(--bg-color);
}

#intro-logo {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    top: 20px;
    width: 60px;
    height: 60px;
    will-change: transform;
    user-select: none;
    pointer-events: none;
    padding: 0px 4px 7.5px 0px;
    background-color: #ffffff;
    border-radius: 50%;
}

.warning {
    display: flex;
    height: 100dvh;
    align-items: center;
    justify-content: center;
}

/* Footer Section */
.footer {
    background-color: var(--footer-bg);
    color: var(--footer-text);
    border-radius: 30px;
    padding: 20px 10px;
    transition: background 0.3s, color 0.3s;
}

.container {
    width: 90%;
    margin: 0 auto;
}

.footer-inner {
    display: flex;
    flex-direction: column;
}

.footer-links {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    margin-bottom: 30px;
}

.link-column ul {
    list-style: none;
    padding: 0;
}

.link-column ul li {
    margin: 8px 0;
}

.link-column ul li a {
    color: var(--footer-text);
    text-decoration: none;
    transition: color 0.3s;
    font-size: 15px;
}

.link-column ul li a:hover {
    color: var(--link-hover);
    text-decoration: underline;
}

.bottom-line {
    display: flex;
    align-items: center;
    /* flex-wrap: wrap; */
    justify-content: space-between;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    position: relative;
}

.footer-tag {
    font-size: 14px;
}

.spacer {
    flex: 1;
}

.social-links {
    display: flex;
    gap: 15px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.social-links a {
    color: var(--footer-text);
    font-size: 22px;
    padding: 2px 5px;
    border-radius: 5px;
    transition: color 0.3s, transform 0.3s;
}

.social-links a:hover {
    color: var(--bg-color);
    background-color: var(--footer-text);
    transform: scale(2);
}

.scroll-top {
    cursor: pointer;
}

.scroll-top i {
    color: var(--footer-text);
    font-size: 28px;
    transition: color 0.3s, transform 0.3s;
}

.scroll-top:hover i {
    color: var(--link-hover);
    transform: translateY(-5px);
}

@media only screen and (max-width: 750px) {}

@media only screen and (max-width: 550px) {
    #intro-logo {
        width: 70px;
        height: 70px;
    }

    #theme-toggle {
        margin: 10px;
    }

    .footer {
        padding: 5px 10px 0px 10px;
        border-radius: 10px;
        padding: 10px;
    }

    .footer-links {
        margin-bottom: 10px;
    }

    .link-column ul li a {
        font-size: 10px;
    }

    .social-links a {
        font-size: 18px;
    }

    .bottom-line {
        padding: 5px;
    }

    .footer-tag {
        font-size: 12px;
    }

    .scroll-top i {
        font-size: 20px;
    }
}