@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: url("b.jpg");
    background-size: cover; 
    background-repeat: no-repeat;
    background: cover;
    font-family: 'Poppins', sans-serif;
}

.container {
    position: relative;
    background-image: url('background.png');
    background-size: cover;
    background-position: center;
    padding: 25px;
    border-radius: 18px;
    max-width: 400px;
    width: 100%;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
    color: #fff;
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    width: 48px;
}

header h5 {
    font-weight: 500;
    font-size: 18px;
    margin-left: 10px;
}

header .chip {
    width: 50px;
}

.card-details {
    margin-top: 40px;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}

.card-details .name-number {
    flex: 1;
}

.card-details h6 {
    font-size: 12px;
    color: #ddd;
    margin-bottom: 5px;
}

.card-details h5 {
    font-weight: 500;
    letter-spacing: 1.2px;
}

h5.number {
    font-size: 18px;
    letter-spacing: 2px;
    margin-bottom: 20px;
}

.valid-date {
    text-align: right
}

.d{ 
    background-color: darksalmon;
    color: black;
    height: 60px;
    text-align: center;
    align-items: center;
    width: 100%;
    margin-left: 20px;
    box-sizing: content-box;
    border-radius: 8px;
    box-shadow: 6px 7px 10px black;
}

.d:hover{
    background-color: #00D4FF;
    background: #020024;
    background: linear-gradient(90deg, rgba(2, 0, 36, 1) 23%, rgba(9, 9, 121, 1) 67%, rgba(0, 212, 255, 1) 100%);
    text-transform: capitalize;
    color: white;
    box-shadow: 6px 7px 10px rgb(243, 8, 8);
    font-family: "Edu SA Hand", cursive;
    font-optical-sizing: auto;
    font-weight: weight;
    font-style: normal;
}

