/* static/css/components/base.css */

*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html, body {
    min-height: 100vh;
    min-width: 100vh;
    margin: 0;
    font-size: 16px;

    background-image: url('../../images/background.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
}


.page-wrapper {
    display: flex;
    flex-direction: column; /* show items from top to bottom */
    
    min-height: 100vh;
}


main {
    flex: 1; /* fills vertically the space between the header and footer */
    padding: 2rem 0 2rem 0;
}


a:has(> button),
a > button {
    text-decoration: none !important;
    color: inherit; /* Ensure color is controlled by the button */
}

a {
    text-decoration: none;
}