html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
	display: block;
}
body {
	line-height: 1;
    background-image: url(/i/background-cut.png);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    height: 100vh;
    height: calc(var(--vh, 1vh) * 100);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    font-family: 'Commissioner', sans-serif;
    overflow: hidden;
    min-width: 300px;
    min-height: 470px;
    }
ol, ul {
	list-style: none;
}
blockquote, q {
	quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
}

:root {
    --accent: #0CAEE3;
    --orange: #F9B233;
    }

.hidden {display: none;}

.logo {
    width: 100%;
    text-align: center;
    position: relative;
    top:15%;
    }
.logo img {
    display: inline-block;
    margin: 0 auto;
    max-width: 380px;
    }

.menu {
    text-align: center;
    margin-top: auto;
    display: grid;
    gap: 40px;
    grid-template-columns: repeat(2, 300px);
    justify-items: center;
    }
.menu__block {
    min-width: 240px;
    padding: 40px;
    position: relative;
    transition: background-color 0.5s ease-in-out;
    -webkit-transition: background-color 0.5s ease-in-out;
    -moz-transition: background-color 0.5s ease-in-out;
    -ms-transition: background-color 0.5s ease-in-out;
    -o-transition: background-color 0.5s ease-in-out;
    margin-bottom: 60%;
    }
.menu__title {
    font-family: inherit;
    font-size: 24px;
    color: var(--orange);
    display: block;
    margin-bottom: 12px;
    }
.menu__link {
    font-size: 16px;
    display: inline-block;
    color: white;
    margin-bottom: 5px;
    text-decoration: none;
    font-style: normal;
    }
.menu__link:last-child {
    margin-bottom: 30px;
}

.copyright {
    position: absolute;
    bottom: 0;
    left:0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    }
    .copyright__el {
        color: white;
        padding: 20px;
        font-family: inherit;
        }

@media (min-width:570px) and (min-height:570px) {
}

@media (min-width:760px) {
    body {
        background-image: url(/i/background-small-cut.png);
        background-position: top;
        background-size: cover;
        background-repeat: no-repeat;
        }
}
@media (max-width:760px) {
    body {
        background-image: url(/i/background-small-cut.png);
        background-position: center;
        background-size: cover;
        background-repeat: no-repeat;
        padding-bottom: 40px;
        justify-content: center;
        }
    
    .logo {top:4%;}
    .logo img {max-width: 265px;}
    .menu {
        grid-template-columns: auto;
        grid-template-rows:max-content;
        gap: 0;
        margin-top: 0;
        }
        .menu__block {
            padding: 0;
            margin-bottom: 20px;
        }
}
@media (max-width:480px) {
    body {
        background-image: url(/i/background-smaller.png);
        background-position: center;
        background-size: cover;
        background-repeat: no-repeat;
        padding-bottom: 40px;
        justify-content: center;
        }
}
/* iphone4 */
@media (max-width:320px) and (max-height:470px) {
    body {
        height: auto;
        overflow: auto;
        }
    .logo img {
        max-width: 265px;
        position: relative;
        top: 35px;
        }
        .copyright {position: static;}
}

@media (max-height:570px) {
}
@media (max-height:500px) and (max-width:760px) {
    .logo {margin: 40px 0;top: 15%;}
}
@media (max-height:500px) {
    body {overflow-y: auto;}
    .copyright {position: static;}
    .menu__block{margin-bottom: 0;}
}

@media (min-width:761px) {
    #main-block {
        display: flex;
        flex-direction: column;
        height: 90%;
    }
}