* {
    box-sizing: border-box;
}

:root {
    --bg-color: white;
    --text-color: black;
    --main-font: 'Roboto Condensed';
}

body.dark-theme {
    --bg-color: black;
    --text-color: white;
}

html, body {
    background-color: var(--bg-color);
    color: var(--text-color);
    transition: background-color 0.3s ease, color 0.3s ease;
    margin: 0 0 0 0;
    padding: 0 0 0 0;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

html {
    height: 100%;
}

body {
    min-height: 100%;
    display: flex;
    flex-direction: column;
    font-family: var(--main-font);
}

::selection {
    background-color: var(--text-color);
    color: var(--bg-color);
}


.fab-container {
    position: fixed;
    bottom: 25px;
    right: 25px;
    display: flex;
    flex-direction: column;
    gap: 15px; /* Space between buttons */
    z-index: 1000;
}

.fab {
    /* Sizing and Shape */
    width: 40px;
    height: 40px;
    border-radius: 50%; /* Makes it circular */
    
    /* Centering the icon inside */
    display: flex;
    justify-content: center;
    align-items: center;

    /* Newspaper Styling */
    background-color: var(--bg-color);
    color: var(--text-color);
    border: 2px solid var(--text-color);
    box-shadow: none; /* No shadow as requested */
    font-size: 26px;
    font-family: serif; /* Matches newspaper feel */
    text-decoration: none;

    /* Interaction */
    cursor: pointer;
    transition: transform 0.2s ease-in-out;
}

.fab svg {
    width: 24px;
    height: 24px;
}

.fab:hover {
    transform: scale(1.1); /* Slight zoom on hover */
}

#content {
    margin: 0 0 0 0;
    padding: 0 0 0 0;
    flex-grow: 1;
}

.title {
    width: 100%; /* Best practice: changed from 100vw to avoid overflow */
    font-family: var(--main-font), serif;
    font-weight: 900;
    text-align: center;
    text-transform: uppercase;
    
    /* This is the key change for fluid font size */
    font-size: clamp(1.5rem, 8vw, 5rem); 
    
    line-height: 1.2; /* Use a relative unit for better scaling */
    margin: 0;
    padding: 1rem 0.5rem 1.5rem 0.5rem; /* Add padding for spacing */
}
