/* Light Color Scheme */
.light-scheme {
    --text-color: #171819;
    --background-color: #C0C0C0;
    --border-color: #111111;
    --box-shadow-color: #494949;
    --slider-button-background: #888888;
    --slider-button-background-active: #444444;    
    --pagination-box-color: #444444;
    --svg-color: brightness(0);
    --action-color: #000000;
    --breadcrumb-separator: #333333;
    --breadcrumb-listitem: #000000;
    --breadcrumb-lastcolor: #768099;    
    --circle-borders: #FFFFFF;
}

/* Dark Color Scheme */
.dark-scheme {
    --text-color: #C0C0C0;
    --background-color: #171819;
    --border-color: #CCCCCC;
    --box-shadow-color: #444444;
    --slider-button-background: #666666;
    --slider-button-background-active:#222222;    
    --pagination-box-color: #555555;    
    --svg-color: invert(1);
    --action-color: #FFFFFF;
    --breadcrumb-separator: #999999;
    --breadcrumb-listitem: #FFFFFF;
    --breadcrumb-lastcolor: #555555;
    --circle-borders: #919191;
}

:root {
    --hover-color: rgb(27, 146, 107);
    --action-background: #444444;
    --slider-box-shadow-color: #919191;
    --slider-box-shadow-topleft-color: #444444;    
    --slider-button-shadow-color: #333333;
    --slider-button: inset 3px 3px 5px var(--slider-box-shadow-color), inset -3px -3px 5px var(--slider-button-shadow-color);
    --now-playing-color: #47d500;
    --now-playing-background-color: #555555;
    --red-color: red;
    --cover-width: 211px;
    --cover-height: 304px;
}

body {
    margin: 0;
    padding: 0;
    display: block;
}

#banner-container {
    display: block;
    position: relative;
    height: 110px;
    width: 100%;
}

#banner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: fixed;
    top: 0;
    left: 15px;          
    right: 15px;         
    height: 110px;
    box-sizing: border-box; 
    border-top: 1px solid var(--border-color);
    border-left: 1px solid var(--border-color);
    border-right: 1px solid var(--border-color);
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    color: var(--text-color);
    background-color: var(--background-color);
    z-index: 4;
    padding: 0 20px;
}

#banner a {
    display: flex;
    align-items: center;
    text-decoration: none;
    height: 110px;
    width: 25%;
}

.logo-container {
    display: flex;
    justify-content: left;
    align-items: center;
    height: 100px;
    margin: -15px 10px 0 0;
}

.logo {
    display: flex;
    align-items: center;
    color: var(--text-color);
    font-family: "Times New Roman";
    font-size: 48px;
    font-weight: bold;
    text-shadow: 5px 5px 5px color-mix(in srgb, var(--box-shadow-color) 90%, transparent);
    position: relative;
}

.large-r {
    font-size: 110px;
    font-weight: bold;
    color: var(--text-color);
    filter: drop-shadow(2px 2px 4px rgba(0,0,0,0.5))
            drop-shadow(-2px -2px 4px rgba(255,255,255,0.5));
}

.logotext1, .logotext2 {
    position: absolute;
    color: var(--text-color);
    font-size: 35px;
    transform: scaleX(1.5);
    filter: drop-shadow(2px 2px 4px rgba(0,0,0,0.5)) 
            drop-shadow(-2px -2px 4px rgba(255,255,255,0.5));
}

.logotext1 {
    left: 105px; 
    top: 24%;
}

.logotext2 {
    left: 105px; 
    top: 50%;
}

.powered-by {
    display: flex;
    font-family: arial;
    font-size: 10px;
    font-weight: bold;
    color: var(--text-color);
    text-align: right;
    margin: 82px 0 0 -85px;
    opacity: 0.7;
    text-shadow: 5px 5px 5px color-mix(in srgb, var(--box-shadow-color) 90%, transparent);
}

/* ---------------------------
   Username button & dropdown
   --------------------------- */

#banner-username {
    position: relative;
    margin-right: 20px;
    margin-top: -25px;
    box-shadow: 4px 4px 8px var(--box-shadow-color);
    border-radius: 10px; 
}

