/* Content of styles/header.css */

.header {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    padding-left: 35px;
    padding-right: 35px;
    height: 6vh;
    max-height: 85px;
    width: calc(100vw - 70px);
    background-color: #2c3337
}

.header-title {
    width: fit-content;
    font-size: 24px;
    margin: 0;
    text-align: center;
    cursor: pointer
}

.header-username {
    width: fit-content;
    font-size: 20px;
    margin: 0;
    text-align: center
}

.header-exit-img {
    width: 24px;
    margin-left: 10px;
    cursor: pointer
}

.header-exit:disabled {
    opacity: 0.5;
}

.header-settings-img:hover {
    animation: spin 3s linear infinite;
}

/* Content of styles/main-content.css */

.track-list {
    display: flex;
    flex-direction: column;
    row-gap: 7px;
    overflow: auto;
    padding: 10px 0;
    margin-top: 10px;
    margin-bottom: 10px;
}

.track-item {
    margin-left: 10px;
    margin-right: 10px;
    display: flex;
    flex-direction: row;
    align-items: center;
}

::-webkit-scrollbar {
    display: none;
}


.page-content-search-container {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    width: calc(100% - 30px);
    margin-left: 30px;
    margin-top: 10px;
}

.search-input-container {
    position: relative;
    width: 60%;
}

.search-input {
    outline-color: #F1F1F1;
    background: #2A2C2F;
    color: #F1F1F1;
    border: 1px gray solid;
    border-radius: 5px;
    padding: 15px;
    width: calc(100% - 32px);
    font-size: 20px;
    font-family: 'Montserrat', 'Arial', sans-serif;
}

.search-input-remove-img {
    position: absolute;
    top: 30%;
    right: 2.5%;
}


div[search-hidden] {
    display: none;
}

/* Content of styles/main-player-mini.css */

.root-page-player-mini {
    display: none;

}

.player-close-button {
    display: none;
    width: 36px;
}

.player-mini-track-description-block {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin: 0 2vw;
    row-gap: 1vh
}

.player-mini-track-img {
    height: 75%;
    width: 20%;
    object-fit: contain;
    border-radius: 5px;
}

.player-mini-track-name,
.player-mini-track-duration {
    margin: 0 auto;
    text-align: center;

    overflow: hidden;
    max-height: 2em;
    line-height: 1em;
}


/* Content of styles/main-player.css */

