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

*{
    box-sizing: border-box;
}

body{
    background-color: black;
    font-family: 'Sora', sans-serif;
}

nav ul{
    padding-right: 10px;
    padding-left: 10px;
    list-style: none;
}

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

button{
    border: none;
    background-color: rebeccapurple;
    position: fixed;
    top: 0;
    right: 0;
    padding: 0.6rem;
    top: 20px;
    right: 20px;
    cursor: pointer;
    border-radius: 5px;
    transition: transform 0.3s ease-in-out;
}



nav{
    background-color: rebeccapurple;
    position: fixed;
    top: 0;
    right: 0;
    height: 100vh;
    line-height: 10;
    display: flex;
    align-items: center;
    align-self: center;
    justify-content: center;
    transform: translateX(100%);
    transition: transform 0.3s ease-in-out;
}

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

button.active{
    transform: translateX(-100px);
}

