* {
    font-family: 'Roboto Condensed', sans-serif;
    color: #fff;
    text-decoration: none;
    outline: none;
}

body {
    background: #001A51 url('/assets/images/map.svg') center/cover no-repeat;
    padding: 0;
    margin: 0;
    min-height: 100vh;
}
body.dimmed:after {
    content: '';
    position: fixed;
    width: 100%;
    height: 100%;
    background-color: rgba(2,14,41,.8);
    z-index: 2;
    mix-blend-mode: multiply;
    backdrop-filter: blur(5px);
    top: 0;
    left: 0;
}

body.full-playlist header {
    position: unset;
    transform: unset;
    margin: 40px auto;
}

body.full-playlist .path {
    z-index: -1;
} 

body.full-playlist h3 {
    font-family: "Antonio", sans-serif;
    font-size: 2em;
}

.slogan {
    width: 100%;
    height: auto;
    max-height: 35vh;
}

.logo {
    display: inline-block;
    width: 120px;
    margin-bottom: 40px;
}

.logo img {
    width: 100%;
    height: auto;
}

.status-message {
    font: 14px sans-serif;
    padding: 16px 32px;
    color: white;
    font-weight: 600;
    border-radius: 12px;
    position: fixed;
    right: 16px;
    top: -60px;
    transition: .3s all ease-in-out;
    z-index: 4;
}
.status-message.active { top: 16px; }
.status-message.info { background-color: #666; }
.status-message.success { background-color: #10b981; }
.status-message.error { background-color: #c00; }

.header {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    width: 90%;
    max-width: 700px;
}

.header h1, .header h2 {
    font-family: "Antonio", sans-serif;
    text-wrap: balance;
}

.header h2 {
    font-size: 20px;
    text-wrap: balance;
}

.header h2 + p {
    color: rgba(255, 255, 255, .7);
}

#start-button {
    margin: 10px 0;
}

.modal {
    position: absolute;
    max-width: 600px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(1,36,92,0.8);
    backdrop-filter: blur(5px);
    padding: 60px;
    border-radius: 16px;
    z-index: 3;
    box-sizing: border-box;
    box-shadow: 0 0 20px rgba(0,0,0,.5);
    height: auto;
    max-height: 90vh;
    overflow: auto;
    scrollbar-color: rgba(255, 255, 255, .2) transparent;
    scrollbar-width: thin;
}

.modal-title {
    margin-bottom: 0;
}

.modal.modal-3 p, .modal.modal-4 p {
    color: rgba(255, 255, 255, .7);
    margin: 5px 0 40px 0;
}

.form-subtitle {
    color: rgba(255, 255, 255, .7);
    margin: 5px 0 40px 0;
}

input[type="text"] {
    display: block;
    padding: 8px 16px;
    background-color: #05407c;
    box-shadow: inset 0 0 8px rgba(106, 183, 235,.2), 0 0 20px rgba(0,0,0,.3);
    width: calc(100% - 32px);
    border: none;
    border-radius: 8px;
    margin: 8px 0 16px 0;
    color: #fff;
    font-size: 20px;
}

select {
    display: block;
    padding: 8px 16px;
    background-color: #05407c;
    width: 100%;
    border: none;
    border-radius: 8px;
    margin: 8px 0 16px 0;
    color: #fff;
    font-size: 20px;
    box-shadow: inset 0 0 8px rgba(106, 183, 235,.2), 0 0 20px rgba(0,0,0,.3);
}

label {
    font-family: "Antonio", sans-serif;
    font-size: 20px;
}

form p {
    margin: 8px 0 14px 0;
    color: rgba(255, 255, 255, .7);
}

.button, .copy-link {
    display: inline-flex;
    padding: 16px 48px;
    justify-content: flex-end;
    align-items: center;
    background-color: #fff;
    color: #001a51;
    text-transform: uppercase;
    font-weight: 700;
    font-size: 20px;
    line-height: 1;
    border-radius: 26px;
    border: none;
    cursor: pointer;
    transition: .3s all ease-in-out;
    border: 1px solid #45a4e6;
}
.copy-link {
    background-color: transparent;
    color: #45a4e6;
}
.button:hover, .copy-link:hover {
    background-color: #45a4e6;
}
.copy-link:hover {
    color: #001a51;
}
.button:disabled {
    background-color: rgba(255,255,255,.1);
    cursor: not-allowed;
    border-color: #001a51;
}

#generate-button {
    margin-top: 15px;
}

#start-button img {
    height: 20px;
    width: auto;
    margin-right: 12px;
}
#start-button:hover img {
    filter: brightness(100);
}
#help-button {
    border-bottom: 1px solid #45a4e6;
    transition: .3s all ease-in-out;
}
#help-button:hover {
    border-color: #fff;
}

