*{
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

body{
    font-family: Arial, Helvetica, sans-serif;
}

header{
    margin-bottom: 5px;
    padding-inline: 50px;
    background-color: black;
    padding-top: 10px;
    padding-bottom: 10px;
    width: 100%;
    color: #fff;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo{
    cursor: pointer;
}

header ul{
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
    cursor: pointer;
}

header ul li{
    list-style: none; 
}

header ul li i{
    font-size: 22px;
}

header ul li:hover{
    color: #F5A623;
}

.first{
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    padding-inline: 50px;
    padding-top: 20px;
    border-bottom: 2px solid grey;
    position: relative;
    width: 90%;
    margin-left: auto;
    margin-right: auto;
}

.detail{
    width: 450px;
    display: flex;
    gap: 20px;
    padding-bottom: 20px;
    position: relative;
}

.detail i{
    font-size: 30px;
    color: grey;
    position: absolute;
    top: 7%;
    left: 15%
}

.info{
    line-height: 50px;
}

.info h2{
    font-size: 35px;
    font-weight: 500;
}

.info span{
    font-weight: 400;
    font-size: 25px;
}

.detail2{
    width: 450px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

#vertical-line{
    width: 1px;
    height: 180px;
    background-color: lightgray;
    position: absolute;
    left: 50%;
    bottom: 0%;
}

.expire{
    display: flex;
    justify-content: space-between;
    width: 250px;
}

.expire2{
    display: flex;
    justify-content: space-between;
    width: 240px;
}

.layer{
    margin-left: auto;
    margin-right: auto;
    width: 90%;
    padding-inline: 30px;
    padding-top: 30px;
    margin-bottom: 20px;
}

.fill{
    width: 90%;
    padding-inline: 60px;
    margin-left: auto;
    margin-right: auto;
    padding-top: 20px;
    padding-bottom: 30px;
}

.name{
    font-size: 18px;
    padding-bottom: 10px;
    font-weight: 600;
}

.input-box{
    position: relative;
    border-color: #D6D6D6;
    padding-top: 10px;
    padding-bottom: 20px;
}

.input-box input{
    width: 40%;
    font-size: 1em;
    padding-top: 12px;
    padding-bottom: 12px;
    padding-left: 5px;
    border: 1px solid #D6D6D6;
}

.fa-solid{
    position: absolute;
    color: #000;
    cursor: pointer;
    top: 30%;
    right: 62%;
}

#submit{
    width: 15%;
    padding-top: 10px;
    padding-bottom: 10px;
    margin-bottom: 10px;
    border-radius: 10px;
    border: none;
    cursor: pointer;
    background-color: #F5A623;
    color: #fff;
    font-weight: 600;
    font-size: 18px;
}

.banks{
    padding-inline: 20px;
    background-color: #D6D6D6;
    width: 80%;
    margin-left: auto;
    margin-right: auto;
    border-radius: 5px;
    padding-bottom: 10px;
}

.bank-list{
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    padding-top: 20px;
    padding-bottom: 10px;
}

.bank-list img{
    width: 110px;
    cursor: pointer;
    background-color: none;
}

.bank-list div{
    border: none;
    margin: 3px;
    background-color: #fff;
    border-radius: 5px;
    height: 15vh;
    padding-left: 20px;
}

.line{
    margin-top: 20px;
    margin-bottom: 20px;
    border-bottom: 0.1px solid #D6D6D6;
    width: 90%;
    margin-left: auto;
    margin-right: auto;
}

.intel{
    display: flex;
    justify-content: space-between;
    width: 70%;
    margin-left: auto;
    margin-right: auto;
}

.int ul{
    display: flex;
    justify-content: space-between;
    list-style: none;
    gap: 20px;
}

.lock{
    display: flex;
    gap: 20px;
    color: #D6D6D6;
}

.lock i{
    position: relative;
    top: 5%;
    color: #D6D6D6;
    right: 5%;
}

footer{
    padding-inline: 50px;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
}

.loog span{
    text-decoration: underline;
}

.loog .tra{
    float: right;
}

@media (max-width:639px){
    header{
        padding-inline: 20px;
    }
    header ul{
        display: none;
    }
    .first{
        display: flex;
        flex-wrap: wrap;
        width: 100%;
    }
    .detail{
        width: 100%;
        display: flex;
        justify-content: center;
    }
    .detail i{
        display: none;
    }
    .info h1{
        font-size: 20px;
    }
    .info h2{
        font-size: 25px;
        font-weight: 500;
    }
    .info span{
        font-weight: 400;
        font-size: 15px;
    }
    .detail2{
        width: 100%;
        font-size: 14px;
        display: flex;
        justify-content: center;
    }
    #vertical-line{
        display: none;
    }
    .expire{
        width: 100%;
    }
    .expire2{
        width: 100%;
    }
    .layer{
        width: 100%;
        display: flex;
        justify-content: center;
        font-size: 10px;
    }
    .fill{
        width: 100%;
        padding-inline: 40px;
    }
    .name{
        font-size: 15px;
    }
    .input-box input{
        width: 90%;
    }
    .fa-solid{
        position: absolute;
        color: #000;
        cursor: pointer;
        top: 30%;
        right: 12%;
    }
    #submit{
        width: 60%;
    }
    .banks{
        padding-inline: 5px;
        background-color: #D6D6D6;
        width: 100%;
    }
    .bank-list{
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        padding-top: 10px;
        padding-bottom: 5px;
    }
    .bank-list img{
        width: 70px;
        cursor: pointer;
        background-color: none;
    }
    .intel{
        width: 100%;
        font-size: 12px;
        padding-inline: 10px;
        display: flex;
        flex-direction: column;
        gap: 10px;
        align-items: center;
    }
    footer{
        padding-inline: 10px;
    }
    .log img{
        width: 20px;
    }
    .loog .tr{
        font-size: 10px;
    }
    .loog .tra{
        font-size: 10px;
    }
}

@media (min-width:640px){
    .first{
        display: flex;
        flex-wrap: nowrap;
        width: 100%;
        padding-inline: 0px;
    }
    .detail{
        width: 100%;
        display: flex;
        justify-content: center;
    }
    .info h1{
        font-size: 25px;
    }
    .info h2{
        font-size: 25px;
        font-weight: 500;
    }
    .info span{
        font-weight: 400;
        font-size: 15px;
    }
    .detail2{
        width: 90%;
    }
    #submit{
        width: 20%;
    }
    .banks{
        width: 90%;
    }
    .bank-list{
        grid-template-columns: repeat(4, 1fr);
    }
    .bank-list img{
        width: 110px;
    }
    .intel{
        width: 90%;
        font-size: 12px;
        padding-inline: 10px;
    }
    footer{
        font-size: 12px;
    }
    .log img{
        width: 30px;
    }
}

@media (min-width:1024px){
    .detail{
        width: 100%;
        display: flex;
        justify-content: center;
    }
    .info h1{
        font-size: 40px;
    }
    .info h2{
        font-size: 35px;
        font-weight: 500;
    }
    .info span{
        font-weight: 400;
        font-size: 25px;
    }
    .bank-list{
        grid-template-columns: repeat(6, 1fr);
    }
    .intel{
        font-size: 14px;
    }
    footer{
        font-size: 14px;
    }
    .log img{
        width: 40px;
    }
}
