@font-face{
font-family:inter;
src:url(/fonts/Inter-Regular.woff2) format('woff2'),url(/fonts/Inter-Regular.woff) format('woff');
font-weight:400;
font-style:normal;
}
@font-face{
font-family:inter;
src:url(/fonts/Inter-Medium.woff2) format('woff2'),url(/fonts/Inter-Medium.woff) format('woff');
font-weight:500;
font-style:normal;
}
@font-face{
font-family:inter;
src:url(/fonts/Inter-Bold.woff2) format('woff2'),url(/fonts/Inter-Bold.woff) format('woff');
font-weight:700;
font-style:normal;
}
@keyframes siyanie{
    0%{
        opacity:0;
    }
    50%{
        opacity:0.3;
    }
    100%{
        opacity:0;
    }
}
:root{
    --yellow: #fd1;
    --light-yellow: #fff5b6;
}
html, body{
padding:0;
margin:0;
font-family:inter;
font-style:normal;
font-weight:400;
background-color:#f9f9f9;
color:#222;
font-size:16px;
}
html{
scroll-behavior: smooth;
}
div, form *{
    box-sizing: border-box;
}
a{
    text-decoration:none;
}
p{
    line-height:1.8em;
}
h1, h2{
    margin-top:0;
    font-weight:500;
}
h1{
    font-size:20px;
    text-transform:uppercase;
    letter-spacing: 1px;
    margin-bottom:30px;
}
h2{
    font-size:18px;
    text-transform:uppercase;
    letter-spacing: 1px;
    margin-bottom:25px;
}
blockquote{
    margin:30px 20px 30px 50px;
    padding:30px;
    background-color: #ecfaff;
    border:1px solid #74a3bb;
    color:#111;
}
blockquote p{
    margin-top:0;
}
blockquote .cite{
    text-align:right;
}
.center{
    text-align:center;
}
.head{
    height:100vh;
    background:url(/img/fon1.jpg) center center no-repeat;
    font-size:cover;
    display:none;
}
.head .fon_cover{
    display:block;
    width:100%;
    height:100%;
    object-fit:cover;
    opacity: 0;
    animation: siyanie 5s infinite;
}
.header{
    padding:15px 0;
    background-color:#f2f2f2;
    border-bottom: 1px solid #dee1e1;
}
.header_cont{
    width:1000px;
    padding:0 20px;
    max-width:100%;
    margin:0 auto;
}
.header_cont .title{
    text-transform:uppercase;
    font-weight:700;
    font-size:20px;
    letter-spacing: 1px;
}
.header_cont .title span{
    color:#999;
    font-weight:400;
    display:inline-block;
    margin-left:20px;
}
.menu{
    background-color:#fff;
    border-bottom: 1px solid #dee1e1;
}
.menu .menu_cont{
    width:1000px;
    max-width:100%;
    padding:0 20px;
    margin:0 auto;
}
.menu .menu_cont a{
    color:#333;
    display:inline-block;
    font-weight:500;
    padding:15px 20px;
}
.menu .menu_cont a:hover{
    background-color: var(--yellow);
    color:#000;
}
.content{
    padding:30px;
    border:1px solid #e8e8e8;
    margin:50px auto;
    width:1000px;
    max-width:calc(100% - 2px);
    background-color:#fff;
    border-radius:10px;
}
.knigi{
    display:flex;
    justify-content: space-between;
    flex-wrap: wrap;
    margin-bottom:30px;
}
.knigi .kniga{
    width:22%;
    margin-bottom:30px;
    color:#333;
}
.knigi .kniga .img{
    overflow:hidden;
    border-radius:8px;
    margin-bottom:15px;
}
.knigi .kniga .img img{
    display:block;
    width:100%;
}
.knigi .kniga .title{
    text-transform:uppercase;
    font-weight:500;
    margin-bottom:10px;
    padding:0 10px;
}
.knigi .kniga .opisanie{
    color:#777;
    font-size:14px;
    padding:0 10px;
}
.stati, .idei{
    display:flex;
    justify-content: space-between;
    flex-wrap: wrap;
    margin-bottom:30px;
}
.stati .statya, .idei .ideya{
    padding:15px;
    background-color:#eee;
    width:48%;
    border-radius:10px;
    margin-bottom:30px;
}
.stati .statya:hover, .idei .ideya:hover{
    background-color:#f3f3f3;
}
.stati .statya .title, .idei .ideya .title{
    font-weight:500;
    font-size:17px;
    margin-bottom:10px;
    color:#111;
    display:block;
}
.stati .statya .title::first-letter, .idei .ideya .title::first-letter{
    text-transform: capitalize;
}
.stati .statya .opisanie, .idei .ideya .opisanie{
    color:#555;
    margin-bottom:10px;
    display:block;
}
.stati .statya .tags a, .idei .ideya .tags a, .statya_full .tags a{
    display:inline-block;
    padding:2px 8px;
    font-size:13px;
    color:#333;
    background-color: #fff;
    border-radius:3px;
    margin-right:10px;
}
.statya_full .tags a{
    font-size:14px;
    background-color:var(--light-yellow);
    color:#111;
    padding:3px 10px;
}
.stati .statya .tags a:hover, .idei .ideya .tags a:hover, .statya_full .tags a:hover{
    color:#000;
    background-color: var(--yellow);
}
.spisok{
    margin:15px 0;
}
.spisok .punkt{
    padding:5px 0 5px 30px;
    position:relative;
    line-height:1.8em;
}
.spisok .punkt::before{
    content:"";
    display:block;
    width:4px;
    height:4px;
    border-radius:50%;
    background-color: #333;
    position:absolute;
    top:17px;
    left:10px;
}
.statya_full img{
    display:block;
    max-width:100%;
    margin:25px auto;
}
.postr{
    padding:20px 0;
}
.postr a, .postr b{
    display:inline-block;
    padding:5px 10px;
    border:1px solid #dee1e1;
    border-radius:3px;
    color:#333;
    margin-right:10px;
}
.postr b{
    background-color: #eee;
}
.postr a:hover, .postr b:hover{
    background-color: var(--light-yellow);
    border:1px solid var(--yellow);
}
.form input, .form textarea{
    display:block;
    margin-bottom:15px;
    padding:10px 15px;
    border:1px solid #ccc;
    width:350px;
    max-width:95%;
    border-radius:5px;
}
.form textarea{
    height:200px;
    resize:none;
}
.form img{
    display:block;
    margin-bottom:15px;
}
.form input[type=submit]:hover{
    cursor:pointer;
    background-color: var(--light-yellow);
    border:1px solid var(--yellow);
}
.mob_menu_icon{
    display:none;
}
.footer{
    background-color:#fff;
    border-top:1px solid #dee1e1;
    padding:25px 0;
    font-size:14px;
}
.footer_cont{
    width:1000px;
    max-width:100%;
    padding:0 20px;
    margin:0 auto;
}















@media screen and (max-width:1000px){

.mob_menu_icon {
    display: block;
    cursor: pointer;
    position:absolute;
    top:14px;
    left:20px;
    width:30px;
}
.header_cont{
    text-align:center;
    position:relative;
}
.header_cont .title span{
    display:block;
    margin:10px 0 0 0;
}
.menu{
    position:absolute;
    top:90px;
    left:0;
    width:100%;
    text-align:center;
    display:none;
    box-shadow:0px 2px 5px #bbb;
}
.menu .menu_cont a{
    display:block;
    border-top:1px solid #eee;
}
.menu .menu_cont a:first-child{
    border-top:none;
}
.knigi .kniga{
    width:47%
}
.stati, .idei{
    display:block;
}
.stati .statya, .idei .ideya{
    width:98%;
}






}