:root {
    --background-color: #1e293b;
    --highlight-color: #243045;
    --bright-color: #313f57;
    --dark-color: #101927;
    --font-color: #aea8ba;
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
}

body {
    margin: 0;
    padding: 0;
    background-color: var(--background-color);
    color: var(--font-color);
    line-height: 1.5;
}

p {
    margin: 0;
    padding: 0;
}

[contenteditable=true] {
    outline: 0px solid transparent;
}

::selection {
    background: orange;
    color: #172030;
}

::-webkit-scrollbar {
    width: 12px;
    z-index: 100;
}

::-webkit-scrollbar-track {
    background-color: #172030;
    box-shadow: inset 0px 0px 5px black;
}

::-webkit-scrollbar-thumb {
    background-color: #2c3a54;
}

::-webkit-scrollbar-thumb:hover {
    background-color: #243045;
}

/* BASE TEMPLATE STYLES */

.top-bar {
    background-color: var(--bright-color);
    color: var(--font-color);
    width: 100vw;
    min-height: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    box-shadow: 0 3px 8px 4px var(--dark-color);
    position: fixed;
    z-index: 11;
    cursor: default;
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
}

.top-bar a {
    cursor: pointer;
    min-height: 50px;
}

.top-bar-links-container {
    display: flex;
    align-self: center;
    transform: translate(0, -23px);
}

.top-bar-links {
    display: flex;
    justify-content: space-evenly;
    align-self: center;
    font-weight: bold;
    @media screen and (max-width: 400px) {
        font-size: 12px;
    }
}

.top-bar-link {
    all: unset;
    flex-grow: 1;
    margin: 10px;
    transition: color 0.1s ease-in-out;
}

.top-bar-link:hover {
    color: whitesmoke;
}

.top-bar-top-logo {
    height: 30px;
    margin: 15px 20px 27px 10px;
    padding: 4px;
    transform: translate(0, -6px);
    border-radius: 6px;
    @media screen and (min-width: 768px) {
        display: none;
    };
}

.top-bar-side-logo-container {
    position: absolute;
    align-self: self-start;
    margin-left: 20px;
    height: 40px;
    @media screen and (max-width: 767px) {
        display: none;
    };
}

.top-bar-side-logo {
    height: 40px;
    background-color: #babddcd6;
    padding: 6px;
    border-radius: 6px;
}

.top-bar-button-container {
    position: absolute;
    align-self: self-end;
    margin-right: 20px;
    @media screen and (max-width: 650px) {
        display: none;
    };
}

.top-bar-button {
    all: unset;
    margin-right: 5px;
    cursor: pointer;
    transition: color 0.2s ease-out;
}

.footer-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-bottom: 20px;
}

.footer-text {
    font-size: small;
    text-align: center;
}

.footer-divider {
    width: 95%;
    opacity: 0.2;
}

.contact-me-button {
    all: unset;
    color: lightskyblue;
    text-decoration: underline;
    cursor: pointer;
}

.form-background-overlay {
    background-color: #2c3a54da;
    width: 100%;
    height: 100%;
    position: fixed;
    z-index: 20;
    transition: all 1s ease;
    transition-behavior: allow-discrete;
    @starting-style {
        opacity: 0;
    }
}

.popout-form {
    display: flex;
    flex-direction: column;
    justify-items: flex-start;
    z-index: 21;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: #172030;
    padding: 20px 40px;
    transition: all 1s ease;
    transition-behavior: allow-discrete;
    white-space: nowrap;
    @starting-style {
        opacity: 0;
    }
}

.close-form-button {
    all: unset;
    align-self: self-end;
    position: absolute;
    transform: translate(35px, -15px);
    cursor: pointer;
    transition: color 0.2s ease-out;
}

.close-form-button:hover, .top-bar-button:hover {
    color: whitesmoke;
}

.popout-form-text-input {
    all: unset;
    width: 225px;
    border: none;
    outline: none;
    border-bottom: solid #aea8ba;
    color: #aea8ba;
}

.search-submit-button {
    all: unset;
    border-radius: 50%;
    background-color: #1e293b;
    color: #aea8ba;
    margin-right: 20px;
}

.popout-form-small-text-info {
    font-size: x-small;
    padding-top: 5px;
}

a {
    color: lightskyblue;
}

/* HOME STYLES */

