
/* html5doctor.com/html-5-reset-stylesheet/ */
html,body,div,span,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,abbr,address,cite,prox,del,dfn,em,img,ins,kbd,q,samp,small,strong,sub,sup,var,b,i,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td,time,mark,audio,video { margin:0;padding:0;border:0;outline:0;font-size:100%;vertical-align:baseline;background:transparent; }
body { line-height:1; }
ol,ul { list-style:none; }
blockquote,q { quotes:none; }
blockquote:before,blockquote:after,q:before,q:after { content:'';content:none; }
ins { text-decoration:none; }
del { text-decoration:line-through; }
table { border-collapse:collapse;border-spacing:0; }
 

/*-  SELF-CLEARING FLOATS
----------------------------------------------------------------------*/
.mod:after,
.section:after {
	content: ".";
	display: block;
	height: 0;
	clear: both;
	visibility: hidden;
}
.mod,
.section {
	zoom: 1;
}


/* Reset */
*,
*:after,
*:before {
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
}

/* Clearfix hack by Nicolas Gallagher: http://nicolasgallagher.com/micro-clearfix-hack/ */
.clearfix:before,
.clearfix:after {
	content: " ";
	display: table;
}

.clearfix:after {
	clear: both;
}

a, * {
     -webkit-tap-highlight-color: rgba(0,0,0,0); -webkit-tap-highlight-color: transparent;
}

a {
    color: #222;
}
*{outline:none
}

.box, div, header, footer {
    box-sizing: border-box;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
}
footer {
display: none
}

html {
	width:100%;
	height:100%;
	min-height:100%;
    font-size: 10px;
}

@font-face {
    font-family: 'huymedium';
    src: url('../fonts/medium.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
    font-display: block;
}

@font-face {
    font-family: 'huybold';
    src: url('../fonts/bold.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
    font-display: block;
}

@font-face {
    font-family: 'huyitalic';
    src: url('../fonts/italic.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
    font-display: block;
}

body {
background: #dddcda;
    color:#222;
    font-family: 'huymedium', sans-serif;
    font-style: normal;
    font-weight: normal;
    font-size: 2rem;
    overflow: hidden;
   /* font-style: italic;*/
	-webkit-text-size-adjust: 100%;
}

h1,h2,h3,h4,h5,h6 {
    font-style: normal;
    font-weight: normal;
    font-family: "huybold", sans-serif;
    text-transform: uppercase;
    width: 100%;
    word-spacing: 0.1em;
}

* {


}

a {
		/*transition: 0.3s ease-out;
	-webkit-transition: 0.4s ease-out;*/
}

a:hover {	
		
}

* {

}

#main {
    width: 100%;
    height: 100vh;
    display: flex;
    flex-direction: row;
  justify-content: center;
    overflow: auto;
}

#content {
    width: 100%;
    max-width: 1200px;
}

#nav {
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: center;
}
.group-button {
    display: flex;
    background-color: #222;
    padding: .125em;
    margin-top: 1rem;
    border-radius: 3.2rem;
    flex-direction: row;
    align-items: center;
    border: #222 solid 0.2rem;
    position: absolute;
    box-shadow: 8px 14px 0px -2px rgba(34,34,34,0.24);
    -webkit-box-shadow: 8px 14px 0px -2px rgba(34,34,34,0.24);
    -moz-box-shadow: 8px 14px 0px -2px rgba(34,34,34,0.24);
    z-index: 700;
    outline: .25em solid #222;
    outline-offset: -.25em;
}

.group-button .button {
    font-size: 6rem;
    line-height: 1em;
    text-transform: uppercase;
    font-family: "huybold", sans-serif;
    padding: 0.167em 0.833em 0.125em 0.833em;
    margin: .06em;
    float: left;
    background-color: #fff;
    cursor: pointer;
    text-align: center;
    text-decoration: none;

}
.group-button .button:first-child{
    border-top-left-radius: 0.417em;
    border-bottom-left-radius: 0.417em;
}
.group-button .button:last-child{
    border-top-right-radius: 0.417em;
    border-bottom-right-radius: 0.417em;
}
.group-button .button:hover {
    background-color: #f0f0f0;
    color: #222;

}
.group-button .button.aktiv {
    background-color: #222;
    color: #36d9fd;
}
#google, #rustore {
    width: 24em;
    height: 8em;
    display: block;
}

#google img, #rustore img {
    width: 100%;
    height: auto;
}

.markets {
    display: flex;
    flex-direction: row;
    align-items: center;
}
#info {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 0em;
    padding: 0 10px;


}
#download, #about, #subfooter, #donate {
    display: flex;
    flex-direction: column;
    align-items: center;
}

#download a{
    display: flex;
}

.main-link {

    font-size: 8rem;
    display: flex;
    flex-direction: row;
    align-items: center;
    padding: 4rem;
    border-radius: 8rem;
    margin-bottom: 4rem;

}
.main-link img {
    width: 20rem;
    height: 20rem;
    border-radius: 8.8rem;
    margin-right: 5rem;
}

.main-link:hover {
    background-color: #fff;
}

#old-versions {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 50%;
    margin-top: 3em;
}

#old-versions a{
    font-size: 4rem;
    line-height: 200%;
    margin-bottom: .5em;
    text-decoration: none;
    border-bottom: .4rem solid #222;
    width: 100%;
    background: url("/img/download.svg") 96% 50% no-repeat;
    background-size: 1.8em 1.8em;
    padding: 0 .2em;
    position: relative;
    z-index: 100;

}

