* {
    margin: 0;
    padding: 0;
    box-sizing: none;
    user-select: none;
}

body {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

/* frame 1 */
.loading_main {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-color: black;
    height: 100vh;
    width: 100%;
}

.loading_main_text {
    color: rgb(160, 160, 160);
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-weight: 600;
    font-size: 23px;
}

.loading_main_icon {
    font-size: 46px;
    padding-bottom: 5px;
    opacity: 0.7;
    animation: moveLoadIcon 4s infinite;
}

@keyframes moveLoadIcon {
    0% {
        transform: translateY(3px);
    }

    25% {
        transform: translateY(-3px);
    }

    50% {
        transform: translateY(3px);
    }

    75% {
        transform: translateY(-3px);
    }

    100% {
        transform: translateY(3px);
    }
}

#move_left_anim {
    animation: moveLeft 3s;
}

@keyframes moveLeft {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(100%);
    }
}

/* frame 2 */
.welcome_div {
    width: 200px;
    height: 50px;
    position: absolute;
    display: none;
}

.welcome_div h1 {
    font-family: monospace;
    width: 8ch;
    text-wrap: nowrap;
    overflow: hidden;
    font-size: 56px;
    animation: typing 2s steps(8) alternate;
}

.welcome_div h3 {
    font-family: monospace;
    width: 13ch;
    text-wrap: nowrap;
    overflow: hidden;
    font-size: 26px;
    text-align: center;
    animation: typing 2s steps(13) alternate;
}

@keyframes typing {
    from {
        width: 0;
    }
}

#move_right_anim {
    animation: moveRight 3s;
}

@keyframes moveRight {
    0% {
        transform: translateX(-100%);
    }

    100% {
        transform: translateX(0);
    }
}

/* frame 3 */
.form_main {
    background-color: red;
    width: 60%;
    height: 80%;
    flex-direction: column;
    align-items: start;
    display: none;
}

.form_main input {
    width: 40%;
    padding: 15px 10px;
    border-radius: 16px;
    border: none;
    margin-bottom: 20px;
}

.form_main button {
    width: 100px;
    height: 50px;
    margin-top: 30px;
}

/* frame 4 */
.acc_sum_view {
    background-color: yellow;
    width: 60%;
    height: 50%;
    flex-direction: column;
    align-items: start;
    justify-content: center;
    display: none;
}

.acc_sum_view h2,
.acc_sum_view p,
.acc_sum_view h3 {
    padding-left: 10%;
}

/* frame 5 */
.real_main {
    background-color: blue;
    width: 80%;
    height: 80%;
    /* display: flex; */
    display: none;
}

.main_section {
    background-color: blueviolet;
    height: 100%;
    width: 60%;
}

.sub_section {
    background-color: cadetblue;
    height: 100%;
    width: 40%;
}

.welcome_text {
    padding-left: 5%;
    padding-top: 5%;
}

.menu_options {
    background-color: chartreuse;
    width: 100%;
    display: flex;
    flex-direction: column;
    margin-top: 10%;
}

.menu_options button {
    height: 50px;
    width: 40%;
    margin-top: 2%;
    margin-left: 10%;
    font-size: 18px;
    font-weight: 600;
}

/* frame 6 */
.pin_text {
    margin-top: 10%;
    background-color: darkgoldenrod;
    width: 100%;
    height: 40%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.pin_text h3 {
    font-size: 26px;
    margin-bottom: 10px;
}

.dial_pad {
    justify-content: center;
    margin-top: 60%;
    background-color: gold;
    display: grid;
    grid-template-columns: repeat(3, 70px);
    grid-template-rows: repeat(4, 60px);
    gap: 20px;
}

/* frame 7, frame 8, frame 9, frame 10, frame 12, frame 13, frame 14, frame 16, frame 17, frame 18 */
.bal_view,
.depo_view,
.depo_success,
.with_view,
.with_view_success,
.with_view_fail,
.change_pin_view,
.change_pin_view_success, 
.quit_load,
.quit_view {
    margin-top: 20%;
    width: 100%;
    height: 40%;
    display: flex;
    flex-direction: column;
    align-items: start;
    justify-content: center;
    padding-left: 10%;
}

.bal_view h3,
.depo_view h3,
.depo_success h3,
.with_view h3,
.with_view_success h3,
.with_view_fail h3,
.change_pin_view h3,
.change_pin_view_success h3,
.quit_view h3 {
    font-size: 26px;
    font-weight: 600;
}

.bal_view button,
.depo_success button,
.with_view_success button,
.with_view_fail button,
.change_pin_view button,
.change_pin_view_success button {
    width: 20%;
    height: 15%;
    margin-top: 30px;
    font-size: 14px;
    font-weight: 600;
}

/* frame 8 */
.depo_view input {
    margin-top: 5%;
}

/* frame 9 */
.depo_success h3,
.with_view_success h3
.with_view_fail h3 {
    margin-top: 20px;
}


/* frame 10 */
.with_money_btns {
    margin-top: 20px;
    display: grid;
    grid-template-columns: repeat(2, 160px);
    grid-template-rows: repeat(3, 60px);
    gap: 10px;
}

.with_money_btns button {
    font-size: 22px;
    font-weight: 600;
}

.with_money_custom_input {
    margin-top: 20px;
    display: none;
}

.with_money_custom_input input {
    width: 320px;
    height: 30px;
}

/* frame 11 */
.load_process {
    margin-top: 25%;
    width: 100%;
    height: 40%;
    background-color: gold;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    font-weight: 700;
}


#h3_2nd {
    margin-top: 40px;
}

/* frame 14 */
.change_pin_view input {
    height: 20px;
    width: 200px;
    margin-bottom: 20px;
}

/* frame 17 */
.quit_load {
    background-color: red;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-left: 0;
    font-size: 26px;
    font-weight: 800;
}

/* frame 18 */
.quit_view h2 {
    font-size: 42px;
}