a:focus, details summary:focus {
    outline: none;
    border-color: #80bdff;
    box-shadow: 0 0 0 2px rgba(0, 123, 255, 0.25);
}

* {
    box-sizing: border-box;
}

*:before, *:after {
    box-sizing: border-box;
}

html {
    line-height: 1.15;
    -webkit-text-size-adjust: 100%;
}

body {
    margin: 0;
    font: 16px/26px Helvetica, Helvetica Neue, Arial;
    color: #222;
}

a {
    color: #757575;
    background-color: transparent;
    text-decoration: none;
}

a:hover {
    color: #757575;
    text-decoration: underline;
}

img {
    border-style: none;
}

details summary::-webkit-details-marker {
    display: none;
}

ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.header {
    display: flex;
    justify-content: space-between;
    min-width: 320px;
}

.header__nav {
    margin-left: auto;
    padding: 10px;
}

@media (min-width: 576px) {
    .header__nav {
        padding-left: 20px;
        padding-right: 20px;
    }
}

.nav__list {
    display: flex;
    align-items: center;
    color: #757575;
}

.nav__list-item {
    margin-left: 20px;
}

.nav .nav-icon {
    display: block;
    width: 30px;
    height: 30px;
}

.nav .nav-icon img {
    width: 100%;
    height: 100%;
}

.nav__list-details {
    position: relative;
}

.nav-details {
    position: relative;
    user-select: none;
}

.nav-details__btn {
    list-style: none;
    width: 35px;
    height: 35px;
    cursor: pointer;
    background: url(images/popup-button.png) no-repeat center;
}

.nav-details__btn:hover {
    background-color: whitesmoke;
}

.nav-details__popup {
    position: absolute;
    top: 148%;
    right: -100px;
}

.popup {
    width: 300px;
    box-shadow: 0 10px 18px -4px rgba(0, 0, 0, 0.36);
    border: 1px solid whitesmoke;
}

.popup:before {
    content: '';
    position: absolute;
    top: -10px;
    right: 107px;
    width: 20px;
    height: 20px;
    border: 1px solid whitesmoke;
    border-right: none;
    border-bottom: none;
    transform: rotate(45deg);
    background: #fff;
}

.popup__container {
    position: relative;
    max-height: 450px;
    overflow-y: auto;
}

.popup__container::-webkit-scrollbar-track {
    background-color: whitesmoke;
}

.popup__container::-webkit-scrollbar {
    width: 10px;
    background-color: whitesmoke;
}

.popup__container::-webkit-scrollbar-thumb {
    background-color: #8f8f8f;
    border-radius: 10px;
    border: 2px solid transparent;
    background-clip: content-box;
}

.more[open] {
    border-top: 1px solid #dbdbdb;
}

.more[open] .more__btn {
    display: none;
}

.more__btn {
    padding: 5px;
    text-align: center;
    cursor: pointer;
    background: whitesmoke;
    transition: all 150ms ease-in;
}

.more__btn:hover {
    background: #dbdbdb;
}

.more__apps-link {
    text-align: center;
}

.apps__list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    padding: 30px 10px 30px;
}

.apps__item {
    width: calc(100% / 3);
}

.app-item a {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    height: 100%;
    padding: 10px;
    color: #757575;
    border-radius: 3px;
}

.app-item a:hover {
    text-decoration: none;
    background: #fafafa;
}

.app-item a img {
    width: 40px;
    height: 40px;
}
