/* ==========================================
   RETROPIXEL WORK™
   OFFICE 2007 INSPIRED
========================================== */

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    font-family:Segoe UI,Tahoma,sans-serif;
}

html{
    height:100%;
}

body{min-height:100vh;background: radial-gradient(circle at top, rgba(255, 255, 255, .95), #0000 40%), linear-gradient(to bottom, #e8f3ff 0%, #ffffa4 18%, #ffeab8 45%, #ffea9c 70%, #ffe054 100%);color:#244c74;}

/* ==========================
   TOPO
========================== */

.topbar{
    height:108px;
    display:flex;
    align-items:center;
    justify-content:space-between;
    padding:0 24px;
    background: linear-gradient(to bottom, rgba(255, 255, 255, .95) 0%, rgb(255 222 148 / 95%) 30%, rgb(255 195 53 / 95%) 100%);
    border-bottom:1px solid #8db4da;
    box-shadow:
    inset 0 1px 0 white,
    inset 0 -1px 0 rgba(255,255,255,.7),
    0 2px 6px rgba(0,0,0,.12);
    }

.logo-area{

    display:flex;
    align-items:center;
    gap:18px;
}

.logo-area img{

    width:64px;
    height:64px;
}

.logo-area h1{

    font-size:28px;

    color:#1b5d94;

    text-shadow:
    0 1px 0 white;
}

.logo-area p{

    margin-top:4px;

    color:#436b8d;
}

/* ==========================
   RELÓGIO
========================== */

.clock{

    min-width:110px;

    text-align:center;

    padding:14px 18px;

    border-radius:16px;

    background:

    linear-gradient(
        to bottom,
        #fff 0%,
        #ffc928 50%,
        #f2d6c6 100%
    );

    border:1px solid #a4c1db;

    box-shadow:
    inset 0 1px 0 white,
    inset 0 -1px 0 rgba(255,255,255,.5),
    0 2px 6px rgba(0,0,0,.15);

    font-size:20px;
    font-weight:bold;
}

/* ==========================
   CONTEÚDO
========================== */

main{

    max-width:1300px;

    margin:auto;

    padding:28px;
}

/* ==========================
   PAINÉIS
========================== */

.welcome-card,
.recent-card{position:relative;margin-bottom:24px;padding:24px;border-radius:18px;background: linear-gradient(to bottom, rgba(255, 255, 255, .95) 0%, rgba(233, 243, 252, .95) 100%);border:1px solid #aac6e1;box-shadow:
    inset 0 1px 0 white,
    inset 0 -1px 0 rgba(255,255,255,.5),
    0 1px 3px rgba(0,0,0,.08);}

.welcome-card::before,
.recent-card::before{

    content:"";

    position:absolute;

    top:0;
    left:0;

    width:100%;
    height:50%;

    border-radius:18px 18px 120px 120px;

    background:

    linear-gradient(
        to bottom,
        rgba(255,255,255,.75),
        rgba(255,255,255,0)
    );

    pointer-events:none;
}

/* ==========================
   GRADE
========================== */

.apps-grid{

    display:grid;

    grid-template-columns:
        repeat(auto-fit,minmax(220px,1fr));

    gap:20px;

    margin-bottom:24px;
}

/* ==========================
   APPS
========================== */

.app-card{position:relative;overflow:hidden;text-decoration:none;color:#040404;text-align:center;padding:28px;border-radius:22px;background: linear-gradient(to bottom, rgba(255, 255, 255, 0.97) 0%, rgba(253, 187, 36, 0.96) 30%, rgba(255, 198, 26, 0.95) 100%);border:1px solid #a4c0dc;box-shadow:

    inset 0 1px 0 white,
    inset 0 -1px 0 rgba(255,255,255,.5),
    0 2px 5px rgba(0,0,0,.1);transition:
    transform .2s,
    box-shadow .2s;}

.app-card::before{

    content:"";

    position:absolute;

    top:0;
    left:0;

    width:100%;
    height:55%;

    border-radius:22px 22px 100px 100px;

    background:

    linear-gradient(
        to bottom,
        rgba(255,255,255,.85),
        rgba(255,255,255,0)
    );

    pointer-events:none;
}

.app-card:hover{

    transform:translateY(-2px);

    box-shadow:

    inset 0 1px 0 white,

    0 4px 10px rgba(0,0,0,.18);
}

.app-card img{

    width:82px;
    height:82px;

    margin-bottom:14px;

    filter:
    drop-shadow(
        0 2px 3px rgba(0,0,0,.15)
    );
}

.app-card h3{

    margin-bottom:8px;

    font-size:18px;

    color:#2b2b2b;
}

.app-card p{

    font-size:14px;

    color:#333;
}

/* ==========================
   RECENTES
========================== */

.recent-card ul{

    list-style:none;
}

.recent-card li{

    padding:10px;

    border-radius:8px;

    transition:.15s;
}

.recent-card li:hover{

    background:

    linear-gradient(
        to bottom,
        rgba(255,255,255,.7),
        rgba(220,235,249,.7)
    );
}

/* ==========================
   RODAPÉ
========================== */

footer{

    padding:18px;

    text-align:center;

    background:

    linear-gradient(
        to bottom,
        rgba(236,244,252,.95),
        rgba(210,228,246,.95)
    );

    border-top:1px solid #9dbddd;

    box-shadow:
    inset 0 1px 0 white;
}

/* ==========================
   RESPONSIVO
========================== */

@media(max-width:700px){

    .topbar{

        height:auto;

        padding:20px;

        flex-direction:column;

        gap:16px;
    }

    .logo-area{

        flex-direction:column;

        text-align:center;
    }

    main{

        padding:18px;
    }

    .clock{

        width:100%;
    }
}
