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;}article,aside,details,figcaption,figure,footer,header,hgroup,menu,nav,section{display:block}body{line-height:1}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;}

/* Setup
*********************************************************************************************/

body {
	background: #221f1a;
	background-image: url(../img/back2.jpg);
	font-family: 'Chakra Petch', serif;
	font-weight: 300;
	font-size: 16px;
	line-height: 27px;
	color: #464646;
	text-rendering: optimizeLegibility;

    place-items: center;
        vertical-align: middle;
        align-items: center;
}

.outer {
    display: table;
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
}

.wrapper {
    display: table-cell;
    vertical-align: middle;
}

.inner {
    margin-left: auto;
    margin-right: auto;
    width: 100%;
    /* Whatever width you want */
}

/* Typography
*********************************************************************************************/

h1, h2, h3, h4, h5, h6 {
    font-family: 'Chakra Petch';
	color: #464646;
	margin-bottom: 10px;
	margin-top: 25px;
	    text-align: center;
}


h1 {
    font-size: 55px;
    line-height: 30px;
}

h2 {
    font-size: 48px;
    line-height: 39px;
    margin-top: 20px;
}

a {
    color: #464646;
    text-decoration: none;
    text-transform: uppercase;
    -moz-transition-duration: 0.1s;
    -webkit-transition-duration: 0.1s;
}

a:hover, a:focus {
    color: #464646;
}


/* logo */

section {
margin: 0;
}

logo {
	display: block;
	margin: 7% auto 7%;
        text-align: center;
	width: 155px;
	height: 175px;
	background: url(../img/logo.svg);
	opacity: 0.1;
	}

logo:hover , logo:focus {
   -moz-transform: rotate(180deg); /* Для Firefox */
    -ms-transform: rotate(180deg); /* Для IE */
    -webkit-transform: rotate(180deg); /* Для Safari, Chrome, iOS */
    -o-transform: rotate(180deg); /* Для Opera */
    transform: rotate(180deg) scale(1.1);
    opacity: 0.3;
	}

/* .linkabout {
    margin-top: 0;
    color: black;
    transition: all 0.4s ease-in-out;
    -webkit-transition: all 0.4s ease-in-out;
    -moz-transition: all 0.4s ease-in-out;
    -o-transition: all 0.4s ease-in-out;
} */


.img-avatar-en {
background: url(../img/avatar.webp) no-repeat center center;
border: solid 0px;
width: 400px;
height: 400px;
padding: 3px;
border:1px solid #e5e5e5;
margin: 80px auto 0px;
text-align: center;
display:block;
border-radius: 100%;
box-shadow: 0 0 10px rgba(0,0,0,0.5);
    transition: all 0.3s ease-in-out;
    -webkit-transition: all 0.3s ease-in-out;
    -moz-transition: all 0.3s ease-in-out;
    -o-transition: all 0.3s ease-in-out;
}

.img-avatar-en:hover ,.img-avatar:focus {
box-shadow: 0 0 1.5em #999999;
}


.linkabout i{
font-size: 115%;
line-height: 1.3;
}


.linkabout:hover{
cursor: pointer;
border-bottom: 1px dotted #999999;
}

/* social block */

.social {
    text-align: center;
    text-decoration: none;
    margin: 10px auto;
    	}

.social ul {
    margin: 30px auto;
    display: inline-block;
    text-align: center;
    width: 100%;
}

.social li{
    font-size: 40px;
    font-family: 'FontAwesome';
    color: #000000;
    opacity: 0.4;
    margin: auto;
    width: 50px;
    height: 40px;
    display: inline-block;
    list-style: none;
    padding: 2px;
    vertical-align: middle;
}

.social li:hover {
    opacity: 0.9;
    transform: scale(1.5);
    -webkit-transform: scale(1.5);
    -o-transform: scale(1.5);
    -moz-transform: scale(1.5);
}

/* shared block */

ul, ol {
    margin-left: 40px;
}

ul li {
    list-style: disc;
}

ol li {
    list-style: decimal;
}

em {
    font-style: italic;
}

strong {
    font-weight: bold;
}

small {
     font-size: 14px;
}

code, pre {
    font-family: 'Source Sans Pro', monospace;
    text-rendering: optimizeLegibility;
    font-size: 18px;
    letter-spacing: 0.1em;
    margin: 0 0.1em;
}

.animation {
    transition: all 0.4s ease-in-out;
    -webkit-transition: all 0.4s ease-in-out;
    -moz-transition: all 0.4s ease-in-out;
    -o-transition: all 0.4s ease-in-out;
}

.slowanimation {
    transition: all 1s ease-in-out;
    -webkit-transition: all 1s ease-in-out;
    -moz-transition: all 1s ease-in-out;
    -o-transition: all 1s ease-in-out;
}


footer {
	margin: auto;
        text-align: center;
	position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 50px;
  padding-top: 5px;
	}

.footer-copyrights {
	font-family: 'Chakra Petch', serif;
	font-weight: 300;
	font-size: 16px;
}
