@font-face { font-family: MinecraftTen; src: url('./assets/fonts/MinecraftTen.woff'); } 
@font-face { font-family: Monocraft; src: url('./assets/fonts/Monocraft.ttf'); } 
@font-face { font-family: Minecraft; src: url('./assets/fonts/Minecraft.otf'); }
@font-face { font-family: MinecraftFive; src: url('./assets/fonts/MinecraftFive-Regular.woff2'); }
@media (prefers-color-scheme: dark) {
    body {
        background-color: #232323 !important;
        color: white !important;
    }
    .topnav {
        background-color: #181818;
    }
    .topnav a {
        color: #d3a7ff;
    }
    .topnav a:hover {
        background-color: #8000ff;
        color: white;
    }
    .topnav a.active {
        background-color: #4d009a;
        color: white;
    }
    input[type="checkbox"] {
        border: 2px solid #df40ff !important;
    }
    .hamburger .bar, .hamburger:after, .hamburger:before {
        background-color: white !important;
    }
    .mobile-nav {
        background-color: #181818 !important;
    }
    a {
        color: #fd73ff;
    }
}
@media (prefers-color-scheme: light) {
    .topnav {
        background-color: #FFFFFF;
    }

    .topnav a {
        color: #373097;
    }

    .topnav a:hover {
        background-color: #e9d3ff;
        color: #8000ff;
    }

    .topnav a.active {
        background-color: #4d009a;
        color: white;
    }
}
::-webkit-scrollbar {
    display: none;
}
a {
    text-decoration: none;
}
.channel {
    color: #CACDF7;
    background-color: #4A4B6F;
    padding: 6px;
    border-radius: 6px;
}
.interactable {
    cursor: pointer;
    transition: 0.2s;
}
.interactable:hover {
    color:white;
    background-color: #5A65EA;
}
h2 {
    font-family: 'MinecraftTen';
    font-size: 3.5vw;
    margin-top: 10vh;
    margin-left: 10vw;
    margin-bottom: 6vh;
}
h3 {
    margin-left: 10vw;
    line-height: 2vw;
    font-family: 'Minecraft';
    letter-spacing: -1.25px;
    font-size: 1.7vw;
}
body {
    margin: 0;
    width: 100vw;
    overflow-x: hidden;
    background-color: #F8ECEC;
}
#messageContainer {
    white-space: wrap; 
    overflow: hidden;
    background-color: #313338;
    border-radius: 5vh;
    width: 90vw;
    margin-left: 2.5vw;
    height: 100%;
    color: #dcddde;
    font-family: 'Whitney', sans-serif;
    font-size: 16px;
    line-height: 1.5;
    padding: 20px;
}
#messageContainer span.veryBold {
    font-weight: 900;
    font-size: 2vw;
}
#messageContainer span.bold {
    font-weight: 700;
    font-size: 1.5vw;
}
#messageContainer span.slightlyBold {
    font-weight: 600;
    font-size: 1.5vw;
}
.link {
    color: #00b0f4;
}
.everyone {
    color: #CACDF7;
    background-color: #4A4B6F;
    padding: 6px;
    border-radius: 6px;
}
.message {
    padding-bottom: 5vh;
    padding-top: 5vh;
    height: fit-content;
    display: flex;
    flex-direction: row;
}
.userAvatar {
    height: 60px;
    width: 60px;
    border-radius: 50%;
    margin-right: 10px;
    user-select: none;
}
.username {
    display: block !important;
    margin: 0;
    font-weight: bolder;
    font-size: 1.5vw;
}
.timestamp {
    font-weight: 600;
    font-size: 1.1vw;
    color: #8D9BA3;
}
.line {
    width: 90vw;
    height: 2.5px;
    background-color: #3F4147;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.3vw;
    color:white;
    text-shadow: 0px 4px 8px #292b2e;
}
#fakeLogo {
    position: fixed;
    height: 5vw;
    display: flex;
    align-items: center;
    margin-left: 5.5vw;
    font-family: 'MinecraftTen';
    font-size: 2vw;
    line-height: 0.85;
}
.topnav {
    z-index: 30;
    height: 5vw;
    top: 0;
    position: -webkit-sticky;
    position: sticky;
}
.topnav a {
    font-family: 'MinecraftTen';
    float: right;
    display: block;
    text-align: center;
    padding: 1.2vw 1.5vw;
    text-decoration: none;
    font-size: 2vw;
    transition: 0.15s;
}
.topnav .icon {
    display: none;
}
#mobileNav {
    display: none;
}
.hamburger {
    margin: 2vw;
    margin-left: 85vw;
    z-index: 200;
    display: none;
    position: fixed;
    width: 50px;
    cursor: pointer;
    appearance: none;
    background: none;
    outline: none;
    border: none;
}
.hamburger .bar, .hamburger:after, .hamburger:before {
    content: '';
    display: block;
    width: 100%;
    height: 5px;
    background-color: #4229B9;
    margin: 6px 0px;
    transition: 0.4s;
}
.hamburger.is-active:before {
    transform: rotate(-45deg) translate(-8px, 6px);
}
.hamburger.is-active:after {
    transform: rotate(45deg) translate(-9px, -8px);
}
.hamburger.is-active .bar {
    opacity: 0;
}
.mobile-nav {
    display: none;
    position: fixed;
    top: 0;
    left: 100%;
    width: 100%;
    min-height: 100vh;
    background-color: white;
    padding-top: 120px;
    transition: 0.4s;
}
.mobile-nav.is-active {
    left: 0;
}
.mobile-nav a {
    display: block;
    width: 100%;
    max-width: 200px;
    margin: 0 auto 16px;
    text-align: center;
    padding: 12px 16px;
    text-decoration: none;
}
.attachment {
    width: 100%;
    display: flex;
    flex-direction: row;
    align-items: center;
    margin-bottom: 10vh;
    margin-left: 5vw;
}
.attachmentImg {
    border-radius: 1vw;
    max-width: 50vw;
}
.hidden{
    height: 4.5vw;
}
@media (max-aspect-ratio: 3/4) {
    .attachment {
        margin-top: -3vh;
        margin-bottom: 5vh;
        margin-left: 10vw;
    }
    .attachmentImg {
        border-radius: 1vh;
        max-width: 80vw;
    }
    .username {
        font-size: 4.5vw;
    }
    .timestamp {
        font-size: 2.5vw;
    }
    .userAvatar {
        margin-right: 5px;
        height: 40px;
        width: 40px;
    }
    .line {
        font-size: 1.5vh;
        width: 90vw;
    }
    .message {
        width: 80vw;
    }
    #messageContainer span.veryBold {
        font-size: 2.5vh;
    }
    #messageContainer span.bold {
        font-size: 2vh;
    }
    #messageContainer span.slightlyBold {
        font-size: 2vh;
    }
    #messageContainer {
        overflow-wrap: break-word;
        padding: 5px;
        border-radius: 1vh;
        width: 93vw;
        margin-left: 2vw;
    }
    h3{
        margin-left: 5vw !important;
        line-height: 1.2;
        font-size: 5vw;
        letter-spacing: -0.5px;
    }
    h2{
        margin-left: 5vw !important;
        font-size: 10vw !important;
        margin-top: 2vh !important;
        margin-bottom: 2vh !important;
    }
    .mobile-nav {
        display: flex;
        flex-direction: column;
    }
    .hamburger {
        display: block;
    }
    #desktopNav {
        display: none;
    }
    .hidden{
        height: 7vh;
    }
    .topnav {
        height: 15vw;
    }
    .topnav a {
        padding: 4vw 2vw;
        font-size: 8vw;
    }
    #fakeLogo {
        height: 15vw;
        margin-left: 16vw;
        font-size: 3vh;
    }
}