.player-block {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.player-block-content {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    flex-direction: column;
    justify-content: center;
}

.player-block-header-actions {
    width: 100%;
    display: flex;
    justify-content: space-between;
}

.player-playback-parameters-block {
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center
}

.player-seekbar{
    width: 90%;
    margin-right: 5%;
    margin-left: 5%;
    position: relative;
}

.player-controls {
    width: 80%;
    justify-content: space-between;
    margin: 0 60px
}



.player-seekbar-input{
    -webkit-appearance: none;
    width: 100%;
    height: 13px;
    border-radius: 10px;
    background: #445d51;
    overflow: hidden;
    cursor: pointer;
}

.player-seekbar-input::-webkit-slider-thumb{
    -webkit-appearance: none;
    width: 1px;
    height: 20px;
    box-shadow: -400px 0 0 400px #d5eebb;
}

.track-item-name,
.track-item-duration {
    line-height: 1;
    margin: 0;
}

.player-block-big-img {
    display: block;
    margin: 30px auto;
    max-width: 30vw;
    max-height: 30vh;
    border-radius: 5px;
    min-height: 23vh;
    cursor: revert;
}

/* Content of styles/main-settings.css */

.root-page-settings {
    flex-direction: column;
    width: 50%;
    margin: 3vh 0;
    row-gap: 3vh;
}

.option-root-block {
    display: flex;
    flex-direction: row;
    height: fit-content;
    justify-content: space-between;
    align-items: center;
}

.option-root-block-template {
    display: none;
}

.option-name-desc-container {
    display: flex;
    flex-direction: column;
    height: fit-content;
    width: 80%;
}

.option-name-p {
    font-size: x-large;
    margin: 0
}

.option-desc-p {
    font-size: large;
    margin: .5vh 0 0 0
}

/* Content of styles/main.css */


.root-page {
    width: 90%;
    display: flex;
    height: calc(100% - 6vh);
    justify-content: space-between;
}

.root-page-content {
    width: 60%;
    display: flex;
    flex-direction: column;
}


.root-page-player {
    height: 100%;
    width: 40%;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    overflow: hidden;
    max-width: 450px;
}


.player-track-name,
.track-item-duration,
.track-item-name,
.header-exit,
.header-username,
.player-mini-track-duration,
.player-mini-track-name,
.custom-font {
    font-family: 'Montserrat', 'Arial', sans-serif;
}

img {
    cursor: pointer;
}

.player-controls-img,
.header-exit-img,
.track-item-type-img,
.search-input-remove-img,
.player-mini-controls,
.player-close-button,
.update-list-img,
.header-settings-img
{
    filter: invert(89%) sepia(83%) saturate(2335%) hue-rotate(185deg) brightness(144%) contrast(89%);
    opacity: 0.8;
}

p {
    display: inline-block;
}

.track-item-description-block {
    display: flex;
    vertical-align: middle;
    width: calc(90% - 80px);
    flex-direction: column;
    justify-content: center;
    row-gap: 20px;
}

.notification-container {
    width: 18rem;
    position: fixed;
    top: 5%;
    left: 70%;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    row-gap: 15px
}

.notification-block {
    width: 100%;
    height: 100%;
    display: none;
    align-items: center;
    border-radius: 5px
}

.notification-block-p {
    width: 100%;
    text-align: center;
    margin: 1vh 0.5vw;
    font-size: 22px
}

/* Content of styles/mobile.css */

@media screen and (max-width: 600px) {
    .player-close-button {
        display: block;
        margin: 5vw 1vw;
    }

    .player-block-big-img {
        margin: 10vw auto;
        max-width: 95%;
    }

    .root-page-content {
        width: 100%;
        overflow: auto;
/*        min-height: 92%;
        max-height: 100%;*/
    }

    .root-page-player {
        display: none;
        width: 90%;
    }

    .header-title,
    .header-username {
        font-size: 4vw;
    }

    .header-exit-img {
        width: 4vw;
    }

    .header {
        height: 9vw;
        padding: 0;
        width: 100%;
        margin: 0;
    }

    .track-item {
        margin-left: 2vw;
        margin-right: 2vw;
    }

    .track-list {
        padding: 2vw 0;
        margin: 0 auto;
    }

    .page-content-search-container {
        width: 90%;
        margin: 2vw auto;
    }

    .root-page-settings {
        width: 90%;
        margin: 10vw auto;
    }

    .option-name-p {
        font-size: 4.5vw;
    }

    .option-desc-p {
        font-size: 3.5vw;
    }

    .switch-label {
        height: 6vh;
        width: 3vh;
    }

    .search-input {
        font-size: 4vw;
    }

    .search-input-container {
        position: relative;
        width: 80%;
    }

    .root-page-player-mini {
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        width: 93%;
        min-height: min(max(8%, 65px), 100px);
        max-height: min(8%, 100px);
        margin: 0 auto;
    }

    .root-page {
        flex-direction: column;
        height: calc(100% - 9vw);
        width: 100%;
    }

    .track-item-name,
    .track-item-duration {
        font-size: 4vw;
    }

    .track-item-description-block {
        row-gap: 2vw;
    }

    .notification-container {
        left: 15%;
    }
}

/* Content of styles/page.css */

body {
    background-color: #2A2C2F;
    color: #F1F1F1;
    margin: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    /*noinspection CssOverwrittenProperties*/
    height: 100vh;
    /*noinspection CssUnresolvedCustomProperty,CssOverwrittenProperties*/
    height: var(--doc-height);
}

/* Content of vendor/loading-animation.css */

.loading-animation {
    color: #F1F1F1;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
}

.loading-animation:after {
    animation: loading-animation-change 0.9s linear infinite;
    display: block;
    content: "⠋";
    font-size: 80px;
}

@keyframes loading-animation-change {
    10% { content: "⠙"; }
    20% { content: "⠹"; }
    30% { content: "⠸"; }
    40% { content: "⠼"; }
    50% { content: "⠴"; }
    60% { content: "⠦"; }
    70% { content: "⠧"; }
    80% { content: "⠇"; }
    90% { content: "⠏"; }
}

/* Content of vendor/rorate-spin-animation.css */


@keyframes spin {
    from {
        transform: rotate(0deg);
    } to {
          transform: rotate(360deg);
      }
}

/* Content of vendor/switch.css */

.switch-input {
    height: 0;
    width: 0;
    visibility: hidden;
}

.switch-label {
    cursor: pointer;
    text-indent: -9999px;
    background: grey;
    display: block;
    border-radius: 50%/100%;
    position: relative;


    height: 4vh;
    width: 8vh;
}

.switch-label:after {
    content: '';
    position: absolute;
    top: 5%;
    left: 2.5%;
    width: 45%;
    height: 90%;
    background: #fff;
    border-radius: 9999px;
    transition: 0.4s;
}

.switch-input:checked + label {
    background: #bada55;
}

.switch-input:checked + label:after {
    left: calc(100% - 5px);
    transform: translateX(-100%);
}

.switch-label:active:after {
    width: 65%;
}

.switch-container {
    display: flex;
    justify-content: center;
    align-items: center;
}

