<!doctype html>
<html lang="en">

<head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <link rel="shortcut icon" type="image/png" href="assets/favicon.png"/>
    <title>OTP Page</title>
    <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap@4.6.0/dist/css/bootstrap.min.css"
          integrity="sha384-B0vP5xmATw1+K9KRQjQERJvTumQW0nPEzvF6L/Z6nronJ3oUOFUFpCjEUQouq2+l" crossorigin="anonymous">
    <link rel="preconnect" href="https://fonts.googleapis.com">
    <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
    <link href="https://fonts.googleapis.com/css2?family=Poppins&display=swap" rel="stylesheet">
    <script src="https://unpkg.com/feather-icons"></script>

    <style>
        body {
            font-family: 'Poppins', sans-serif;
            background-color: #1b1c1e;
        }

        .nav-color {
            background-color: #212226;
        }

        .nav-radius {
            border-bottom-left-radius: 20px;
            border-bottom-right-radius: 20px;
        }

        .card {
            position: center;
            margin: auto;
            margin-top: 3%;
            margin-bottom: 2%;
            text-align: center;
            border-bottom-left-radius: 20px;
            border-bottom-right-radius: 20px;
            border-top-left-radius: 20px;
            border-top-right-radius: 20px;
            background-color: #212226;
        }

        .icon {
            position: center;
            margin-top: -5%;
            margin-left: 10%;
            width: 80%;
            height: 80%;
            padding-bottom: 0%;
        }

        .text {
            margin-bottom: -6%;
        }

        .text-resend{
            color: white;
            text-align: center;
        }

        .text-resend a:hover {
            color: white;
        }

        .btn-success:hover{
            margin-left: 0%;
        }

        .input-container input {
            width: 40px;
            height: 40px;
        }

        @media screen and (max-width: 425px) {
            .card a, input {
                font-size: 3vw;
            }

            .card-header {
                font-size: 6vw;
            }
        }

        @media screen and (min-width: 426px) {
            .card a, input {
                font-size: 2vw;
            }

            .card-header {
                font-size: 5vw;
            }
        }

        @media screen and (min-width: 767px) {
            .card a, input {
                font-size: 2vw;
            }

            .card-header {
                font-size: 4vw;
            }
        }

        @media screen and (min-width: 993px) {
            .card a, input {
                font-size: 1vw;
            }

            .card-header {
                font-size: 2.5vw;
            }
        }

        @media screen and (min-width: 1400px) {
            .card a, input {
                font-size: 1vw;
            }

            .card-header {
                font-size: 2.5vw;
            }
        }

        @media screen and (max-width: 500px){
            .form{
                width: 95%;
            }

            .form .user-input{
                width: 100%
            }

            .form .btn{
                width: 100%;
            }
        }
    </style>
</head>

<body>
<nav class="navbar navbar-dark nav-color ml-5 mr-5 nav-radius">
    <img class="navbar-brand" src="assets/logo_transparent.png" alt="Banner" width="5%" style="margin-top: 0%;">
    <ul class="navbar-nav">
        <li class="nav-item">
            <a style="color: white; font-size: 16pt;">OTP Page</a>
        </li>
    </ul>
    <div class="collapse navbar-collapse" id="navbarTogglerDemo01"></div>
</nav>

<br>

<div class="container">
    <div class="row">
        <div class="col">
            <div class="card text-white col-md-9 col-lg-6 col-xl-5">
                <h1 class="card-header text-white">OTP VERIFICATION</h1>
                <lottie-player src="https://assets2.lottiefiles.com/packages/lf20_zztlhuue.json" class="icon"
                               background="transparent"
                               speed="1" loop autoplay></lottie-player>
                <div class="py-3 text"  style="padding: 0% 5%; text-align: center;">
                    <a>code has been send to kel*****@gmail.com</a>
                </div>
                <br>
                <div class="input-container d-flex flex-row justify-content-center mt-2">
                    <input type="text" id='ist' class="m-1 text-center form-control rounded" maxlength="1" onkeyup="clickEvent(this,'sec')">
                    <input type="text" id="sec" class="m-1 text-center form-control rounded" maxlength="1" onkeyup="clickEvent(this,'third')">
                    <input type="text" id="third" class="m-1 text-center form-control rounded" maxlength="1" onkeyup="clickEvent(this,'fourth')">
                    <input type="text" id="fourth" class="m-1 text-center form-control rounded" maxlength="1" onkeyup="clickEvent(this,'fifth')">
                    <input type="text" id="fifth" class="m-1 text-center form-control rounded" maxlength="1" onkeyup="clickEvent(this,'sixth')">
                    <input type="text" id="sixth" class="m-1 text-center form-control rounded" maxlength="1">
                </div>
                <div class="text-resend">
                    <small>
                        didn't get the otp? &nbsp;
                        <a href="forgot-password.html" class="text-decoration-none">Resend Code</a>
                    </small>
                </div>
            
                <div class="mt-3 mb-5">
                    <button class="btn btn-success px-4 verify-btn" style="width: 65%;">Verify</button>
                </div>
            </div>
        </div>
            </div>
        </div>
    </div>
</div>


<script>
    function clickEvent(first,last){
        if(first.value.length){
            document.getElementById(last).focus();
        }
    }
</script>
<script>
    feather.replace()
</script>
<script src="https://code.jquery.com/jquery-3.5.1.slim.min.js"
        integrity="sha384-DfXdz2htPH0lsSSs5nCTpuj/zy4C+OGpamoFVy38MVBnE+IbbVYUew+OrCXaRkfj" crossorigin="anonymous">
</script>
<script src="https://cdn.jsdelivr.net/npm/bootstrap@4.6.0/dist/js/bootstrap.bundle.min.js"
        integrity="sha384-Piv4xVNRyMGpqkS2by6br4gNJ7DXjqk09RmUpJ8jgGtD7zP9yug3goQfGII0yAns" crossorigin="anonymous">
</script>
<script src="https://unpkg.com/@lottiefiles/lottie-player@latest/dist/lottie-player.js"></script>
</body>

</html>