@font-face {
    font-family: YBold;
    src: url(/css/OnestBold1602-hint.ttf);
}
@font-face {
    font-family: YRegular;
    src: url(/css/OnestRegular1602-hint.ttf);
}
@font-face {
    font-family: URegular;
    src: url(/css/OnestLight1602-hint.ttf);
}
@font-face {
    font-family: CRegular;
    src: url(/css/CRegular.otf);
}
@font-face {
    font-family: MRegular;
    src: url(/css/miamanueva.ttf);
}

:root {
    --color1: #ffffff;
    --color0: #4c4c4c;
    --color0a: #6b6b6b;
    --color2: #fb8641;
    --color2a: rgba(251, 134, 65, 0.25);
    --color2b: rgba(251, 134, 65, 0.12);
    --color2c: #fff2e9;
    --color4: #f0d1bb;
    --color3: #fdf8f8;
    --width: 1200px;
    --container-padding: 20px;
}

* {
    font-family: URegular;
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

body {
    padding: 0;
    margin: 0;
    /*background-image: url("/img/bg.jpg");*/
    /*background-size: cover;*/
    /*background-repeat: no-repeat;*/
    /*background-attachment: fixed;*/
    /*background-position: top center;*/
    /* Permalink - use to edit and share this gradient: https://colorzilla.com/gradient-editor/#a7cfdf+0,23538a+100;Blue+3d+%238 */
    background: linear-gradient(to right, rgb(243, 226, 229) 0%, rgb(250, 223, 215) 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
    min-height: 100vh;
    overflow-x: hidden;
}

.content{
    width:var(--width);
    margin: 20px auto;
    display: flex;
    flex-direction: column;
    position: relative;
    background-color: var(--color3);
    border-radius: 10px;
    overflow: hidden;
    padding: 30px;
}

header{
    position: absolute;
    top:0;
    right:0;
    display: flex;
    flex-direction: row;
    height: 53px;
}

header ul{
    display: flex;
    list-style: none;
    margin: 0 10px;
}


header ul li {
    margin-left: 20px;
    text-transform: uppercase;
    height:100%;
    padding: 0;
    display: flex;
    align-items: center;
}

header ul li.current a{
    background-color: var(--color2);
    color: var(--color1);
    font-weight: bold;
}

header ul li a {
    text-decoration: none;
    color: var(--color0);
    font-size: 16px;
    transition: color 0.3s;
    height: 100%;
    width: 100%;
    display: flex;
    align-items: center;
    padding: 10px;
}

header ul li:not(.current) a:hover {
    color: var(--color2);
}

.burger-menu {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 60px;
    height: 53px;
    background-color: var(--color1);
    border: none;
    cursor: pointer;
    padding: 15px;
    z-index: 1001;
}

.burger-menu span {
    display: block;
    height: 3px;
    width: 100%;
    background-color: var(--color0);
    border-radius: 2px;
    transition: all 0.3s ease;
}

.burger-menu.active span:nth-child(1) {
    transform: translateY(10px) rotate(45deg);
}

.burger-menu.active span:nth-child(2) {
    opacity: 0;
}

.burger-menu.active span:nth-child(3) {
    transform: translateY(-10px) rotate(-45deg);
}

/* Основное меню */
header {
    transition: all 0.3s ease;
    z-index: 2;
}

.logo{
    background-image: url("/img/logo3.png");
    /*filter: invert(1);*/
    width:50px;
    height:50px;
    position: absolute;
    top:15px;
    left:15px;
    background-size: contain;
    background-repeat: no-repeat;
    z-index: 2;

}
.mainPhoto{
    display: flex;
    flex-direction: row;
    margin:-30px;
    margin-bottom: 40px;
}
.mainPhoto .photoBlock{
    width: 40%;
    background-color: var(--color4);
    border-radius: 3px;
}
.mainPhoto .photoBlock img{
    width: 100%;
    margin-bottom: -61px;
}
.title{
    width: 60%;
    background-image: url(/img/engbg.png);
    background-position: center 63%;
    background-repeat: no-repeat;
    background-size: 50%;
    display: flex;
    align-items: flex-start;
    padding: 70px;
    flex-direction: column;
    justify-content: center;
}
.title .iam{
    margin-top: -40px;
}
.title h1{
    color: var(--color2);
    font-size: 24px;
    font-family: MRegular;
}
.title h2{
    color: var(--color0);
    font-family: CRegular;
    font-size: 80px;
    line-height: 50px;
    padding: 30px 0;
}

#myhobby,
#myclass{
    background-color: var(--color2c);
    margin: 100px -30px;
    padding: 50px 30px;
}
#myhobby,
#myprofession,
#awards,
#myclass,
#about{
    margin-top: 100px;
}

#myhobby h3,
#myprofession h3,
#myclass h3,
#awards h3,
#about h3{
    margin: 0 auto;
    font-family: CRegular;
    font-size: 40px;
    text-align: center;
    color: var(--color0);
}
.lightText{
    font-size: 14px;
    font-family: URegular;
    color: var(--color0a);
    line-height: 20px;
}
#awards .about,
#about .about{
    padding: 30px 120px;
    text-align: center;
}
#myhobby .about,
#myprofession .about,
#myclass .about
{
    padding: 30px 20px;
    text-align: justify;
    text-indent: 30px;
}

.blocks{
    display: flex;
    justify-content: space-evenly
}

.blocks .block{
    border-radius: 4px;
    margin-top: 40px;
    display: flex;
    flex-direction: column;
    background-color: var(--color1);
    width:300px;
    height:300px;
    color: var(--color0);
    padding: 30px;
    box-shadow: 0 10px 20px var(--color2a);
}
.blocks .block:nth-child(2){
    margin-top: 0;
    background-color: var(--color2);
    color: var(--color1);
}

.block img{
     width:50px;
}

.block img.holi{
     width:60px;
}

.block h4{
    margin: 10px 0;
    font-family: URegular;
    font-size: 30px;
    font-weight: 300;
}

.block .btn{
    height: 50px;
    line-height: 50px;
    margin-left: -30px;
    border-left: solid 4px var(--color2);
    padding-left: 26px;
    color: var(--color2);
    font-weight: 800;
    margin-top: 10px;
}

.blocks .block:nth-child(2) .btn{
    border-left: solid 4px var(--color1);
    color: var(--color1);
}
.blocks .block:nth-child(2) .lightText{
    color: var(--color1);
}

.relative{
    position: relative;
}
.blockname{
    position: absolute;
    font-size: 120px;
    width:300px;
    top:calc(50% - 1px);
    right:-100px;
    rotate: -90deg;
    color:var(--color2b);
    font-family: YRegular;
    font-weight: 900;
}

.unselectable{
    -webkit-user-select: none;  /* Chrome all / Safari all */
    -moz-user-select: none;     /* Firefox all */
    -ms-user-select: none;      /* IE 10+ */
    user-select: none;
}


.site-footer {
    margin-top: 10px;
    padding-top: 40px;
    background-color: var(--color3);
}

.footer-content {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px 0;
    color: var(--color0);
}