.close {
    position: absolute;
    right: 16px;
    top: 16px;
    cursor: pointer;
}
.close:before {
    content: '×';
    font: 32px sans-serif;
}



.container {
    max-width: 1200px;
    margin: 0 auto;
}



.song-container {
    display: flex;
    flex-direction: column;
    gap: 0;
    margin: 32px 0;
}


.card {
    padding: 0;
}

.song-heading h3 {
    font-size: 20px;
    font-weight: 700;
    color: #fff;
    margin: 0;
    display: inline-block;
}
.song-heading h3, .song-heading h3 .genre {
    font-family: "Antonio", sans-serif; 
}
.song-heading {
    display: flex;
    align-content: center;
    justify-content: space-between;
}
.song-heading > div {
    display: inline-block;
}

.song-content p {
    color: rgba(255,255,255,.5);
    font-size: 14px;
}

.audio-player {
    display: none;
}

.loading-spinner {
    border: 4px solid #45A4E5;
    border-top: 4px solid #fff;
    border-radius: 50%;
    width: 18px;
    height: 18px;
    animation: spin 1s linear infinite;
}
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.hidden { display: none; }

.animate-pulse {
    animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}
@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: .5; }
}

.path {
    position: fixed;
    bottom: 5vh;
    left: 0;
    width: 100%;
    height: auto;
}

.my-60 {
    margin: 60px 0;
}

.icons-wrapper { opacity: .5; }

.icons-wrapper img {

    position: fixed;

    --posx: attr(data-posx type(<number>));
    left: calc(100vw * var(--posx));

    --posy: attr(data-posy type(<number>));
    top: calc(100vh * var(--posy));

    --duration: attr(data-duration type(<number>));
    animation: calc(var(--duration) * 1s) fade 0s ease-in-out infinite;
}

@keyframes fade {
    0% { opacity: 0; }
    15% { opacity: 1; }
    100% { opacity: 0; }
}

.player {
    margin: 20px 0;
}

.modal .controls__current-time,
.modal .controls__total-time {
    display: none;
}

.white {
    display: inline-block;
    height: auto;
    background-color: white;
    border-radius: 8px;
    overflow: hidden;
    padding-left: 10px;
}

.grad {
    display: inline-block;
    padding: 5px;
    border-radius: 10px;
    background: linear-gradient(45deg, rgba(234, 81, 97, 1) 0%, rgba(6, 153, 214, 1) 20%, rgba(48, 76, 153, 1) 40%, rgba(234, 81, 97, 1) 60%, rgba(6, 153, 214, 1) 80%, rgba(48, 76, 153, 1) 100%);
}

.grad img {
    width: 220px;
    height: auto;
    display: inline-block;
}

.modal-2 .line {
    background: rgba(255, 255, 255, .1);
    height: 8px;
    border-radius: 4px;
}

.modal-2 .line > div {
    background: white;
    height: 8px;
    border-radius: 4px;
    width: 0%;
}

.modal-2.hidden .line > div {
    animation: none;
}

.modal-2 .line > div {
    animation: 35s progress linear forwards;
}

@keyframes progress {
    to { width: 100%; }
}

.disclaimer {
    font-weight: 300;
    font-size: 12px;
    line-height: 1.3;
}

@media screen and (max-width: 991px){
    .modal {
        width: calc(100% - 40px);
        max-width: unset;
    }
}

@media screen and (max-width: 480px){

    .logo {
        width: 80px;
    }

    .modal {
        padding: 20px;
        height: calc(100vh - 40px);
        height: calc(100dvh - 40px);
        overflow: auto;
    }

    .modal-title img {
        width: 140px;
    }

    .song-container {
        gap: 16px;
    }

    .player {
        margin: 10px 0;
    }

    .button, .copy-link {
        padding: 12px 24px;
        font-size: 16px;
    }

    #start-button {
        font-size: 20px;
    }
}