@import url('https://fonts.googleapis.com/css2?family=Gaegu:wght@300;400;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Nunito:ital,wght@0,500;0,700;0,900;1,500;1,700;1,900&display=swap');
:root {
    --defaulttext: #141540;
    --cream: #F8EBC8;
    --creamshadow: #e1d1b5;
    --highlight1: #A20101;
}

html {
    scroll-behavior: smooth;
}

::selection {
    background-color: #8EC0D2;
}

/* Firefox */
* {
    scrollbar-width: thin;
    scrollbar-color: var(--defaulttext) var(--creamshadow);
}
/* Chrome, Edge and Safari */
*::-webkit-scrollbar {
    width: 6px;
}
*::-webkit-scrollbar-track {
    border-radius: 5px;
    background-color: var(--creamshadow);
}
*::-webkit-scrollbar-thumb {
    border-radius: 5px;
    background-color: var(--defaulttext);
}

body {
    background-color: var(--cream);
    background-image: url('daybg.jpg');
    background-size: 100%;
    background-repeat: no-repeat;
    color: var(--defaulttext);
    font-family: 'Nunito', Arial, Helvetica, sans-serif;
    font-size: 1.1em;
    margin: 17vh auto auto auto;
    width: 80vw;
}

h1, h2, h3, #homenav, #homeinnerupdates, .gohome {
    font-family: 'Gaegu', Arial, Helvetica, sans-serif;
    font-size: 1.5em;
    line-height: 0.8em;
    letter-spacing: -1px;
}

h1 {
    font-size: 3em;
}

img {
    max-width: 100%;
}

#homebanner {
    height: 15vh;
    /*border: 2px solid blue;*/
    display: block;
    margin: auto;
}

#homelayout {
    /*border: 2px solid red;*/
    display: flex;
    flex-direction: row;
    width: 45vw;
    height: 40vh;
    justify-content: center;
    margin: 30px auto auto auto;
}

#homeupdates {
    /*border: 2px solid lawngreen;*/
    background-image: url('updbg.png');
    background-size: 100% 100%;
    width: 50%;
    box-sizing: border-box;
    padding: 30px;
}
#homeupdates h2 {
    margin: 0;
    font-size: 2em;
    text-align: center;
}
#homeupdates h3 {
    margin: 0;
    font-size: 1em;
    font-style: italic;
    text-align: center;
}

#homeinnerupdates {
    height: calc(100% - 30px - 2em) !important;
    overflow: auto;
    margin-top: 0.5em;
    padding: 0 0.25em;
    font-size: 1.25em;
    font-weight: bold;
}
#homeinnerupdates p {
    margin: 0 auto 0.5em auto;
}
#homeinnerupdates a {
  color: var(--defaulttext);
}
#homeinnerupdates::-webkit-scrollbar-track {
    border-radius: 5px;
    background-color: #ffffff00;
}

#homenav {
    /*border: 2px solid violet;*/
    width: 50%;
    font-weight: bold;
    align-self: center;
}
#homenav ul li:nth-child(1) {
    list-style-image: url('staryel.png');
}
#homenav ul li:nth-child(2) {
    list-style-image: url('starora.png');
}
#homenav ul li:nth-child(3) {
    list-style-image: url('starred.png');
}
#homenav ul li:nth-child(4) {
    list-style-image: url('starpur.png');
}
#homenav ul li:nth-child(5) {
    list-style-image: url('starblu.png');
}
#homenav ul li:nth-child(6) {
    list-style-image: url('stargre.png');
}
/**7th would be the <br> idk why it works like that**/
#homenav ul li:nth-child(8) {
    list-style-image: url('staryel.png');
}
#homenav ul li:nth-child(9) {
    list-style-image: url('starora.png');
}
#homenav a {
    text-decoration: none;

}
a:hover {
    text-shadow: 0 0 8px #00bcff;
}

a { 
    color: var(--defaulttext);
    transition: text-shadow 0.2s;
}

.gohome {
    font-weight: bold;
    font-size: 1.25em;
    display: block;
    position: fixed;
    top: 5px;
    left: 5px;
    background-color: var(--creamshadow);
    padding: 3px 7px;
    color: var(--defaulttext);
    text-decoration: none;
    border-radius: 2em;
    transition: none;
}

.gohome:hover {
    background-color: var(--defaulttext);
    color: var(--cream);
}

#statuscafe {
    padding: .5em;
    background-color: var(--creamshadow);
    border-radius: 20px;
    width: 20%;
    position: absolute;
    bottom: 5px;
    right: 5px;
    max-height: 2em;
    transition: max-height 0.25s ease-out;
    overflow: hidden;
}
#statuscafe h2 {
    font-size: 2em;
    text-align: center;
    margin-top: 0.25em;
}
#statuscafe:hover {
    max-height: 500px;
    transition: max-height 0.3s ease-in;
}
#statuscafe-username {
    margin-bottom: .5em;
}
#statuscafe-content {
    margin: 0 1em 0.5em 1em;
}

@media (max-width: 700px) {
    body {
        width: 90vw;
        margin: 10vh auto auto auto;
    }

    #homelayout {
        /*border: 2px solid red;*/
        flex-direction: column-reverse;
        height: auto;
        width: auto;
    }

    #homeupdates, #homenav {
        width: 100%;
    }

    #homenav {
        padding: auto;
    }

    #homeupdates {
        height: 40vh;
    }
    
    #homebanner {
      height: auto;
    }

    .gohome {
        left: 50%;
        transform: translateX(-50%);
    }

    #statuscafe {
        position: relative;
        width: 100%;
        margin: 30px auto;
        height: fit-content;
        max-height: fit-content;
    }

    #statuscafe h2 {
        display: none;
    }
}