@tailwind base;
@tailwind components;
@tailwind utilities;
/*--
 BASIC
 ---------------------------------------
 */
body * {
    font-family: "Lato", sans-serif;
    font-size: 1em;
    background-color: rgb(241, 241, 241, 0.5);
    margin: 0;
    width: 100%;
}
@keyframes fadeIn {
    from{ opacity: 0; }
    to{ opacity: 1; }
}
body {
    display: flex;
    flex-direction: column;
    width: 100%;
    margin: auto;
    background: url("../assets/media/background.jpg");
    animation: fadeIn 2s both;
    animation-delay: 1s;
    scroll-behavior: smooth;
}

#dashboard-body {
    max-width: 100%;
    width: 100vw;
}
#dashboard-body main{
    background-color: white !important;
    width: 90%;
    margin-left: 10%;
    max-width: 100%;
}
#root {
    width: 100%;
    background: transparent;
}

/*--
CUSTOM
 ---------------------------------------
 */
.send-button {
    background: url("../assets/icons/send-1-svgrepo-com.svg");
}

/*--
 LOGIN AND POPUPS
 ---------------------------------------
 */
.login-section {
    display: grid;
    height: 100vh;
}
#logo {
    transition: 2s;
}
#logo.active {
    filter: saturate(100) !important;
    transition: 2s all;
}
/*--
ESSENTIAL COMPONENTS
 ---------------------------------------
 */
@keyframes pullInFromLeft{
    from{left:-100%;}
    to{left:0;}
}
.nav-default {
    position: fixed;
    display: flex;
    flex-direction: column;
    align-items: start;
    justify-content: start;
    height: 100%;
    width: 15%;
    z-index: 999;
    backdrop-filter: blur(5px);
    top: 0;
    left: 0;
    animation: pullInFromLeft 2s both;
    background-color: rgba(255, 255, 255, 0);
    border-right: 1px solid rgba(218, 218, 218, 0.5);
}
.nav-default a {
    background: linear-gradient(30deg, white, #ececec);
    box-shadow: 0 3px #ececec;
    width: 80%;
    font-size: 1em;
    padding: 6%;
    margin-top: 6%;
    margin-left: 2%;
    color: black;
}
.nav-default a:hover {
    background: linear-gradient(30deg, #ffffff, #cdcdcd);
}
.nav-default > div {
    display: flex;
    flex-direction: row;
    align-items: start;
    justify-content: start;
}

.nav-default button {
    background-color: #ffffff;
    width: 20%;
    height: 90%;
    display: flex;
    justify-content: center;
    align-items: center;
}
.nav-default img {
    width: 100%;
    background: none;
}
.nav-default a:hover {
    background-color: rgba(220, 237, 246, 0.38);
    text-decoration: none;
    color: black;
}
.nav-menu {
    height: 10%;
    background-color: rgb(255,255,255,0.5);
    flex-direction: row;
    justify-content: center;
    transition: .5s;
    margin-bottom: 10%;
}
.nav-menu button:hover {
    background-color: #efefef;
    transition: .3s;
}
.nav-menu button:hover img {
    filter: brightness(50%) invert(1);
}

.active-folder h3 {
    font-size: 1em;
    width: 100%;
    font-weight: bold;
    height: 20%;
    padding: 10%;
    box-shadow: none;
    color: black;
    margin-top: 6%;
    background: none;
    border-bottom: 1px solid #e8e8e8;
}
.active-folder {
    height: 70%;
}
.active-folder * {
    overflow: hidden;
    position: relative;
    display: flex;
    flex-direction: column;
    width: 100%;
    box-shadow: 0 3px #ececec;
}

#social-folder, #entertainment-folder, #productivity-folder, #tools-folder {
    visibility: hidden;
    position: absolute;
    left: -100%;
    transition: .5s;
}
#social-folder.active, #tools-folder.active, #entertainment-folder.active, #productivity-folder.active {
    visibility: visible;
    left: 0;
}
#social-button:active img, #entertainment-button:active img, #tools-button:active img, #productivity-button:active img {
    filter: invert(1);
    transition: .2s;
}

/*--
 INNER DASHBOARD
 ---------------------------------------
 */

#discord-current h3 {
    background: none;
}

#dmessage {
    border-radius: 10px 10px 0 10px;
}
#dmessage * {
    width: 100%;
    padding: 1%;
    background: none;
}
#dmessage b {
    width: 20%;
}
/*--
WIDGETS
 ---------------------------------------
 */
#UTC-times a{
    color: black;
    width: 15%;
    padding: 1%;
    background: linear-gradient(30deg, white, #ececec);
    box-shadow: 0 3px #ececec;
}
#UTC-times a:hover {
    text-decoration: none;
    background: linear-gradient(30deg, #ffffff, #cdcdcd);
}
.top-weather-widget {
    filter: saturate(0) invert(1) brightness(1.3);
    width: 90%;
    margin: auto;
}

.top-weather-widget:hover {
    filter: saturate(0) invert(1) brightness(1.2);
    transition: .5s;
}
.tradingview-widget-container {
    filter: saturate(0);
}
.tradingview-widget-container:hover {
    filter: saturate(1);
    transition: .5s;
}