/*
** === GLOBAL ===
*/

/* righteous-regular - latin */
@font-face {
  font-family: 'Righteous';
  font-style: normal;
  font-weight: 400;
  src: url('../fonts/righteous-v8-latin-regular.eot'); /* IE9 Compat Modes */
  src: local('Righteous'), local('Righteous-Regular'),
       url('../fonts/righteous-v8-latin-regular.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
       url('../fonts/righteous-v8-latin-regular.woff2') format('woff2'), /* Super Modern Browsers */
       url('../fonts/righteous-v8-latin-regular.woff') format('woff'), /* Modern Browsers */
       url('../fonts/righteous-v8-latin-regular.ttf') format('truetype'), /* Safari, Android, iOS */
       url('../fonts/righteous-v8-latin-regular.svg#Righteous') format('svg'); /* Legacy iOS */
}

* {
    --bg-color: #ff6464;
    --light-color: #8b4367;
    --lighter-color: #543864;
    --dark-color: #01024e;
    --success: #06D6A0;
    --black: #35524A;
    --white: rgb(250, 250, 250);
}

body {
    background-color: var(--bg-color);
    border-top: 15px solid var(--lighter-color);
    font-family: 'Arial', sans-serif;
    font-size: 14px;
    margin: 0;
}

h1, h2, h3, h4, h5, h6 {
    color: white;
    background-color: var(--dark-color);
    font-family: 'Righteous', 'Arial', sans-serif;
    margin: 0;
    padding: 0;
}

h1 {
    border-top: 15px solid var(--light-color);
    border-bottom: 15px solid var(--lighter-color);
    font-size: 3rem;
    padding-top: 3px;
    padding-bottom: 3px;
    text-align: center;
}

hr {
    margin-top: 5px;
    margin-bottom: 5px;
}

.head {
    margin-bottom: 20px;
}

/*
** === USER ICONS ===
*/

#my-user-icon {
    border: 3px solid var(--lighter-color);
    border-radius: 35%;
}

#my-user-icon-label {
    background: var(--dark-color);
    border: 2px solid black;
    border-radius: 5px;
    bottom: -10px;
    color: white;
    display: inline-block;
    padding: 0 5px;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

.user-icon-wrapper {
    display: flex;
    align-items: center;
}

.user-icon-wrapper .user-icons {
    margin: 0px 0px;
}

.user-icon-wrapper .user-icons > img {
    border: 1px solid transparent;
    border-radius: 50%;
}

/*
** === FORMS ===
*/

/* —-- Input —-- */
form {
    width: 100%;
}

#btn-add-song {
    background-color: var(--dark-color);
    border: 0;
    font-size: 2.5rem;
    line-height: 0;
}

form input.form-control:focus, form button.btn:focus, .btn-primary:not(:disabled):not(.disabled):active:focus {
    border-color: var(--dark-color);
    box-shadow: none;
    outline: none;
}

/* —-- Songlist —-- */
.song-title {
    width: 100%;
}

.fa-arrow-alt-circle-up,
.fa-arrow-alt-circle-up-active {
    margin-left: 15px;
}

.fa-arrow-alt-circle-up > path { fill: var(--dark-color); }
.fa-arrow-alt-circle-up-active > path { fill: var(--success) }

.badge-primary {
    background-color: var(--black); 
    border-radius: 6px;
    font-size: 100%;
}

.list-group-item {
    margin-bottom: 0.25rem;
    padding: 5px 10px;
}

/* —-- BUTTON SORT —-- */
#btn-change-sort,
#btn-delete-song,
#btn-reload {
    width: 100%;
    background-color: var(--lighter-color);
    border-color: var(--light-color);
    margin-bottom: 8px;
}
#btn-delete-song {
    margin-bottom: 0;
    width: auto;
}

#btn-change-sort #sortUp {
    transform: translate(-4px, 4px);
}
#btn-change-sort #sortDown {
    transform: translate(-4px, -4px);
}

/*
** === FOOTER ===
*/

footer {
    background-color: var(--light-color);
    border-radius: 10px;
    bottom: 0;
    left: 50%;
    position: relative;
    transform: translateX(-50%);
    width: 70%;
}

footer p {
    color: var(--white);
    margin-bottom: 0;
    padding-bottom: 5px;
    padding-top: 5px;
    text-align: center;
}

footer a {
    color: var(--white);
}

footer .fa-heart > path { fill: var(--bg-color); }

.flip-list-move {
    transition: transform 1s;
  }

.github-fork-ribbon:before {
    background-color: #ff7600;
}
