html, body {
    height: 100%;
    margin: 0;
    padding: 0;
}

html{
    background-color: #2E2F2C;
}

body {
    background: no-repeat center / cover url(../images/JapaneseApartmentSunset.svg);
    display: flex;
    height: 100vh;
}

/* Nav bar */
#navbar {
    border: outset rgba(252, 88, 76);
    border-radius: 5%;
    margin-top: 20px;
    margin-left: 20px;
    position: fixed;
    height: auto;
    width: 150px;
}
#navbar > ul {
    list-style-type: none;
    padding: 10px;
    margin: 0;
}
#navbar > ul > li {
    text-align: left;
    font-size: 2rem;
    padding: 5px;
    margin-bottom: 5px;
}
#navbar > ul > li > a {
    display: block;
    color: #545952;
    transition: background-color 0.3s;
    font-family: 'Courier New', Courier, monospace;
    font-size: x-large;
}
#navbar > ul > li > a:hover {
    color: rgba(252, 88, 76, 0.9);
}
.profileLinks {
    margin-top: 10px;
    display: flex;
    border-radius: 5%;
}
.profileLinks a {
    margin: auto;
}
#githubIcon {
    background-color: #545952;
    border-radius: 50%;
    padding: 2px;
}
#githubIcon:hover {
    background-color: rgba(252, 88, 76);
}
#xIcon {
    background-color: #545952;
    border-radius: 5%;
    padding: 2px;
}
#xIcon:hover {
    background-color: rgba(252, 88, 76);
}

/* Page title */
.pageTitle {
    text-align: center;
    text-shadow: 1px 1px 1px black;
}
.pageTitle > h1 {
    font-size: 3rem;
    margin-bottom: 0;
}
.pageTitle > h2 {
    margin-top: 0;
    font-size: xx-large;
    font-weight: 500;
}

/* General use defaults */
.contentContainer {
    margin: 0 auto;
    width: 40%;
    padding: 0;
    height: auto;
    justify-content: center;
}
.generalTextbox {
    text-align: center;
    color: #000000;
    background: rgb(103, 90, 82, 0.75); 
    border: 2px solid rgb(22, 23, 21, 0.25); 
    box-shadow: 7px 7px 5px rgb(22, 23, 21, 0.50);
    border-radius: 2%;
    font-size: x-large;
    font-weight: 600;
    padding: 3px;
    width: 100%;
}

/* Project Page */
.projectList {
    list-style-type: none;
    text-align: center;
    margin: 0;
    padding: 0;
    max-height: 800px;
    overflow: auto;
    scrollbar-width: thin;
    scrollbar-color: rgba(22,23,21) #545952;
}
.projectListItem {
    display: inline-block;
    width: 65%;
    margin: 10px;
    padding: 10px;
    background-color: rgba(22,23,21);
    box-shadow: 3px 3px 3px rgb(22, 23, 21, 0.50);
    border-radius: 3%;
}
.projectListItem > a {
    color: #545952;
}
.projectListItem > a:hover {
    color: rgba(252, 88, 76, 0.9);
}

/* Blog Page */
#post-title {
    text-align: center;
    color: rgba(22,23,21);
    border-radius: 3%;
    padding: 4px;
    font-family: monospace;
}
#post-title:hover {
    color: rgba(252, 88, 76);
}
#blogLineBreak {
    color: black;
    height: 2px;
}
#substack-posts {
    list-style-type: none;
    text-align: center;
    margin: 0;
    padding: 0;
    max-height: 800px;
    overflow: auto;
    scrollbar-width: thin;
    scrollbar-color: rgba(22,23,21) #545952;
}
.substack-post {
    display: inline-block;
    width: 80%;
    margin: 10px;
    padding: 10px;
    color: #545952;
    background-color: rgba(22,23,21);
    box-shadow: 3px 3px 3px rgb(22, 23, 21, 0.50);
    border-radius: 3%;
}
.substack-post > a {
    color: #545952;
}
.substack-post > a:hover {
    color: rgba(252, 88, 76, 0.9);
}


/* Goals Page */
#contentContainer-goals {
    width: 60%;
}
#breakline {
    border: none;
    border-top: 2px solid black;
    text-align: center;
}
.goalsContainer {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
    max-height: 700px;
    overflow: auto;
    scrollbar-width: thin;
    scrollbar-color: rgba(22,23,21) #545952;
}
.goalsContainer > fieldset {
    padding-top: 20px;
    text-align: left;
    min-width: 250px;
    max-width: fit-content;
    flex: 1;
    background-color: rgba(22,23,21);
    border: solid rgba(252, 88, 76);
    border-radius: 2%;
}
.goalsContainer > fieldset > legend {
    color: #545952;
    font-weight: bold;
    background-color: rgba(22,23,21);
    border: outset rgba(252, 88, 76, 0.65);
}
.goalsContainer > fieldset > label {
    color: #545952;
    font-size: medium;
}

/* Music Page */
.musicContainer {
    display: flex;
    width: 100%;
    height: 100px;
    position: relative;
    background: rgb(103, 90, 82, 0.75); 
    border: 2px solid rgb(22, 23, 21, 0.25); 
    box-shadow: 7px 7px 5px rgb(22, 23, 21, 0.50);
}
.songSliderContainer {
    width: 100%;
    height: 50%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    overflow: hidden;
    padding-bottom: 40px;
}
.songSliderContainer > p {
    display: flex;
    position: relative;
    justify-content: center;
    align-items: center;
    top: 50px;
}
.songSlider {
    width: 150%;
    display: flex;
    position: absolute;
    text-align: center;
    border-top: solid black;
    border-bottom: solid black;
    box-shadow: 3px 3px 3px rgb(22, 23, 21, 0.50);
}
.songItem {
    height: fit-content;
    white-space: nowrap; 
    max-width: 200px;
    margin: 5px;
    padding: 5px;
    border: solid black;
    border-radius: 5px;
    cursor: pointer;
}
.songItem:hover {
    background-color: rgba(252, 88, 76);;
}
.songItem.selected {
    background-color: rgba(252, 88, 76);;
}
#audioPlayer {
    display: flex;
    margin: 10px auto;
    width: 50%;
}
.musicVisulaizer {
    height: 40%;
    width: 100%;
    background: rgb(103, 90, 82, 0.75); 
    border: 2px solid rgb(22, 23, 21, 0.25); 
    box-shadow: 7px 7px 5px rgb(22, 23, 21, 0.50);
}
/* disable text selection */
.no-select {
    user-select: none; /* Disables text selection */
    -webkit-user-select: none; /* Safari */
    -moz-user-select: none; /* Firefox */
    -ms-user-select: none; /* Internet Explorer/Edge */
}

