/* Reset and Base Styling */
* {
    box-sizing: border-box;
    font-family: Arial, sans-serif;
    color: #e0e0e0;
    margin: 0;
    padding: 0;
}

html, body {
    height: 100%;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #1a1a1a;
}

#main {
    height: 720px;
}

body {
    font-family: 'Roboto', sans-serif;
}

.headline {
    padding: 10px 0px;
}

/* Container Styling */
.container {
    background: #2c2c2c;
    border-radius: 12px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.5);
    padding: 20px;
    width: 90%;
    max-width: 550px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Text Styling */
span {
    font-size: 1.2em;
    color: #e0e0e0;
    margin-bottom: 10px;
}

/* Flex and Vertical Alignment */
.flex {
    display: flex;
    gap: 10px;
    width: 100%;
}

.vertical {
    flex-direction: column;
}

/* Input Field */
input.source {
    padding: 10px;
    width: 100%;
    border: 1px solid #444;
    border-radius: 8px;
    background: #333;
    color: #e0e0e0;
    font-size: 1em;
    margin-bottom: 10px;
}

input.source::placeholder {
    color: #888;
}

input.source:focus {
    outline: none;
    border-color: #ff7e5f;
    box-shadow: 0 0 5px rgba(255, 126, 95, 0.5);
}

/* Volume Control */
#volume-control {
    width: 100%;
    margin: 15px 0;
    accent-color: #ff7e5f;
}

/* Button Group Styling */
.button-group {
    justify-content: space-between;
}

button {
    flex: 1;
    padding: 10px 0;
    font-size: 1em;
    color: #fff;
    background-color: #ff7e5f;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.3s;
}

button:hover {
    background-color: #feb47b;
}

button:active {
    background-color: #ff7e5f;
}

/* Iframe */
iframe#embed {
    margin-top: 20px;
    border: none;
    border-radius: 8px;
    width: 100%;
    height: 150px;
}

.pad {
    margin-top: 20px;
}

/* Queue Area */
#history {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    overflow-y: auto;
    width: 100%;
    margin-top: 20px;
    max-height: 300px;
    background: #3a3a3a;
    border-radius: 8px;
    padding: 10px;
    gap: 5px;
}

.history-entry {
    white-space: nowrap;
    overflow: hidden;
    border-radius: 8px;
    align-items: center;
    background: #2c2c2c;
    max-height: 50px;
    min-height: 50px;
    display: flex;
    width: 100%;
    gap: 10px;
}

.author {
    gap: 5px;
    display: flex;
    align-items: center;
}

.author-img {
    max-height: 50px;
}

.author-img img{
    max-height: inherit;
}

.track {
    display: flex;
    margin-right: 5px;
    margin-left: auto;
}