#banner-username .username-btn {
    background: none;
    border: none;
    font-family: 'Times New Roman', Times, serif;
    font-size: 20px;
    font-weight: bold;
    color: var(--text-color);
    opacity: 0.95;
    cursor: pointer;
    padding: 6px 10px;
    min-width: 120px;
    text-shadow: 5px 5px 5px color-mix(in srgb, var(--box-shadow-color) 90%, transparent);
}

#username-button:hover {
    color: var(--hover-color);
}

#banner-username:hover,
#banner-username:focus-within,
#banner-username:has(.dropdown a:hover),
#banner-username:has(.dropdown a:focus) {
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
}

#banner-username .dropdown {
    display: none;
    position: absolute;
    right: 0;
    top: 100%;
    background-color: var(--background-color);
    padding: 5px 0;
    border-radius: 0 0 10px 10px;
    width: -webkit-fill-available;
    overflow: visible;
    box-shadow: 4px 4px 8px var(--box-shadow-color);
}

#banner-username .dropdown a {
    display: inline;
    font-family: 'Times New Roman', Times, serif;
    font-size: 20px;
    font-weight: bold;
    text-decoration: none;
    white-space: nowrap;
    padding: 6px 10px;
    line-height: 1em;
    text-shadow: 5px 5px 5px color-mix(in srgb, var(--box-shadow-color) 90%, transparent);
}

#banner-username .dropdown a:hover {
    color: var(--hover-color);
}

#banner-username:hover .dropdown,
#banner-username:focus-within .dropdown {
    display: block;
}

#banner-controls {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 18px;
}

/* ---------------------------
   Bookmark button container
   --------------------------- */

#bookmarklink-container {
    display: inline-flex;       
    align-items: center;
    position: relative;
    margin-top: -25px;
    margin-right: 0;
    box-shadow: 0px 4px 8px var(--box-shadow-color);
    border-radius: 10px;
    padding: 0;
    height: 35px;
}

#bookmarklink-container .username-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: none;
    border: none;
    text-decoration: none;
    font-family: 'Times New Roman', Times, serif;
    font-size: 20px;
    font-weight: bold;
    color: var(--text-color);
    opacity: 0.95;
    cursor: pointer;
    padding: 0 10px;
    min-width: 120px;
    height: 35px;   
    line-height: 1;
    text-shadow: 5px 5px 5px color-mix(in srgb, var(--box-shadow-color) 90%, transparent);
}

#bookmarklink-container .username-btn:hover {
    color: var(--hover-color);
}

#bookmarklink-container {
    transform: translateY(1px);
}

#bookmarkgroup {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    padding: 20px;
}

.bookmarkcellcontainer {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: calc(var(--cover-width) + 40px);
    padding: 0;
}

.bookmarkcell {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    background-color: var(--background-color);
    padding: 10px;
    text-align: center;
    width: 100%;
}

.bookmarkthumb {
    width: 100%;
    max-width: var(--cover-width);
    aspect-ratio: 1 / 1.5;
    overflow: hidden;
    border: 2px solid var(--border-color);
    border-radius: 3px;
    box-shadow: 7px 7px 2px var(--box-shadow-color); 
    margin-bottom: 40px; 
    position: relative;
}

.bookmarkthumb img {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 3px;
    cursor: pointer;
}

.bookmarkremove {
    position: absolute;
    top: calc(var(--cover-height) + 40px);
    left: 28px;
    text-align: left;
    font-size: 12px;
    font-weight: normal;
    color: var(--text-color);
    cursor: pointer;
}

.remove-link {
    text-decoration: none;
    cursor: pointer;
}

.remove-button {
    background: none;
    border: none;
    padding: 5px;
    font-size: 12px;
    font-weight: normal;
    color: var(--text-color);
    text-decoration: none;
    cursor: pointer;
    display: inline-block;
    text-align: left;
}

.remove-button:hover {
    color: red;
}

.bookmarknumber {
    position: absolute;
    top: calc(var(--cover-height) + 40px);
    right: 28px;
    text-align: right;
    font-size: 12px;
    font-weight: normal;
    color: var(--text-color);
    padding: 5px;
}

.bookmarklabel {
    margin-top: 10px;
    text-align: center;
    font-family: "Arial", sans-serif;
    font-size: 14px;
    font-weight: normal;
    color: var(--text-color);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: wrap;
    max-width: calc(var(--cover-width) + 40px);
}
