* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    height: 100%;
    --sidebar-animation-duration: 0.3s;
}

body {
    display: flex;
    flex-direction: column;
    justify-content: stretch;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 6px 60px;

    background-color: #F0F5F9;
}

.header__wrapper {
    display: flex;
    align-items: center;
    gap: 33px;
    text-decoration: none;
}

.brand {
    font-size: 20px;
    color: #1E2022;
    font-family: "OpenSans";
    font-weight: 600;
    line-height: 27px;
}

.links {
    display: flex;
    gap: 15px;
    list-style: none;
}

.links__item {
    cursor: pointer;
}

.links__item:hover circle{
    fill: #52616B;
}

.links__item:active circle{
    fill: #1E2022;
}

.wrapper {
    display: flex;
    justify-content: stretch;
    height: 100%;
    width: 100%;

    font-family: "OpenSans";
}

.sidebar {
    width: 10%;
    height: 100%;

    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: width var(--sidebar-animation-duration) ease-in-out;
}

.sidebar.hidden {
    width: 0%;
}

.sidebar.hidden .sidebar__logo,
.sidebar.hidden .sidebar__list {
    display: none;
}

.sidebar__switch {
    width: 0px;
    height: 0px;
    background-color: transparent;
    position: absolute;
    top: 50%;
    left: 100%;
    transform: translate(-100%, -50%);
    z-index: 999;

    border: 26px solid transparent;
    border-right: 26px solid #000;

    transition: all var(--sidebar-animation-duration) ease-in-out;

    cursor: pointer;
}

.sidebar.hidden .sidebar__switch {
    transform: scaleX(-1) translate(0, -50%);
}

.sidebar__logo {
    padding: 15px;
    width: 100%;
}

.sidebar__list {
    align-self: stretch;

    border-top: 2px solid #000;
    padding: 15px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    list-style: none;
}

.sidebar__link {
    display: flex;
    align-items: center;
    gap: 15px;

    text-decoration: none;
    color: #000;
    font-size: 15px;

    transition: font-size 1s ease-in-out;
}

.sidebar.hidden .sidebar__link {
    font-size: 0px;
}

.sidebar__link:hover {
    color: red;
}

.sidebar__icon {
    width: 15px;
    transform-origin: center;
}

.content {
    position: relative;
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;
    transition: all 1s ease-in-out;

    overflow: hidden;
}

.sidebar.hidden ~ .content {
    width: 100%;
}
