﻿@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 400;
    src: url('../fonts/inter-v12-latin-regular.eot');
    src: local(''), url('../fonts/inter-v12-latin-regular.eot?#iefix') format('embedded-opentype'), url('../fonts/inter-v12-latin-regular.woff2') format('woff2'), url('../fonts/inter-v12-latin-regular.woff') format('woff'), url('../fonts/inter-v12-latin-regular.ttf') format('truetype'), url('../fonts/inter-v12-latin-regular.svg#Inter') format('svg');
}

:root {
    font-size: 16px;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    min-height: 100%;
}

body {
    font-family: 'Inter', Arial, sans-serif;
    font-size: 15px;
    line-height: 1.25rem;
    color: #86878a;
    font-weight: 400;
}

#wrapper {
    margin: 1rem auto;
    padding: 0.5rem 0.6875rem 0.625rem;
    max-width: 476px;
    background-color: #fff;
    overflow: hidden;
    position: relative;
    border: solid 2px #c4c6c9;
}

:is(a:link, a:visited, a:hover, a:active) {
    color: #2e8e4d;
    text-decoration: underline;
    white-space: nowrap;
}

img {
    max-width: 100%;
}

:is(h1, h2) {
    font-weight: 400;
}

h1 {
    margin: 0 -0.6875rem 0.625rem;
    padding: 1.4375rem 0.6875rem;
    font-size: 1.375rem;
    line-height: 1.9375rem;
    text-align: center;
    background: #2e8e4d;
    color: #fff;
    border-bottom: 2px solid #bfbfbf;
}

h2 {
    font-size: 17px;
    line-height: 1.5rem;
    margin: 0.375rem -0.6875rem 0;
    padding: 0.3125rem 0.6875rem;
    background: #888e93;
    color: #fff;
    border-top: 2px solid #c4c6c9;
    border-bottom: 2px solid #c4c6c9;
    text-align: justify;
    hyphens: auto;
}

header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 0 8px;
}
footer {
    margin: 0.625rem 0 0;
    display: flex;
    justify-content: space-between;
}

span {
	white-space: nowrap;
}

@media screen and (max-width: 475px) {
    #wrapper {
        border: none;
        margin: 0;
    }

    h2 {
        text-align: left;
    }
}

@media screen and (max-width: 440px) {
	footer {
		flex-direction: column;
		align-items: center;
		gap: 16px;
	}

	footer p {
		text-align: center;
	}
}