@font-face {
    font-family: 'Avenir';
    src: url('Assets/AvenirNextCyr-Regular.ttf') format('truetype');
    font-weight: 400; /* Regular */
    font-style: normal;
}

@font-face {
    font-family: 'Avenir';
    src: url('Assets/AvenirNextCyr-Demi.ttf') format('truetype');
    font-weight: 600; /* Demi Bold */
    font-style: normal;
}

* {
    box-sizing: border-box;
}

body,
html {
    font-family: 'Avenir', Arial, sans-serif;
    font-weight: 400; 
    line-height: 125%;
    background: linear-gradient(to bottom, #0A2112, #000000);
    color: white;
    height: 100%;
    min-height: 100vh;
    width: 100%;
    margin: 0;
}

a {
    color: inherit;
    text-decoration: none;
}

.all {
    width: 100%;
    position: relative;
}



.side-menu {
    position: fixed;
    padding: 35px;
    top: 0;
    right: -400px; 
    width: 400px;
    max-width: 60%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    transition: right 0.3s ease-in-out; 
    backdrop-filter: blur(5px);
    z-index: 1;
}

.side-menu.open {
    right: 0; 
}

.header-menu {
    display: flex;
    justify-content: end;
    align-items: center;
}

.close-icon {
    width: 25px;
    height: 25px;
    cursor: pointer;
}

.menu-content {
    padding: 20px;
}

.menu-content ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.menu-content ul li a {
    display: flex;
    align-items: center;
    padding: 10px;
    font-weight: 600;
    color: inherit;
    text-decoration: none;
}

.menu-content img {
    width: 20px;
    height: 20px;
    margin-right: 20px;
}

.menu-content li:hover {
    color: #137D39;
}

.menu-content img:hover {
    color: #137D39;
}

.hero {
    position: relative;
    height: 90vh;
    width: 100%;
    background-image: url("Assets/hero.png");
    background-size: cover;
    background-position: center;
    padding: 30px;
}

.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.back-icon {
    width: 35px;
    height: 35px;
    cursor: pointer;
}

.logo {
    font-size: 36px;
    display: flex;
}

.logo-green {
    color: #65C385;
}

.behance {
    position: absolute;
    right: 40px;
    bottom: 20px;
    width: calc(100vw * 4/9);
    height: calc(100vw * 1/3 - 40px);
    max-height: 350px;
    max-width: 475px;
    margin: 0;
}


.pxl {
    position: relative;
    height: calc(100vw * 1/3);
    max-height: 400px;
    width: 100%;
    background-image: url("Assets/pxlbar.png");
    background-size: cover;
    background-position: center;
}

@media (max-width: 500px) {

    .side-menu {
        padding: 10px;
        padding-top: 35px;
        padding-right: 20px;
        top: 0;
        right: -400px; 
        width: 400px;
        max-width: 90%;
    }
    .close-icon {
        width: 20px;
        height: 20px;
    }

    .back-icon {
        width: 30px;
        height: 30px;
        cursor: pointer;
    }

    .logo {
        font-size: 30px;
        display: flex;
    }

    .behance {
        left: 10px;
        height: calc((100vw - 20px)*3/4);
        width: calc(100% - 20px);
    }

    .pxl {
        position: relative;
        height: calc(100vw * 8/7.5);
        width: 100%;
        max-height: 100vh;
        background-image: url("Assets/pxlbarmob.png");
        background-size: cover;
        background-position: center;
        padding: 30px;
    }
}