@import url('https://fonts.googleapis.com/css2?family=Muli:wght@400;700&display=swap');

* {
    box-sizing: border-box;
}

body {
    height: 100vh;
    display: flex;
    align-items: center;
    flex-direction: column;
    justify-content: center;
    font-family: 'Muli', sans-serif;
}

.logo {
    width: 150px;
}

.text {
    text-transform: uppercase;
}

.nav-btn {
    border: none;
    font-size: 20px;
    cursor: pointer;
    background: transparent;
}

.open-btn {
    top: 10px;
    left: 10px;
    position: fixed;
}

.nav {
    top: 0;
    left: 0;
    height: 100vh;
    position: fixed;
    transform: translateX(-100%);
    transition: transform 0.3s ease-in-out;
}

.nav.visible {
    transform: translateX(0);
}

.nav-black {
    width: 60%;
    max-width: 480px;
    min-width: 320px;
    transition-delay: 0.4s;
    background-color: rgb(34, 31, 31);
}

.nav-black.visible {
    transition-delay: 0s;
}

.nav-red {
    width: 95%;
    transition-delay: 0.2s;
    background-color: rgb(229, 9, 20);
}

.nav-red.visible {
    transition-delay: 0.2s;
}

.nav-white {
    width: 95%;
    padding: 40px;
    position: relative;
    transition-delay: 0s;
    background-color: #fff;
}

.nav-white.visible {
    transition-delay: 0.4s;
}

.close-btn {
    top: 40px;
    right: 30px;
    opacity: 0.3;
    position: absolute;
}

.list {
    padding: 0;
    list-style-type: none;
}

.list li {
    margin: 20px 0;
}

.list li a {
    font-size: 14px;
    text-decoration: none;
    color: rgb(34, 31, 31);
    text-transform: uppercase;
}

.list ul {
    padding-left: 20px;
    list-style-type: none;
}
