/* RESET */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Roboto', sans-serif;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* HEADER */
header {
    background-color: #2c3e50;
    padding: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
header .logo-group {
    font-size: 32px;
    display: flex;
    align-items: center;
    gap: 5px;   /* perfect spacing */
}
header .logo {
    color: #ecf0f1;
    transition: color 0.2s ease;
    text-decoration:none
}

header .logo:hover {
    color: #3498db;
}

header .page {
    color: #ecf0f1; /* same as header text */
    opacity: 0.8;   /* optional style */
}

header .login,
header .signup {
    padding: 6px 14px;
    border-radius: 6px;
    text-decoration: none;
    font-size: 16px;
}
header .username-text {
    color: white;
    text-decoration: none;
}
header .login {
    background: #4f46e5;
    color: white;
}

header .signup {
    background: #cecde0;
    color: black;
}

#auth-logged-out,
#auth-logged-in {
    display: flex;
    align-items: center;
    gap: 10px;
}

.hidden {
    display: none !important;
}

/* DESCRIPTION BLOCK */
.description {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    width: 100%;
}

.description p {
    font-size: 16px;
    line-height: 1.6;
    color: #2c3e50;
}

.about {
    font-size: 16px;
    line-height: 1.6;
    color: #2c3e50; 
    margin: 15px;
}

.about img {
    width:80%;
    height: auto;
    display: block;
    margin: 0 auto;
}
/* MAIN SPLIT — Projects | Blog */
.content-split {
    display: flex;
    justify-content: space-between;
    gap: 60px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    width: 100%;
}

.content-split section {
    flex: 1;
}

.content-split h2 {
    font-size: 26px;
    margin-bottom: 15px;
    color: #2c3e50;
}

.content-split ul {
    list-style:none;
    padding: 5px;
    border-top: 2px solid black;
}

.content-split li {
    margin-bottom: 12px;
}

.content-split a {
    color: #2c3e50;
    text-decoration: none;
}

.content-split a:hover {
    color: #3498db;
}

.disabled {
    color: #888;
    cursor: default;
}

/* FOOTER */
footer {
    background-color: #2c3e50;
    text-align: center;
    padding: 20px;
    margin-top: auto;
}

footer a {
    color: #ecf0f1;
    text-decoration: none;
    margin: 0 10px;
}

footer a:hover {
    color: #3498db;
    text-decoration: underline;
}

/* TOAST MESSAGE (unchanged) */
.message {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 9999;
    padding: 10px 16px;
    border-radius: 8px;
    font-size: 14px;
    border: 1px solid #ccc;
    box-shadow: 0 2px 10px rgba(0,0,0,0.15);
    transition: opacity 0.4s ease;
    opacity: 1;
}

.message.success { background: #fff; color: #000; }
.message.error   { background: #f8d7da; color: #000; }
.message.hidden  { opacity: 0; pointer-events: none; }

/* LOADING SCREEN (unchanged) */
#loading-screen {
    position: fixed;
    inset: 0;
    background: gray;
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.spinner {
    width: 24px;
    height: 24px;
    border: 3px solid gray;
    border-top-color: #fff;
    border-radius: 50%;
    animation: spin 0.6s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* MOBILE */
@media (max-width: 768px) {
    .content-split {
        flex-direction: column;
        gap: 30px;
    }

    header .logo-group {
        font-size: 20px;
    }
    header .login,
    header .signup {
        padding: 6px;
        border-radius: 6px;
        text-decoration: none;
    }
} 
