html {
    overflow: hidden;
    padding: 0;
    margin: 0;
}

body {
    font-family: 'Barlow', 'Open Sans', 'Lucida Grande', 'Helvetica Neue', 'Helvetica', 'Arial', 'Sans-serif';
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    background-color: gray;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    backdrop-filter: blur(50px);
    overflow: hidden;
}

.title {
    position: absolute;
    top: 0;
    width: 100%;
    text-align: center;
    font-size: 36px;
    color: white;
    text-shadow: 0 1px 10px rgba(0, 0, 0, 0.3);
    padding: 20px 0;
}

.description {
    position: absolute;
    top: 50px;
    width: 100%;
    text-align: center;
    font-size: 24px;
    color: white;
    text-shadow: 0 1px 10px rgba(0, 0, 0, 0.3);
    padding: 40px 0;
}

.info-container {
    position: absolute;
    bottom: 0;
    padding-bottom: 20px;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.notice {
    position: relative;
    width: 100%;
    text-align: center;
    font-size: 12px;
    color: white;
    text-shadow: 0 1px 10px rgba(0, 0, 0, 0.3);
    margin: 0;
    padding: 0;
}

.source {
    font-size: 18px;
    color: white;
    text-shadow: 0 1px 10px rgba(0, 0, 0, 0.3);
    margin-bottom: 10px;
}

#now_scrobbling_container {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

#now_scrobbling_container img {
    max-width: 370px;
    width: 100%;
    height: auto;
}

#now_scrobbling_container div {
    font-size: 28px;
    color: white;
    text-shadow: 0 1px 10px rgba(0, 0, 0, 0.3);
}

#now_scrobbling_container .track-name {
    margin-top: 10px;
    font-weight: bold;
    font-size: 48px;
    margin-top: 48px;
    text-shadow: 0 1px 10px rgba(0, 0, 0, 0.3);
}

#now_scrobbling_container .artist-album {
    margin-top: 24px;
    font-size: 30px;
    color: white;
    text-shadow: 0 1px 10px rgba(0, 0, 0, 0.3);
}

.separator {
    padding: 0 15px;
}

#now_scrobbling_container a {
    color: white;
    text-decoration: none;
}

.username-input {
    width: 100%;
    max-width: 300px;
    padding: 10px;
    font-size: 28px;
    border: none;
    border-radius: 10px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    background-color: rgba(0, 0, 0, 0.2);
    color: white;
}

.username-input::placeholder {
    color: white;
    opacity: 0.7;
}

.loading-text {
    margin: 0;
}

p {
    margin-top: 0;
    margin-bottom: 10px;
    text-align: center;
    color: white;
    text-shadow: 0 1px 10px rgba(0, 0, 0, 0.3);
}

.message {
    position: absolute;
    top: 30px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    width: 100%;
    max-width: 600px;
    color: white;
    opacity: .6;
    font-size: 18px;
    text-shadow: 0 1px 10px rgba(0, 0, 0, 0.3);
}

.close img {
    position: absolute;
    top: 30px;
    right: 30px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    opacity: .6;
}

#now_scrobbling_container .track-name,
#now_scrobbling_container .artist,
#now_scrobbling_container .album {
    opacity: .9;
}

#now_scrobbling_container .track-name:hover,
#now_scrobbling_container .artist:hover,
#now_scrobbling_container .album:hover,
.close img:hover {
    opacity: 1;
}

@media (max-width: 1259px) {
    #now_scrobbling_container img {
        max-width: 300px;
    }
}

@media (max-width: 767px) {
    #now_scrobbling_container img {
        max-width: 240px;
    }
    #now_scrobbling_container .track-name {
        font-size: 24px;
    }
    #now_scrobbling_container .artist-album {
        font-size: 18px;
    }
    .message {
        font-size: 14px;
    }
    .separator {
        padding: 5px;
    }
}
