* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: "Segoe UI", Tahoma, sans-serif;
    color: #fff;
    overflow: hidden;
}


.bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;

    background: url('./background.jpg') no-repeat center center;
    background-size: cover;

    z-index: -2;
}


.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;

    background: linear-gradient(
        rgba(10,31,68,0.75),
        rgba(10,31,68,0.85)
    );

    z-index: -1;
}

/* MAIN CONTAINER */
.container {
    display: flex;
    flex-direction: column;
    height: 100vh;
}

/* HEADER */
.header {
    text-align: center;
    padding: 30px 10px 10px;
    font-size: 28px;
    font-weight: 600;
    letter-spacing: 1px;
    animation: fadeDown 1s ease;
}

/* TOP SECTION */
.top {
    flex: 3;
    display: flex;
    gap: 25px;
    padding: 30px;
    justify-content: center;
    align-items: center;
}

/* CARDS */
.card {
    width: 210px;
    height: 190px;
    border-radius: 18px;

    backdrop-filter: blur(14px);
    background: rgba(255, 255, 255, 0.08);

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;

    cursor: pointer;
    transition: all 0.35s ease;

    box-shadow: 0 10px 25px rgba(0,0,0,0.35);

    animation: fadeUp 0.8s ease;
}

.card:hover {
    transform: translateY(-10px) scale(1.05);
    background: rgba(255, 255, 255, 0.18);
    box-shadow: 0 20px 45px rgba(0,0,0,0.5);
}

/* ICON */
.icon {
    font-size: 42px;
    margin-bottom: 15px;
}

/* TITLE */
.title {
    font-size: 18px;
    font-weight: 600;
    text-align: center;
}

/* COLORS */
.emp { border-top: 4px solid #4da3ff; }
.fm { border-top: 4px solid #4dff88; }
.vendor { border-top: 4px solid #ff6b6b; }
.fs { border-top: 4px solid #ffc04d; }

/* BOTTOM */
.bottom {
    flex: 1;
    background: rgba(0, 0, 0, 0.35);
    backdrop-filter: blur(10px);

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;

    padding: 20px;
    text-align: center;
    font-size: 14px;

    animation: fadeUp 1.2s ease;
}

.bottom a {
    color: #9ecbff;
    text-decoration: none;
    font-weight: 500;
}

.bottom a:hover {
    text-decoration: underline;
}

/*  ANIMATIONS */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}