
* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

body {
    width: 100%;
    height: 100vh;
    overflow: hidden;
    font-family: Arial, sans-serif;
}

a {
    text-decoration: none;
}

li {
    list-style: none;
}

.container {
    position: relative;
    width: 100%;
    height: 100vh;
}



.menubar {
position: absolute;
    left: 50%;
    bottom: 40px;
    width: 300px;
    height: 50px;
    transform: translateX(-50%);
    background: #000;
    border-radius: 26px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    gap: 8px;
    padding: 8px;
    z-index: 10;
}



.menuvisible {
    width: 100%;
    height: 50px;

    display: flex;
    justify-content: space-between;
    align-items: center;

    flex-shrink: 0;
    z-index: 5;
    padding-top: 14px;
}

.logo {
    width: 35px;
    height: 35px;
}

.logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}



.btn {
    background: none;
    border: none;

    color: #fff;

    position: relative;

    display: flex;
    justify-content: space-between;
    align-items: center;

    cursor: pointer;
}

.btn .moon, .btn .close{
position: absolute;
    display: flex;
    justify-content: center;
    align-items: center;
    padding-right: 32px;
}

.btn .menu {
    opacity: 1;
    color: #fff;
    transition: all 0.3s ease-in-out;
}


.btn .close {
    opacity: 0;
}

.btn.active .menu {
    opacity: 0;
    pointer-events: none;
}

.btn.active .close {
    opacity: 1;
    pointer-events: auto;
}



.menuhidden {
    position: absolute;

    left: 10px;
    right: 10px;
    top: 10px;

    height: calc(100% - 66px);

    display: flex;
    justify-content: space-between;
    align-items: center;

    opacity: 0;
    visibility: hidden;

    pointer-events: none;
}



.menuhidden ul {
display: flex;
    flex-direction: column;
    gap: 18px;
    width: 50%;
}

.menuhidden ul li {
display: flex;
    align-items: center;
    gap: 8px;
    justify-content: flex-start;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
}

.menuhidden ul li:hover a{
    padding-left: 4px;
    color: #d6d6d6;
}

.menuhidden ul li a {
    color: #edeaea;
    font-size: 18px;
        transition: all 0.3s ease;
}

.menuhidden ul li i {
    color: #3d3d3d;
    font-size: 18px;
    rotate: -45deg;
}



.bg {
width: 50%;
    height: 138px;
    position: relative;
    overflow: hidden;
}

.bg img {
    position: absolute;

    inset: 0;

    width: 100%;
    height: 100%;

    object-fit: cover;
    object-position: center;
    overflow: hidden;
    opacity: 0;
    border-radius: 8px;
}


@media (max-width: 600px) {

    .menu {
        width: calc(100% - 30px);
        max-width: 360px;

        bottom: 40px;
    }

    .menuhidden {
        left: 15px;
        right: 15px;
    }
}
