
:root {
    --primary-color: #9037AA;
    --neutral-light: #baf4f4;
    --neutral-dark: #3F403F;
    --complement-color: #FDFCDC;
    --surface-color: #FFFFED;
    --footer-color: #d6d5d6;
    --font-sans: Lato;
}

pre {
    font-family: inherit;
}

.game15 {
    font-weight: bold;
}


.vk-style {
    font-family: var(--font-sans), sans-serif;
    margin: 2px 0;
    background-color: var(--neutral-light);
}

.vk-style-highlight {
    color: var(--primary-color);
}


body {
    margin: 0;
    padding: 0;
    font-family: var(--font-sans), sans-serif;
    background-color: var(--surface-color);
    color: var(--neutral-dark);
}

.section-1 {
    display: flex;
    align-items: center;
    padding: 1rem 5%;
    background-color: var(--surface-color);
    position: relative;
    gap: 1rem;
}

.logo {
    font-size: 2rem;
    font-weight: bold;
    color: var(--neutral-dark);
    text-decoration: none;
    white-space: nowrap;
}

.spacer {
    flex-grow: 1;
    container-type: inline-size; /* Enable container queries */
    container-name: menu-container; /* Assign a name to this container */
    /*background-color: rgba(0, 0, 255, 0.2); !* Debug color to visualize *!*/
    /*border: 1px solid blue; !* Debug border to confirm size changes *!*/
}

.menu {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    padding: 10px;
    font-weight: bold;
}

.menu a {
    text-decoration: none;
    font-size: 1.5rem;
    color: var(--neutral-dark);
    transition: color 0.3s, font-weight 0.3s;
}

.menu a:hover {
    color: var(--primary-color);
    font-weight: bold;
    background-color: var(--neutral-light);
}

.burger-icon {
    display: none;
    font-size: 2rem;
    cursor: pointer;
    position: relative;
}

.burger-menu {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 100%;
    right: 5%;
    background: var(--neutral-light);
    border: 1px solid var(--neutral-dark);
    padding: 1rem;
    gap: 0.5rem;
}

.burger-icon:hover + .burger-menu,
.burger-icon:focus + .burger-menu {
    display: flex;
}



.section-2 {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 3rem 1rem;
    background-color: var(--neutral-light);
}

.max-width-600 {
    max-width: 600px;
}

.width-100 {
    width: 100%;
}

.bold{
    font-weight: bold;
}

.flex{
    display: flex;
}

.section-2-left {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: left;
    text-align: left;
    padding: 3rem 1rem;
    background-color: var(--neutral-light);
}

.image1-container {
    display: flex;
    justify-content: center; /* Ensures the image itself is centered */
}

.image1-container img {
    /*width: 50vw; !* 50% of the window width *!*/
    max-width: 50%; /* Prevent the image from being larger than 50% */
    min-width: 100px; /* Ensure it's not smaller than 100px */
    height: auto; /* Maintain aspect ratio */
    display: block; /* Remove inline spacing */
}

.image1-pos {
    display: flex;
    justify-content: center; /* Center the content horizontally */
    align-items: center;
    flex-direction: column;
    padding-top: 20px; /* Padding from the text above */
    padding-bottom: 40px;
}

.image2-container {
    height: 300px; /* Fixed height */
    overflow: hidden; /* Prevents overflow */
    display: inline-flex;
    justify-content: center;
    align-items: center;
    background-color: var(--surface-color);
}

.image2-container img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain; /* Ensures images maintain aspect ratio */
}

.img-size-1 {
    width: 24em;      /* scales with font-size */
    height: auto;
}

.container-color {
    background-color: var(--neutral-light);
    height: 300px;
    width: 300px;
    display: flex;
    justify-content: center;
}

.text-size-5 {
    font-family: var(--font-sans), sans-serif; /* Specific font */
    font-size: 1.7em; /* Optional: Adjust font size */
    line-height: 1.5; /* Improve readability */
    margin: 0 auto; /* Center horizontally if needed */
    text-align: justify; /* Optional: Align text for better presentation */
    color: var(--neutral-dark); /* Optional: Set a dark grey font color */
    padding: 20px;
    background-color: var(--neutral-light);
}

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


