@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap');

*,
*::before,
*::after {
    box-sizing: inherit;
}

:root {
    --theme-blue: #535895;
}

html {
    box-sizing: border-box;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    height: 100%;
}

body {
    font-family: 'Roboto', sans-serif;
    font-size: 16px;
    background-color: #f2f4f6;
    text-rendering: optimizelegibility;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    height: 100%;
}

html,body,h1,h2,h3,h4,h5,p,ul,ol,li {
    margin: 0;
    padding: 0;
}

a, button {
    cursor: pointer;
}

body.body-span {
    display: flex;
    flex-direction: column;
}

body.body-span > header {
    flex: 0 0 auto;
}

body.body-span > main {
    flex: 1 0 auto;
}

body.body-span > footer {
    flex: 0 0 auto;
}

header {
    display: flex;
    gap: 20px;
    align-items: center;
    position: absolute;
    color: white;
    top: 0;
    left: 0;
    width: 100%;
    padding: 20px;
    z-index: 2;
}

body.body-span > header {
    position: relative;
    background-color: white;
    color: black;
    box-shadow: 0 0 6px rgba(0,0,0,0.5);
}

header > .header__logo img {
    display: block;
    width: 100%;
}

header .header__menu {
    flex: 1 1 auto;
    display: flex;
    gap: 40px;
    align-items: center;
    justify-content: flex-end;
}

header > .header__menu a {
    display: block;
    color: inherit;
    text-decoration: none;
    white-space: nowrap;
    font-size: 1.3em;
    transition: text-shadow 0.2s ease-in;
}

header > .header__menu a:hover {
    text-decoration: underline;
    text-shadow: 0 0 20px #fff, 0 0 30px #ff4da6, 0 0 40px #ff4da6, 0 0 50px #ff4da6, 0 0 60px #ff4da6, 0 0 70px #ff4da6, 0 0 80px #ff4da6;
}

body.body-span > header > .header__menu a {
    text-decoration: underline;
}

body.body-span > header > .header__menu a:hover {
    text-shadow: none;
}

.footer {
    padding: 40px;
    background-color: #0c323c;
    color: white;
}

.footer__inner {
    display: flex;
    flex-direction: column;
    gap: 10px;
    text-align: center;
    align-items: center;
    margin: 0 auto;
    max-width: 1000px;
}

.footer__inner a {
    color: inherit;
}

.footer__links {
    display: flex;
    gap: 20px;
}

.footer__links button {
    background: none;
    border: none;
    padding: 0;
    margin: 0;
    color: inherit;
    font: inherit;
    text-decoration: underline;
}

.support-dialog {
    border: 1px solid #999999;
    border-radius: 10px;
    padding: 40px;
    font-size: 1.2em;
    text-align: center;
}

.support-dialog::backdrop {
    background-color: rgba(0,0,0,0.8);
    backdrop-filter: blur(5px);
}

.support-dialog button {
    margin-top: 30px;
    padding: 10px 20px;
    border-radius: 5px;
    background-color: #0c323c;
    font: inherit;
    color: white;
    border: none;
    cursor: pointer;
}

@media screen and (max-width: 460px) {
    header .header__menu {
        gap: 20px;
    }
}

@media screen and (max-width: 400px) {
    header > .header__menu a {
        font-size: 1.1em;
        font-weight: 500;
    }
}