I want to position the footer element at the end of the page {body is display: flex; flex-direction: column;} but when I add justify-self: flex-end in footer, it doesn't work correctly as it did when flex direction is row.
How can i do it?
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body {
    min-height: 100vh;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    background: #ff0;
}
header {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    width: 100%;
    justify-items: center;
    align-items: center;
    justify-content: center;
    height: fit-content;
    padding: 0.5rem 0;
}
header span.logo {
    font-size: 1.75rem;
    font-weight: 500;
}
header svg {
    position: absolute;
    right: 5%;
}
footer {
    text-align: center;
    padding: 0.5rem 0;
    font-size: 14px;
}<header>
    <span class="logo">deCoding</span>
    <svg class="account-button" width="34" height="40" viewBox="0 0 34 40" fill="none">
        <path />.........</svg>
</header>
<nav>
    <a href="#" class="nav-link-2">Catogary</a>
    <a href="#" class="nav-link-3">Catogary</a>
    <a href="#" class="nav-link-7">Catogary</a>
</nav>
<footer>Copyright © 2020 deCoding</footer> 
     
     
     
    