/**
 * @name MinimalCord Omnimatrix 
 * @author Gibbu#1211 Edited by Chuck_Norris_#4886
 * @version 0.1A Original Theme
 * @description Changes Discord enough to give it a fresh feel while also making it darker. Supports both Light and Dark themes. Window's Title bar & with a nice right click animation (all links lead to gibbu's server for theming help) Original theme by Gibbu#1211,Red ping highlight by Gibbu#1211, Right click animation & custom text selctor by Tropical#4355, No gift button by ItMeSarah#2090, Settings icons by DevilBro#4401, Mini search bar by Nyria#3863, Hide nitro icon on banner by ѵοіd#0001
 * @source https://github.com/DiscordStyles/MinimalCord
 * @website https://www.gibbu.me
 * @invite https://discord.com/invite/ZHthyCw
*/

/*
GIBBU THEME import
*/
@import url('https://discordstyles.github.io/MinimalCord/dist/MinimalCord.css');
/*
settins icons import
*/
@import url(https://mwittrien.github.io/BetterDiscordAddons/Themes/_res/SettingsIcons.css);
/*
GIBBU THEME
*/
:root {
    /*
        Accent variable
        Use this website: https://htmlcolorcodes.com/color-picker/
        to get your desired RGB numbers. Then simply put each number in their respective area.
        R,G,B
    */
    --accent: 50, 131, 207;

    --message-padding: 10px; /* Spacing in the messages. MUST END IN px | DEFAULT: 10px */
    --message-spacing: 10px; /* Spacing around the messages. MUST END IN px | DEFAULT: 10px */

    /*
        To use a custom font. Visit https://fonts.google.com and select one to your liking.
        Now just follow this tutorial: https://imgur.com/a/CNbw7xC
    */
    --font: 'Whitney';
}

/*
 WINDOW'S THEME BAR:
*/
#app-mount, body {
    background:transparent;
}
#app-mount, body {
    background:transparent;
}

.app-2rEoOp {
    margin:3px;
    margin-top:0;
}

.titleBar-AC4pGV {
    height:25px;
    position:relative;
    padding:0 5px;
}

.wordmarkWindows-1v0lYD {
    padding:0;
    position:absolute;
    width:100%;
    height:29px;
    top:-4px;
}

.wordmarkWindows-1v0lYD:after {
    content:'Discord';
    font-weight: 700;
    font-size: 14px;
    font-family: "Trebuchet MS";
    text-shadow: 1px 1px black;
    color: white;
    height:29px;
    line-height:29px;
    pointer-events: none;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    margin:0 5px;
}

.wordmarkWindows-1v0lYD:before {
    content:'';
    z-index:-1;
    position:absolute;
    width:100%;
    height:100%;
    border-radius:8px 8px 0 0;
    background:linear-gradient(rgb(0, 88, 238) 0%, rgb(53, 147, 255) 4%, rgb(40, 142, 255) 6%, rgb(18, 125, 255) 8%, rgb(3, 111, 252) 10%, rgb(2, 98, 238) 14%, rgb(0, 87, 229) 20%, rgb(0, 84, 227) 24%, rgb(0, 85, 235) 56%, rgb(0, 91, 245) 66%, rgb(2, 106, 254) 76%, rgb(0, 98, 239) 86%, rgb(0, 82, 214) 92%, rgb(0, 64, 171) 94%, rgb(0, 48, 146) 100%)
}

.wordmarkWindows-1v0lYD svg {
    display:none;
}

.winButton-iRh8-Z {
    width:21px;
    height:21px;
    top:0;
    margin-left:2px;
    border-radius:3px;
    border:1px solid rgb(255, 255, 255);
    box-sizing:border-box;
    cursor:default;
}

.winButton-iRh8-Z:hover {
    filter:brightness(120%);
}

.winButton-iRh8-Z:active {
    background-image:radial-gradient(circle at 90% 90%, rgb(0, 84, 233) 0%, rgb(34, 99, 213) 55%, rgba(68, 121, 228, .75) 70%, rgba(163, 187, 236, .75) 90%, white 100%);
    box-shadow:rgb(70, 70, 255) 0px -1px 2px 1px inset, 2px 2px 5px rgba(0,0,0,0.5) inset;
    filter:none;
}
    
