* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
html,
body {
    width: 100%;
    height: 100%;
}
nav {
    position: absolute;
    width: 200px;
    height: 100%;
    display: flex;
    flex-flow: column wrap;
    border-right: 1px solid #fff;
    transform: translate(-100%);
    transition: transform 1s;
}
.nav-main {
    width: 100%;
    height: 100%;
    background: #30336B;
}
.show-nav {
    transform: translate(0);
}
.show-nav-btn {
    position: absolute;
    left: 100%;
    top: 20px;
    width: 25px;
    height: 30px;
    transform: translate(20px);
}
.show-nav-btn img {
    width: 25px;
    height: 30px;
    cursor: pointer;
}
.avator {
    position: relative;
    width: 200px;
    height: 140px;
    display: flex;
    justify-content: center;
    align-items: center;
}
img {
    position: absolute;
    width: 75px;
    height: 75px;
    border-radius: 50%;
}
.avator img:hover {
    cursor: pointer;
    transform: rotate(666turn);
    transition: transform 60s cubic-bezier(.34,0,.84,1);
    /* animation: avator-rotate  ease 1s infinite; */
}
@keyframes avator-rotate {
    from {
        transform: rotate(0deg)
    }
    to {
        transform: rotate(360deg)
    }
}
ul {
    width: 100%;
}
li {
    padding: 20px;
    width: 100%;
    height: 64px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff;
    cursor: pointer;
}
header {
    width: 100%;
    height: 300px;
    display: flex;
    flex-flow: column wrap;
    justify-content: space-around;
    align-items: center;
    background: #30336B;
    color: #fff;
}
header button {
    width: 120px;
    height: 40px;
    background: #BE2EDD;
    border: 0;
    border-radius: 5px;
    color: #fff;
    cursor: pointer;
}
main {
    display: flex;
    flex-flow: column wrap;
    align-items: center;
    width: 100%;
}
.container {
    width: 30%;
}
.container h2 {
    margin: 30px 0;
}
.login-page {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    background: rgba(0, 0, 0, .6);
    display: none;
    transition: .5s;
}
.show-login-page {
    display: flex;
}
.login-page-container {
    width: 22%;
    min-width: 400px;
    height: 55%;
    display: flex;
    flex-direction: column;
    background: #fff;
    border-radius: 5px;
    animation: show-login-page 2s;
}
@keyframes show-login-page {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.login-page-container-header {
    padding-left: 20px;
    width: 100%;
    height: 50px;
    display: flex;
    justify-content: space-between;
    line-height: 50px;
    background: #30336B;
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
    color: #fff;
}
.close-login-page {
    margin-right: 10px;
    cursor: pointer;
}
.login-page-container-main {
    padding:30px 20px 0 20px;
    width: 100%;
    display: flex;
    flex-flow: column wrap;
}
.login-page-container-main input {
    margin: 5px 20px 15px 0;
    padding-left: 10px;
    width: 100%;
    height: 40px;
    border: 1px solid #aeaeae;
    border-radius: 5px;
}
.login-page-container-main button {
    margin-top: 20px;
    width: 80px;
    height: 40px;
    background: #BE2EDD;
    border: 0;
    color: #fff;
    border-radius: 5px;
    cursor: pointer;
}