.home-main-content {
    justify-self: center;
    min-height: 100vh;
    padding: 80px 0 80px 10px;
    font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
    max-width: 1400px;
}

.home-subheading {
    font-size: x-large;
    font-weight: bold;
    text-decoration: underline;
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    margin: 20px 0  ;
}

.home-display-section {
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.card-container {
    all: unset;
    border-radius: 50px;
    padding: 7px;
    display: flex;
    flex-direction: column;
    justify-content: end;
    position: relative;
    cursor: pointer;
    transition: all 0.3s ease-in-out;
}

.card-container:hover {
    transform: scale(1.01);
}

.card-info {
    position: absolute;
    background-color: var(--dark-color);
    border-radius: 0 0 15px 15px;
    width: calc(100% - 14px);
    padding: 15px;
}

.big-card-rating {
    position: absolute;
    z-index: 10;
    top: 0;
    left: 0;
    margin: 10px;
    background-color: var(--dark-color);
    color: var(--font-color);
    padding: 0 5px;
    border-radius: 10px;
    font-size: small;
    @media screen and (max-width: 400px) {
        font-size: x-small;
    }
}

.big-card-title {
    font-size: x-large;
    font-weight: bold;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    flex-direction: column;
    line-clamp: 1;
    word-wrap: break-word;
    -webkit-line-clamp: 1;
    overflow: hidden;
}

.big-card-genre {
    font-size: small;
    font-weight: bold;
    position: static;
}

.big-card-artist {
    font-size: small;
    padding-bottom: 7px;
}

.big-card-intro {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    flex-direction: column;
    line-clamp: 3;
    word-wrap: break-word;
    -webkit-line-clamp: 3;
    overflow: hidden;
    @media screen and (max-width: 500px) {
        font-size: small;
        display: -webkit-box;
        -webkit-box-orient: vertical;
        flex-direction: column;
        line-clamp: 2;
        word-wrap: break-word;
        -webkit-line-clamp: 2;
        overflow: hidden;
    }
}

.home-display-image {
    max-height: 100%;
    aspect-ratio: 1/1;
    border-radius: 15px;
    box-shadow: 4px 4px 7px black;
}

.home-display-side-container {
    all: unset;
    display: flex;
    flex-direction: row;
    cursor: pointer;
    transition: all 0.3s ease-in-out;
}

.home-display-side-container:hover {
    transform: scale(1.01);
    color: whitesmoke;
}

.straggler {
    @media screen and (max-width: 900px) {
        display: none;
    }
}

.home-display-side-image {
    width: 128.5px;
    height: 128.5px;
    aspect-ratio: 1/1;
    @media screen and (max-width: 500px) {
        width: 100px;
        height: 100px;
    }
}

.home-display-side-info {
    display: flex;
    flex-direction: column;
    padding-left: 10px;
}

.small-card-rating {
    position: absolute;
    z-index: 5;
    background-color: var(--dark-color);
    font-size: x-small;
    font-family: sans-serif;
    padding: 0 5px;
    margin: 3px 2px;
}

.small-card-title {
    font-size: 20px;
    font-weight: bold;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    flex-direction: column;
    line-clamp: 1;
    word-wrap: break-word;
    -webkit-line-clamp: 1;
    overflow: hidden;
}

.small-card-genre {
    font-size: small;
}

.small-card-artist {
    font-size: small;
    padding-bottom: 7px;
}

.small-card-intro {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    flex-direction: column;
    line-clamp: 3;
    word-wrap: break-word;
    -webkit-line-clamp: 3;
    overflow: hidden;
    @media screen and (max-width: 500px) {
        display: -webkit-box;
        -webkit-box-orient: vertical;
        flex-direction: column;
        line-clamp: 2;
        word-wrap: break-word;
        -webkit-line-clamp: 2;
        overflow: hidden;
        font-size: small;
    }
}

.section-link-container {
    width: 100%;
    display: flex;
    justify-content: center;
    margin: 30px 0 15px 0;
}

.section-link {
    all: unset;
    background-color: var(--bright-color);
    padding: 10px 20px;
    border-radius: 100px;
    transition: 0.1s all ease;
    cursor: pointer;
    font-weight: bold;
    font-size: x-large;
}

.section-link:hover {
    color: var(--dark-color);
    background-color: var(--font-color);
}

.add-album-button {
    width: 250px;
    height: 250px;
    border-radius: 10px;
    cursor: pointer;
    border: solid whitesmoke;
    color: whitesmoke;
    background-color: #1e293b;
}

.add-album-button:hover {
    background-color: whitesmoke;
    color: #1e293b;
    border: solid #1e293b;
}   

.home-message-section {
    max-width: calc(100% + 12px);
    background-image: url('/static/pexels-pixelcop-2680270.jpg');
    padding: 30px;
    box-shadow: 0 0 25px black inset;
    filter: brightness(125%);
}

.message-logo {
    margin: 20px 0 40px 0;
    filter: brightness(85%);
    aspect-ratio: 2/1;
}

.message-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    filter: brightness(85%);
}

