:root {
    --blue-light: #a9ecff;
    --blue: #4fc3f7;
    --blue-dark: #168bc0;
    --blue-deep: #0b638d;

    --white: #ffffff;
    --background: #eafaff;

    --text: #183b4d;
    --text-light: #62808e;

    --border: #d5edf5;

    --sidebar-width: 250px;
    --radius: 16px;
}


/* =========================
   RESET
========================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    min-height: 100vh;

    font-family: Arial, Helvetica, sans-serif;

    background: var(--background);
    color: var(--text);
}


/* =========================
   SIDEBAR
========================= */

.sidebar {
    position: fixed;

    top: 0;
    left: 0;

    width: var(--sidebar-width);
    height: 100vh;

    padding: 25px 18px;

    background: var(--white);

    border-right: 1px solid var(--border);

    display: flex;
    flex-direction: column;

    z-index: 100;
}


/* LOGO */

.logo {
    display: flex;
    align-items: center;

    gap: 12px;

    padding: 8px 10px 28px;
}

.logo-icon {
    width: 48px;
    height: 48px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: var(--blue-light);

    border-radius: 14px;

    font-size: 28px;
}

.logo-text h1 {
    font-size: 20px;

    color: var(--blue-deep);
}

.logo-text span {
    display: block;

    margin-top: 2px;

    font-size: 12px;

    color: var(--text-light);
}


/* MENU */

.menu-title {
    padding: 10px 12px;

    font-size: 11px;
    font-weight: bold;

    color: #83a5b3;

    text-transform: uppercase;
    letter-spacing: 1px;
}

.menu {
    display: flex;
    flex-direction: column;

    gap: 5px;
}

.menu a {
    display: flex;
    align-items: center;

    gap: 12px;

    padding: 12px 14px;

    border-radius: 10px;

    color: var(--text);

    text-decoration: none;

    transition:
        background 0.2s,
        color 0.2s,
        transform 0.2s;
}

.menu a:hover {
    background: #e8f9ff;

    color: var(--blue-dark);

    transform: translateX(2px);
}

.menu a.active {
    background: var(--blue-light);

    color: var(--blue-deep);

    font-weight: bold;
}

.menu-icon {
    width: 22px;

    text-align: center;

    font-size: 18px;
}


/* SIDEBAR FOOTER */

.sidebar-bottom {
    margin-top: auto;

    padding: 15px 10px;

    border-top: 1px solid #e5f2f6;

    color: var(--text-light);

    font-size: 12px;

    line-height: 1.6;
}


/* =========================
   MAIN
========================= */

.main {
    min-height: 100vh;

    margin-left: var(--sidebar-width);

    padding: 35px 45px;
}


/* =========================
   TOPBAR
========================= */

.topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;

    margin-bottom: 35px;
}

.topbar h2 {
    font-size: 30px;

    color: var(--blue-deep);
}

.topbar p {
    margin-top: 5px;

    color: var(--text-light);

    font-size: 14px;
}

.profile {
    width: 44px;
    height: 44px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: var(--blue-light);

    font-size: 21px;
}


/* =========================
   HERO
========================= */

.hero {
    display: flex;
    align-items: center;
    justify-content: space-between;

    padding: 35px;

    margin-bottom: 25px;

    overflow: hidden;

    border-radius: var(--radius);

    background:
        linear-gradient(
            135deg,
            #a9ecff,
            #dff8ff
        );
}

.hero-content {
    max-width: 650px;
}

.hero h1 {
    margin-bottom: 10px;

    font-size: 36px;

    color: var(--blue-deep);
}

.hero p {
    color: #3f6878;

    font-size: 16px;

    line-height: 1.6;
}

.penguin {
    font-size: 100px;

    filter:
        drop-shadow(
            0 8px 5px rgba(0, 100, 140, 0.15)
        );
}


/* =========================
   CARDS
========================= */

.cards {
    display: grid;

    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    gap: 20px;

    margin-bottom: 25px;
}

.card {
    padding: 24px;

    background: var(--white);

    border: 1px solid #d9eef5;

    border-radius: var(--radius);

    box-shadow:
        0 5px 20px rgba(40, 130, 160, 0.05);

    transition:
        transform 0.2s,
        box-shadow 0.2s;
}

.card:hover {
    transform: translateY(-3px);

    box-shadow:
        0 10px 25px rgba(40, 130, 160, 0.10);
}

.card-icon {
    width: 45px;
    height: 45px;

    display: flex;
    align-items: center;
    justify-content: center;

    margin-bottom: 18px;

    background: var(--blue-light);

    border-radius: 12px;

    font-size: 22px;
}

.card h3 {
    margin-bottom: 7px;

    color: var(--blue-deep);
}

.card p {
    color: var(--text-light);

    font-size: 14px;

    line-height: 1.5;
}


/* =========================
   CONTENT
========================= */

.content {
    padding: 28px;

    background: var(--white);

    border: 1px solid #d9eef5;

    border-radius: var(--radius);
}

.content h2 {
    margin-bottom: 10px;

    color: var(--blue-deep);
}

.content p {
    color: var(--text-light);

    line-height: 1.6;
}


/* =========================
   RESPONSIVE
========================= */

@media (max-width: 900px) {

    .sidebar {
        width: 210px;
    }

    .main {
        margin-left: 210px;

        padding: 25px;
    }

    .cards {
        grid-template-columns: 1fr;
    }

    .hero {
        padding: 25px;
    }

    .penguin {
        font-size: 70px;
    }
}


@media (max-width: 650px) {

    .sidebar {
        position: relative;

        width: 100%;
        height: auto;

        border-right: none;
        border-bottom: 1px solid var(--border);
    }

    .sidebar-bottom {
        display: none;
    }

    .menu {
        flex-direction: row;

        overflow-x: auto;
    }

    .menu-title {
        display: none;
    }

    .menu a {
        white-space: nowrap;
    }

    .main {
        margin-left: 0;

        padding: 20px;
    }

    .topbar h2 {
        font-size: 24px;
    }

    .hero {
        flex-direction: column;

        align-items: flex-start;
    }

    .penguin {
        align-self: center;
    }
}