@charset "UTF-8";

:root {
  --mf-black: #000000;
  --mf-white: #ffffff;
  --mf-anthracite: #212121;
  --mf-dark-opague: rgba(0, 0, 0, 0.7);
  --mf-light-opague: rgba(240, 240, 240, 0.7);
  --mf-font: "Roboto Slab", Georgia, serif;
  --mf-font-logo: "Roboto", Arial, sans-serif;
}

/* General Reset */
body, html {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    font-family: var(--mf-font);
    display: flex;
    justify-content: center;
    align-items: center;
    box-sizing: border-box;
}

a {
    text-decoration: none;
}

#logo a {
    color: inherit;
}

/* Dark Theme (Default) */
html[data-theme="dark"] {
    background-color: var(--mf-anthracite); /* Dark background */
    color: var(--mf-white); /* White text */
}

html[data-theme="dark"] button {
    border-color: var(--mf-white); /* White stroke for buttons */
    color: var(--mf-white); /* Button text */
    background: var(--mf-dark-opague); /* Semi-transparent button background */
}

html[data-theme="dark"] #link {
    border-color: var(--mf-white); /* White stroke for buttons */
    color: var(--mf-white); /* Button text */
}

html[data-theme="dark"] #link:hover,
html[data-theme="dark"] button:hover {
    background-color: var(--mf-white); /* White background on hover */
    color: var(--mf-anthracite); /* Dark text on hover */
}

/* Light Theme */
html[data-theme="light"] {
    background-color: var(--mf-white); /* Light background */
    color: var(--mf-anthracite); /* Dark text */
}

html[data-theme="light"] button {
    border-color: var(--mf-anthracite); /* Dark stroke for buttons */
    color: var(--mf-anthracite); /* Button text */
    background: var(--mf-light-opague); /* Light semi-transparent button background */
}

html[data-theme="light"] #link {
    border-color: var(--mf-anthracite); /* Dark stroke for buttons */
    color: var(--mf-anthracite); /* Button text */
}  

html[data-theme="light"] #link:hover,
html[data-theme="light"] button:hover {
    background-color: var(--mf-anthracite); /* Dark background on hover */
    color: var(--mf-white); /* White text on hover */
}

/* Logo */
#logo {
    position: fixed;
    top: 50px; /* 50px from the top */
    left: 50%;
    transform: translateX(-50%); /* Center horizontally */
    z-index: 10; /* Ensure it's above other elements */
    font-size: 24px;
    font-family: var(--mf-font-logo); /* Google Font */
    font-weight: 900;
    font-style: italic;
    letter-spacing: -0.5px;
}

/* Centered Container */
#container {
    width: 80vw; /* 80% of viewport width */
    max-width: 1200px; /* Optional: cap the maximum width */
    max-height: 100%; /* Ensure it doesn't grow beyond the viewport */
    text-align: center;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 20px; /* Optional: Add some padding for readability */
}

/* Story Text */
#story {
    margin: 0 auto;
    padding: 0;
    word-wrap: break-word; /* Allow text wrapping */
    white-space: normal; /* Ensure wrapping for long words */
    text-align: center;
    font-size: calc(2vw + 2vh); /* Responsive font size */
    line-height: 1.2; /* Adjust line height for readability */
}

/* Read More Button */
#link {
    display: inline-block;
    font-family: var(--mf-font-logo); /* Google Font */
    font-weight: 500;
    letter-spacing: -0.5px;
    margin-top: 30px;
    padding: 15px 40px;
    border: 1px solid; /* Border color depends on theme */
    text-decoration: none;
    font-size: 15px; /* Fixed font size */
    cursor: pointer;
    text-align: center;
    transition: background-color 0.3s ease, color 0.3s ease;
    border-radius: 100px;
}

/* Navigation Buttons */
#navigation {
    position: fixed;
    bottom: 50px; /* 50px above the bottom of the viewport */
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px; /* Space between buttons */
}

button {
    padding: 10px 20px;
    border: none;
    font-size: 16px; /* Fixed font size */
    line-height: 150%;
    cursor: pointer;
    border-radius: 5px;
    transition: background-color 0.3s ease, color 0.3s ease;
}
