@import url('https://fonts.cdnfonts.com/css/rogan');
@import url('https://fonts.cdnfonts.com/css/glowing-star-cute');

body {
    background-image: url("https://mozzic.neocities.org/images/backgrounds/gridoffwhite.png");
    /*from https://rachychel.neocities.org/gifs/backgrounds*/
}
    

/* Cute Pink Pencil - https://www.cursors-4u.com/cursor/cute-pink-pencil */
* {
    cursor: url('https://cdn.cursors-4u.net/previews/cute-pink-pencil-3d8c3279-32.webp') 32 32, auto !important;
}
/* End www.Cursors-4U.com Code */

#container {
    max-width: 1500px;
    margin: 0 auto;
    font-family: 'Rogan', sans-serif;
}

.split {
    display: flex;
}
.split div {
    margin: 1%;
    padding: 1%;
}

#header {
    width: 100%;
    background-color: rgba(34, 32, 52,);
    color: rgb(85, 85, 104);
    height: 150px;
    /*background-image: url("https://mozzic.neocities.org/images/header/header.jpg"); --> */
    background-size: 1%;
    border-radius: 15px 15px 15px 15px;
    padding-top: auto;
    margin-top: 5%;
    font-family: 'Glowing Star Cute', serif;                                     
    font-size: 300%;
}

#navbar {
    height: 40px;
    background-color: rgba(85, 85, 104, 0.7);
    border: 2px #b9eedc dotted;
    width: 100%;
    border-radius: 15px 15px 15px 15px;
    margin-top: 10px
}
#navbar ul {
    display: flex;
    padding: 0;
    margin: 0;
    list-style-type: none;
    justify-content: space-evenly;
}
#navbar li {
    padding-top: 10px;
}
    
a{
    color:  #dda0af;
    font-weight: 800;
    text-decoration: none;
    text-align: center;
}
a:hover{ /* this is where you put something to move when hover over links in navbar */
    color: #b9eedc;
    text-decoration: underline; 
}

#flex{
    display: flex;
}
    
aside{
    background-color: rgba(85, 85, 104, 0.7);
    border: 2px #b9eedc dotted;
    padding: 20px;
    color:  #f3eded; ;
    border-radius: 15px 15px 15px 15px;
    flex: 1;
    margin: 10px;
    max-width: 20%;
    order: 2;
}

main{
    background-color: rgba(85, 85, 104, 0.7);
    border: 2px #b9eedc dotted;
    color:  #f3eded;
    flex: 2;
    padding: 30px;
    order: 2;
    margin-top: 10px;
    margin-bottom: 10px;
    border-radius: 15px 15px 15px 15px;
}

#rightSidebar {
    order: 1;
}
    
h1 {
    color: rgb(85, 85, 104);
    font-size: 170%;
    font-weight: bold;
    font-family: 'Glowing Star Cute', serif;
}
h2 {
    color: rgb(85, 85, 104);
}
footer{
    background-color: rgba(85, 85, 104, 0.7);
    border: 2px #b9eedc dotted;
    width: 100%;
    padding: 10px;
    text-align: center;
    border-radius: 15px 15px 15px 15px;
}

#footer ul {
    display: flex;
    padding: 0;
    margin: 0;
    list-style-type: none;
    justify-content: space-evenly;
}
  
.grid-container {
    display: grid;
    grid-template-columns: auto auto;
    align-items: center;   
}

/* Style the tab */
.tab {
    overflow: hidden;
    border: 1px solid #dda0af;
    background-color: rgba(85, 85, 104, 0.7);
    color: #dda0af;
    display: flex;
    justify-content: space-between;
    border-radius: 15px 15px 15px 15px;
}

/* Style the buttons that are used to open the tab content */
.tab button {
    background-color: inherit;
    color: #f3eded;
    float: left;
    border: none;
    outline: none;
    cursor: pointer;
    padding: 14px 16px;
    transition: 0.3s;
    width: 20%;
}

/* Change background color of buttons on hover */
.tab button:hover {
    background-color: rgba(85, 85, 104, 0.7);
    color: #eeb9c7;
}

/* Create an active/current tablink class */
.tab button.active {
    background-color: rgba(85, 85, 104, 0.7);
    border: 1px solid #b9eedc;
    color: #b9eedc;
}

/* Style the tab content */
.tabcontent {
    display: none;
    padding: 6px 12px;
    border: 1px solid #f3eded;
    border-top: none;
    border-radius: 15px 15px 15px 15px;
    height:400px; 
    overflow:auto;
}