#old-versions a:hover{

}

#old-versions a:hover:before{
    background: url("/img/download.svg") 95.5% 50% no-repeat;
    background-color: #fff;
    background-size: 1.8em 1.8em;
    content: "";
    position: absolute;
    width: calc( 100% + 0.8em );
    height:  calc( 100% + 0.4em );
    left: -0.4em;
    top: -0.2em;
    border: 0.2em solid #fff;
    z-index: -50;
    border-radius: 0.5em;
}

#about, #donate {
    width: 100%;
    margin-top: 6rem;
    align-items: flex-start;
    max-width: 1100px;


}

.treesome {
    display: flex;
    gap: 4%;
    flex-wrap: wrap;

}
.pic-holder {
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: center;
    margin: 2em 0 0 0;
}
.treesome .pic-holder {
    width: 48%;
    flex: 0 0 48%;

}
.picture {
    width: 100%;
    max-width: 900px;
    border-radius: 40px;
    overflow: hidden;
    border: 4px solid #222;
    border-left: .5vw solid #222;
    border-right: .5vw solid #222;
    font-size: 0px;
    line-height: 0px;
    box-shadow: 8px 14px 0px -2px rgba(34,34,34,0.24);


}
.treesome .picture {
    border-radius: 20px;
}
.picture img {
    width: 100%;
    height: auto;

}
h1 {
    font-size: 8rem;


}
h2 {
    font-size: 5rem;
    margin-top: .75em;

    display: flex;
    flex-direction: row;
    align-items: flex-start;

}
h3 {
    font-size: 3rem;
    margin-bottom: .75em;


}

p {
    font-size: 2.4rem;
    font-family: 'huyitalic', sans-serif;
    line-height: 150%;
    margin: 1em 0 0 0;
    width: 100%;
    text-align: left;
    word-spacing: 0.1em;

}

.section {
    margin-bottom: 2rem;
    width: 100%;
}
.icon {

    height: 1em;
    width: 1em;
    margin-left: .4em;

}
.icon img{
    width: 100%;
    height: auto;


}

p .icon  {
    display: inline-block;
    height: 1.4em;
    width: 1.4em;
    margin: 0;
    font-size: 1em;
    line-height: 1em;

}

p .icon img {

}

.eng, .chi {display: none}

#subfooter {
    margin-top: 6em;
    padding-top: 2em;
    border-top: 0.2em solid #222;
    border-bottom: 0.2em solid #222;
    max-width: 1100px;
    width: 100%;
}

#lang {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    margin-top: 1em;
    font-size: 2rem;
    width: 100%;
    margin-bottom: 2em;



}
#lang-wrapper {

    display: flex;
    flex-direction: row;
    align-items: flex-start;
}
.lang {
    font-size: 1.4em;
    padding:0.2em;
    border-radius: 0.2em;
    cursor: pointer;
}

.lang :hover {
    background-color: #fff;

}
.lang.selected {
    background-color: #222;
    color: #fff;
}

#facepalm {
    width: 20rem;
    height: 20rem;
    float: left;
    margin-right: 2rem;
    margin-bottom: 2rem;
}
#facepalm img {
    width: 100%;
    height: 100%;
}

#bages {
    display: flex;
    flex-direction: row;
    gap: 4rem;
    align-content: center;
    align-items: center;
    justify-content: space-evenly;
    padding: 0 25%;
}
.bage {

}
.surface-2 {
    background-color: #f0f0f0;
    border-radius: 2rem;
    padding: 2rem;
    border: 0.4rem dotted #222 ;
    margin-top: 6rem;
}

.surface-2 h2 {
    margin-top: 0;
}
.bage img {
    width: 100%;
    height: auto;
    border-radius: 11px;
    overflow: hidden;
}

#ba-1 {
    width: 160px;
}
#ba-2{
    width: 220px;
}



#donation {
    display: flex;
    gap: 2rem;
    justify-content: space-around;
    width: 100%;
    margin: 4rem 0 8rem 0;

}
.don-item {
    display: flex;
    flex: 0 1 28%;
    flex-direction: column;
    max-width: 25rem;
    gap: 1.4rem
}
.don-qr img {
    width: 100%;
    height: auto;
}

.don-text {
    overflow-wrap: break-word;
    word-break: break-all;

    line-height: 100%;
    text-align: center;
    cursor: pointer;
    hyphens: auto; /* автоматические переносы если поддерживается */
    position: relative;
}

.don-text:hover:before {
    background-color: #ffffff;
    border: 1px solid rgba(0,0,0,0.2);
    content: "";
    position: absolute;
    left: -.8rem;
    top: -.8rem;
    height:  calc(100% + 1.6rem);
    width:  calc(100% + 1.6rem);
    border-radius: 1.2rem;
    z-index: -2;
}
.don-text span {
    font-size: 20px;
    display: block;
    line-height: 100%;
    margin-bottom: 2rem;
    margin-top: .5rem;
    text-align: center;
    font-style: normal;
    font-weight: normal;
    font-family: "huybold", sans-serif;
}

.don-icon {
    width: 16px;
    height: 16px;
    background: url("/img/copy-icon.svg") 50% 50% no-repeat;
    background-size: contain;
    flex: 0 0 16px;
}

.don-copy{
    display: flex;
    flex-direction: row;
    gap: 4px;
    font-size: 16px;
    line-height: 100%;
    justify-content: center;
}

#copyr {
    font-size: 17px;
}