@font-face {
    font-family: 'Anicons';
    src: url('fonts/AniconsGX.ttf');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Montserrat';
    src: url('fonts/Montserrat-VariableFont_wght.ttf');
    font-weight: 100 800;
    font-stretch: 25% 150%;
    font-style: normal;
}

@font-face {
    font-family: 'Montserrat';
    src: url('fonts/Montserrat-Italic-VariableFont_wght.ttf');
    font-weight: 100 800;
    font-stretch: 25% 150%;
    font-style: italic;
}

@font-face {
    font-family: 'Remington';
    src: url('fonts/Will Love.otf');
    font-weight: normal;
    font-stretch: 25% 150%;
}

@font-face {
    font-family: 'Remington';
    src: url('fonts/Will Love.otf');
    font-weight: bold;
    font-stretch: 25% 150%;
}

:root {
    --base-text-color: #d6ded6/*#634c40*/;
    --base-background-color: #576355/*#E8FDE6*/;
    --main-background: var(--base-text-color);
    --icon-color: var(--base-text-color);
    --base-gap: 0.5rem;
    --qr-code-size: 12em;
}

.anicon {
    font-family: "Anicons";
    transition: all 0.4s ease;
    font-variation-settings: "TIME" 1;
}

.icon {
    width: 1em;
    height: 1em;
}

.anicon.navi-icon {
    font-size: 2.1em;
    float: left;
    margin-right: 0.5em;
}

.anicon.navi-icon:hover {
    font-variation-settings: "TIME" 100;
}

body {
    background: var(--main-background);
    color: var(--base-text-color);
    font-family: "Montserrat";
    display: flex;
    align-items: center;
    flex-direction: column;
}

header {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: none;
    padding: 0;
    justify-content: space-between;
    border-radius: 10px;
    color: var(--base-background-color);
}

main {
    margin: 1em;
    padding: 0;
    display: grid;
    grid-template-columns: 1;
    grid-gap: var(--base-gap, 0.5rem);
    max-width: 1200px;
}

main a[role=region],
main section,
foot section {
    background: var(--base-background-color);
    padding: 0 2em 2em;
    border-radius: 10px;
}

a {
    color: var(--base-text-color);
    text-decoration: underline;
}

.naviblock {
    display: grid;
    grid-template-columns: min-content auto;
    grid-auto-flow: column;
    column-gap: var(--base-gap, 0.5em);
    row-gap: var(--base-gap, 0.5em);
    text-decoration: none;
}
@media(max-width:700px) {
    .naviblock.xl {
        grid-auto-flow: row;
        grid-template-columns: auto;
    }
}

h1,
h2,
h3,
h4 {
    margin-bottom: 0.0em;
}

h1 {
    font-family: "Remington";
    font-size: 2.6em;
    margin-bottom: 0;
}

h2 {
    font-family: "Remington";
    font-size: 2em;
}

h3 {
    font-size: 1.2em;
    font-weight: normal;
    text-decoration: underline;
    margin: 0;
    display: inline-block;
}

h4 {
    font-size: 1.2em;
}

details,
p {
    margin: 0.5em;
    padding: 0;
}

.visually-hidden {
    clip: rect(0 0 0 0);
    clip-path: inset(50%);
    height: 1px;
    overflow: hidden;
    position: absolute;
    white-space: nowrap;
    width: 1px;
}
button, button:active {
    display: inline-block;
    border: 1px dashed transparent;
    background: transparent;
    padding: 1px 1px 2px 2px
}
button:hover, button:focus {
    border: 1px dashed var(--base-text-color);
    background: transparent;
    border-radius: 4px;
}
.qr-code {
    width:var(--qr-code-size, 10em);
    height:var(--qr-code-size, 10em);
}