/* potential base code for paper css */
/* might change page bg and go back to css grid for grids? and/or add interesting corners/ripping */
/* https://freefrontend.com/css-paper-effects/#2024-css-paper-playing-around-with-lh-l */
:root {
    --main-line-color: rgba(85, 85, 104, 0.2);
    --side-line-color: rgba(238, 185, 199, 0.9);
    --paper-color: #f3eded;
    --ink-color: rgb(85, 85, 104);
    --line-thickness: 2px;
    --top-space: 2lh;
}
    
.mediagrid {
    background: var(--paper-color);
    margin: 2rem;
    padding: calc(var(--top-space) - 0.5lh) 3rem 1rem 5.5rem;
    line-height: 1;
    color: var(--ink-color);
    background-image: 
    /* the red line */ 
    linear-gradient(
        90deg,
        transparent,
        transparent 4rem,
        var(--side-line-color) 4rem,
        var(--side-line-color) 4.25rem,
        transparent 4.25rem
        ),
    /*  The top space  */
    linear-gradient(
        var(--paper-color),
        var(--paper-color) var(--top-space),
        transparent var(--top-space)
    ),
    /* the blue lines */
    repeating-linear-gradient(
        transparent,
        transparent calc(1lh - var(--line-thickness)),
        var(--main-line-color) calc(1lh - var(--line-thickness)),
        var(--main-line-color) 1lh,
        transparent 1lh
    );
    box-shadow: 0 0 1rem rgb(85 85 104 / 0.25);
    position: relative;
        
    /* end of paper code */
    display: grid;
    grid-gap: 10px;
    grid-template: "mediaimage medianame medianame"
                    "mediaimage mediafull mediafull"
                    "mediaimage mediashort1 mediashort2"
                    "mediaimage mediareview mediareview"
                    /150px 1fr 1fr;
}

.mediagrid div{
    padding: 10px;
    border-radius: 15px 15px 15px 15px;
}

/* ripped paper attempt from https://www.youtube.com/watch?v=nj0D1dJ_XGw */
.mediagrid:before, .mediagrid:after {
    content: '';
    position: absolute;
    height: 2px;
    width: 100%;
    left: 0;
    -webkit-clip-path: polygon(1% 0%, 4% 100%, 9% 0%, 13% 100%, 19% 1%,
    21% 100%, 26% 5%, 30% 100%, 36% 2%, 43% 100%, 50% 1%, 52% 100%, 61% 0%,
    69% 94%, 70% 0%, 76% 100%, 81% 0%, 84% 100%, 91% 0%, 97% 100%, 99% 3%);
}
.mediagrid:before {
    background-color: rgba(85, 85, 104, 0.7);
    top: 0;
}
.mediagrid:after {
    background-color: rgba(85, 85, 104, 0.7);
    bottom: -3px;
    /* after hasn't quite worked, but I'm mostly happy with it anyway! */
}

.mediaimg {
    grid-area: mediaimage;
    margin: auto;
}
.medianame {
    grid-area: medianame;
}

.mediafull {grid-area: mediafull;}
.mediashort1 {grid-area: mediashort1;}
.mediashort2 {grid-area: mediashort2;}
.mediareview {
    grid-area: mediareview;
    height:100px; 
    overflow:auto;
}

.mediaimg img{
    max-width: 100%;
}
    
.paperclip{
    position: absolute;
    top: -50px;
    left: -60px;
    right: 0;
    max-height: 200px;
}

.tape{
    position: absolute;
    top: -40px;
    left: -20px;
    right: 0;
    max-height: 150px;
}
    
lastfm-tracks {
    box-sizing: border-box;
    border: 1px solid #dda0af;
    width: 100%;
    height: 400px;
}

mark {
    background-color: #eeb9c7;
}

.albumgrid {
    display: grid;
    grid-gap: 10px;
    grid-template: "albumart albumname albumname"
                    "albumart albumartist albumartist"
                    "albumart release release"
                    /40% 1fr 1fr;
}
    
.albumart {
    grid-area: albumart;
    margin: auto;
}
.albumart img{max-width: 100%;}
.albumname {grid-area: albumname;}
.albumartist {grid-area: albumartist;}
.release {grid-area: release;}

            @media only screen and (max-width: 1100px) {
            #flex {
                flex-wrap: wrap;
            }

            aside {
                width: 20%;
            }
            main {
                order: 1;
            }

            #leftSidebar {
                order: 2;
            }

            #rightSidebar {
                order: 3;
            }

            #navbar ul {
                flex-wrap: wrap;
            }
        }