
* {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    padding: 0;
    min-height: 100vh;
    overflow-x: hidden;
    overflow-y: auto;
    width:100%;
}

body {
    background: linear-gradient(270deg, #0d0f16, #15182a, #0d0f16);

    background-size: 400% 400%;
    animation: gradientMove 15s ease infinite;

    display: flex;
    flex-direction: column;
    max-height: 100%;
}

/* main content*/

.main-content{
    display:flex;
    flex-direction: column;
    align-items: center;
}

/* topbar */

.topbar{
    background-color: #15182a;
    width:100%;
    height:5vh;
    display:flex;
}

.toggle-sidebar{
    background-color: transparent;
    border:none;
    font-size:25px;
    color:white;
    margin-left:10px;
}

.notifications{
    background-color: transparent;
    border:none;
    font-size:25px;
    color:white;
    margin-left:auto;
    margin-right:10px;
}

/*Title */

.Title{
    display:flex;
    align-items: center;
    flex-direction: column;
}

.heading{
    color:white;
    font-size:30px;
}

.subheading{
    color:grey;
    margin-top:0;
}

/* stat-cardss*/

/* wrapper */
.stat-card-wrapper {
    display: flex;
    flex-direction: row;
    gap: 16px;

    width: 90%;
    max-width: 900px;

    margin: 30px auto;

    justify-content: center;
    align-items: stretch;
}

/* card */
.stat-card {
    flex: 1;

    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 18px;

    padding: 22px 18px;

    text-align: center;

    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);

    box-shadow: 0 10px 30px rgba(0,0,0,0.25);

    transition: all 0.25s ease;

    position: relative;
    overflow: hidden;
}

/* hover effect */
.stat-card:hover {
    transform: translateY(-6px);
    border-color: rgba(162,155,254,0.5);
    box-shadow: 0 15px 40px rgba(162,155,254,0.2);
}

/* glow accent */
.stat-card::before {
    content: "";
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;

    background: radial-gradient(
        circle,
        rgba(162,155,254,0.2),
        transparent 60%
    );

    opacity: 0;
    transition: 0.3s;
}

.stat-card:hover::before {
    opacity: 1;
}

/* number */
.stat-number {
    font-size: 34px;
    font-weight: 700;
    color: #a29bfe;
    margin: 0;
}

/* label */
.stat-label {
    margin-top: 8px;
    font-size: 13px;
    color: rgba(255,255,255,0.6);
    letter-spacing: 1px;
    text-transform: uppercase;
}

/* sidebar */

.sidebar-content {
    display: flex;
    position: fixed;
    left: -500px;
    transition: left 0.3s ease;
}

.sidebar-content.active {
    left: 0;
    z-index: 1000;
    background-color: #15182a;
    height: 100%;
    width: 45%;
    flex-direction: column;
}

.pages{
    display:flex;
    flex-direction: column;
    align-items: center;
}

.Create-flashcards,
.dialy-goals,
.calander,
.flashcards{
    width:75%;
    display:flex;
    align-items: center;
    justify-content: center;
    background-color: #a29bfe;
    font-size:15px;
    font-weight:600;
    border:none;
    margin-top:7px;
    border-radius:10px;
}

.sidebar-title{
    display:flex;
    align-items: center;
    justify-content: center;
}

.sidebar-heading{
    color:white;
}

/* dialy goals home page */

.daily-goals-content {
    position: relative;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 18px;

    padding: 22px 18px;

    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);

    display: flex;
    flex-direction: column;
    width: 90%;
}

.daily-goals-content:hover {
    transform: translateY(-6px);
    border-color: rgba(162,155,254,0.5);
    box-shadow: 0 15px 40px rgba(162,155,254,0.2);
}

.daily-goals-content::before {
    content: "";
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;

    background: radial-gradient(
        circle,
        rgba(162,155,254,0.2),
        transparent 60%
    );

    opacity: 0;
    transition: 0.3s;
    pointer-events: none;
}

.daily-goals-content:hover::before {
    opacity: 1;
}

.daily-goals-heading{
    color:#a29bfe
}

.num-of-flashcards-completed{
    color:white;
}

.num-of-flashcards-studied{
    color:white;
}

