p{
    margin: 0;
}

.menu {
    font-weight: 100;
    background: #efefef;
    width: 150px;
    height: 100%;
    padding-left: 50px;
    position: fixed;
    z-index: 100;
    -webkit-box-shadow: -3px 0px 5px 0px rgba(0, 0, 0, 0.2);
    box-shadow: -3px 0px 5px 0px rgba(0, 0, 0, 0.2);
    right: -130px;
    transition: all 0.3s;
    -webkit-transition: all 0.3s;
}

.menu:hover,
.menu:focus {
    transform: translate3d(-130px, 0, 0);
    animation-timing-function: 1s ease-in;
}

.menu .title {
    font-weight: 800;
    font-size: 15px;
    position: absolute;
    top: 50%;
}

.menu .nav {
    position: absolute;
    top: 50%;
    -webkit-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    transform: translateY(-50%);
    font-weight: 100;
}

.menu .nav li {
    padding-bottom: 20px;
    list-style-type: none;
}

.menu .nav li a,
.menu .nav li p {
    display: flex;
    transition: all 0.3s;
    -webkit-transition: all 0.3s;
}

.main {
    padding-top: 35px;
    left: 0;
    right: 0;
    max-width: 800px;
    margin: 0 auto;
}

.center {
    text-align: center;
}

.links {
    margin: 20px;
    padding: 0;
}

.service_name {
    display: flex;
    justify-content: center;
}

.service_name svg {
    margin-right: 2px;
}

.main .avatar {
    place-items: center;
    height: 256px;
}

.main .avatar_limit {
    place-items: center;
    display: grid;
    height: 256px;
    overflow: hidden;
}

.main .icon_img {
    border-radius: 50%;
    border: 1px solid #555555;
}

.main .icon_img:hover {
    animation: 0.8s infinite running rainbow_fill;
}

.name {
    font-size: 40px;
    font-weight: 600;
    margin: 10px;
}

.links {
    z-index: 10000;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
}

.main .links .links_list {
    margin: .1rem 0 .5rem 0;
    width: 30%;
    list-style: none;
}

.internal_links {
    font-weight: 600;
}

.internal_links>ul{
    margin: 0;
}

.internal_links li{
    margin: 10px 0;
}

.internal_links p,.internal_links a {
    display: flex;
}

.internal_links_list {
    display: flex;
    justify-content: center;
}

.title {
    font-size: 40px;
    font-weight: 600;
}

.header {
    width: 100%;
    height: 32px;
    display: flex;
    position: fixed;
    background: #FFFFFF;
    z-index: 1;
    border-bottom: 1px solid #999999;
}

.title_link {
    margin: 0;
}

.title_img {
    width: 32px;
    vertical-align: middle;
}

.icon {
    margin-right: 5px;
}

.top_link {
    display: flex;
}

@keyframes rainbow {
    0% {
        background-color: Magenta;
    }

    33% {
        background-color: yellow;
    }

    66% {
        background-color: Cyan;
    }

    100% {
        background-color: Magenta;
    }
}

@keyframes rainbow_fill {
    0% {
        fill: Magenta;
    }

    33% {
        fill: yellow;
    }

    66% {
        fill: Cyan;
    }

    100% {
        fill: Magenta;
    }
}

@media screen and (min-width: 415px) {
    .menu .title {
        -webkit-transform: translateY(-50%);
        -ms-transform: translateY(-50%);
        transform: translateY(-50%);
        transform: rotate(270deg);
        left: 10px;
    }

    .menu .title::after {
        content: "MENU";
    }
}

@media screen and (max-width: 415px) {
    .main {
        padding-top: 15px;
        max-width: 100%;
    }

    .menu {
        padding: 0;
    }

    .menu .title {
        font-family: monospace;
    }

    .menu .title::after {
        content: "<<";
    }

    .main .links .links_list {
        width: 48%;
    }
}

@media (prefers-color-scheme: dark) {
    body {
        background-color: #262626;
        color: #CCCCCC;
    }

    a {
        color: #d5d5d5;
    }

    a:hover {
        color: #f9f9f9;
    }

    .main .icon_img {
        background: #dddddd;
    }

    .icon {
        fill: #dddddd;
    }

    .menu {
        background: #1c1c1c;
    }

    .menu .title::after {
        color: #CCCCCC;
    }
}