/* Author: Mr Samarthya Patel */

/* Default (Light Mode) */
:root {
    color-scheme: light dark;

    /* Backgrounds */
    --bg-primary: #ffffff;
    --bg-secondary: #f5f7fa;

    /* Text Colors */
    --text-primary: #111827;
    --text-secondary: #4b5563;

    /* Accent */
    --accent-color: #3b82f6;

    /* Borders & UI */
    --border-color: #e5e7eb;
    --shadow-color: rgba(0, 0, 0, 0.08);

    --blur-bg: rgba(0, 0, 0, 0.2); /* light */
}

/* Dark Mode */
[data-theme="dark"] {
    --bg-primary: #0f172a;
    --bg-secondary: #020617;

    --text-primary: #f8fafc;
    --text-secondary: #cbd5e1;

    --accent-color: #60a5fa;

    --border-color: #1e293b;
    --shadow-color: rgba(0, 0, 0, 0.5);

    --blur-bg: rgba(255, 255, 255, 0.2); /* dark */
}

@media (orientation: portrait) {
    :root {
        --width: 85vw;
        --title-size: 1.85rem;
        --cfp-size: 1rem;
        --scope-list-position: none;
        --section-title-width: 17vw;
        --article-gap: 15px;
        --block-title-size: 1.9rem;
    }
}

@media (orientation: landscape) {
    :root {
        --width: min(80vw, 1100px);
        --title-size: 3rem;
        --cfp-size: 2rem;
        --scope-list-position: inside;
        --section-title-width: 5vw;
        --article-gap: 30px;
        --block-title-size: 2rem;
    }
}

/* Base Styles */
*,
*::before,
*::after {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    padding: 0;
    background-color: var(--bg-primary);
    color: var(--text-primary);
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
        Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
    font-weight: 400;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;

}

body {
    width: var(--width);
    margin: 0 auto;
}

/* Links */
a {
    color: var(--accent-color);
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

/* Example Utility Classes */
.bg-secondary {
    background-color: var(--bg-secondary);
}

.text-secondary {
    color: var(--text-secondary);
}

.border {
    border: 1px solid var(--border-color);
}

header {
    width: 100%;
    text-align: center;
}

.text-center {
    text-align: center;
}

#logo_container {
    margin: 3rem 0;
    width: 100;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

#xtai_logo, #aisb_logo {
    height: 50px;
    user-select: none;
    -moz-user-select: none;
}

#cfp {
    text-decoration: underline;
    user-select: none;
    -moz-user-select: none;
    font-size: var(--cfp-size);
}

#title {
    font-size: var(--title-size);
    font-weight: lighter;
    margin: 2rem 0 0 0;
    padding: 1rem;
    /* min-width: 50vw; */
    border: 1px solid var(--text-primary);
}

.subtitle {
    line-height: 1rem;
    margin: 1rem 0;
}

.mt-2 {
    margin-top: 2rem;
}

.mt-10 {
    margin-top: 10rem;
}

#scope_list {
    list-style-type: circle;
    list-style-position: var(--scope-list-position);
}

ul li::marker {
    color: var(--accent-color);
    line-height: 1.75rem;
}

.block-title {
    font-weight: normal;
    font-size: var(--block-title-size);
    margin-top: 5rem;
}

#submission_format {
    background: var(--blur-bg);
    box-shadow:
        0 0 0 1px var(--blur-bg),
        0 0 12px var(--blur-bg);
    padding: 0.75rem 1rem;
    border-radius: 5px;
}

/* Deadline Timeline */

section {
	display: flex;
	align-items: flex-start;
	gap: 1rem;
}

h3 {
    margin: 0;
}

.section-title {
	white-space: nowrap;
    width: var(--section-title-width);
}

.section-content {
	display: flex;
	flex-direction: column;
    width: 70%;
}

article {
	display: flex;
	gap: var(--article-gap);
	width: 100%;
}
	
aside {
	display: flex;
	align-items: center;
	flex-direction: column;
}

.section-content-text {
	padding-bottom: 2rem;
    width: 100%;
}

.dot {
	--size: .5rem;
	width: var(--size);
	height: var(--size);
	margin: calc((1rem - var(--size))/2);
    margin-top: .5rem;
	border-radius: 50%;
	background-color: var(--accent-color);
	flex-grow: 0;
}

.line {
	flex-grow: 1;
	margin: 8px 0;
	width: 2px;
	background-color: var(--accent-color);
}

footer {
    margin-top: 5rem;
    padding: 1.5rem 0;
    text-align: center;
    font-size: 0.875rem;
    color: var(--text-primary);
}

.member {
    margin-bottom: 2rem;
}

.uni_names {
    font-weight: normal;
    font-size: 1rem;
    line-height: 1.2rem;
    margin: 0px;
}

.co_chairs {
    font-weight: normal;
    font-size: 1rem;
}
