/* =========================================================
   DXX BANK - PERSONAL ACCOUNT PAGE
   ========================================================= */

* {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    padding: 0;
    background: #fff;
    font-family: Arial, Helvetica, sans-serif;
}


/* =========================================================
   PERSONAL HERO
   ========================================================= */

.hero {
    position: relative;

    width: 100%;

    height: calc(100vh - 71px);

    min-height: 575px;

    overflow: hidden;

    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;

    color: #fff;
}


/* =========================================================
   DARK GRADIENT
   ========================================================= */

.hero::before {
    content: "";

    position: absolute;

    inset: 0;

    background:
        linear-gradient(
            90deg,
            rgba(0, 0, 0, 0.78) 0%,
            rgba(0, 0, 0, 0.62) 22%,
            rgba(0, 0, 0, 0.30) 42%,
            rgba(0, 0, 0, 0.05) 70%,
            rgba(0, 0, 0, 0.00) 100%
        );

    z-index: 1;
}


/* =========================================================
   HERO CONTENT
   ========================================================= */

.hero-content {
    position: absolute;

    z-index: 2;

    left: calc((100% - 1064px) / 2);

    top: 60px;

    width: 360px;
}


/* SMALL TITLE */

.hero-content .kicker {
    font-size: 18px;

    line-height: 1.2;

    font-weight: 700;

    color: #fff;

    margin-bottom: 15px;
}


/* =========================================================
   LINE UNDER KICKER
   ========================================================= */

.hero-content .rule {
    width: 330px;

    height: 1px;

    background: rgba(255,255,255,0.75);

    margin-bottom: 8px;
}


/* =========================================================
   MAIN TITLE
   ========================================================= */

.hero-content h1 {
    margin: 0 0 27px 0;

    padding: 0;

    color: #fff;

    font-size: 48px;

    line-height: 1.02;

    font-weight: 700;

    letter-spacing: -1px;
}


/* =========================================================
   DESCRIPTION
   ========================================================= */

.hero-content .copy {
    width: 320px;

    color: #fff;

    font-size: 12px;

    line-height: 1.35;

    font-weight: 400;
}

.hero-content .copy p {
    margin: 0 0 12px 0;
}


/* =========================================================
   REQUEST CONSULTATION
   ========================================================= */

.consultation-link {
    display: inline-flex;

    align-items: center;

    margin-top: 18px;

    color: #fff;

    text-decoration: none;

    font-size: 12px;

    font-weight: 400;
}

.consultation-link:hover {
    color: #fff;
}


/* =========================================================
   ACTION BUTTONS
   ========================================================= */

.action-bar {
    display: flex;

    align-items: flex-start;

    gap: 45px;

    margin-top: 5px;
}

.action {
    display: flex;

    flex-direction: column;

    align-items: center;

    width: 57px;

    color: #fff;

    text-decoration: none;

    font-size: 12px;

    line-height: 1.2;
}


/* ICON BOX */

.action-icon {
    width: 54px;
    height: 54px;

    margin-bottom: 7px;

    border-radius: 10px;

    background: #fff;

    display: flex;

    align-items: center;
    justify-content: center;
}


/* SVG */

.action-icon svg {
    width: 32px;
    height: 32px;

    fill: none;

    stroke: #ff6500;

    stroke-width: 1.8;

    stroke-linecap: round;
    stroke-linejoin: round;
}


/* =========================================================
   OPEN ACCOUNT BUTTON
   ========================================================= */

.hero-button {
    position: absolute;

    z-index: 4;

    top: 2px;

    right: calc((100% - 1064px) / 2);

    width: 200px;

    height: 40px;

    border-radius: 6px;

    background: #a20d05;

    color: #fff;

    text-decoration: none;

    display: flex;

    align-items: center;

    justify-content: flex-start;

    padding-left: 12px;

    font-size: 17px;

    font-weight: 700;
}


/* BUTTON ARROW */

.hero-button .arrow {
    font-size: 34px;

    line-height: 1;

    font-weight: 300;

    margin-right: 15px;

    margin-top: -3px;
}


/* =========================================================
   LEFT COPYRIGHT / VERTICAL TEXT
   ========================================================= */

.hero::after {
    content: "DXX BANK LTD.";

    position: absolute;

    z-index: 5;

    left: 0;

    top: 50%;

    transform: translateY(-50%) rotate(-90deg);

    transform-origin: left top;

    width: 470px;

    color: rgba(255,255,255,0.85);

    font-size: 9px;

    white-space: nowrap;

    pointer-events: none;
}


/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 1100px) {

    .hero-content {
        left: 11%;
    }

    .hero-button {
        right: 11%;
    }
}


@media (max-width: 750px) {

    .hero {
        height: calc(100vh - 38px);

        min-height: 600px;

        background-position: center;
    }

    .hero-content {
        left: 30px;

        top: 45px;

        width: calc(100% - 60px);
    }

    .hero-content .rule {
        width: 100%;
    }

    .hero-content h1 {
        font-size: 40px;
    }

    .hero-content .copy {
        width: 90%;
    }

    .hero-button {
        top: 15px;

        right: 20px;

        width: 175px;
    }

    .action-bar {
        gap: 30px;
    }
}


@media (max-width: 500px) {

    .hero-button {
        width: 155px;

        height: 38px;

        font-size: 14px;
    }

    .hero-button .arrow {
        font-size: 28px;

        margin-right: 10px;
    }

    .hero-content h1 {
        font-size: 36px;
    }
}