/* =========================================
   RESET
========================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    width: 100%;
    min-height: 100vh;

    font-family: 'Montserrat', sans-serif;

    background: #f7f6f6;

    color: #111111;
}


/* =========================================
   MAIN PAGE
========================================= */

.dashboard-page {
    position: relative;

    width: 100%;

    min-height: 100vh;
    min-height: 100svh;

    overflow: hidden;

    background: #f5f5f5;
}


/* =========================================
   TOP DECORATION
========================================= */

.top-decoration {
    position: absolute;

    top: 0;
    left: 0;

    width: 100%;
    height: 8px;

    background: #111111;
}


/* =========================================
   CONTAINER
========================================= */

.dashboard-container {
    position: relative;
    z-index: 2;

    width: min(90%, 900px);

    margin: 0 auto;

    padding-top: clamp(45px, 7vh, 80px);

    padding-bottom: 100px;

    display: flex;

    flex-direction: column;

    align-items: center;
}


/* =========================================
   BRAND
========================================= */

.brand {
    margin-bottom: 35px;

    font-size: clamp(16px, 2vw, 22px);

    font-weight: 800;

    letter-spacing: 5px;

    color: #111111;
}

.brand span {
    color: #777777;
}


/* =========================================
   HEADING
========================================= */

.dashboard-heading {
    text-align: center;

    margin-bottom: 30px;
}

.dashboard-heading p {
    margin-bottom: 8px;

    font-size: 10px;

    font-weight: 600;

    letter-spacing: 5px;

    color: #777777;
}

.dashboard-heading h1 {
    font-size: clamp(42px, 7vw, 80px);

    line-height: 0.95;

    font-weight: 800;

    letter-spacing: -3px;

    color: #111111;
}

.dashboard-heading h1 span {
    color: #777777;
}

.dashboard-heading > span {
    display: block;

    margin-top: 15px;

    font-size: 11px;

    letter-spacing: 3px;

    color: #777777;
}


/* =========================================
   SOCIAL MEDIA
========================================= */

.social-list {
    display: flex;

    justify-content: center;

    gap: 12px;

    margin-bottom: 55px;
}

.social-button {
    width: 48px;
    height: 48px;

    display: flex;

    align-items: center;
    justify-content: center;

    background: #111111;

    color: #ffffff;

    text-decoration: none;

    font-size: 20px;

    border: 1px solid #111111;

    transition:
        background 0.3s ease,
        color 0.3s ease,
        transform 0.3s ease;
}

.social-button:hover {
    background: transparent;

    color: #111111;

    transform: translateY(-4px);
}


/* =========================================
   MENU GRID
========================================= */

.dashboard-menu {
    width: 100%;

    display: grid;

    grid-template-columns: repeat(2, 1fr);

    gap: 20px;
}


/* =========================================
   MENU CARD
========================================= */

.menu-card {
    position: relative;

    min-height: 220px;

    padding: 30px;

    display: flex;

    flex-direction: column;

    align-items: center;

    justify-content: center;

    text-align: center;

    background: #ffffff;

    border: 1px solid #dddddd;

    text-decoration: none;

    color: #111111;

    overflow: hidden;

    transition:
        background 0.4s ease,
        color 0.4s ease,
        transform 0.4s ease,
        box-shadow 0.4s ease;
}


/* Background Hover */

.menu-card::before {
    content: "";

    position: absolute;

    inset: 0;

    background: #111111;

    transform: translateY(101%);

    transition: transform 0.4s ease;

    z-index: 0;
}

.menu-card:hover::before {
    transform: translateY(0);
}


/* Content */

.menu-card > * {
    position: relative;

    z-index: 1;
}


/* =========================================
   MENU ICON
========================================= */

.menu-icon {
    width: 72px;
    height: 72px;

    margin-bottom: 20px;

    display: flex;

    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: #eeeeee;

    color: #111111;

    font-size: 28px;

    transition:
        background 0.4s ease,
        color 0.4s ease,
        transform 0.4s ease;
}

.menu-card:hover .menu-icon {
    background: #ffffff;

    color: #111111;

    transform: scale(1.08);
}


/* =========================================
   MENU TITLE
========================================= */

.menu-card h2 {
    margin-bottom: 8px;

    font-size: clamp(14px, 1.5vw, 19px);

    font-weight: 700;

    letter-spacing: 2px;

    transition: color 0.4s ease;
}

.menu-card p {
    font-size: 10px;

    color: #888888;

    letter-spacing: 1px;

    transition: color 0.4s ease;
}

.menu-card:hover h2 {
    color: #ffffff;
}

.menu-card:hover p {
    color: #bbbbbb;
}


/* =========================================
   FOOTER
========================================= */

.dashboard-footer {
    position: absolute;

    left: 50%;
    bottom: 25px;

    transform: translateX(-50%);

    width: 100%;

    text-align: center;
}

.dashboard-footer span {
    font-size: 7px;

    font-weight: 500;

    letter-spacing: 4px;

    color: #999999;
}


/* =========================================
   TABLET
========================================= */

@media (max-width: 768px) {

    .dashboard-container {
        width: 88%;
    }

    .dashboard-menu {
        gap: 15px;
    }

    .menu-card {
        min-height: 190px;

        padding: 25px;
    }

    .menu-icon {
        width: 65px;
        height: 65px;

        font-size: 24px;
    }

}


/* =========================================
   MOBILE
========================================= */

@media (max-width: 480px) {

    .dashboard-container {
        width: 88%;

        padding-top: 45px;
        padding-bottom: 90px;
    }

    .brand {
        margin-bottom: 28px;

        font-size: 14px;

        letter-spacing: 3px;
    }

    .dashboard-heading {
        margin-bottom: 25px;
    }

    .dashboard-heading p {
        font-size: 8px;

        letter-spacing: 4px;
    }

    .dashboard-heading h1 {
        font-size: 47px;

        letter-spacing: -2px;
    }

    .dashboard-heading > span {
        margin-top: 12px;

        font-size: 9px;

        letter-spacing: 2px;
    }


    /* Social */

    .social-list {
        gap: 8px;

        margin-bottom: 40px;
    }

    .social-button {
        width: 42px;
        height: 42px;

        font-size: 17px;
    }


    /* Menu */

    .dashboard-menu {
        grid-template-columns: repeat(2, 1fr);

        gap: 10px;
    }

    .menu-card {
        min-height: 165px;

        padding: 15px;
    }

    .menu-icon {
        width: 58px;
        height: 58px;

        margin-bottom: 13px;

        font-size: 22px;
    }

    .menu-card h2 {
        font-size: 12px;

        letter-spacing: 1px;
    }

    .menu-card p {
        font-size: 8px;

        line-height: 1.4;
    }


    /* Footer */

    .dashboard-footer {
        bottom: 17px;
    }

    .dashboard-footer span {
        font-size: 5px;

        letter-spacing: 2px;
    }

}


/* =========================================
   SMALL MOBILE
========================================= */

@media (max-width: 360px) {

    .dashboard-container {
        width: 90%;

        padding-top: 38px;
    }

    .brand {
        font-size: 12px;
    }

    .dashboard-heading h1 {
        font-size: 40px;
    }

    .social-button {
        width: 38px;
        height: 38px;

        font-size: 15px;
    }

    .menu-card {
        min-height: 145px;

        padding: 12px;
    }

    .menu-icon {
        width: 50px;
        height: 50px;

        margin-bottom: 10px;

        font-size: 19px;
    }

    .menu-card h2 {
        font-size: 10px;
    }

    .menu-card p {
        font-size: 7px;
    }

}