article {
    padding-bottom: 40px;
}

.button-link {
    display: inline-table; /* Makes it button-like but inline */
    background-color: var(--primary-color); /* Custom button color: Blue */
    color: #fff; /* White text */
    font-weight: bold;
    padding: 6px 12px;
    border-radius: 5px;
    text-align: center;
    text-decoration: none; /* Remove underline */
    cursor: pointer;
    transition: background-color 0.3s ease;
    align-content: center;
}

.button-container {
    text-align: center; /* Centers inline or inline-block elements */
    margin: 40px; /* Adds space above the button */
}

.center-button {
    display: inline-block;
    background-color: var(--primary-color); /* Green button color */
    color: #fff; /* White text */
    font-size: 1em;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.center-container {
    display: grid;
    justify-items: center;
    margin: 1vw;
    padding: 1vw;
}

.centered-list {
    display: inline-block; /* Makes the list take only as much space as needed */
    text-align: left; /* Aligns list items to the left within the centered container */
    padding: 0; /* Removes default padding */
    list-style-position: inside; /* Optional: Moves bullets inside list box */
}

/* Styling for list items */
.centered-list li,
.left-align p {
    margin-bottom: 10px; /* Adds space between items */
    font-family: var(--font-sans), sans-serif;
    font-size: 1.1em;
    color: #333;
}

/* Pill-shaped, raised button */
.pill-button {
    display: inline-block;
    padding: 12px 24px; /* Button padding */
    font-size: 1.1em;
    font-weight: bold;
    color: #ffffff; /* Text color */
    background-color: var(--primary-color); /* Button color */
    border: none;
    border-radius: 50px; /* Pill shape */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2); /* Raised effect */
    text-decoration: none; /* Remove underline */
    transition: all 0.2s ease; /* Smooth hover effect */
    cursor: pointer;
}

/* Hover effect: Half-pressed look */
.pill-button:hover {
    background-color: var(--neutral-light); /* Darker blue */
    box-shadow: 0 2px 3px rgba(0, 0, 0, 0.3); /* Reduce shadow to look "pressed" */
    transform: translateY(1px); /* Move button down slightly */
}

/* Active effect: Fully pressed */
.pill-button:active {
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.4); /* Very low shadow */
    transform: translateY(4px); /* Press further down */
}

.left-align {
    text-align: left; /* Align text to the left */
}

.right-align {
    text-align: right; /* Align text to the right */
    justify-items: right;
    justify-self: right;
}

.box {
    padding: 10px;
}

.footer {
    text-align: left;
    padding: 20px;
    font-size: 14px;
    background-color: var(--footer-color);
}

.footer p{
    font-weight: bold;
    text-align: center;
}

footer a{
    padding-left: 3em;
}

.formatted-text {
    /*border-left: clamp(0.5em, 6em, 5vw) solid transparent;*/
    /*border-right: clamp(1em, 6em, 2vw) solid transparent;*/
    border-left: 5vw solid transparent;
    border-right: 5vw solid transparent;
    max-width: 70em;
    text-align: justify;
    font-size: 1.3em;
    line-height: 1.5em;
}

.formatted-text h1 {
    line-height: 1.2; /* interline spacing / interline interval */
    margin-top: 1.5em; /* space BEFORE the heading */
    margin-bottom: 0.8em;
}
.formatted-text h2 {
    line-height: 1.2; /* interline spacing / interline interval */
}

.news-container{
    padding-left: 6em;
}

.news-container article{
    max-width: 8000px;        /* Restrict width for better readability */
    margin: 2em;        /* Center and add spacing around the article */
    line-height: 1.8;        /* Improve readability with adequate line spacing */
    background-color: var(--surface-color); /* Light background for contrast */
    color: var(--neutral-dark);
    border: 1px solid #ddd;  /* Subtle border for definition */
    border-radius: 8px;      /* Rounded corners for aesthetics */
    padding: 1em 1em 3em;
}



