/*----------  ALL  -----------*/
html {
    box-sizing:border-box;
}
*, *::after, *::before {
    box-sizing: inherit;
    margin:0;
    padding:0;
}
body {
    font-family:sans-serif;
    font-size:16px;
    background:#002;
    color:#fff;
}
html, body {
    height:100%;
}
ul {
    list-style:none;
}
a {
    text-decoration:none;
    color:inherit;
}
.wrapper {
    min-height:100%;
    display: flex;
    flex-direction: column;
}
.container{
    max-width:1220px;
    margin:0 auto;
    padding:0 10px;
}
/*---------  HEADER  ----------*/
header {

}
header .container {
    padding:50px 10px;
    display:flex;
    justify-content:space-between;
    align-items: center;
}
header a {
    text-transhorm:uppercase;
}
header .logo {
    display: flex;
    align-items: center;
    gap:25px;
    color: #00e17e;
    font-size: 32px;
    font-weight: 700;
}
header ul {
    display: flex;
    gap:35px;
}
header ul a:hover{
    color: #00e17e;
}
header nav {
    display: flex;
    align-items: center;
}
header nav img{
    display: none;
}
.logo img {
    width: 42px;
}
/*---------  FOOTER  ----------*/
footer {
    background: #131140;
    margin-top:60px;
}
footer .container {
    padding:20px 10px;
}


/*---------  BODY  ----------*/
main {
    flex-grow:1;
    color:#fff;
}
section {
    padding-top: 60px;
}
section .container {
    display: flex;
    flex-wrap: wrap;
    gap:20px;
    justify-content: space-between;
}
.lil {
    font-size: 16px;
    font-weight: 100;
    margin-bottom: 64px;
    display: block;
}
.mess {
    box-shadow: inset 0 2px 17px 3px rgb(55 50 167 / 79%);
    padding: 30px;
    border-radius: 30px 30px 30px 0;
    background: #131140;
}
.messr {
    box-shadow: inset 0 2px 17px 3px rgb(55 50 167 / 79%);
    padding: 30px;
    border-radius: 30px 30px 0 30px;
}
.pm {
    
}
.s1 {
    margin:20px 0;
}
.s1 .container{
align-items: center;
font-size: 56px;
font-weight: 600;
}
.s1 .container .pol {
    width: calc(50% - 10px);
    min-height:100px;
}
.s1 .container .polr {
    width: calc(50% - 102px);
    min-height: 100px;
}
.s3 .container{
        justify-content: center;
}
.gr {
    color: #00e17e;
}
.foto {
    background-image: url(/img/i.png);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center center;
    height: 489px;
}
.title {
    width: 100%;
    text-align:center;
    margin: 20px 0;
    font-size: 35px;
}
.proj{
    width: calc(25% - 15px);
    min-height:200px;
    background: linear-gradient(45deg, #00e17e, #3b387e);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
}
.rez{
    width: 400px;
    min-height:570px;
    background: url(/img/cv.jpg);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
}
.p1 {
    background-image: url(/img/vr.jpg);
}
.p2 {
    background-image: url(/img/coin.jpg);
}
.p3 {
    background-image: url(/img/tg.jpg);
}
.p4 {
    background-image: url(/img/game.jpg);
}

/*---------  SIZE  ----------*/
@media(max-width:1200px) {

}

@media(max-width:992px) {
.s2 .container a {
    width: calc(50% - 10px);
}
    
}

@media(max-width:767px) {
.s1, .s2 {
    padding-top: 0px;
}
header nav ul{
    display: none;
}
.s2 .container a {
    width: 100%;
}
.s1 .container, .s3 .container, .s4 .container {
    flex-direction: column;
}
.s1 .container .polr, .s1 .container .pol, .s1 .container div, .s3 .container div, .s4 .container div {
    width: 100%;
}
.s1 {
    margin:0px;
}
.s1 .container{
font-size: 42px;
text-align:center;
}
.foto{
height: 450px;    
}
header nav img{
    display: block;
}
.rez {
    width: 100%;
    min-height: 500px;
}
    
}