@import url('https://fonts.googleapis.com/css2?family=VT323&display=swap');
html, body {
    margin: 0;
    padding: 0;
}

body { 
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body { 
    color: #3d2120;
    font-family: 'VT323', 'Space Mono', monospace;
    background-color: #a9cfbc;
}

/* sidebar */
nav {
    float: left;
    width: 25%;
    height: 100vh;
    position: relative;
    background-color: #a999ad;
    padding: 20px;
    font-family: 'VT323', sans-serif;
    letter-spacing: 0.5px;
}

nav h2 {
    margin-bottom: 20px;
}

nav a {
    display: block;
    margin: 7px 0;
    font-size: 1.2em;
    text-decoration: none;
    color: #3d2120;
    font-weight: bold;
    font-family: 'VT323', sans-serif;
}

nav a:hover {
    color: #a9cfbc;
}

.stripe {
    float: left;
    width: 12px;
    height: 100vh;
    background-color: #a9cfbc;
}

/* main content area */
main {
    float: left;
    width: calc(70% - 12px);
    height: 100vh;
    padding: 12px;
    background-color: #a9cfbc;
}

.container { 
    height: 100vh;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* header */
header {
    height: 21%; 
    background-color: #a999ad;
    padding: 5px 20px;
    font-family: 'DotGothic16', sans-serif;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

header h1 {
    margin: 9px 0 12px 0;
    font-size: 3.2em;
    line-height: 1;
}

.header-text h1 {
    white-space: nowrap;
    overflow: hidden;
    position: relative;
}

.header-text h1::after {
    content: "welcome to my webpage :)";
    position: absolute;
    top: 0;
    left: 100%;
    white-space: nowrap;
    animation: scroll-text 20s linear infinite;
}

@keyframes scroll-text {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-610%);
    }
}

header h3 {
    margin: 0 0 9px 0;
    font-size: 1em;
    line-height: 1;
}

.header-text h3 {
    white-space: nowrap;
    overflow: hidden;
    position: relative;
}

.header-text h3::after {
    content: "you will never know why...";
    position: absolute;
    top: 0;
    left: 100%;
    white-space: nowrap;
    animation: scroll-text 11s linear infinite;
}

/* text boxes container */
.text-box-container {
    display: flex;
    gap: 12px;
    height: calc(72% - 12px);
}

.text-box {
    flex: 1;
    background-color: #a999ad;
    padding: 20px;
}

/* final text box */
.final-text-box {
    height: 30%;
    background-color: #a999ad;
    padding: 20px;
}

/*music.html*/
.music-page {
    background-color: #a9cfbc;
    min-height: 100vh;
    padding: 30px 0 0 0;
    margin: 0;
}

.music-header {
    width: 43%;
    height: 9vh;
    background-color: #a999ad;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto;
    margin-top: 50px;
    font-family: 'DotGothic16', sans-serif;
}

.music-header h1 {
    margin: 0;
    font-size: 2.5em;
}

.music-content {
    display: flex;
    justify-content: center;
    margin-top: 12px; 
}

.main-music-box {
    width: 43%; 
    background-color: #a999ad;
    padding: 12px; 
    min-height: 50vh; 
    font-family: 'VT323', 'Space Mono', monospace; 
    color: #3d2120;
    margin-top: 12px;
}

.image-container {
    width: 30%;
    float: right; 
    margin: 0 0 12px 12px; 
}

.main-music-box p {
    font-family: 'Space Mono', monospace;
    font-size: 0.9em; 
    line-height: 1; 
    margin: 0 0 12px 0;
}

.main-music-box h2 {
    font-family: 'VT323', monospace;
    margin-top: 3px;
    margin-bottom: 21px; 
    font-size: 2.3em; 
}