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

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Quicksand', sans-serif;
}

html {
    font-size: 62.5%;
}

.container {
    width: 100%;
    height: 100vh;
    display: grid;
    place-items: center;
}

.container.dark {
    background-color: #262626;
}

.toggle {
    top: 7rem;
    right: 7rem;
    width: 6rem;
    height: 6rem;
    display: grid;
    cursor: pointer;
    border-radius: 50%;
    position: absolute;
    place-items: center;
    background-color: #eee8e1;
}

.container.dark .toggle {
    background-color: #464646;
}

.toggle i {
    color: #777;
    font-size: 4rem;
}

.container.dark .toggle i {
    color: #ddd;
}

.card {
    width: 48rem;
    height: 25rem;
    display: flex;
    position: relative;
    border-radius: 2rem;
    box-shadow: 1rem 1rem 3rem rgba(0, 0, 0, 0.4);
}

.container.dark .card {
    background-color: #353535;
}

.card-map {
    top: 1rem;
    left: 50%;
    opacity: 0.2;
    width: 35rem;
    position: absolute;
    transform: translateX(-50%);
}

.card-left {
    width: 70%;
    z-index: 10;
    color: #777;
    height: 100%;
    display: flex;
    flex-direction: column;
    padding: 1rem 0 1rem 3rem;
    justify-content: space-around;
}

.container.dark .card-left {
    color: #ccc;
}

.card-type {
    font-size: 2.5rem;
    letter-spacing: 0.1rem;
}

.card-chip {
    width: 6rem;
}

.card-num {
    font-size: 2rem;
    font-weight: bold;
    letter-spacing: 0.1rem;
}

.card-text {
    font-size: 1.1rem;
}

.card-date {
    font-weight: 600;
    font-size: 1.6rem;
}

.card-holder {
    font-weight: 600;
    font-size: 1.5rem;
}

.card-right {
    z-index: 10;
    display: flex;
    padding: 0 0 2rem 2rem;
    align-items: flex-end;
}

.red-circle,
.orange-circle {
    width: 6rem;
    height: 6rem;
    border-radius: 50%;
}

.red-circle {
    background-color: #eb001b;
}

.orange-circle {
    opacity: 0.7;
    margin-left: -2rem;
    background-color: #ff5f00;
}