.message {
    padding: 5px;
    margin: 10px;
    background-color: var(--bright-color);
    text-align: center;
    box-shadow: 3.5px 3.5px 7px var(--dark-color);
    @media screen and (max-width: 900px) {
        font-size: small;
    }
}
.small-message {
    padding: 5px;
    margin: 10px;
    background-color: var(--bright-color);
    font-size: x-small;
    text-align: center;
    box-shadow: 3.5px 2.5px 7px var(--dark-color);
}

.recommend-scroller-container {
    max-width: calc(100% + 12px);
    padding: 20px 0;
    margin-bottom: 40px;
}

.main-scroller-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.recommend-scroller-header {
    font-weight: bold;
    font-size: xx-large;
}

.scroller {
    height: 100px;
    scroll-behavior: smooth;
    overflow: hidden;
    max-width: 100%;
}

.scroller::-webkit-scrollbar {
    display: none;
}

.scroller-card {
    text-decoration: none;
    filter: saturate(50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 10px;
    color: whitesmoke;
    cursor: pointer;
    height: 100%;
    width: 100%;
    transition: all 0.5s ease-in-out;
    transition-behavior: allow-discrete;
    float: left;
}

.scroller-card.prep-left-switch {
    @starting-style {
        opacity: 0;
        translate: 100px 0;
    }
}

.scroller-card.closed {
    opacity: 0;
}

.scroller-card-title {
    font-size: 20px;
}

.scroller-card-description {
    font-size: small;
    text-align: center;
}

.scroller-arrow {
    all: unset;
    font-size: xx-large;
    transition: all 0.1s ease-in-out;
}

.scroller-arrow:hover {
    color: whitesmoke;
}

.left-scroller-arrow-container {
    display: flex;
    justify-content: end;
    align-items: center;
    padding: 0;
}

.right-scroller-arrow-container {
    display: flex;
    justify-content: start;
    align-items: center;
    padding: 0;
}

.dark-separator {
    max-width: calc(100% + 12px);
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 40px 0 0 0;
}

.section-divider {
    width: calc(100% - 12px);
    text-align: center;
}

/* REVIEWS PAGE STYLES */

.text-centerer {
    width: 100%;
    text-align: center;
}

.page-title {
    text-align: center;
    margin-top: 40px;
    font-weight: bold;
    text-wrap: wrap;
}

.tools-header-container {
    display: flex;
    justify-content: center;
}

.tools-header {
    margin-bottom: 20px;
    text-decoration: underline;
}

.reviews-tools {
    padding: 0 15px;
}

.toolbar-section {
    display: flex;
    justify-content: center;
    @media screen and (max-width: 576px) {
        margin-bottom: 35px;
    }
}

.toolbar-bottom-tools-container {
    display: flex;
    justify-content: space-around;
    padding: 40px 0 20px;
}

.toolbar-bottom-button {
    all: unset;
    padding: 5px 15px;
    border-radius: 100px;
    font-size: x-large;
    border: solid #aea8ba69;
    cursor: pointer;
    transition: all 0.15s ease-in-out;
    text-align: center;
    @media screen and (max-width: 382px) {
        font-size: medium;
    }
}

.toolbar-bottom-button:hover {
    background-color: var(--font-color);
    color: var(--dark-color);
}

.toolbar-reset-button {
    margin-bottom: 10px;
}

.toolbar-random-album-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.toolbar-small-text {
    font-size: x-small;
}

.toolbar-form {
    text-align: center;
    background-color: var(--bright-color);
    width: 100%;
    padding: 10px 0;
}

.toolbar-form-header {
    font-size: 21px;
    margin-bottom: 10px;
}

.toolbar-select {
    background-color: var(--background-color);
    color: var(--font-color);
    padding: 5px;
    border-radius: 5px;
    border: none;
}

.toolbar-input {
    background-color: var(--bright-color);
    color: var(--font-color);
    border: none;
    border-bottom: solid var(--font-color);
    outline: none;
    margin-top: 10px;
    margin-left: 10px;
    width: calc(100% - 42px);
    margin-bottom: 10px;
}

.toolbar-submit-button {
    background-color: var(--background-color);
    padding: 5px;
    margin-top: 10px;
    border-radius: 5px;
    color: var(--font-color);
    border: none;
    font-weight: bold;
}

.toolbar-search-submit-button {
    all: unset;
    border-radius: 50%;
    background-color: var(--bright-color);
    color: #aea8ba;
}

.review-container {
    all: unset;
    display: flex;
    flex-direction: row;
    cursor: pointer;
    transition: all 0.3s ease-in-out;
}

.review-container:hover {
    transform: scale(1.01);
    color: whitesmoke;
}

/* ACTUAL ALBUM REVIEW STYLES */
.review-main-body-container p {
    outline: 0px solid transparent;
    display: inline-block;
}


.review-lcp-container {
    padding: 80px 0 0px 0;
    font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
    box-sizing: border-box;
}

.header-grid {
    width: 100vw;
    height: fit-content;
    margin: 0;
}

.review-cover-art-container {
    padding: 0;
    display: flex;
    justify-content: flex-end;
    align-items: flex-end;
}

.review-cover-art {
    mask-image: linear-gradient(0.75turn, #243045, #24304500);
    margin: 0;
    min-width: 100%;
    width: 100%;
    aspect-ratio: 1/1;
    align-self: flex-start;
}

.review-image-copyright {
    position: absolute;
    color: #aea8ba;
    background-color: #1e293ba8;
    font-size: x-small;
}

.review-heading-container {
    position: absolute;
    z-index: 1;
    align-self: center;
}

.review-heading-text {
    background-color: #1e293b73;
    text-align: center;
    border-radius: 8px;
    z-index: 1;
    width: 85%;
    color: white;
    @media screen and (max-width: 575px) {
        width: 100%;
    }
}

.review-heading {
    font-weight: bold;
    @media screen and (min-width: 768px) {
        font-size: 60px;
    }
}

.artist {
    font-size: large;
}

#artist {
    font-weight: bold;
}

.review-genre-text {
    color: orange;
    font-style: italic;
}

.review-main-body-container {
    color: #aea8ba;
    padding: 20px 20px;
}

.review-stats-container {
    padding: 20px;
    border-radius: 10px;
    margin: 0 20px;
    background-color: var(--dark-color);
}

.review-stats-container p {
    padding-bottom: 16px;
}

.review-stats-small-info {
    font-size: x-small;
    padding: 10px 0 0 20px;   
}

.review-admin-metadata p {
    max-width: 100%;
}

.review-paragraph-container {
    margin: 20px 20px;
    line-height: 1.5;
}

.review-paragraph-container br {
    line-height: 30px;
}

.add-tbt-button {
    all: unset;
    padding: 10px 20px;
    align-self: center;
    border: solid;
    border-radius: 5px;
}

.tbt-button {
    all: unset;
    margin: 13px 0;
    border: none;
    cursor: pointer;
    text-align: center;
    width: 100%;
}

.tbt-button:hover {
    color: white;
}

td, th {
    font-size: 1rem;
}

td, th {
    padding: 8px 3px;
}

thead {
    text-align: center;
}

.tbt-row {
    border-bottom: solid 1px rgba(211, 211, 211, 0.2);
}

.tbt-name {
    font-weight: bold;
    width: 20%;
    @media screen and (min-width: 768px) {
        padding-left: 30px;
    };
}

.tbt-comments {
    width: 60%;
}

.tbt-superlative {
    text-align: center;
}

.delete-album-button {
    all: unset;
    color: white;
    background-color: #172030;
    border: solid #aea8ba;
    padding: 5px 10px;
    margin: 20px 20px;
}

.delete-album-button:hover, .delete-album-button:focus {
    background-color: red;
}

.blue {
    background-color: #313d63;
    background: #313d63;
}

.dark-blue {
    background-color: #17203c;
    background: #17203c;
}

.dark-grey {
    background-color: #2a2d36;
    background: #2a2d36;
}

.purple {
    background-color: #413a5e;
    background: #413a5e;

}

.light-purple {
    background-color: #5a5379;
    background: #5a5379;
}

.green {
    background-color: #354c38;
    background: #354c38;
}

.dark-green {
    background-color: #19442f;
    background: #19442f;
}

.yellow {
    background-color: #59563B;
    background: #59563B;
}

.orange {
    background-color: #594A3A;
    background: #594A3A;
}

.red {
    background-color: #4b2b2b;
    background: #4b2b2b;
}

.pink {
    background-color: #533149;
    background: #533149;
}

.brown {
    background-color: #40342e;
    background: #40342e;
}

.grey {
    background-color: #424248;
    background: #424248;
}

.turquoise {
    background-color: #21625b;
    background: #21625b;
}

.tbt-container {
    justify-self: center;
    width: calc(100% - 20px);
    max-width: 700px;
    margin: 0 20px;
    transition: all 0.7s ease-in-out;
    transition-behavior: allow-discrete;
    @starting-style {
        opacity: 0;
    }
}

.tbt-track-container {
    margin: 25px 15px;
}

.tbt-track-head {
    font-size: large;
    font-weight: bold;
}

.tbt-track-superlative {
    font-weight: normal;
}

.ranking-container {
    display: flex;
    flex-direction: column;
    transition: all 0.7s ease-in-out;
    line-height: 1.5;
    padding: 0px 16px 0 32px;
    transition-behavior: allow-discrete;
    @starting-style {
        opacity: 0;
    }
}

li {
    list-style-position: inside;
    margin-bottom: 16px;
}


.ranking-name {
    padding-left: 10px;
    @media screen and (min-width: 768px) {
        padding-left: 30px;
    };
}

/* POST STYLES */

.post-main-content {
    display: flex;
    flex-direction: column;
    padding: 120px 40px 10px 40px;
    color: #aea8ba;
    justify-self: center;
    max-width: 100vw;
    width: 800px;
    min-height: 100vh;
    line-height: 1.8;
}

.post-heading {
    font-size: 35px;
    color: whitesmoke;
    font-weight: 800;
}

.post-summary {
    color: whitesmoke;
    font-style: italic;
}

.post-paragraph {
    display: inline-block;
}

.list-item-header {
    margin: 40px 0;
    align-self: flex-start;
}

.list-item-number-container {
    font-weight: 900;
    color: whitesmoke;
}

.list-item-title-container {
    color: whitesmoke;
    margin-top: 20px;
}

.list-item-title {
    font-size: 25px;
    font-weight: 800;
}

.list-item-artist {
    font-size: 17px;
}

.list-item-image {
    width: 150px;
    aspect-ratio: 1/1;
    border-radius: 7px;
    margin-top: 20px;
    box-shadow: 3px 3px 5px black;
}

.spotlight-header-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.spotlight-content {
    padding-bottom: 25px;
}

.spotlight-lead-image {
    width: 100%;
    max-width: 475px;
    max-height: calc(100vh - 100px);
    aspect-ratio: 1/1;
    margin: 25px;
    border-radius: 20px;
    border: solid #aea8ba17;
}

.tbt-table {    
    align-self: center;
    display: inline-table;
    transition: all 0.7s ease-in-out;
    transition-behavior: allow-discrete;
    min-width: 100%;
    table-layout: auto;
    border-collapse: collapse;
    margin: 10px 0 40px 0;
    @starting-style {
        opacity: 0;
    }
}


td, th {
    font-size: 1rem;
}

td, th {
    padding: 8px 3px;
}

thead {
    text-align: center;
}

.tbt-row {
    border-bottom: solid 1px rgba(211, 211, 211, 0.2);
}

.tbt-name {
    font-weight: bold;
    width: 20%;
    @media screen and (min-width: 768px) {
        padding-left: 30px;
    };
}

.tbt-comments {
    width: 60%;
}

.tbt-superlative {
    text-align: center;
}

.admin-content {
    background-color: var(--background-color);
    color: #aea8ba;
    padding-top: 60px;
}

.tbt-track-ranking-container {
    font-size: small;
}

.tbt-track-collabs-container {
    font-size: small;
    margin-bottom: 5px;
}

.closed {
    opacity: 0;
    display: none;
}