.winButtonClose-1HsbF-:active {
    background-image:radial-gradient(circle at 90% 90%, rgb(204, 70, 0) 0%, rgb(220, 101, 39) 55%, rgba(205, 117, 70, .75) 70%, rgba(255, 204, 178, .75) 90%, white 100%);
    box-shadow:rgb(218, 70, 0) 0px -1px 2px 1px inset, 2px 2px 5px rgba(0,0,0,0.5) inset;
    filter:none;
}

.winButton-iRh8-Z svg {
    display:none;
}

.winButtonMinMax-PBQ2gm {
    box-shadow:rgb(70, 70, 255) 0px -1px 2px 1px inset;
    background-image:radial-gradient(circle at 90% 90%, rgb(0, 84, 233) 0%, rgb(34, 99, 213) 55%, rgb(68, 121, 228) 70%, rgb(163, 187, 236) 90%, white 100%);
}

.winButtonClose-1HsbF- {
    background-image:radial-gradient(circle at 90% 90%, rgb(204, 70, 0) 0%, rgb(220, 101, 39) 55%, rgb(205, 117, 70) 70%, rgb(255, 204, 178) 90%, white 100%);
    box-shadow:rgb(218, 70, 0) 0px -1px 2px 1px inset;
}

.winButton-iRh8-Z::before,
.winButton-iRh8-Z::after {
    pointer-events:none;
}

.winButtonMinMax-PBQ2gm:nth-child(4)::before {
    content: "";
    position: absolute;
    left: 4px;
    top: 13px;
    height: 3px;
    width: 8px;
    background-color: white;
}

.winButtonMinMax-PBQ2gm:nth-child(3)::before {
    content: "";
    display: block;
    box-shadow: white 0px 3px inset, white 0px 0px 0px 1px inset;
    height: 12px;
    width: 12px;
}

.winButtonClose-1HsbF-::before,
.winButtonClose-1HsbF-::after {
    content: "";
    position: absolute;
    left: 9px;
    top: 2px;
    transform: rotate(45deg);
    height: 16px;
    width: 2px;
    background-color: white;
}

.winButtonClose-1HsbF-::after {
    transform: rotate(-45deg);
}
/*
Red  highlight when pinged by gibbu
*/
#app-mount .cozy-3raOZG.mentioned-xhSam7 .messageContent-2qWWxC::after,
#app-mount .cozy-3raOZG.mentioned-xhSam7 .container-1ov-mD::before {
    background: rgb(255 0 0 / .1);
    border-color: red;
    z-index: -1;
}
/* Not working, unmomment when you find clyde tlaking to you in a server
#app-mount .ephemeral-1PsL1r .messageContent-2qWWxC::after,
#app-mount .ephemeral-1PsL1r .container-1ov-mD::before {
    background: rgb(255 255 255 / .1);
    border-color: rgb(255, 255, 255);
    z-index: -1;
}
/*
MENU ANIMATION
*/
.menu-3sdvDG {
    animation: custom-menu-animation 250ms ease;
    transform-origin: top;
}

@keyframes custom-menu-animation {
    0% {
        transform: scaleY(0);
    }
    100% {
        transform: scaleY(1);
    }
}

/* Hide sticker and nitro button /*
/* 🠗 Hide GIft button 🠗*/
/*.buttons-3JBrkn > .button-38aScr > :not(.translateButton-DhP9x8),
/*hide stickerbutton*/
/*.stickerButton-3OEgwj 
{display: none;}

/* Adds icons in settings menu */
:root {
    --settingsiconssize: 18px;
    --settingsiconsgap: 14px;
}

/*Mini search bar*/
.search-2oPWTC:not(.open-6_Y_aH) .searchBar-3dMhjb { width: 74px; transition: 0.25s; background-color: transparent;}
.search-2oPWTC:not(.open-6_Y_aH):hover .searchBar-3dMhjb { width: 240px; background-color: var(--background-tertiary);}
.search-2oPWTC:not(.open-6_Y_aH) .iconContainer-O4O2CN { transform: scale(1.3); transition: 0.25s;}
.search-2oPWTC:not(.open-6_Y_aH):hover .iconContainer-O4O2CN { transform: scale(1);}
.icon-3cZ1F_ { color: var(--text-normal)}

/*Custom text selection colour*/
::selection {
    background-color: rgb(153, 0, 255);
}
/* Hide nitro icon on banners */
.bannerPremium-2hSAwz .premiumIconWrapper-1A-UH5 {
    display: none;
  }
  /*removed nitro and stage discovery in main menu*/
  #private-channels [href="/store"] {display: none}
  #private-channels [href="/discovery"] {display: none}

